homepage Welcome to WebmasterWorld Guest from 54.211.73.232
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
BAR 1 - 64 bit kernel nvidia not loading
linux, 4GB ram, acer bios
genux



 
Msg#: 4091298 posted 9:52 am on Mar 4, 2010 (gmt 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)) {
dev_info(&dev->dev,
" not allocating resource 0xc - 0xcf %pR\n",
r);
/*
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 :).

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved