Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Long boot time after kernel update
Date: Mon, 27 Dec 2021 00:43:57
Message-Id: c8761e40-ecfa-e1df-0b70-262fa1c0883f@youngman.org.uk
In Reply to: [gentoo-user] Long boot time after kernel update by Jacques Montier
1 On 26/12/2021 18:50, Jacques Montier wrote:
2 > Hello all,
3 >
4 > I update to the last stable kernel 5.15.11-gentoo with the same
5 > configuration as the old kernel and now, the boot time is quite long.
6 >
7 > Test :
8 > 5.10.76-gentoo-r1 kernel : boot time 30s
9 > 5.15.11-gentoo kernel : boot time 70s
10 >
11 > My setup (non EFI) :
12 > - SSD 250 Go :  /dev/sdd1 ext2 for boot and /dev/sdd2 ext4 for /
13 > - SSD 250 Go /dev/sdc1 ext4 for home
14 > - Two 2T sata disks Seagate BarraCuda 3.5 /dev/sda1 ext4 for data and
15 > /dev/sdb1 ext4 for data backup (Not Raid)
16 >
17 > With the new kernel, the two Seagate disks seem to make the boot time
18 > quite longer.
19 >
20 > Test :
21 > booting without mounting the disks : 20s
22 > booting with mounting only one disk : 25s
23 > booting with both disks : more than 60s
24 >
25 > Testing the disks :
26 > - smartctl -s on -a /dev/sda and smartctl -s on -a /dev/sdb : No error
27 > reported.
28 > - fsck -a /dev/sda1 and fsck -a /dev/sdb1 : clean
29 > - e2fsck -cfpv /dev/sda1 : clean
30 >
31 > Nevertheless, dmesg shows a lot of errors (attached image) with the new
32 > kernel.
33 > Those errors do not appear with 5.10.76-gentoo-r1 kernel.
34 >
35 > I'm rather confused...
36 > Have you any idea ?
37 >
38 What does fdisk print say? Are your partitions mis-aligned?
39
40 Unlikely, but it depends how long ago they were partitioned. There's all
41 this stuff about switching from 512B to 4K sectors and that *could* be
42 the problem.
43
44 Cheers,
45 Wol

Replies

Subject Author
Re: [gentoo-user] Long boot time after kernel update Jacques Montier <jmontier@×××××.com>