1 |
Le lun. 27 déc. 2021 à 01:44, Wols Lists <antlists@××××××××××××.uk> a |
2 |
écrit : |
3 |
|
4 |
> On 26/12/2021 18:50, Jacques Montier wrote: |
5 |
> > Hello all, |
6 |
> > |
7 |
> > I update to the last stable kernel 5.15.11-gentoo with the same |
8 |
> > configuration as the old kernel and now, the boot time is quite long. |
9 |
> > |
10 |
> > Test : |
11 |
> > 5.10.76-gentoo-r1 kernel : boot time 30s |
12 |
> > 5.15.11-gentoo kernel : boot time 70s |
13 |
> > |
14 |
> > My setup (non EFI) : |
15 |
> > - SSD 250 Go : /dev/sdd1 ext2 for boot and /dev/sdd2 ext4 for / |
16 |
> > - SSD 250 Go /dev/sdc1 ext4 for home |
17 |
> > - Two 2T sata disks Seagate BarraCuda 3.5 /dev/sda1 ext4 for data and |
18 |
> > /dev/sdb1 ext4 for data backup (Not Raid) |
19 |
> > |
20 |
> > With the new kernel, the two Seagate disks seem to make the boot time |
21 |
> > quite longer. |
22 |
> > |
23 |
> > Test : |
24 |
> > booting without mounting the disks : 20s |
25 |
> > booting with mounting only one disk : 25s |
26 |
> > booting with both disks : more than 60s |
27 |
> > |
28 |
> > Testing the disks : |
29 |
> > - smartctl -s on -a /dev/sda and smartctl -s on -a /dev/sdb : No error |
30 |
> > reported. |
31 |
> > - fsck -a /dev/sda1 and fsck -a /dev/sdb1 : clean |
32 |
> > - e2fsck -cfpv /dev/sda1 : clean |
33 |
> > |
34 |
> > Nevertheless, dmesg shows a lot of errors (attached image) with the new |
35 |
> > kernel. |
36 |
> > Those errors do not appear with 5.10.76-gentoo-r1 kernel. |
37 |
> > |
38 |
> > I'm rather confused... |
39 |
> > Have you any idea ? |
40 |
> > |
41 |
> What does fdisk print say? Are your partitions mis-aligned? |
42 |
> |
43 |
> Unlikely, but it depends how long ago they were partitioned. There's all |
44 |
> this stuff about switching from 512B to 4K sectors and that *could* be |
45 |
> the problem. |
46 |
> |
47 |
> Cheers, |
48 |
> Wol |
49 |
> |
50 |
> |
51 |
Thanks Wol, |
52 |
|
53 |
The output of fdisk for my two 2T disks : |
54 |
|
55 |
........................... |
56 |
Disque /dev/sda : 1,82 TiB, 2000398934016 octets, 3907029168 secteurs |
57 |
Modèle de disque : ST2000DM008-2FR1 |
58 |
Unités : secteur de 1 × 512 = 512 octets |
59 |
Taille de secteur (logique / physique) : 512 octets / 4096 octets |
60 |
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets |
61 |
Type d'étiquette de disque : dos |
62 |
Identifiant de disque : 0xe0e26837 |
63 |
|
64 |
Périphérique Amorçage Début Fin Secteurs Taille Id Type |
65 |
/dev/sda1 2048 3907028991 3907026944 1,8T 83 Linux |
66 |
|
67 |
Disque /dev/sdb : 1,82 TiB, 2000398934016 octets, 3907029168 secteurs |
68 |
Modèle de disque : ST2000DM008-2FR1 |
69 |
Unités : secteur de 1 × 512 = 512 octets |
70 |
Taille de secteur (logique / physique) : 512 octets / 4096 octets |
71 |
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets |
72 |
Type d'étiquette de disque : dos |
73 |
Identifiant de disque : 0x7c91a79a |
74 |
|
75 |
Périphérique Amorçage Début Fin Secteurs Taille Id Type |
76 |
/dev/sdb1 2048 3907028991 3907026944 1,8T 83 Linux |
77 |
|
78 |
............................... |
79 |
|
80 |
Well, i don't know if my partitions are aligned or mis-aligned... How could |
81 |
i get it ? |
82 |
|
83 |
Cheers, |
84 |
|
85 |
-- |
86 |
Jacques |