Unable to access resume device (LABEL=SWAP-hdc3) and suspend/resume woes
Dylan Semler
dylan.semler at gmail.com
Fri May 4 14:40:52 UTC 2007
I have been seeing the following message at boot-up for quite a while now:
Unable to access resume device (LABEL=SWAP-hdc3)
It is printed right after a line about "Red Hat Nash version blah," and
maybe a few lines before "starting udev [ OK]" (sorry, I'm going from
memory here). It hasn't caused any problems and I seem to be swapping ok in
general, however now I'm trying to get suspend/resume to work and I'm
thinking that this might be the source of some of my problems.
The thing is, hdc is an optical disk drive, there was never any swap
partitions on there. I noticed that I did have two swap entries in fstab:
LABEL=SWAP-hda3 swap swap defaults 0 0
LABEL=SWAP-hdc3 swap swap defaults 0 0
I removed the incorrect line (hdc3), however I'm still getting this resume
device error message and resuming from hibernation does not work (computer
just boots up normally).
Here's some relevant info:
cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot12 /boot ext2 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda3 swap swap defaults 0 0
/dev/hdb /hubble xfs defaults 0 0
sudo fdisk -l
Disk /dev/hda: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 12 96358+ 83 Linux
/dev/hda2 13 9604 77047740 83 Linux
/dev/hda3 9605 9732 1028160 82 Linux swap / Solaris
Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hdb doesn't contain a valid partition table
>From grub.conf
title Fedora Core (2.6.20-1.2948.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.20-1.2948.fc6 ro root=LABEL=/ rhgb quiet
resume2=swap:/dev/hda3
initrd /initrd-2.6.20-1.2948.fc6.img
Note, I was using the suspend2 kernel from atrpms but then fell back to the
stock FC6 kernel to experiment with making a new initrd with the correct
fstab entries (I'm really not sure if fstab is parsed by mkinitrd or what
that process is about, but it was worth a try). I'd experiment with the
suspend2 kernel but it seems that it won't uninstall:
sudo yum remove kernel-suspend2
[snip]
Transaction Test Succeeded
Running Transaction
/var/tmp/rpm-tmp.36491: line 1: /sbin/new-kernel-pkg-suspend2: No such file
or directory
error: %preun(kernel-suspend2-2.6.20-1.2948_1.fc6.cubbi_suspend2.i686)
scriptlet failed, exit status 127
Removed: kernel-suspend2.i686 0:2.6.20-1.2948_1.fc6.cubbi_suspend2
Complete!
This issue alone is quite frustrating.
Cheers,
Dylan
--
Type faster. Use Dvorak:
http://dvzine.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070504/7f5a0af1/attachment-0001.htm>
More information about the fedora-list
mailing list