[SOLVED] OpenSUSE leap 15: Timed out waiting for device dev-disk-by\x2did-ata
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OpenSUSE leap 15: Timed out waiting for device dev-disk-by\x2did-ata
This happens on only one of my OpenSUSE installation, while booting up and after grub, the system waits for 90 seconds. Here's the message from my boot.log -
Code:
ab-suse:~ # grep -i "timed out waiting for device" /var/log/boot.log
[ TIME ] Timed out waiting for device dev-disk-by\x2did-ata\x2dST1000DM010\x2d2EP102_Z9ADG7VA\x2dpart9.device.
[ TIME ] Timed out waiting for device dev-disk-by\x2did-ata\x2dST1000DM010\x2d2EP102_Z9ADG7VA\x2dpart9.device.
[ TIME ] Timed out waiting for device dev-disk-by\x2did-ata\x2dST1000DM010\x2d2EP102_Z9ADG7VA\x2dpart9.device.
The only related entry that I could unearth is in my grub.cfg file -
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627
Rep:
The system appears to be looking for a swap partition in /dev/sdb9. Did you have one at some time? You should also check your /etc/fstab file and /etc/default/grub. in the latter file there must be some ref to a swap file in the line "GRUB_CMDLINE_LINUX.." which you can remove if necessary. if not look through the rest of that file.
The system appears to be looking for a swap partition in /dev/sdb9. Did you have one at some time?
I don't and never had a /dev/sdb9. The OpenSUSE installation actually overwrote a mint installation, but the filesystems were wiped and reformatted (but not repartitioned).
Quote:
You should also check your /etc/fstab file and /etc/default/grub.
I have only 1 swap entry in my fstab, as I have shown above. Also, it's from /dev/sda6 which is on a separate disk (ssd).
I do not have anything in the /boot/grub2/grub.cfg in the line of GRUB_CMDLINE_LINUX. I am on CentOS at the moment, but here's the grep result on OpenSUSE's grub.cfg . So either the string is something else or there's something wrong with my grub.cfg.. [I have grepped the correct file, be assured]
The only hint I can see is in the resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 line on my grub.cfg file. Can this line be removed safely ?
[Hibernate does not work anyway, so I can live without it]
Here's the part from OpenSUSE's grub.cfg -
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE Leap 15.0' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0b3964c0-4b51-4106-b433-eb21178aeb19' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8 --hint='hd0,msdos8' 22dcc3c9-9f7d-4a43-9569-7291f070225a
else
search --no-floppy --fs-uuid --set=root 22dcc3c9-9f7d-4a43-9569-7291f070225a
fi
echo 'Loading Linux 4.12.14-lp150.12.4-default ...'
linux /vmlinuz-4.12.14-lp150.12.4-default root=UUID=0b3964c0-4b51-4106-b433-eb21178aeb19 resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /initrd-4.12.14-lp150.12.4-default
}
submenu 'Advanced options for openSUSE Leap 15.0' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-0b3964c0-4b51-4106-b433-eb21178aeb19' {
menuentry 'openSUSE Leap 15.0, with Linux 4.12.14-lp150.12.4-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.12.4-default-advanced-0b3964c0-4b51-4106-b433-eb21178aeb19' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8 --hint='hd0,msdos8' 22dcc3c9-9f7d-4a43-9569-7291f070225a
else
search --no-floppy --fs-uuid --set=root 22dcc3c9-9f7d-4a43-9569-7291f070225a
fi
echo 'Loading Linux 4.12.14-lp150.12.4-default ...'
linux /vmlinuz-4.12.14-lp150.12.4-default root=UUID=0b3964c0-4b51-4106-b433-eb21178aeb19 resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /initrd-4.12.14-lp150.12.4-default
}
menuentry 'openSUSE Leap 15.0, with Linux 4.12.14-lp150.12.4-default (recovery mode)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.12.4-default-recovery-0b3964c0-4b51-4106-b433-eb21178aeb19' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8 --hint='hd0,msdos8' 22dcc3c9-9f7d-4a43-9569-7291f070225a
else
search --no-floppy --fs-uuid --set=root 22dcc3c9-9f7d-4a43-9569-7291f070225a
fi
echo 'Loading Linux 4.12.14-lp150.12.4-default ...'
linux /vmlinuz-4.12.14-lp150.12.4-default root=UUID=0b3964c0-4b51-4106-b433-eb21178aeb19
echo 'Loading initial ramdisk ...'
initrd /initrd-4.12.14-lp150.12.4-default
}
menuentry 'openSUSE Leap 15.0, with Linux 4.12.14-lp150.11-default' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.11-default-advanced-0b3964c0-4b51-4106-b433-eb21178aeb19' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8 --hint='hd0,msdos8' 22dcc3c9-9f7d-4a43-9569-7291f070225a
else
search --no-floppy --fs-uuid --set=root 22dcc3c9-9f7d-4a43-9569-7291f070225a
fi
echo 'Loading Linux 4.12.14-lp150.11-default ...'
linux /vmlinuz-4.12.14-lp150.11-default root=UUID=0b3964c0-4b51-4106-b433-eb21178aeb19 resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts resume=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ADG7VA-part9 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /initrd-4.12.14-lp150.11-default
}
menuentry 'openSUSE Leap 15.0, with Linux 4.12.14-lp150.11-default (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.11-default-recovery-0b3964c0-4b51-4106-b433-eb21178aeb19' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8 --hint='hd0,msdos8' 22dcc3c9-9f7d-4a43-9569-7291f070225a
else
search --no-floppy --fs-uuid --set=root 22dcc3c9-9f7d-4a43-9569-7291f070225a
fi
echo 'Loading Linux 4.12.14-lp150.11-default ...'
linux /vmlinuz-4.12.14-lp150.11-default root=UUID=0b3964c0-4b51-4106-b433-eb21178aeb19
echo 'Loading initial ramdisk ...'
initrd /initrd-4.12.14-lp150.11-default
}
}
### END /etc/grub.d/10_linux ###
I just found this. Apparently this guy used noresume to suppress hybernation, but I have no idea how to do that.
I also found this & this, but it only shows how to remove hibernate from kde launcher.
So am I correct in understanding that -
a. Either I edit the grub.cfg file manually and put my swap space (/dev/sda6) in place of the spurious (& non-existent ) /dev/sdb9 entry [which might not work in a successful hibernation since I mostly have 3-4 VMs running all the time and have a 16G of RAM but only 3G of swap.]
b. Or I use the 'noresume' option to disable hibernation functionality [and by extension, get rid of the 90second wait] ??
Thanks a lot for the pointer peteIq, I have fixed this.
What I did -
1. Edited 'GRUB_CMDLINE_LINUX' in /etc/default/grub and removed the part resume=xxxxx.
2. Backed up my old /boot/grub2/grub.cfg and created a new config file by grub2-mkconfig. Saw that the resume=xxxxx part did not generate on the new grub.cfg. rebooted.
3. Since the multiboot is handled by CentOS, rebooted & logged on to CentOS and created a new grub menu.
4. Problem solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.