Problem at startup - lockup loading swap
I'm trying to help a friend over the phone, so I don't have all the details, but I would be happy for some pointers if anyone has them The machine with mostly up to date debian unstable on occasion decides to lock up for several minutes after or at the point of mounting the swap partition. Previous time that happened starting a different kernel solved the problem. This time all kernels showed the same issue, we though that it was in a hard lockup, but after several minutes it freed up and continued booting. We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the machine complained about not finding the swap's UUID (which didn't match the value reported by mkswap). The only information in /etc/fstab regarding UUID is commented out. Any ideas about what the problem is and/or how to disable UUIDs altogether as they seem to be giving constant trouble? thanks ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Problem at startup - lockup loading swap
On Sep 12, 2010, at 12:41 PM, Micha wrote: We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the machine complained about not finding the swap's UUID (which didn't match the value reported by mkswap). The only information in /etc/fstab regarding UUID is commented out. That's what is causing the UUID problem. You deleted the swap partition and reformated it. You have to remove or reconfigure the sleep to swap program, uswsusp. Any ideas about what the problem is and/or how to disable UUIDs altogether as they seem to be giving constant trouble? I think you are barking up the wrong tree. It's probably not a swap problem, you are assuming it's one because that's the last message you got. Geoff. -- Geoffrey S. Mendelson, N3OWJ/4X1GM To help restaurants, as part of the stimulus package, everyone must order dessert. As part of the socialized health plan, you are forbidden to eat it. :-) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Problem at startup - lockup loading swap
On Sun, 12 Sep 2010 13:01:14 +0200 Tom Goren t...@tomgoren.com wrote: use the appropriate /dev/sdaX entry instead of the UUID - something may be messed up with the hash - especially if you have done mkswap already. It worked for swapon /dev/sda5 but I need to change the default boot process to use that as well. On Sun, Sep 12, 2010 at 12:41 PM, Micha mi...@post.tau.ac.il wrote: I'm trying to help a friend over the phone, so I don't have all the details, but I would be happy for some pointers if anyone has them The machine with mostly up to date debian unstable on occasion decides to lock up for several minutes after or at the point of mounting the swap partition. Previous time that happened starting a different kernel solved the problem. This time all kernels showed the same issue, we though that it was in a hard lockup, but after several minutes it freed up and continued booting. We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the machine complained about not finding the swap's UUID (which didn't match the value reported by mkswap). The only information in /etc/fstab regarding UUID is commented out. Any ideas about what the problem is and/or how to disable UUIDs altogether as they seem to be giving constant trouble? thanks ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Problem at startup - lockup loading swap
On Sun, 12 Sep 2010 13:13:38 +0200 geoffrey mendelson geoffreymendel...@gmail.com wrote: On Sep 12, 2010, at 12:41 PM, Micha wrote: We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the machine complained about not finding the swap's UUID (which didn't match the value reported by mkswap). The only information in /etc/fstab regarding UUID is commented out. That's what is causing the UUID problem. You deleted the swap partition and reformated it. Yes, but why is it looking for it by UUID and how do I disable it? You have to remove or reconfigure the sleep to swap program, uswsusp. I think I killed it when I installed his machine a long time ago, I don't like uswsusp, but I'll check. How is it related to swapon complaining about UUID though? Any ideas about what the problem is and/or how to disable UUIDs altogether as they seem to be giving constant trouble? I think you are barking up the wrong tree. It's probably not a swap problem, you are assuming it's one because that's the last message you got. It was just to make sure, I was thinking a different place as well, but the complaint about UUID left a suspicion that I'm trying to remove. Considering UUID gave me nothing but trouble on multiple computers anyway I'd rather remove any dependency on them in any case. Geoff. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Problem at startup - lockup loading swap
On Sep 12, 2010, at 1:50 PM, Micha Feigin wrote: I think I killed it when I installed his machine a long time ago, I don't like uswsusp, but I'll check. How is it related to swapon complaining about UUID though? It's not. Uswsusp will complain about the swap file not having the correct name, and AFIK can't be told to go on without it. The message appears after the swapon, and are easily confused as being related. Is swap defined in the grub menu or in a file on the intial ram disk? That's why I pointed to uswsusp, it saves a pointer to the swap file in the intial ramdisk image. You have to dpkg-reconfigure it if you change swap files. Geoff. -- Geoffrey S. Mendelson, N3OWJ/4X1GM To help restaurants, as part of the stimulus package, everyone must order dessert. As part of the socialized health plan, you are forbidden to eat it. :-) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Problem at startup - lockup loading swap
ok - so edit fstab On Sun, Sep 12, 2010 at 1:36 PM, Micha Feigin mi...@post.tau.ac.il wrote: On Sun, 12 Sep 2010 13:01:14 +0200 Tom Goren t...@tomgoren.com wrote: use the appropriate /dev/sdaX entry instead of the UUID - something may be messed up with the hash - especially if you have done mkswap already. It worked for swapon /dev/sda5 but I need to change the default boot process to use that as well. On Sun, Sep 12, 2010 at 12:41 PM, Micha mi...@post.tau.ac.il wrote: I'm trying to help a friend over the phone, so I don't have all the details, but I would be happy for some pointers if anyone has them The machine with mostly up to date debian unstable on occasion decides to lock up for several minutes after or at the point of mounting the swap partition. Previous time that happened starting a different kernel solved the problem. This time all kernels showed the same issue, we though that it was in a hard lockup, but after several minutes it freed up and continued booting. We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the machine complained about not finding the swap's UUID (which didn't match the value reported by mkswap). The only information in /etc/fstab regarding UUID is commented out. Any ideas about what the problem is and/or how to disable UUIDs altogether as they seem to be giving constant trouble? thanks ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il