Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

BAR 1 - 64 bit kernel nvidia not loading

linux, 4GB ram, acer bios

9:52 am on Mar 4, 2010 (gmt 0)

New User

5+ Year Member

joined:Feb 9, 2010
posts: 9
votes: 0

Not sure if this is the one the best places to post this, but because I was having problems with my acer laptop when I installed 4GB of RAM in that the nvidia was still being told by the BIOS to assign its dedicated memory where the system ram was.

So I altered the kernel to work with my 4GB and making the kernel push any requests to the new area of space of RAM that I wanted to place the nvidia 256MB of ram.

I am using a 64bit kernel, and my acer laptop is 9815.

I had to alter the /arch/x86/pci/i386.c file within the kernel.

Altered the function called

static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)

and added in

    if ((r->start >= 0xc0000000) && (r->end <= 0xcfffffff)) {
" not allocating resource 0xc - 0xcf %pR\n",
stop any resources gaining the 0xc0000000 - 0xcfffffff
region, the linux kernel will re-place them.
r->flags = 0;

I have placed more information here, as I say not sure if this is the correct place to help others incase they have the same problem. But I found it very annoying to say the least.!

I was getting BAR 1 errors which means that Base Address Registers was not being able to get the memory for the graphics card to work.

[codingfriends.com ]

Some here was going to do a PCI upgrade for the linux kernel

[tjworld.net ] but I think that I am going to give it a go :).