[Bug 105490] Re: [Feisty] Swap partition receives new UUID
*** This bug is a duplicate of bug 66637 *** https://bugs.launchpad.net/bugs/66637 am using 7.10, and have got the same problem after I crated a new partition for swap and deleted the old one [as I wanted a bigger swap. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
*** This bug is a duplicate of bug 66637 *** https://bugs.launchpad.net/bugs/66637 All this talk about removing UUIDS from fstab is not a solution. Every boot my Device Names and UUID's are changing. The only way for me to boot this system currently is to hand edit fstab every boot, or to use a different distro. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
*** This bug is a duplicate of bug 66637 *** https://bugs.launchpad.net/bugs/66637 miaviator: if this happens at every boot despite of the fix above, please report a separate bug. Are you sure UUIDs are changing? -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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
Re: [Bug 105490] Re: [Feisty] Swap partition receives new UUID
*** This bug is a duplicate of bug 66637 *** https://bugs.launchpad.net/bugs/66637 @miaviator278: what version are you running? I haven't seen this issue in a long while! I run 8.04 LTS and have never seen this sort of behaviour, using suspend almost all the time. I am also quite sure 7.10 was fine. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
*** This bug is a duplicate of bug 66637 *** https://bugs.launchpad.net/bugs/66637 i had the same problem. the problem is the symbolic link in /dev/disk/by-uuid/ at the swap partition. to fix it make: sudo mkswap /dev/swap partition copy the new uuid edit your /etc/fstab UUID=new UUID none swap sw 0 0 edit your /etc/initramfs-tools/conf.d/resume file UUID=bew UUID go to the /dev/disk/by-uuid/ directory and make this entry ls -al | grep swap partition this gives you your old UUID and now make this entry sudo mv old UUID new UUID then sudo swapon -va then sudo update-initramfs -u the problem is fixed after a reboot -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
*** This bug is a duplicate of bug 66637 *** https://bugs.launchpad.net/bugs/66637 ** This bug has been marked a duplicate of bug 66637 After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature) -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
This is occuring also on my Feisty installation, no wonder my laptop has been running like the proverbial mutt. I followed the above instructions to use plain old filesystem locations and now my swap is back!! This really really needs to be fixed!! If there is any debug information etc that will help further then please advise... -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
WOW.. i really had a hard time figuring out what was wrong with my system. but thanks to this post i fixed (so far). i followed the advice of tactus said on 2007-04-19: and updated all values of UUID in my /etc/mdadm/mdadm.conf file with the new ones and it works... hope Ubuntu Team takes this post and fix the problem. THANKS A LOT FOR SHARING YOUR KNOWLEDGE. regards -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I found the value of the UUID given by mkswap was incorrect. Post reboot the vol_id value differed to the mkswap value. After correcting /etc/fstab, /etc/initramfs/config.d/resume , boot/grub/menu.lst to the vol_id value then restarting udev, updating initramfs and another reboot, I can resume from hibernate. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I've confirmed this problem on multiple systems with Fiesty and Gutsy. I've followed the recommendations above but have been unable to get the Swap UUID to stick. I've searched the forums, the internet and here. My conclusion is that this problem is at the root of many reported problems. This problem kills hibernate capability. Request that the priority be bumped to HIGH. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
After much searching, reading and testing I now have hibernate and Swap going reliably on one system. I'll test this on other systems as I have time. I realize this is not the fix we really need but at least it works for now here: Fiesty Swap/hibernate fix: - Check swap: $ free | grep Swap If you see the follow then your Swap file is broken: Swap:0 0 0 - Find the device name of swap: $ sudo fdisk -l UUID support appears to be broken as far as the Swap is concerned. - Edit fstab with correct non-UUID information: $ sudo gedit /etc/fstab - Edit resume with correct non-UUID information:$ sudo gedit /etc/initramfs-tools/conf.d/resume Example: RESUME=/dev/sda6 - sudo update-initramfs -u - Reboot - Check swap if you want: $ free | grep Swap - Open some apps - Test hibernate -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
Has been troubling me too. My fix around this is to change fstab and make it use the old and proven none-uuid devices # /dev/hda5 /dev/sda5 none swap sw 0 0 Certainly not a /real/ solution, more a hack to make things work again, so to say. However, this broke several times because during updates ubunty switched my disks from hda5 to sda5 twice already. That, however, is an entirely different issue. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
Same problem here, but this was because my swap partition was gone. Now, I am really wondering why was it gone. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
** Changed in: udev (Ubuntu) Sourcepackagename: None = udev Importance: Undecided = Medium Assignee: Brian Murray = (unassigned) Status: Needs Info = Confirmed -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I confirmed this problem, too. Here is what I did to fix: 1. follow all this procedure: https://bugs.launchpad.net/ubuntu/+bug/105490/comments/9 2. sudo /etc/init.d/udev restart 3. remove /etc/uswsusp.conf 4. sudo /usr/sbin/update-initramfs After these procedure, hibernation feature works correctly. I think that the generated /etc/uswsusp.conf is not suitable. But I have not reveal what is wrong of uswsusp (or other packages). -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I confirm this problem of swap not been activated. The UUID changes when resumed after an hibernation.can we just replace the UUID with the actual device block (say /dev/hda6 , which represents a swap partition, in my case) -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I have this issue with 2-6-20-16 when hibernate stopped working and would just bounce back to the screen saver. I finally tracked this down to my swap partition failing to load as the UUID had changed. After running blkid and editing /etc/fstab with the new UUID, swapon -a loaded swap. I hibernated ok, but then could not resume. I had no swap again and found the UUID had changed again and did so on every reboot ! The following seems to work and stops my swap partition UUID from changing edit the file '/etc/initramfs-tools/conf.d/resume' (ie sudo vi /etc/initramfs-tools/conf.d/resume) and updated the line that begins 'RESUME=UUID= ' with the new swap partition UUID. edit the swap entry in /etc/fstab with the new swap partition UUID 'sudo update-initramfs -u' to update the intitrd with the new UUID. I've hibernated correctly a few times now. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
grahams1 were you able to pin down what was making the UUID change? -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
Confirmed by me as well. I'm running Kubuntu 7.04 on a ThinkPad X41 with kernel [EMAIL PROTECTED]:~$ uname -r 2.6.20-15-generic Suspend and hibernate worked out of the box, but after a few restarts, hibernation ceased to work (it wouldn't hibernate at all). (Suspend still works.) When trying to hibernate, it gave the following message in dmesg (the last one); [EMAIL PROTECTED]:~$ dmesg | grep swsusp [ 3540.088000] swsusp: critical section: [ 3540.088000] swsusp: Need to copy 126471 pages [ 3540.088000] swsusp: Normal pages needed: 66997 + 1024 + 32, available pages: [ 3540.088000] swsusp: critical section/: done (126471 pages copied) [ 3545.384000] swsusp: Cannot find swap device, try swapon -a. I checked my KSysGuard, and it claimed No swap space available in the status bar - Odd, I thought. When searching the web, I found this bug, and a thread on ubuntuforums.org, http://ubuntuforums.org/showthread.php?p=1683612 (See also https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/66637 and https://bugs.launchpad.net/ubuntu/+bug/67437) Here are some outputs, in case they could be of any help (/dev/sda6 ought to be my swap partiton, but as the following indicate, its uuid has somehow changed, and doesn't match the one in the fstab): - [EMAIL PROTECTED]:~$ free -m | grep Swap Swap:0 0 0 [EMAIL PROTECTED]:~$ sudo swapon -s FilenameTypeSizeUsedPriority [EMAIL PROTECTED]:~$ sudo fdisk -l | grep swap /dev/sda638174093 2094088+ 82 Linux swap / Solaris [EMAIL PROTECTED]:~$ sudo vol_id /dev/sda6 ID_FS_USAGE=other ID_FS_TYPE=suspend ID_FS_VERSION=s1suspend ID_FS_UUID=b1c2f767-9fb1-46b1-a090-4b1ac5eb2bee ID_FS_LABEL= ID_FS_LABEL_SAFE= [EMAIL PROTECTED]:~$ cat /etc/fstab | grep -B 1 swap # /dev/sda6 UUID=8cb560ee-a321-4e9a-9805-ccf589b109de noneswapsw 0 0 [EMAIL PROTECTED]:~$ sudo swapon -a swapon: cannot stat /dev/disk/by-uuid/8cb560ee-a321-4e9a-9805-ccf589b109de: No such file or directory - After following the method in this post, http://ubuntuforums.org/showpost.php?p=1773316postcount=3 (similar to Lionel Duvals suggestion), swap works again; [EMAIL PROTECTED]:~$ swapon -s FilenameTypeSizeUsedPriority /dev/sda6 partition 2094080 0 -1 (...but sadly, now hibernation fails on resume. That's not relevant for this bug, though...) -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
^^ update, Just in case anyone else has the same symptoms, or it has relevance for the bug; after another reboot and update-initramfs (see mentioned thread on ubuntuforums) hibernate works again! -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
You can correct by hand the UUID in /etc/fstab after doing a new mkswap and copying the new UUID from vol_id. It should work. Report please. Nevertheless, it's really a bug: we shouldn't have to put our hands there. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
Same problem here. The UUID in fstab didn't match the one in /dev/disk/by-uuid/. This started after a sleep/wake cycle. Had to fix it by hand by editing fstab to use the correct value from /dev/disk/by-uuid. swapon -a was reporting: % sudo swapon -a swapon: cannot stat /dev/disk/by-uuid/15ed6769-566c-4228-bb35-d9a0131dc42c: No such file or directory There was nothing relevant in the dmesg output. This is pretty serious - when the swap was missing, I was seeing the machine running very, very slowly. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I have the same error the swap goneprevious i tried to hibernate. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
My current kernel version is: $ uname -a Linux dellbox 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux Not sure if this is useful, but /etc/fstab and vol_id showed some confusing data this morning (/dev/sda2 is my swap partition): $ cat /etc/fstab | grep swap UUID=9a42174c-13f8-4d19-8412-8810d5996eee none swapsw 0 0 #/dev/sda2 noneswapsw 0 0 $ sudo vol_id /dev/sda2 ID_FS_USAGE=other ID_FS_TYPE=swap ID_FS_VERSION=2 ID_FS_UUID=c45a7273-5fe4-4150-9d62-c099d121299e ID_FS_LABEL= ID_FS_LABEL_SAFE= $ free | grep Swap Swap: 2096472 02096472 -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
Update: After rebooting with the above /etc/fstab settings my swap is once again gone (as expected). $ free | grep Swap Swap:0 0 0 $ sudo vol_id /dev/sda2 | grep UUID ID_FS_UUID=c45a7273-5fe4-4150-9d62-c099d121299e What happened prior my post above I tried to hibernate from the gnome power manager applet in system tray (xfce). It seemed to work okay, but when turning on the computer it just booted up normally and didn't restore from hibernate state. Hope this information can be useful. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
Thanks for taking the time to report this bug and helping to make Ubuntu better. What version of the kernel are you using? Thanks in advance. ** Changed in: Ubuntu Assignee: (unassigned) = Brian Murray Status: Unconfirmed = Needs Info -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I can confirm this as well, I had submitted another bug, and my swap uuid changes repeatedly after every few reboots. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105490] Re: [Feisty] Swap partition receives new UUID
** Summary changed: - [Feisty] Swap partition receives new UUID after hibernate + [Feisty] Swap partition receives new UUID ** Description changed: I noticed recently my swap partition was gone. free -m returned zero space swap. /etc/fstab was configured with a wrong UUID for my swap partition (/dev/sda2). Updating fstab with correct UUID and a reboot brought back my swap disk, - but upon hibernate the UUID for my swap disk changed to a new value and - I had to manually update my fstab file again to restore swap. + but upon hibernate (or later reboot) the UUID for my swap disk changed + to a new value and I have to manually update my fstab file again to + restore swap. - It looks like hibernate is causing UUID value to change on my swap - partition. + Something is causing UUID value to change on my swap partition. Xubuntu 7.04 beta. -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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 105490] Re: [Feisty] Swap partition receives new UUID
I can confirm this. UUID for the swap partition was wrong in /etc/fstab. Swap was not mounted or activated. I do not have laptop so I cannot test the hibernation. Anyway, this is how to find the correct UUID for any partition. Find the device name of swap. $ sudo fdisk -l Find the UUID for that partition. Eg. $ sudo vol_id /dev/sda3 -- [Feisty] Swap partition receives new UUID https://bugs.launchpad.net/bugs/105490 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