FS#22295 - [nvidia|kernel26|grub2] fails to allocate memory and start X
Attached to Project:
Arch Linux
Opened by orbisvicis (orbisvicis) - Monday, 03 January 2011, 18:11 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 02 February 2011, 07:53 GMT
Opened by orbisvicis (orbisvicis) - Monday, 03 January 2011, 18:11 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 02 February 2011, 07:53 GMT
|
Details
Description:
nvidia driver fails to allocate memory and start X. Additional info: * package version(s) core/kernel26 2.6.36.2-1 nvidia 260.19.29-1 extra/grub2 1.98-5 * dmesg: Jan 3 00:25:08 cinnabar kernel: vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size. Jan 3 00:25:08 cinnabar kernel: NVRM: RmInitAdapter failed! (0x23:0xffffffff:641) Jan 3 00:25:08 cinnabar kernel: NVRM: rm_init_adapter(0) failed * grub.cfg: menuentry "Arch Linux" { set root='(hd0,2)' search --no-floppy --fs-uuid --set 6a1e6df8-3ce0-49f3-a6b8-f8e7a0c8ab0f linux16 /vmlinuz26 root=/dev/disk/by-uuid/4056a7f1-800b-41ad-8f72-a6ab1dc0772b ro vga=838 initrd16 /kernel26.img } Steps to reproduce: . Install current nvidia version . Install current kernel26 version . Install current grub2 version . boot as grub.cfg indicates (in console mode) (might be a problem with grub legacy too, havent tested) Steps to solve: add vmalloc=256m to grub.cfg kernel parameters seems very similar to: http://mandriva.598463.n5.nabble.com/Bug-59271-kernel-NEW-Kernel-desktop-miss-pae-option-which-increase-vmalloc-to-256m-this-prevent-nvids-td713928.html |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 02 February 2011, 07:53 GMT
Reason for closing: Not a bug
Additional comments about closing: see last comment
Wednesday, 02 February 2011, 07:53 GMT
Reason for closing: Not a bug
Additional comments about closing: see last comment
According to kernel logs, vmalloc has been defaulting to 120m for a while, and working. So I tried passing vmalloc=120m to the kernel, same problem.
I tried rebuilding the kernel and reinstalling nvidia - nothing.
Why the problem now? No system updates - all I did was copy my data byte-for-byte over to a new harddrive.
Must be a kernel26 problem as mentioned in the mandriva bug report link.
For the record, after lots of dead-ends I ended up using "vmalloc=256m" as a permanent solution.