Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo system suddenly failed to boot.
Date: Wed, 17 Feb 2021 11:59:30
Message-Id: CA+t6X7eC_bjTP3GueePnOzAOxDABF2VH9oUpqHVr6E+MajXuZw@mail.gmail.com
In Reply to: Re: [gentoo-user] Gentoo system suddenly failed to boot. by gevisz
1 ср, 17 февр. 2021 г. в 13:50, gevisz <gevisz@×××××.com>:
2 >
3 > ср, 17 февр. 2021 г. в 04:54, Edward <edwardmgibson01@×××××.com>:
4 > >
5 > > On 2/15/21 9:53 AM, gevisz wrote:
6 > > > Yesterday, my relatively new install of Gentoo failed to boot with the
7 > > > following repeated messages:
8 > > >
9 > > > ata5.04: SATA link down (SStatus 0 SControl 0)
10 > > > ata5.04: hard resetting link
11 > > > ata5.04: failed to resume link (SStatus 0 Scontrol 0)
12 > > >
13 > > > My first thought was that something is wrong with my old IDE (ATA)
14 > > > drive. (The Gentoo system partition was on /dev/sda5.)
15 > >
16 > > What motherboard model is this?
17 >
18 > It is a good question. My motherboard is Gigabyte Ultra Durable GA-MA790FXT-UD5P
19 > and I had problems with it from the very beginning in the sense that it is
20 > quite often doesn't see my SATA disks on the first boot (though, on the second
21 > reboot it usually finds them). It is also quite often that it stops booting
22 > the legacy operating system and automatically reboots before showing
23 > a login screen.
24 >
25 > I bought it somewhere in 2006 together with a Gigabyte S-series GA-MA69GM-S2H
26 > motherboard, which I have been intensively using every day since then and never
27 > had any problem.
28 >
29 > In contrast, the Ultra Durable one has been used very rarely and for
30 > quite short periods of time.
31 > So, I do not expect it to wear off by now.
32 >
33 > > Probably BIOS disk controller setting needs to be set to either SATA AHCI or something else?
34 >
35 > Well, I will look into but the problem is that it worked previously
36 > with the same BIOS settings.
37 >
38 > Below is an account of what I have done so far.
39 >
40 > First of all, I copied the system partition from my ATA to the SATA
41 > drive, updated the system,
42 > recompiled @system, openrc and gentoo-kernel, which unfortunately had
43 > no effect on the booting problem.
44 >
45 > At this stage, I started to seriously consider the suggestions above
46 > that it may be a hardware problem.
47 >
48 > So, I returned to the initial ATA system partition, updated the system
49 > there, switched off swap (in fstab),
50 > reinstalled grub on this disk and tried to boot from it. To my great
51 > surprise it failed to boot again
52 > complaining about links to two my SATA drives that it was not supposed
53 > to use at all!
54
55 Correction:
56 Of course, in this case, I have not reinstalled gentoo-kernel.
57 So, it may be that the links to my SATA drives are still in
58 the initramfs that was created before. (The swap was one of my
59 SATA drives.)
60
61 However, I used another SATA drive to try the system from there
62 (with swap on it) with the same failure to boot.
63
64 > And the legacy operating system has absolutely no problem starting
65 > from the ATA drive now.
66
67 P.S. Currently, I am going to remove my SATA disks from the system and
68 try to reboot it once again. If it will not help, I am going to recompile
69 gentoo-kernel on the only remaining ATA disk. (And, if that will not help,
70 I will look for the hammer. :)

Replies

Subject Author
Re: [gentoo-user] Gentoo system suddenly failed to boot. gevisz <gevisz@×××××.com>