Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Ubuntu 8.10 on a Dell M1330 using linux kernel 2.6.31-22-generic. Recently, I gave 2.6.35-14-generic a try. Apart from a few issues a major problem was that the laptop did not resume from hibernation for this kernel but rebooted instead (resume from suspend worked fine). The reason was that the corresponding line for this kernel in grub's menu.lst was _below_ of that for the regular kernel. Putting the line on top of the menu.lst entries made it work. I can hardly believe that upon resume information on the running kernel is not retrieved from the system image but from the first kernel line of grub.
Hmm, I think I don't understand you as well. How can you boot into a different kernel when it has to match? Anyway, what I wanted to say is that the first kernel in menu.lst did not match the one which was hibernated which eventually caused the reboot on resume. Hope the case is clear now.
Well, that's how hibernation works. The kernel starts then looks for a resume image. It's up to you to select the right kernel, either manually, or by making sure that the default is the right one, or by shutting down instead of hibernating when you install a new kernel.
Well, that's what I learned. But I think it is not impossible e.g. to modify menu.lst in a way that the hibernating kernel becomes the first entry, and reverse the change after resuming. This would alleviate the issue of manual seclection.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.