3 minutes delay in booting

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

3 minutes delay in booting

Postby sitor » Jul 23rd, '16, 10:58

Description of problem: Each time laptop boots there is a delay of 2 min 59 seconds, where the boot process waits "for Complete Device Initialization". Nothing is shown to the user unless he uses "Esc", the messages in attach are shown.
This is on a laptop with a dual boot setup with the Microsoft partitions encrypted with bitlocker. See picture below for the messages displayed when it happens.
Since this is on Cauldron, I create a bug report on bugzilla, but I got this response:
It looks like you have either incorrect UUIDs in either /etc/fstab or on your kernel command line, or the UUIDs are correct, but for devices that are not present. This is a configuration issue you should be able to fix.

I could not find anything in /etc/fstab/ that is incorrect:
Code: Select all
# Entry for /dev/sda7 :
UUID=1de87c7f-772a-4277-b6a8-1cba8e6ffb4e / ext4 noatime,acl 1 1
# Entry for /dev/sda1 :
UUID=E0DF-ACA6 /boot/EFI vfat umask=000,iocharset=utf8 0 0
/dev/mapper/crypt_sdb3 /home ext4 noatime,acl 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=535717bf-dcfa-4204-8580-10ccff2e5427 swap swap defaults 0 0

I'm not really that knowledgeable with the correct fstab contents, so maybe someone else can tell me what is the issue. E.g. I don"t know if the EFI partition can be removed from fstab (will the distro still boot if I do? Also no clue what the line is for that starts with none. sda7 is my root partition and sdb3 is a separte partition for my /home , so they definitely need to remain.

Any help would be appreciated.
Attachments
UDEV error.jpg
UDEV error.jpg (456.33 KiB) Viewed 3203 times
sitor
 
Posts: 43
Joined: Jun 8th, '11, 09:48

Re: 3 minutes delay in booting

Postby ozky » Jul 23rd, '16, 16:17

Incorrect means if you have format your partition but not updated new uuid to fstab.
Example your existing uuid is 00001 you format it and new uuid is 00002 if you don't change that 00002 to your fstab manually it can't mount your partition.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: 3 minutes delay in booting

Postby sitor » Jul 23rd, '16, 16:28

The win_c and win_c2 were in that case (as a result of encrypting those partitions with bitlocker from within windows). After removing the from fstab the two lines related to these partitions only the "wait for Complet Device Installation" line remained. Since I did not know how to get rid of that and the installation was still completely fresh, I did a full Mageia reinstall (formatting the / partition, but not /home). The "wait for Complete Device Installation" line was still there with the 2 min 59 sec delay. Also, after the delay, the laptop boots into Mageia just fine, so access to / and /home work just fine. For the rest fstab only contains the entry for EFI and none.

Can I safely remove the EFI line?
sitor
 
Posts: 43
Joined: Jun 8th, '11, 09:48

Re: 3 minutes delay in booting

Postby doktor5000 » Jul 23rd, '16, 17:40

Would be helpful if you would at least show the output of lsblk -f or blkid otherwise it's pretty hard for us to compare the fstab UUIDs to the actual filesystem ones.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 3 minutes delay in booting

Postby sitor » Jul 23rd, '16, 21:31

lsblk -f :
Code: Select all
NAME           FSTYPE      LABEL            UUID                                 MOUNTPOINT
sda                                                                             
├─sda1         vfat                         E0DF-ACA6                            /boot/EFI
├─sda2                                                                           
├─sda3                                                                           
├─sda4         ntfs        Windows RE tools 569A99009A98DE35                     
├─sda5         ext4                         f4536ddf-0bf4-49c0-bd16-12ca325f2b5d
├─sda6         swap                         535717bf-dcfa-4204-8580-10ccff2e5427 [SWAP]
└─sda7         ext4                         1de87c7f-772a-4277-b6a8-1cba8e6ffb4e /
sdb                                                                             
├─sdb1                                                                           
├─sdb2         ntfs        RECOVERY         346424AB64247232                     
└─sdb3         crypto_LUKS                  92913d5f-b666-448f-a27b-fc3bf02148d8
  └─crypt_sdb3 ext4                         cfb9ab08-5b77-4bc8-9785-840196ef5ed6 /home


blkid :
Code: Select all
/dev/sda1: UUID="E0DF-ACA6" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="c74f17a5-9f33-45fa-b32e-f9fe2c15be31"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="17c5a7e4-825c-4391-9dc5-016ef31e4b6e"
/dev/sda3: PARTUUID="9b582272-c304-41c6-9cad-b233853e2b49"
/dev/sda4: LABEL="Windows RE tools" UUID="569A99009A98DE35" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="35ae04cf-8271-403d-86ef-87d03e6d49c7"
/dev/sda5: UUID="f4536ddf-0bf4-49c0-bd16-12ca325f2b5d" TYPE="ext4" PARTUUID="0e4bc02b-6a9a-44df-ae73-d7da7381918a"
/dev/sda6: UUID="535717bf-dcfa-4204-8580-10ccff2e5427" TYPE="swap" PARTUUID="1b0188ef-57eb-4d20-a874-b80dd3c8b0a1"
/dev/sda7: UUID="1de87c7f-772a-4277-b6a8-1cba8e6ffb4e" TYPE="ext4" PARTUUID="9e99e03c-5901-4d16-8c24-76cc2e085acb"
/dev/sdb1: PARTUUID="63afbc65-c59f-4ba2-a8ab-b988c58e99da"
/dev/sdb2: LABEL="RECOVERY" UUID="346424AB64247232" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="546a0685-6c31-4de5-aa54-9c0feab92c4f"
/dev/sdb3: UUID="92913d5f-b666-448f-a27b-fc3bf02148d8" TYPE="crypto_LUKS" PARTUUID="5da023a5-efac-4d7e-86e2-1323e7776971"
/dev/mapper/crypt_sdb3: UUID="cfb9ab08-5b77-4bc8-9785-840196ef5ed6" TYPE="ext4"
sitor
 
Posts: 43
Joined: Jun 8th, '11, 09:48

Re: 3 minutes delay in booting

Postby doktor5000 » Jul 24th, '16, 02:55

sitor wrote:Since this is on Cauldron, I create a bug report on bugzilla, but I got this response:
It looks like you have either incorrect UUIDs in either /etc/fstab or on your kernel command line, or the UUIDs are correct, but for devices that are not present. This is a configuration issue you should be able to fix.


For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 3 minutes delay in booting

Postby sitor » Jul 24th, '16, 10:46

sitor
 
Posts: 43
Joined: Jun 8th, '11, 09:48

Re: 3 minutes delay in booting

Postby doktor5000 » Jul 24th, '16, 16:03

Can you please post the content of /etc/fstab and a complete journalctl -ab log after a fresh boot after the 3 minute delay, when Mageia continued to boot?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 3 minutes delay in booting

Postby sitor » Jul 24th, '16, 18:25

/etc/fstab is still the same (see above):
# Entry for /dev/sda7 :
UUID=1de87c7f-772a-4277-b6a8-1cba8e6ffb4e / ext4 noatime,acl 1 1
# Entry for /dev/sda1 :
UUID=E0DF-ACA6 /boot/EFI vfat umask=000,iocharset=utf8 0 0
/dev/mapper/crypt_sdb3 /home ext4 noatime,acl 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=535717bf-dcfa-4204-8580-10ccff2e5427 swap swap defaults 0 0


Attached is the result of journalctl -ab after fresh reboot.
Attachments
journal.txt
(503.88 KiB) Downloaded 155 times
sitor
 
Posts: 43
Joined: Jun 8th, '11, 09:48

Re: 3 minutes delay in booting

Postby doktor5000 » Jul 25th, '16, 04:06

Nearly 2 minutes delay here, pretty early, seems some PCI device responds really slow or not properly, from later log entries seems this is your onboard soundchip:

Jul 24 18:14:41 localhost systemd[1]: Received SIGRTMIN+20 from PID 271 (plymouthd).
Jul 24 18:15:26 localhost systemd-udevd[502]: seq 2578 '/devices/pci0000:00/0000:00:1f.3' is taking a long time
Jul 24 18:15:26 localhost systemd-udevd[502]: seq 2580 '/devices/pci0000:00/0000:00:1f.7' is taking a long time
Jul 24 18:16:26 localhost systemd[1]: systemd-udev-settle.service: Main process exited, code=exited, status=1/FAILURE
Jul 24 18:16:26 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-settle comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 24 18:16:26 localhost systemd[1]: Failed to start udev Wait for Complete Device Initialization.
Jul 24 18:16:26 localhost kernel: audit: type=1130 audit(1469376986.748:23): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-settle comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 24 18:16:26 localhost systemd[1]: systemd-udev-settle.service: Unit entered failed state.
Jul 24 18:16:26 localhost systemd[1]: systemd-udev-settle.service: Failed with result 'exit-code'.


Can you show the output as root of
Code: Select all
lspcidrake -v
lspci -tvnn


And FWIW, later when the desktop has loaded there are hundreds of journal entries from chromium-browser. Do you run any non-standard settings ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 3 minutes delay in booting

Postby sitor » Jul 25th, '16, 21:00

lspcidrake -v :
Code: Select all
rtsx_pci        : Realtek Semiconductor Co., Ltd.|RTS522A PCI Express Card Reader (vendor:10ec device:522a subv:103c subd:81ac) (rev: 01)
iwlwifi         : Intel Corporation|Wireless 7265 [NETWORK_OTHER] (vendor:8086 device:095a subv:8086 subd:5010) (rev: 61)
intel_th_pci    : Intel Corporation|Device 9d26 (vendor:8086 device:9d26) (rev: 21)
i2c_i801        : Intel Corporation|Sunrise Point-LP SMBus [SERIAL_SMBUS] (vendor:8086 device:9d23 subv:103c subd:81ac) (rev: 21)
snd_hda_intel   : Intel Corporation|Sunrise Point-LP HD Audio [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:9d70 subv:103c subd:81ac) (rev: 21)
unknown         : Intel Corporation|Sunrise Point-LP PMC [MEMORY_OTHER] (vendor:8086 device:9d21 subv:103c subd:81ac) (rev: 21)
unknown         : Intel Corporation|Sunrise Point-LP LPC Controller [BRIDGE_ISA] (vendor:8086 device:9d48 subv:103c subd:81ac) (rev: 21)
shpchp          : Intel Corporation|Device 9d18 [BRIDGE_PCI] (vendor:8086 device:9d18) (rev: f1)
shpchp          : Intel Corporation|Device 9d13 [BRIDGE_PCI] (vendor:8086 device:9d13) (rev: f1)
unknown         : Intel Corporation|Sunrise Point-LP SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:8086 device:9d03 subv:103c subd:81ac) (rev: 21)
mei_me          : Intel Corporation|Sunrise Point-LP CSME HECI #1 [COMMUNICATION_OTHER] (vendor:8086 device:9d3a subv:103c subd:81ac) (rev: 21)
intel_lpss_pci  : Intel Corporation|Sunrise Point-LP Serial IO I2C Controller #1 [SIGNAL_OTHER] (vendor:8086 device:9d61 subv:103c subd:81ac) (rev: 21)
intel_lpss_pci  : Intel Corporation|Sunrise Point-LP Serial IO I2C Controller #0 [SIGNAL_OTHER] (vendor:8086 device:9d60 subv:103c subd:81ac) (rev: 21)
intel_pch_thermal: Intel Corporation|Sunrise Point-LP Thermal subsystem [SIGNAL_OTHER] (vendor:8086 device:9d31 subv:103c subd:81ac) (rev: 21)
xhci_pci        : Intel Corporation|Sunrise Point-LP USB 3.0 xHCI Controller [SERIAL_USB] (vendor:8086 device:9d2f subv:103c subd:81ac) (rev: 21)
unknown         : Intel Corporation|Device 9d35 (vendor:8086 device:9d35 subv:103c subd:81ac) (rev: 21)
processor_thermal_device: Intel Corporation|Skylake Processor Thermal Subsystem [SIGNAL_OTHER] (vendor:8086 device:1903 subv:103c subd:81ac) (rev: 08)
Card:Intel 810 and later: Intel Corporation|HD Graphics 520 [DISPLAY_VGA] (vendor:8086 device:1916 subv:103c subd:81ac) (rev: 07)
unknown         : Intel Corporation|Skylake Host Bridge/DRAM Registers [BRIDGE_HOST] (vendor:8086 device:1904 subv:103c subd:81ac) (rev: 08)
hub             : Linux 4.7.0-desktop-0.rc7.6.mga6 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)                                                                                   
usbhid          : Logitech|USB Receiver [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:046d device:c52b)                                                                                                         
uvcvideo        : Generic|HP TrueVision HD [Video|Video Control] (vendor:05c8 device:0800)                       
btusb           : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:0a2a)             
uvcvideo        : Generic|HP IR Camera [Video|Video Control] (vendor:05c8 device:0801)                           
hub             : Linux 4.7.0-desktop-0.rc7.6.mga6 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)                                                                                   
hid_logitech_hidpp: Logitech M310                                                                                 
hid_logitech_hidpp: Logitech Wireless Mouse                                                                       
hid_logitech_hidpp: Logitech K520                                                                                 
hid_logitech_hidpp: Logitech K520                                                                                 
hid_multitouch  : ELAN0732:00 04F3:2B28                                                                           
hid_logitech_dj : Logitech USB Receiver                                                                           
hid_logitech_dj : Logitech USB Receiver                                                                           
hid_logitech_dj : Logitech USB Receiver                                                                           



lspci -tvnn :
Code: Select all
-[0000:00]-+-00.0  Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1904]                               
           +-02.0  Intel Corporation HD Graphics 520 [8086:1916]                                                 
           +-04.0  Intel Corporation Skylake Processor Thermal Subsystem [8086:1903]                             
           +-13.0  Intel Corporation Device [8086:9d35]                                                           
           +-14.0  Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f]                         
           +-14.2  Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31]                               
           +-15.0  Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60]                     
           +-15.1  Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61]
           +-16.0  Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a]
           +-17.0  Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03]
           +-1c.0-[01]----00.0  Intel Corporation Wireless 7265 [8086:095a]
           +-1d.0-[02]----00.0  Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a]
           +-1f.0  Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48]
           +-1f.2  Intel Corporation Sunrise Point-LP PMC [8086:9d21]
           +-1f.3  Intel Corporation Sunrise Point-LP HD Audio [8086:9d70]
           +-1f.4  Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
           \-1f.7  Intel Corporation Device [8086:9d26]
sitor
 
Posts: 43
Joined: Jun 8th, '11, 09:48


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest