Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 06-15-11, 12:15 AM   #1
Registered User
Join Date: Jun 2011
Posts: 4
Default Can't build driver under Ubuntu

I was running a Mythbuntu machine fine with an EVGA nForce 730i motherboard, GeForce 9300 on-board video. Things went downhill after the machine unceremoniously lost power. X server would not boot, repeated messages about the display disappearing after about a second in the logs, etc.

I've tried to re-install Mythbuntu along with re-installing the Nvidia drivers. This has fared less than optimally as well. The driver install fails with the following message in /var/log/nvidia-installer.log:

ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel
module from obtaining ownership of the NVIDIA graphics device(s), or
NVIDIA GPU installed in this system is not supported by this NVIDIA
Linux graphics driver release.

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './kernel/nvidia.ko': -1
Cannot allocate memory
I'm at a complete loss at this point as to what's happened. I've attached the only logs I can see that are relevant.

Can anyone point the way towards a solution?
Attached Files
File Type: gz nvidia-bug-report.log.gz (54.0 KB, 75 views)
File Type: txt nvidia-installer.log.txt (55.2 KB, 105 views)
File Type: txt Xorg.0.log.txt (10.9 KB, 94 views)
Melraidin is offline   Reply With Quote
Old 06-16-11, 11:50 PM   #2
Registered User
Join Date: Jun 2011
Posts: 4
Default Re: Can't build driver under Ubuntu

No idea what caused this but it seems the solution was to add "vmalloc=256M" to the GRUB boot line.

Once this was added I was able to build and install the Nvidia driver without issue.
Melraidin is offline   Reply With Quote

Thread Tools

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
Forum Jump

All times are GMT -5. The time now is 11:50 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.