LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-01-2003, 02:32 PM   #1
bpmfunk
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Question grub hangs with custom _VMALLOC_RESERVE


Hi.

We've recompiled a 2.4.20-19.8smp kernel with a larger VMALLOC value in page.h:
#define ___VMALLOC_RESERVE (256 << 20)

This makes the kernel panic with "VFS: Unable to mount root FS on 00:00".

mem=640m boots fine, anything above crashes. Lilo has no problem with it.

Any ideas? Cheers.
 
Old 10-04-2003, 11:42 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Not sure, but I know grub insists on loading to a certain portion of ram,i.e. a specific memory address. If something else is trying to use it it won't work, i.e. another hardware device might also insist on that memory address. You may have reserved that sector of ram that grub and something else both need. Lilo is not as picky.

Last edited by kilgoretrout; 10-04-2003 at 11:50 AM.
 
Old 10-06-2003, 12:13 PM   #3
bpmfunk
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I am almost afraid to ask.

What is the best workaround here?

Should I reserver a different vmalloc address space? Or is there another option to grub that would allow it to load alsewhere in RAM space?

Thanks.
 
Old 10-06-2003, 08:40 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
My speculation is based on the well documented problems that grub has with the nforce chipsets with onboard grapics adapter. The grapics adapter insisted on grabbing the low memory addresses that grub needed resulting in a memory allocation error or out of mem condition when you attempted to boot. Apparently grub needs those low memory addresses. The posted solution was always to use lilo.
What sparked my interest is that for you lilo was working and grub would not. You appear fairly knowledgable so I assumed lilo and grub were both properly configured. I thought something may be overwriting the low mem addresses when you do not set mem=640m; it may also be a memory mapping problem peculiar to grub.
I don't really know enough about it to give you any meaningful help beyond the above. However, if lilo is working, I'd just stick with it.
 
Old 10-08-2003, 04:09 PM   #5
bpmfunk
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
But the kernel panics way before any graphics driver modules get loaded.

Would you be so kind as sending me the link to the thread you were referring to?

You are also right about looking to another forum for my problem, since we are recompiling a kernel with some custom values for vmalloc.

Regards
 
Old 10-08-2003, 06:56 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
It isn't the graphics driver; it occurs at the bios level. The bios reserves a portion of ram for the onboard graphics that grub needs. If you google "grub nforce ram" you should find some links on this problem. One thing I noticed digging around on google is the problem was mainly with grub 0.92. The problem was also reported in the gentoo install documents but now has been removed. Some of the newsgroup posts seem to indicate that upgrading to grub 0.93 solved the problem. Since it's been removed from the gentoo forum I suspect that 0.93 may have corrected this problem. If your using 0.92, you might want to try upgrading to 0.93.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB hangs on boot BiPolar Fedora 1 08-12-2005 10:43 AM
GRUB hangs staubsaugen SUSE / openSUSE 13 06-19-2005 05:06 AM
GRUB Hangs on boot toadeny Fedora - Installation 4 03-16-2005 11:13 PM
grub hangs, HELP! doralsoral Linux - Software 1 02-11-2005 07:52 AM
Custom 2.6.1 kernel with GRUB not loading. Brakki Debian 1 01-29-2004 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:03 AM.

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