PDA

View Full Version : What have you done when an Ubuntu release only boots with an old kernel?



Irihapeti
April 11th, 2010, 05:20 AM
I have an installation of Lucid which will only boot with the Karmic kernel. Bug report exists and it may get fixed, but I'm assuming at this point that it won't - at least, not in time for release.

I'd like to know if anyone else has had this kind of situation, and what they've done about it.

Options, as I see them, are to:


keep using older kernels - but gets tricky when you are dealing with a long-term release

compile a kernel (no luck with that so far)

skip the release altogether and hope the next one behaves better

go to another distro altogether

and an option that's too awful (and expensive) to contemplate. :)


So, who has any experience of this situation? What did you do?

gletob
April 11th, 2010, 06:31 AM
I used to have that problem with Grub Legacy (Grub 1?). Usually I'd fix it by copying the non automatic stuff from the menu.lst file and delete it. Make a new one, add non automatic back.

Are you running Grub Legacy or Grub 2?

Irihapeti
April 11th, 2010, 06:45 AM
OK, looks like I didn't make myself clear enough. I'll try again.

The problem is that the Lucid kernel actually doesn't work for me. So I have had to use the Karmic kernel for the thing to boot at all.

I'm using grub legacy, because Hardy is the main OS on this machine, but I doubt that this is what's causing the problem.

gletob
April 11th, 2010, 06:49 AM
Oops I'm sorry, it my mistake as for what happening with your machine, and kernel I'm probably of no help.:P

Just out of curiosity what's your machines setup?

cariboo
April 11th, 2010, 06:53 AM
What is it about the Lucid kernel that doesn't work for you? What type of errors are you getting?

The last time I had a kernel problem, I reported a bug, and had one of the kernel devs email me about the problem with a day, and the issue was resolved fairly quickly. This was during the Jaunty testing cycle.

When creating a bug report, add as much info as you possibly can, file the bug using "ubuntu-bug kernel-2.6.32-19-generic #28".

Irihapeti
April 11th, 2010, 06:59 AM
Cariboo:
See bug 499399 in Launchpad. I've had this problem since just before Christmas. I've recently discovered someone else has one that's very similar.

I've been asked by someone on the kernel team for further details, as has the filer of the second bug. I've provided them, of course. Is there something else I could/should be doing as well (that won't make me sound like a whiner :) )?

The purpose of this thread is to find out what others have done as a plan B in case this doesn't get fixed.

Khakilang
April 11th, 2010, 07:25 AM
I would wait for the stable version release. I believe by that time most of the bugs has been fix.

cariboo
April 11th, 2010, 08:49 AM
I've read the bug report, there seems to be a lot of missing information. Can you still boot to a console login prompt? If you can login, can you get a network connection by running:


sudo dhclient

at the prompt, if that is successful, you should be able to run ubuntu-bug against the kernel. This should give the devs some log files to look at, they are located in /var/crash.

With the way Ubuntu now boots, it's tough to see what is happening without resorting to some grub2-foo to see what the error messages are.

Irihapeti
April 11th, 2010, 09:03 AM
@cariboo907

No, I can't login at all. If I try "recovery mode" it gets to the recovery screen and then the keyboard locks up totally. If I do a normal boot (minus the "quiet splash"), it gets to the point where ureadahead terminates, sometimes with an indication that the partitions have been mounted, and then the keyboard locks up totally. That's why I've not been able to provide any further information, which I know is frustrating to everyone.

If I make it boot to busybox, then keyboard works, but as soon as I exit busybox, it locks up.

ssam
April 11th, 2010, 09:10 AM
have you tried installing any of the mainline kernels
http://kernel.ubuntu.com/~kernel-ppa/mainline/

bash
April 11th, 2010, 09:10 AM
Btw wouldn't this be better suited in the Lucid Lynx discussion forum?

Irihapeti
April 11th, 2010, 10:39 AM
have you tried installing any of the mainline kernels
http://kernel.ubuntu.com/~kernel-ppa/mainline/

Yes, I've tried several of them. None of them have made any difference, unfortunately.

handy
April 11th, 2010, 01:50 PM
I'm running kernel .34-rc3 on Arch & it is behaving beautifully. It might be worth a try?

undecim
April 11th, 2010, 05:18 PM
manually edit grub.cfg to boot the old kernel. As soon as there is a kernel update, the change gets overwritten to use the new, possibly bootable kernel.