LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-25-2018, 10:34 AM   #1
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Question 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 -

Code:
ab-suse:~ # grep -i ata-ST1000DM010-2EP102_Z9ADG7VA /boot/grub2/grub.cfg
        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
                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
                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
I have looked here and here
But I don't have a /etc/crypttab file.
Code:
ab-suse:~ # find /etc -name crypttab -exec ls -lh {} \;
ab-suse:~ #
My swap details are as follows. It is of 3G which I have already validated. o duplicate swap is also ruled out.
Code:
ab-suse:~ # free -g
              total        used        free      shared  buff/cache   available
Mem:             15           1          13           0           0          14
Swap:             3           0           3
ab-suse:~ # grep swap /etc/fstab
UUID=7f6d34d3-604d-46f0-ab74-b5195efd2a1c  swap   swap  defaults  0  0
ab-suse:~ # blkid | grep 7f6d34d3-604d-46f0-ab74-b5195efd2a1c
/dev/sda6: UUID="7f6d34d3-604d-46f0-ab74-b5195efd2a1c" TYPE="swap" PARTUUID="cf7354d5-06"
ab-suse:~ # lsblk -b /dev/sda6
NAME MAJ:MIN RM       SIZE RO TYPE MOUNTPOINT
sda6   8:6    0 3246391296  0 part [SWAP]
Interestingly, I don't even have a partition 9. /dev/sdb8 is /boot for OpenSUSE. [I know it's not required to explicitly have a /boot these days]

Code:
ab-suse:~ # fdisk -l /dev/sdb
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x2c2b618f

Device     Boot      Start        End   Sectors   Size Id Type
/dev/sdb1  *          2048  507906047 507904000 242.2G  7 HPFS/NTFS/exFAT
/dev/sdb2        507906048  712431615 204525568  97.5G  7 HPFS/NTFS/exFAT
/dev/sdb3        712431616 1339119615 626688000 298.8G  7 HPFS/NTFS/exFAT
/dev/sdb4       1339121662 1701619711 362498050 172.9G  5 Extended
/dev/sdb5       1339121664 1443979263 104857600    50G 83 Linux
/dev/sdb6       1443981312 1543368703  99387392  47.4G 8e Linux LVM
/dev/sdb7       1543370752 1699618815 156248064  74.5G 83 Linux
/dev/sdb8       1699620864 1701619711   1998848   976M 83 Linux

Partition 4 does not start on physical sector boundary.
ab-suse:~ # fdisk -l /dev/sda
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xcf7354d5

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048   1026047   1024000  500M  7 HPFS/NTFS/exFAT
/dev/sda2         1026048 184530943 183504896 87.5G  7 HPFS/NTFS/exFAT
/dev/sda3       184530944 188725247   4194304    2G 83 Linux
/dev/sda4       188725248 234440703  45715456 21.8G  5 Extended
/dev/sda5       188729344 220194815  31465472   15G 8e Linux LVM
/dev/sda6       220196864 226537471   6340608    3G 82 Linux swap / Solaris
So, how do I get rid of the 1min30Sec second wait on this machine ?

Last edited by Honest Abe; 06-25-2018 at 11:05 AM.
 
Old 06-25-2018, 12:10 PM   #2
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
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.

Last edited by petelq; 06-25-2018 at 12:11 PM.
 
Old 06-25-2018, 12:54 PM   #3
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Thanks Pete, for your response.

Quote:
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]

Code:
[root@AB-Cent7OS ~]# grep -i GRUB_CMDLINE_LINUX /run/media/root/22dcc3c9-9f7d-4a43-9569-7291f070225a/grub2/grub.cfg 
[root@AB-Cent7OS ~]#
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 ###
 
Old 06-25-2018, 01:19 PM   #4
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
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] ??

#b sounds good to me. Any idea how to do that ?
 
Old 06-26-2018, 01:07 PM   #5
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT are in /etc/default/grub not /boot/grub2/grub.cfg.
 
1 members found this post helpful.
Old 06-26-2018, 01:54 PM   #6
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Ah, my bad. I'll check and get back to you.
 
Old 06-26-2018, 11:38 PM   #7
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Fixed

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.
 
Old 06-27-2018, 06:00 AM   #8
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Good. I'm pleased I was able to help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot transfer files from bluetooth device to pc opensuse leap 42.1 newlin SUSE / openSUSE 0 12-04-2016 10:44 PM
Diskless cluster. Timed out waiting for device dev-nfs.device mgumbau Linux - Server 0 10-07-2016 07:48 PM
[SOLVED] GRUB2: Timed out waiting for device (was anciently a swap partition) JZL240I-U Linux - Software 13 05-26-2015 07:51 AM
XEN 3.3 on OpenSuse 10.3 - Waiting for /dev/sda2 to appear Reefcrazed Linux - Software 18 05-07-2010 04:14 AM
Smartd: Device /dev/sda: using '-d sat' for ATA disk behind SAT layer. deathsfriend99 Linux - Newbie 0 12-09-2009 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration