Ubuntu 11.04 Natty | Segmentation fault with NVIDIA GeForce 9 Series | KERNEL FAILURE | SOLVED!
After initially bringing up Natty on my box I faced a serious randomly occurring error: X didn't start properly. After digging a while I found the following (var/log/kernel.log):
May 1 19:26:00 fl0-m0thership kernel: [ 16.383524] vmap allocation for size 16781312 failed: use vmalloc=
May 1 19:26:00 fl0-m0thership kernel: [ 16.384670] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1050)
May 1 19:26:00 fl0-m0thership kernel: [ 16.384685] NVRM: rm_init_adapter(0) failed
May 1 19:26:01 fl0-m0thership kernel: [ 17.519814] vmap allocation for size 16781312 failed: use vmalloc=
May 1 19:26:05 fl0-m0thership kernel: [ 21.609101] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1050)
May 1 19:26:05 fl0-m0thership kernel: [ 21.609110] NVRM: rm_init_adapter(0) failed
May 1 19:26:06 fl0-m0thership kernel: [ 22.629852] vmap allocation for size 16781312 failed: use vmalloc=
May 1 19:26:06 fl0-m0thership kernel: [ 22.630973] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1050)
May 1 19:26:06 fl0-m0thership kernel: [ 22.630983] NVRM: rm_init_adapter(0) failed
May 1 19:27:30 fl0-m0thership kernel: Kernel logging (proc) stopped.
Obviously the kernel tried to allocate memory but somehow wasn't able to do so. The error manifested itself in freezing the system during start-up. As you can see in the kernel.log the boot process froze shortly after loading the bootsplash ...
Here's the solution:
Simply add more memory ^^
First of all, Ubuntu 11.04 utilizes grub2, so you won't find any "menu.lst". You could edit the "/boot/grub/grub.cfg" but this file gets overwritten every time you update your kernel (e.g.). So find "/etc/default/grub" and edit the line "GRUB_CMDLINE_LINUX_DEFAULT". Now, add the option:
vmalloc=192MB
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vmalloc=192MB"
sudo update-grub
Now Natty boots like a charm, no freezing, if 192MB aren't enough -- try to increase the value. Hope that helps.
- fl0's blog
- 15250 reads
Recent blog posts
- Convert mov, mp4, avi, flv to ogv | ffmpeg2theora
- Stop Disabling SELinux! | Drupal and SELinux, Drupal doesn't send mails [SOLVED]
- Blender 2.59 + iCub SIM + Kinect = Movement Imitation
- Blender 2.59 + Kinect = Controlling Robot Arms in Game Engine
- Virtual (robot) Flobi - Motion Capture Playback Demo
- LimeSurvey | Default Password Change | Redirect to login page [SOLVED]
- Lighttpd | Can't have more connections than fds/2: 1024
- Warp1337 Theme for you!
- OpenNI Java Wrapper Test | Ubuntu 11.10
- Web history with Screenshots and stuff | Web archive
What is Flattr ? Flattr is the worlds first social micro-payment system The idea had already been initiated in 2007, but the first release was in 2010 due to typical geeky laziness. Flattr was founded to help people share money, not just content. https://flattr.com/about

















Comments
Geforce 9300 grub mod
Thanks, I've been really frustrated with this for about a week. This really resolved the issue for me.
FYI I'm using the onboard nvidia 9300 graphics chipset on a Zotac GF9300 motherboard in mythbuntu with VDPAU
Yeah!
You're welcome. Glad it works for you too :D
1337!!111!
Doesn't work for me!
I've been having this problem with X in 11.04 with nvidia 9300 using the proprietary drivers, I posted a bug in launchpad with no comments whatsoever. I also have the Zotac motherboard with this chip. Unfortunately your solution doesn't help me :( I tried vmalloc all the way to 512MB and X still crashes when it's loaded. Launchpad bug here https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/7... please confirm on there that you also experience the bug, so that it gets some more attention? Any other suggestions to get it to work for me?
Worked for me as well
Thanks!
nv
@Matt: What happens If you set the driver to "nv" in the xorg.conf? Does X start?
1337!!111!
Yes, X starts fine with the
Yes, X starts fine with the open source driver, it's only with the proprietary one that it fails. The link in my post got garbled ... here's a shortened url to the bug report http://bit.ly/lqFE4M .
I guess...
...you've already tried to re-install the prop driver? From the ubuntu repos or as nvidia download? Can you provide any xorg.logs or kernel logs?
1337!!111!
Ahh just read your bug report
sorry.
1337!!111!
It's works for me too :)
thanks a lot
Fixed me too
Thank you so much for posting this! I was stuck and this got me going.
it works ;-)
Thanks !!!!
U made me happy !!! My Laptop is much faster now .... resuming is still
a bit tricky but workx
Seriously,
no joke
It really helped me
Thank you for the useful guidance!
Post new comment