[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
closing baltix task ** Changed in: util-linux (Baltix) Status: Incomplete = Invalid -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Is there a reason that there's still a Baltix task open on this bug? ** Changed in: util-linux (Baltix) Status: New = Incomplete -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I'm spending more time fixing bugs/ using workarounds than i am enjoying my Ubuntu OS. What gives? YEARS later this is still a problem? I tried to put my computer into Suspend, and now I have no swap. I have Ubuntu Hardy, the util-linux is up to date I guess i'm going to have to forego this fix - and hope i dont make anything worse. I've got about 30 bookmarks for fixes i've needed to address when I reinstall Ubuntu... -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
This bug was fixed in the package util-linux - 2.13.1-3ubuntu1 --- util-linux (2.13.1-3ubuntu1) hardy; urgency=low * New Debian version: remaining ubuntu changes: - use libvolume-id instead of libblkid - udev hooks util-linux (2.13.1-3) unstable; urgency=low [Kees Cook] * swapon: Reinitialize software suspend areas to avoid future corruption. LP: #66637 -- LaMont Jones [EMAIL PROTECTED] Fri, 21 Mar 2008 10:20:36 -0600 ** Changed in: util-linux (Ubuntu) Status: Fix Committed = Fix Released -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
This debdiff re-applies the mkswap-during-swapon, but includes the existing UUID. This will get uploaded after Beta has released. ** Attachment added: suspend-reinit http://launchpadlibrarian.net/12759250/util-linux_2.13.1-2ubuntu2.debdiff ** Changed in: util-linux (Ubuntu) Assignee: Scott James Remnant (keybuk) = Kees Cook (keescook) Status: Confirmed = Fix Committed -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Maybe at some point the system should also detect corrupted swap partitions and mkswap-uuid them so that no system can lose its swap without the user being told of it. For now, if people use mkswap, it's because their swap was corrupted, often because of hibernation problems - the two issues are linked. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
There is another alternative to solve the UUID problem, that is use the mkswap-uuid program. Look at these two locations: * http://www.nabble.com/DRBL-1.8.0-15-(stable)-released-t4492611.html * http://free.nchc.org.tw/drbl-core/old/src/ You need to compile it manually, but the whole process takes only several minutes :-) So here are the steps: 1. sudo apt-get install build-essential uuid-dev 2. mkdir ~/work ; cd ~/work 3. wget http://free.nchc.org.tw/drbl-core/old/src/mkswap-uuid-0.1.0-2.tar.bz2 4. tar -xjf mkswap-uuid-0.1.0-2.tar.bz2 5. cd mkswap-uuid 6. make sudo cp mkswap-uuid /usr/local/bin After that you have the mkswap-uuid binary which you can use to recreate the swap partition with desired UUID: 7. swap_device=/dev/name-of-swap-partition 8. swap_uuid=put-desired-swap-uuid-here 9. sudo swapoff ${swap_device} 10. sudo mkswap-uuid -U ${swap_uuid} 11. sudo swapon ${swap_device} 12. sudo blkid ${swap_device} There. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
A goblin ate some of my words. It should be: 10. sudo mkswap-uuid -U ${swap_uuid} ${swap_device} Cheers! -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
** Also affects: util-linux (Baltix) Importance: Undecided Status: New -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I'm going to jump in on this. I'm seeing a different but related problem. I'm using Gutsy. I am working on bare metal restoration (http://www.charlescurley.com/Linux-Complete-Backup-and-Recovery- HOWTO.html). The least intrusive way for me to perform a bare metal restoration is to provide the UUID to mkswap when I create the swap partition(s) at restoration time. I cannot let mkswap generate the UUID and then edit fstab gracefully because fstab isn't on the disk where I can get at it at the time the restoration code deals with mkswap and the swap partitions. Also, there could be other code elsewhere that uses the old UUID. Reading this issue, I propose that mkswap accept a UUID and use it when preparing a swap partition. That would satisfy my requirement. In addition, mkswap should generate and assign a new UUID only if: * There is no valid UUID already on the partition, and * The caller does not provide a UUID as an argument to mkswap. Alternatively, is there a general purpose tool one can use to set the UUID after running mkswap? I predict that other bare metal restoration facilities like bacula will also hit this problem. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
After completing the fix listed at http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.04_on_a_ThinkPad_T43#Swap_and_Hibernation_problem, which is essentially the same as what's listed above, hibernation is working fine for me, and swap is enabled on boot, however swapon -s is listing an entry for both /dev/sda2 and /dev/mapper/sda2, and free -m shows double the amount swap space that it should. This seems like something to me like something to be concerned about, but I'd like to get the opinion of someone more with a more thorough understanding of these issues. Note that this is mentioned above (https://launchpad.net/ubuntu/+bug/66637/comments/30) by Crakie, but no one commented on the appearance of double the swap size. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
After completing the fix listed at http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.04_on_a_ThinkPad_T43#Swap_and_Hibernation_problem, which is essentially the same as what's listed above, hibernation is working fine for me, and swap is enabled on boot, however swapon -s is listing an entry for both /dev/sda2 and /dev/mapper/sda2, and free -m shows double the amount swap space that it should. This seems like something to me like something to be concerned about, but I'd like to get the opinion of someone more with a more thorough understanding of these issues. Note that this is mentioned above (https://launchpad.net/ubuntu/+bug/66637/comments/30) by Crakie, but no one commented on the appearance of double the swap size. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
@Darian: swap mounted twice is already reported in bug 86234 (2 swap partitions each mounted twice in 2.6.20-8). -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
@Alex: Ah ha. Thanks for the heads up. I added the temporary fix to rc.local. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I can confirm this on Kubuntu Feisty: when I updated the initial kernel (the first update after the installation from the CD), not only the libata was gone and sdX reverted to hdX, but the swap UUID was changed, thus not being used anymore, and the hibernation failed! Manually updating fstab fixed the thing. but this should be addressed programatically. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I have been having the same problems: I recently installed Feisty in my laptop and it would grind to a halt, thrashing until I couldn't do anything. Suspend to disk failed. It took days until I did track the problem to the fact it was not using my swap partition because the uuid created in my /etc/fstab wasn't the same as in the physical partition. The swap partition's uuid would change unpredictably, and I had to adopt the notation /dev/hdaX in my /etc/fstab to actually be able to use my swap partition. see bug #67437 as well. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
After upgrade to feisty my IBM ThinkPad T23 stop hibernate, complaining about invalid swap signature. After triying some solution here proposed, i've simply put on /etc /initramfs-tools/conf.d/resume file not the UUID but the phisical partition (/dev/hda2) and now my TP hibernate correctly. FYI. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I had this problem with dapper-edgy, and the instructions above ( https://launchpad.net/distros/ubuntu/+bug/66637/comments/23 ) fixed it. Now I've upgraded edgy-feisty. The problem has come back, and following the same instructions has not fixed the problem. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
fwiw, I disagree with some of the recent marking of duplications of this bug. As Scott James Remnant states above, this bug is for dapper-edgy upgrades where people have run mkswap by hand. Many of the recent supposed duplications are from people running feisty who've never seen this problem before (such as me). I think what is happening in fesity is that a hibernate/resume is failing for some reason (or more likely, various reasons), leaving the user with a swap partition that swapon doesn't like (although I can't be sure of that because it seems to have stopped happening to me) and so correcting it by resetting their swap, but this of course requires that fstab and /etc/initramfs-tools/conf.d/resume be updated and this (please correct me if I'm wrong) is not documented. Perhaps mkswap could be patched to warn users that they will need to update these files, or it could be patched to retain the UUID (perhaps with an option to make a new one) -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Perhaps https://bugs.launchpad.net/ubuntu/+source/initramfs- tools/+bug/50437 is related to this one -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I think it has something to do with this, but after Kubuntu Edgy (w. KDE 3.5.6) update to Feisty (or some of feisty updates) broke my swap and my hibernation. When trying to hibernate, it looks like it's shutting down X, but then it pops back and gives this message: /bin/echo: write error: Cannot allocate memory Most likely this was because of the lost swap partition. I needed to re- activate the swap partition and change the UUID in /etc/fstab to make swap work again. Haven't tried since does it hibernate, but I'll let you know if reactivating swap was a solution for me. r -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
After installing Feisty hibernate was not working. I had to do the usual: mkswap /dev/sda2 # grab the UUID=XXX vi /etc/fstab # update the UUID on the line of /dev/sda2 vi /boot/grub/menu.lst # make sure this line is like: # defoptions=quiet splash resume=UUID= update-grub reboot -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://bugs.launchpad.net/bugs/66637 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
** Changed in: util-linux (Ubuntu) Target: None = ubuntu-7.04 ** Changed in: linux-source-2.6.17 (Ubuntu) Status: Unconfirmed = Rejected -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I think I am having a similar problem. Please see the following forum discussion: http://ubuntuforums.org/showthread.php?t=343570highlight=swap+file+fails -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Did you update your grub.conf accordingly? -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
For me still doesn't work after hibernate :( I did it in that way: -mkswap /dev/sda7 Setting up swapspace version 1, size = 1077473 kB no label, UUID=36ddb4d6-f8b9-446b-bdbf-70d4b40c6d70 -in /etc/fstab: UUID=36ddb4d6-f8b9-446b-bdbf-70d4b40c6d70 noneswapsw 0 0 -in /etc/initramfs-tools/conf.d/resume RESUME=UUID=36ddb4d6-f8b9-446b-bdbf-70d4b40c6d70 -update-initramfs -u My system: 2.6.17-11-386 -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
After updating to the kernel 2.6.17-11-386, the update procedure blew off my grub.conf configuration and left my swap partition unusable. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
this is still the same in feisty (confirmed in bug 85416) -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Just to add to this, I upgraded from ubuntu 4.10 all the way to 6.10. I noticed the problem first when my machine (VAIO laptop with 1 gig of ram) got irresponsive. Then I noticed I had no swap space. I did try hibernate and suspend before, hibernate never worked, suspend might have once. What might be interesting is that my machine had also had swap FILE setup which was also not being used when I had problems. running mkswap on that fixed the problem. I have updated the UUID for the swap PARTITION in fstab using the instructions in https://answers.launchpad.net/ubuntu/+ticket/2488 see also https://answers.launchpad.net/ubuntu/+ticket/3234 swapon -a enabled the swap partition. I have yet to reboot to see if it remains working. I'll update the hibernation config (/etc/initramfs- tools/conf.d/resume) sometime later to see if hibernation now works. (which would be great). -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I'm using Ubuntu 6.10 and had the same sympthoms everyone else. I followed comment #23 but it was not sufficient. Swap worked fine but hibernate didn't. After re-iterating I added the entry on menu.lst (like comment #50 recommended): resume=UUID=uuid from partition And now it works. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Thomas Schwinge wrote: Perhaps the same issue as this one? https://bugs.launchpad.net/distros/ubuntu/+bug/74522. Thanks Thomas, I started a followup conversation there. With respect to this bug thread: I am also still curious as to why my system seems to require a resume= entry in my /boot/grub/menu.lst file in order to get my hibernates to work for 2.6.17.14, while there is little if any mention of this anywhere else on this thread. Also note, that I installed the binary linux-image-2.6.17-10-generic (2.6.17.1-10.34) package binary available from Ubuntu-Edgy's apt servers and had the exact same experience with slow bootups but working hibernates and suspends. I am also building a 2.6.19.1 kernel to see if I can get the best of all worlds (fast bootups, working suspend and hibernates). I would also like to see if there exists some sort of master test-plan framework for which outsiders like me can update so as to avoid what seems to be a lot of Dapper-to-Edgy-upgrade-based problems with laptops like mine. -Matt -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Without a resume=UUID=... update to my menu.lst file (for grub), none of this worked. (Alas, maybe one could do a resume=/dev/hdxx and it would probably work, too.) Note that I can only get this to work for a 2.6.17.14 kernel running in Edgy; the standard 2.6.18.1 edgy kernel panics for both suspends and hibernates on my Thinkpad T41 2378DHU with 2GB of memory. The 2.6.17.14 kernel suspend and hibernate works like a charm...if I go around updating the 3 different places one must update for the swap pointers (/etc/fstab, /etc/initramfs-tools/conf.d/resume, and /boot/grum/menu.lst) after the dapper-to-edgy upgrade (...sigh...). HOWEVER, 2.6.17.14 takes a full 3 minutes to boot up...UGH! 2.6.18.1 takes about 20 seconds to boot up on the same machine (great!), but experiences the kernal panics per the suspend/hibernate, and all I'm chaning between .17.14 and .18.1 runs is the kernel choice in grub--it's all run from the same machine. Anybody know what gives? I've spent several hours tonight trying to debug this. I'm not that pleased that edgy apparently didn't seem to get sufficient laptop test coverage, but I'm here to help with the effort. Please let me know how I can help (more details needed for my system?), and thanks for any feedback. -Matt -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
A clarification as per above: I was under the impression that Edgy ran standard with a 2.6.18.1 kernel...but alas, I may have been mistaken. In any case, the kernel revs I report above are correct, but they may or may not have anything to do with Edgy standard stuff, for they may be there simply because I built them myself some time ago on my same system when it was previously a Dapper box...and said kernel revs were inherited when I upgraded. How would I get the de facto Edgy kernel rev/source...or just get the binary from an apt-get somehow? -Matt -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Matt England: HOWEVER, 2.6.17.14 takes a full 3 minutes to boot up...UGH! Perhaps the same issue as this one? https://bugs.launchpad.net/distros/ubuntu/+bug/74522. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I also have this bug on a clean Edgy install. I used Gparted to fix my swap partition but I don't remember if it happened before noticing that hibernation doesn't work or after. I changed my fstab nad resume entries to plain old /dev/sda5, I'll test it in a moment. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
This is not an upgrade bug. If you have a bug that is only related to upgrading from dapper to edgy AND YOU HAVE NEVER RUN mkswap (ie. your machine failed to hibernate), then you have a DIFFERENT BUG. Please don't hijack this one. ** Summary changed: - After upgrade from dapper to edgy, swap space is discarded, system fails to hibernate (invalid swap signature) + After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
Scott, thanks for you reply. You seem to claim the following about this bug: 1) It appears not only after a dapper-edgy upgrade. 2) It appears only after running mkswap on your swap partition without changing fstab accordingly. You're right with the first point, this issue seems to be more general than I thought. Sorry for changing the subject. About the second point, though, I'm not so sure. I had the exact same problems described here without running anything manually (unless the swap parition is initialized in the automatic update). Also, please note that the bug submitter mentions an upgrade in his report, but not running mkswap. Please re-read the bug's history, and also note the number of duplicates. I could file another report, but that seems both grauitious and harmful given the above. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
I've the same problem and was partially solved recreating swap partition and changing fstab + /etc/initramfs-tools/conf.d/resume I'm able to hibernate when Ubuntu is at GDM login screen but if I try to hibernate when gnome is active (session initiated) the hibernation fail, never resume, recovered only turning off and some times removing batteries. The are several file system problem after restarted. Manuel Acer Travel Mate, Centrino, Ubuntu 6.10 updated -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
It was confirmed that the reporter had run mkswap -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
To Scott: It happened to me just after the upgrade, and I do not remember having used manually mkswap before the breakage. Nevertheless, I have to say that the upgrade failed midway for me, and I had to recover the system via a quite convoluted live-cd / manual mount / chroot and apt-get magic, so maybe in the meantime something strange happened. What I know is that I first noticed the problem due to inability to suspend-to-disk (aka hibernate). -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66637] Re: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature)
It was confirmed that the reporter had run mkswap I dind't even KNOW that 'mkswap' command until reading about it here as being part of the solution! I definitely did not run mkswap, ever. In fact, it happened on my FRESH install of Edgy. First time it happened it could have been because of an upgrade. I experienced massive instability, didn;t know about this bug at the time so then did a fresh install of Edgy. (re- using an existing swap partition). Not sure if the problem persisted or appeared again later. Whatever the cause, it's bad. Perhaps do an active check during startup that swap space is indeed available and make noise if it doesn't. -- After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) https://launchpad.net/bugs/66637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs