From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C62091382C5 for ; Wed, 17 Feb 2021 21:46:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E53F0E0875; Wed, 17 Feb 2021 21:46:03 +0000 (UTC) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6EAC3E0839 for ; Wed, 17 Feb 2021 21:46:03 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id z11so94273lfb.9 for ; Wed, 17 Feb 2021 13:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=aSY/T50dRuO5nG2/gO3pQ89nH5SXfaHuVuz4nkNjYfk=; b=WnKYaTtYx/GsbgC/CPdw0uGveErzO3Ajh7WDt+BV3xXyGDnaYyMMwY9An7rstSE1OY RTf94djE9/qQw8WrD7sXLXAfwRlV/POGOFAPATLLi86Q2KT8GwilsJLnFE5azKdADW9+ KfpUQ2mYIYCVYLh0aY1+FMPKZ6zkDdOZnkO7jB7tXKaadcfSHiUWUKXq9hu7CsudRode bamnp2+pGlhlXXvfcwVWl0Iazs+x6knOuv02n41Y/2q0DMlJVRRS+54GRXh0l/2XAnA9 Gpx2f5236ToXx8dddehNue4RUrTdX8ZuafBuXimZ+MpfMwDnnIGqIWuQxC7KzO/WYbVg +cUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=aSY/T50dRuO5nG2/gO3pQ89nH5SXfaHuVuz4nkNjYfk=; b=OK1QQPVzm+3wAdenq6pfzhF7TMCyLc3JSShffAligsrIP7PLnNVL2y0fx9hrLHMKrW 3Sszxf2QhbRojI3Uw1cfa9KbQdJVuUr5B58WDRpYx0eNf5uQKxQFEh6jm3ehbmJDmbTD LGHGPhgo/n6OTJC1vhulTzUaIwlZI2QJODmf9B7+b+6faDeiu419pehcL6DL1YI6o8Mf qIrnxximNUZ6Rs4yQtY9KEP6COywW9K8fEekB16DuhhCYzhridiUo86kRue0gtzStFo/ MJN6zfcRtit006XzPlh3y1gcKtpNFg+npXDM0PzKSMcOirYNXzqnLkH6kedYm3IVdabi 0S1w== X-Gm-Message-State: AOAM530SWehL4z1m+8/YaoFsS1IbgkGvdvhXofL6zK0OsyuJ6OGThmyr GM8XOHcwabZHVlNzDlGdtN3HKEfmr741PDiLkuCt5WjDDFM/Dg== X-Google-Smtp-Source: ABdhPJy5sJ1iM05TtEr0GgFZOryF4lFjHoABtSGclbF57rymqRc7N/oalgfB/34mBV12fu/ckl6mmx3IHNCs0mwPv2s= X-Received: by 2002:ac2:5df1:: with SMTP id z17mr539365lfq.124.1613598361208; Wed, 17 Feb 2021 13:46:01 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: gevisz Date: Wed, 17 Feb 2021 23:45:35 +0200 Message-ID: Subject: Re: [gentoo-user] Gentoo system suddenly failed to boot. To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 466592a6-9862-4732-bb17-5e6550f317ed X-Archives-Hash: 277347c1008611c1d74f1cebf1f0b9cf =D1=81=D1=80, 17 =D1=84=D0=B5=D0=B2=D1=80. 2021 =D0=B3. =D0=B2 13:58, gevis= z : > > =D1=81=D1=80, 17 =D1=84=D0=B5=D0=B2=D1=80. 2021 =D0=B3. =D0=B2 13:50, gev= isz : > > > > =D1=81=D1=80, 17 =D1=84=D0=B5=D0=B2=D1=80. 2021 =D0=B3. =D0=B2 04:54, E= dward : > > > > > > On 2/15/21 9:53 AM, gevisz wrote: > > > > Yesterday, my relatively new install of Gentoo failed to boot with = the > > > > following repeated messages: > > > > > > > > ata5.04: SATA link down (SStatus 0 SControl 0) > > > > ata5.04: hard resetting link > > > > ata5.04: failed to resume link (SStatus 0 Scontrol 0) > > > > > > > > My first thought was that something is wrong with my old IDE (ATA) > > > > drive. (The Gentoo system partition was on /dev/sda5.) > > > > > > What motherboard model is this? > > > > It is a good question. My motherboard is Gigabyte Ultra Durable GA-MA79= 0FXT-UD5P > > and I had problems with it from the very beginning in the sense that it= is > > quite often doesn't see my SATA disks on the first boot (though, on the= second > > reboot it usually finds them). It is also quite often that it stops boo= ting > > the legacy operating system and automatically reboots before showing > > a login screen. > > > > I bought it somewhere in 2006 together with a Gigabyte S-series GA-MA69= GM-S2H > > motherboard, which I have been intensively using every day since then a= nd never > > had any problem. > > > > In contrast, the Ultra Durable one has been used very rarely and for > > quite short periods of time. > > So, I do not expect it to wear off by now. > > > > > Probably BIOS disk controller setting needs to be set to either SATA = AHCI or something else? > > > > Well, I will look into but the problem is that it worked previously > > with the same BIOS settings. > > > > Below is an account of what I have done so far. > > > > First of all, I copied the system partition from my ATA to the SATA > > drive, updated the system, > > recompiled @system, openrc and gentoo-kernel, which unfortunately had > > no effect on the booting problem. > > > > At this stage, I started to seriously consider the suggestions above > > that it may be a hardware problem. > > > > So, I returned to the initial ATA system partition, updated the system > > there, switched off swap (in fstab), > > reinstalled grub on this disk and tried to boot from it. To my great > > surprise it failed to boot again > > complaining about links to two my SATA drives that it was not supposed > > to use at all! > > Correction: > Of course, in this case, I have not reinstalled gentoo-kernel. > So, it may be that the links to my SATA drives are still in > the initramfs that was created before. (The swap was one of my > SATA drives.) > > However, I used another SATA drive to try the system from there > (with swap on it) with the same failure to boot. > > > And the legacy operating system has absolutely no problem starting > > from the ATA drive now. > > P.S. Currently, I am going to remove my SATA disks from the system and > try to reboot it once again. If it will not help, I am going to recompile > gentoo-kernel on the only remaining ATA disk. (And, if that will not help= , > I will look for the hammer. :) So, I have removed both my SATA disks and tried to reboot: the system stalled without any error message at all. After that I installed gentookernel and re-created initramfs image (the previous one was created by the gentoo-kernel package before the removal of the SATA disks). After that, my Gentoo system successfully rebooted from the only (ATA) disk that remained. So, the problem is partially solved. However, I still do not understand the exact reason for it to appear. Most probably, both my SATA disks have connection problems as Oli Schmidt suggested from the very beginning, and because they both have it, it points to the motherboard that already had quite a bad track record. Unfortunately, I cannot diagnose it further, but later will try to experiment with attaching my SATA drives again. Also, I am going to test voltage outputs of my Enermax power supply unit when I will have such a possibility. It is quite old but was not used intensively. The other one, Thermaltake, is even older, was intensively used everyday, and still had no problems. (Both were bought with a big margin with respect to my computer's power demand). Thanks to all who replied to this thread.