LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-10-2010, 07:26 AM   #1
bstecklu
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
multiple kernel resume bug


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.
 
Old 08-10-2010, 07:43 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Huh? Not sure I understand you.

You can't hibernate with one kernel then reboot into a different kernel and expect it to work. The kernels must match.
 
Old 08-10-2010, 08:28 AM   #3
bstecklu
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 08-10-2010, 09:30 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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.
 
Old 08-10-2010, 10:52 AM   #5
bstecklu
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
[SOLVED] Looking for software mp3 player that will auto resume multiple files Super TWiT Linux - Software 2 12-21-2009 09:39 AM
s2disk and resume with kernel 2.6.19 dimsum Linux - General 4 12-16-2006 02:29 PM
Evolution multiple accounts - servers BUG? tipaul Linux - Software 3 02-04-2004 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration