Gentoo Archives: gentoo-user

From: Jacques Montier <jmontier@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Long boot time after kernel update
Date: Tue, 28 Dec 2021 13:32:32
Message-Id: CAHVEG0BH-p+S8pQWrCve8h2KqbRr=jrJJSB=BiU8YZveSdF+Lw@mail.gmail.com
In Reply to: Re: [gentoo-user] Long boot time after kernel update by Jacques Montier
1 Le mar. 28 déc. 2021 à 14:03, Jacques Montier <jmontier@×××××.com> a écrit :
2
3 >
4 >
5 >
6 > Le mar. 28 déc. 2021 à 13:32, Dale <rdalek1967@×××××.com> a écrit :
7 >
8 >> William Kenworthy wrote:
9 >> > A point to keep in mind - if you can feel the drive moving it may be
10 >> > generating errors! Depending on the drive, the errors may just be
11 >> > handled internally and I can see it slowing things down though
12 >> > probably would be barely noticeable. I have seen it myself with
13 >> > random errors from a WD green drive disappearing when properly
14 >> > immobilised. When investigating I ran across articles discussing the
15 >> > problem, one of which fastened the drives to a granite slab for
16 >> > tests! Also see discussions on NAS seups and vibrations affecting co
17 >> > located drives.
18 >> >
19 >> > BillK
20 >> >
21 >> > ** Interesting read
22 >> > https://www.ept.ca/features/everything-need-know-hard-drive-vibration/
23 >> >
24 >>
25 >> This is just because it is a SMR drive. It's done this ever since I
26 >> bought the drive and it has passed all tests. There's a whole thread on
27 >> this dating back several years. I managed to buy a SMR drive before I
28 >> even knew they existed. Once it fills up that PMR section, it gets
29 >> really slow.
30 >>
31 >> Dale
32 >>
33 >> :-) :-)
34 >>
35 >>
36 > Hello all,
37 >
38 > Thanks a lot for all your responses !
39 > I think this issue is kernel related.
40 > No problem with 5.10.76-gentoo-r1, but the issue appears
41 > with 5.15.11-gentoo.
42 >
43 > I read on the net that it could be possible to desactivate the sata
44 > protocol NCQ (Native Command Queuing)
45 > So, in the grub file, i added the
46 > ligne GRUB_CMDLINE_LINUX=libata.force=noncq
47 > Now, all the errors messages are gone and the booting time gets down to
48 > 24s with the two kernel versions.
49 > BUT : do you think it could damage or slow down my SSD and HDD disks ?
50 >
51 > Thanks again,
52 >
53 > Regards,
54 >
55 > --
56 > Jacques
57 >
58 >
59 >
60 > Me again !
61
62 Well, il cleaned my dusty mobo, unplugged and plugged again the sata cables.
63 Now, with or without NCQ, boot time is rather short (~28s).
64 So it seems it was a connection problem.
65
66 I still have some errors as :
67
68 ............................................
69 [ 24.708377] ata6.00: exception Emask 0x10 SAct 0x50400001 SErr 0x4010000
70 action 0xe frozen
71 [ 24.708385] ata6.00: irq_stat 0x00400040, connection status changed
72 [ 24.708387] ata6: SError: { PHYRdyChg DevExch }
73 [ 24.708390] ata6.00: failed command: READ FPDMA QUEUED
74 [ 24.708391] ata6.00: cmd 60/08:00:78:08:c0/00:00:31:00:00/40 tag 0 ncq
75 dma 4096 in
76 res 40/00:00:78:08:c0/00:00:31:00:00/40 Emask 0x10
77 (ATA bus error)
78 [ 24.708397] ata6.00: status: { DRDY }
79 ..........................................
80
81 To be sure, i'll buy some news sata cables.
82
83 Sorry for the noise and thanks again for having helped me.
84
85 Regards,
86
87 --
88 Jacques
89
90
91
92
93
94 >
95 >

Replies

Subject Author
Re: [gentoo-user] Long boot time after kernel update Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Long boot time after kernel update Rich Freeman <rich0@g.o>