Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33581

Summary: Xfree fails using nvidia-kernel and 2.4.22-ck kernel (ck-sources)
Product: Gentoo Linux Reporter: Mike Kaufman <kaufman>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED NEEDINFO    
Severity: normal CC: azarah, va7dav, x11
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: logs for nvidia and X

Description Mike Kaufman 2003-11-15 19:53:15 UTC
After installing a new gentoo system from an old one (chrooting)
I found that with 2.4.22-ck kernel, Xfree failed to load with the 'nvidia'
driver from the nvidia-kernel package.

After switching to the native 'nv' driver, I was able start up X.

After switching to the 2.4.20-gentoo-r8 kernel (same kernel config) I was also
able to start up X with the 'nvidia' driver.

Reproducible: Always
Steps to Reproduce:
1. compile (and install) kernel 2.4.22-ck
2. emerge nvidia-kernel
3. reboot.
4. startx.

Actual Results:  
X did not die gracefully by which I mean dropping me back to a prompt. It instead.
gave me a corrupted terminal which still seemed to accept input (Ctl-Alt-Del to
reboot worked)


XF86Config and system info on request.
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-11-15 21:53:12 UTC
can you reboot into the -ck kernel, and do modprobe nvidia, and tell us any errors you get, or anything from dmesg
Comment 2 Mike Kaufman 2003-11-15 23:04:01 UTC
Created attachment 20806 [details]
logs for nvidia and X

after reboot and reemerging nvidia-kernel...

attached tarball includes:

XFree86.0.log.ck	    # from /var/log/
XFree86.0.log.gentoo-r8     # from ditto
ck.dmesg
ck.nvidia.modprobe
startx-nvidia-ck.log	    # from 'startx 2> startx-xxx.log'
startx-nvidia-gentoo-r8.log # ditto

the gentoo-r8 files are the logs from a gentoo-r8 kernel and a 
successful X startup.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-11-16 03:55:59 UTC
Sounds like you're missing AGP support or that's failing somehow...
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-11-21 09:42:55 UTC
I reproduced this on another system using ck-sources 2.4.22 and this is referenced in bug #33875 which seems to have the problematic code located. I've had reports that using nvidia-kernel 4363-r3 works fine, so it's a bug in something...
Comment 5 Dave M. 2003-12-14 23:10:07 UTC
From the nvidia-glx README:

Q: I just upgraded my kernel, and now the NVIDIA kernel module won't
   load.  What's wrong?
                                                                                                                       
A: The kernel interface layer of the NVIDIA kernel module must be
   compiled specifically for the configuration and version of your kernel.
   If you upgrade your kernel, then the simplest solution is to reinstall
   the driver.
Comment 6 Brian Jackson (RETIRED) gentoo-dev 2004-02-16 16:10:38 UTC
Let is know if this is still broken in newer releases.