I have been seeing the following message at boot-up for quite a while now:<br clear="all">Unable to access resume device (LABEL=SWAP-hdc3)<br><br>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.
<br><br>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:<br>LABEL=SWAP-hda3 swap swap defaults 0 0
<br>LABEL=SWAP-hdc3 swap swap defaults 0 0<br><br>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).
<br><br>Here's some relevant info:<br>cat /etc/fstab<br>LABEL=/ / ext3 defaults 1 1<br>LABEL=/boot12 /boot ext2 defaults 1 2<br>devpts /dev/pts devpts gid=5,mode=620 0 0
<br>tmpfs /dev/shm tmpfs defaults 0 0<br>proc /proc proc defaults 0 0<br>sysfs /sys sysfs defaults 0 0
<br>LABEL=SWAP-hda3 swap swap defaults 0 0<br>/dev/hdb /hubble xfs defaults 0 0<br><br><br>sudo fdisk -l<br><br>Disk /dev/hda: 80.0 GB, 80054059008 bytes
<br>255 heads, 63 sectors/track, 9732 cylinders<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System<br>/dev/hda1 * 1 12 96358+ 83 Linux
<br>/dev/hda2 13 9604 77047740 83 Linux<br>/dev/hda3 9605 9732 1028160 82 Linux swap / Solaris<br><br>Disk /dev/hdb: 200.0 GB, 200049647616 bytes<br>255 heads, 63 sectors/track, 24321 cylinders
<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br>Disk /dev/hdb doesn't contain a valid partition table<br><br><br>From grub.conf<br>title Fedora Core (2.6.20-1.2948.fc6)<br> root (hd0,0)<br> kernel /vmlinuz-
2.6.20-1.2948.fc6 ro root=LABEL=/ rhgb quiet resume2=swap:/dev/hda3<br> initrd /initrd-2.6.20-1.2948.fc6.img<br><br>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:
<br><br>sudo yum remove kernel-suspend2<br>[snip]<br>Transaction Test Succeeded<br>Running Transaction<br>/var/tmp/rpm-tmp.36491: line 1: /sbin/new-kernel-pkg-suspend2: No such file or directory<br>error: %preun(kernel-suspend2-2.6.20-1.2948_1.fc6.cubbi_suspend2.i686
) scriptlet failed, exit status 127<br><br>Removed: kernel-suspend2.i686 0:2.6.20-1.2948_1.fc6.cubbi_suspend2<br>Complete!<br><br>This issue alone is quite frustrating.<br><br>Cheers,<br>Dylan<br><br>-- <br>Type faster. Use Dvorak:
<br><a href="http://dvzine.org">http://dvzine.org</a>