View previous topic :: View next topic |
Author |
Message |
gattu_marrudu n00b
Joined: 30 Dec 2004 Posts: 65 Location: Sardinia, Italy
|
Posted: Wed Oct 12, 2005 7:10 am Post subject: 2.6.13 kernel, udev and Nvidia module |
|
|
I have read some previous forums about this issue, but after switching to udev (Kernel 2.6.13-gentoo-r3/i386, nvidia kernel module) to manage my devices, I still cannot start my X server. I re-emerged nvidia-kernel and nvidia-glx, recompiled the kernel, the X server always answers "failed to initialize NVIDIA kernel module".
The nvidia and agpgart modules are properly loaded, but I cannot find any /dev/nvidia* entry on my filesystem.
Any hints?
gm |
|
Back to top |
|
|
H4wk n00b
Joined: 09 Oct 2005 Posts: 16
|
|
Back to top |
|
|
gattu_marrudu n00b
Joined: 30 Dec 2004 Posts: 65 Location: Sardinia, Italy
|
Posted: Wed Oct 12, 2005 8:14 am Post subject: |
|
|
Yes, I did. I modified the /etc/conf.d/rc file and added the entries "udev nodevfs devfs=nomount. In addition, if I remove these entries, I'm no longer able to boot with devfs. |
|
Back to top |
|
|
hede Apprentice
Joined: 07 Nov 2003 Posts: 160 Location: Siegen/Germany
|
Posted: Wed Oct 12, 2005 9:11 am Post subject: |
|
|
if you don't want an udev-only-system a workaround would be to create these nodes manually:
Code: | /sbin/NVmakedevices.sh |
(if you have RC_DEVICE_TARBALL="no" in your /etc/conf.d/rc this won't work after reboot)
btw: i'm writing this cause i'm searching a solution too and im expecting some answers here forwarded to my email _________________ Der süsse Pinguin ist mir lieber als die kleinen weichen, die einem nur kaputte Fenster verkaufen |
|
Back to top |
|
|
el_chavo n00b
Joined: 27 Jun 2005 Posts: 18
|
Posted: Mon Oct 17, 2005 12:38 am Post subject: |
|
|
Running /sbin/NVmakedevices.sh solved my problem, though I've wasted quite a few hours already trying to figure that out! Thanks for the tip. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3468 Location: Canada
|
Posted: Mon Oct 17, 2005 4:58 am Post subject: |
|
|
hede wrote: | if you don't want an udev-only-system a workaround would be to create these nodes manually:
Code: | /sbin/NVmakedevices.sh |
(if you have RC_DEVICE_TARBALL="no" in your /etc/conf.d/rc this won't work after reboot)
btw: i'm writing this cause i'm searching a solution too and im expecting some answers here forwarded to my email |
You have to do it on udev-only system as well. Since 2.6.13 sysfs seems unable to handle non-GPL devices |
|
Back to top |
|
|
raf Apprentice
Joined: 16 Jan 2005 Posts: 158
|
Posted: Mon Oct 17, 2005 1:20 pm Post subject: |
|
|
Hi,
I'm running 2.6.13-gentoo-r3 with nvidia-7676. I have everything running perfectly, X, fb, suspend to disk, udev, glx, everything rock solid. I didn't have to do anything special to get the nvidia module to load. I did have to hack nv.c in the nvidia binary drivers to get suspend to disk to work but that's it. That's off topic but I can provide the patch and e-build I made for anyone who wants it.
I remember getting an error similar to "failed to initialize NVIDIA kernel module" if I tried to use fb-nvidia. If I just use the standard vesa-tng and fb, plus console fb everything worked fine.
Please let me know if I can help out here. Perhaps post some config files? _________________ -Raf |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3468 Location: Canada
|
Posted: Mon Oct 17, 2005 10:06 pm Post subject: |
|
|
raf wrote: | Hi,
I'm running 2.6.13-gentoo-r3 with nvidia-7676. I have everything running perfectly, X, fb, suspend to disk, udev, glx, everything rock solid. I didn't have to do anything special to get the nvidia module to load. I did have to hack nv.c in the nvidia binary drivers to get suspend to disk to work but that's it. That's off topic but I can provide the patch and e-build I made for anyone who wants it.
I remember getting an error similar to "failed to initialize NVIDIA kernel module" if I tried to use fb-nvidia. If I just use the standard vesa-tng and fb, plus console fb everything worked fine.
Please let me know if I can help out here. Perhaps post some config files? |
if you set RC_DEVICE_TARBALL="no" in /etc/conf.d/rc and delete /dev/nvidia* devices,
while they be recreated on the next reboot (or nvidia module reload) ?
I tried 7676 on my amd64 machine, and the devices are not created under 2.6.13 |
|
Back to top |
|
|
raf Apprentice
Joined: 16 Jan 2005 Posts: 158
|
Posted: Tue Oct 18, 2005 1:13 am Post subject: |
|
|
I guess I didn't read this thread close enough when I posted. I am running udev, but not a udev-only system. I stopped the udev guide at: Quote: | If you want to use the udev-tweaks Gentoo added to make your life comfortable, then read no more | I don't want to make my life more complicated then it has to be. _________________ -Raf |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3468 Location: Canada
|
Posted: Tue Oct 18, 2005 2:10 am Post subject: |
|
|
raf wrote: | I guess I didn't read this thread close enough when I posted. I am running udev, but not a udev-only system. I stopped the udev guide at: Quote: | If you want to use the udev-tweaks Gentoo added to make your life comfortable, then read no more | I don't want to make my life more complicated then it has to be. |
Sure
The only issue with nvidia and 2.6.13 seems to be that the /dev/nvidia0 and /dev/nvidiactl devices are not created automatically when nvidia module is loaded. When they are created one way or another (by hand, or preserved from previous run through device tarball) everything is working fine.
Why I asked is that there were some reports of 7676 working (i.e creating devices), I was wondering whether this is really the case, since they did not do it for me, and from explanation in different forums - they should not. |
|
Back to top |
|
|
$moke n00b
Joined: 10 May 2005 Posts: 17
|
Posted: Tue Oct 18, 2005 6:22 am Post subject: |
|
|
See HERE!
Hope works for you too!!! _________________ There is nothing that can`t be done with Linux, you only have to figure it out!!! |
|
Back to top |
|
|
roguetoad Tux's lil' helper
Joined: 24 Oct 2005 Posts: 124 Location: Office chair
|
Posted: Mon Oct 24, 2005 8:18 pm Post subject: Post patch for nv.c to fix suspend please! |
|
|
My laptop suspends to disk ok, but dies a horrible "must push the power button as the only way to shut it off" death on resume from hibernation. Who here had the patch that helps the nvidia suspend to disk do so more correctly? Please post modded ebuild + patch? |
|
Back to top |
|
|
|