Hi,
I have a small problem wih slow booting
Fresh install via USB creator on new HDD in my HTPC, Libreelec now boots over 2 minutes.
On previous older HDD it was much faster to boot.
Any ideas how to debug this?
Code
LibreELEC:~ # systemd-analyze
Startup finished in 2min 25.998s (kernel) + 49.524s (userspace) = 3min 15.523s
According to dmesg timestamp, these is 2 minutes pause before mounting ext4 filesystem, here is the relevant part:
Code
[ 2.936879] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 3.066958] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.068367] ata1.00: ATA-10: WDC WD10SPZX-22Z10T0, 01.01A01, max UDMA/133
[ 3.068376] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 3.070106] ata1.00: configured for UDMA/133
[ 3.071123] scsi 0:0:0:0: Direct-Access ATA WDC WD10SPZX-22Z 1A01 PQ: 0 ANSI: 5
[ 3.072663] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.072977] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 3.072987] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.073059] sd 0:0:0:0: [sda] Write Protect is off
[ 3.073066] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.073560] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.178961] sda: sda1 sda2
[ 3.180835] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.189807] Freeing unused kernel memory: 3500K
[ 3.189814] Write protecting the kernel read-only data: 36864k
[ 3.191501] Freeing unused kernel memory: 396K
[ 3.199476] Freeing unused kernel memory: 1356K
[ 3.426933] usb 4-3: new full-speed USB device number 2 using ohci-pci
[ 3.657886] input: 2.4G 2.4G Wireless Device as /devices/pci0000:00/0000:00:12.0/usb4/4-3/4-3:1.2/0003:0C45:5102.0001/input/input2
[ 3.714708] hid-generic 0003:0C45:5102.0001: input,hidraw0: USB HID v1.10 Keyboard [2.4G 2.4G Wireless Device] on usb-0000:00:12.0-3/input2
[ 3.719699] input: 2.4G 2.4G Wireless Device as /devices/pci0000:00/0000:00:12.0/usb4/4-3/4-3:1.3/0003:0C45:5102.0002/input/input3
[ 3.721000] hid-generic 0003:0C45:5102.0002: input,hidraw1: USB HID v1.10 Mouse [2.4G 2.4G Wireless Device] on usb-0000:00:12.0-3/input3
[ 3.726060] hid-generic 0003:0C45:5102.0003: hiddev0,hidraw2: USB HID v1.10 Device [2.4G 2.4G Wireless Device] on usb-0000:00:12.0-3/input4
[ 3.787339] clocksource: Switched to clocksource tsc
[ 8.757898] random: crng init done
[ 143.463332] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 143.464095] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 143.488137] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 143.591380] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities
[ 143.592075] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities
[ 143.753248] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 146.018749] systemd[1]: systemd 232 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK -SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
Display More
I don't see anything wrong with the drive, passed all smartctl tests, here is hdparm quick bench: