On 26/12/2021 18:50, Jacques Montier wrote:
Hello all,

I update to the last stable kernel 5.15.11-gentoo with the same configuration as the old kernel and now, the boot time is quite long.

Test :
5.10.76-gentoo-r1 kernel : boot time 30s
5.15.11-gentoo kernel : boot time 70s

My setup (non EFI) :
- SSD 250 Go :  /dev/sdd1 ext2 for boot and /dev/sdd2 ext4 for /
- SSD 250 Go /dev/sdc1 ext4 for home
- Two 2T sata disks Seagate BarraCuda 3.5 /dev/sda1 ext4 for data and /dev/sdb1 ext4 for data backup (Not Raid)

With the new kernel, the two Seagate disks seem to make the boot time quite longer.

Test :
booting without mounting the disks : 20s
booting with mounting only one disk : 25s
booting with both disks : more than 60s

Testing the disks :
- smartctl -s on -a /dev/sda and smartctl -s on -a /dev/sdb : No error reported.
- fsck -a /dev/sda1 and fsck -a /dev/sdb1 : clean
- e2fsck -cfpv /dev/sda1 : clean

Nevertheless, dmesg shows a lot of errors (attached image) with the new kernel.
Those errors do not appear with 5.10.76-gentoo-r1 kernel.

I'm rather confused...
Have you any idea ?

What does fdisk print say? Are your partitions mis-aligned?

Unlikely, but it depends how long ago they were partitioned. There's all this stuff about switching from 512B to 4K sectors and that *could* be the problem.

Cheers,
Wol

Reply via email to