View previous topic :: View next topic |
Author |
Message |
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Mon May 30, 2011 11:09 pm Post subject: |
|
|
One of the other discussion threads suggested that the device would probably disappear at the next boot, but if you can suggest how to create the device, I will try it. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Mon May 30, 2011 11:26 pm Post subject: |
|
|
Code: | mknod /dev/nvidia0 c 195 0
mknod /dev/nvidiactl c 195 255 |
This is not tested, and you should check permissions and ownership after creation, below are nodes from my system:
Code: | crw-rw-rw- 1 root root 195, 0 May 29 19:01 nvidia0
crw-rw-rw- 1 root root 195, 255 May 29 19:01 nvidiactl
|
Refer to man pages and Google if in doubt. I'm sure there is a way to make them survive reboot. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 1:23 am Post subject: |
|
|
I created the devices as you specified, and they do get deleted on reboot. I also tried creating /dev/nvidia. That didn't work either.
When I tried to do a "modprobe nvidia" on the device, I get the following error message:
Quote: |
WARNING: All config files need .conf" /etc/modprobe.d/alsa.conf.def, it will be ignored in a later release.
Error inserting nvidia (/lib/modules/2.6.39-gentoo/nvidia.ko) no such device
|
nvidia.conf is in /etc/modprobe.d/, by the way. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Tue May 31, 2011 1:29 am Post subject: |
|
|
Featherfoot wrote: | I created the devices as you specified, and they do get deleted on reboot. I also tried creating /dev/nvidia. That didn't work either.
When I tried to do a "modprobe nvidia" on the device, I get the following error message:
Quote: |
WARNING: All config files need .conf" /etc/modprobe.d/alsa.conf.def, it will be ignored in a later release.
Error inserting nvidia (/lib/modules/2.6.39-gentoo/nvidia.ko) no such device
|
nvidia.conf is in /etc/modprobe.d/, by the way. |
Well that means that nvidia kernel module is not installed for the kernel that you are running. Did you switch the kernels ?
Or your /usr/src/linux does not point to the right kernel. Check it, and do emerge nvidia-drivers again. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 1:31 am Post subject: |
|
|
Featherfoot wrote: | On my system the nvidia.ko device is not created and as a result, the nvidia driver will not load. |
nvidia.ko is the driver (it should be in /lib/modules/<kernel ver>/video), and if it does not exist then it certainly won't load.
does "emerge -v nvidia-drivers" complete successfully _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 1:32 am Post subject: |
|
|
No. I got the error messages that I listed. |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 1:37 am Post subject: |
|
|
the emerge of nvidia-drivers completes successfully. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Tue May 31, 2011 1:37 am Post subject: |
|
|
OK, here has been some confusion. Let's sum it up.
This thread is about nvidia node that is not created, thus running X is not possible.
This is happening even after nvidia drivers are compiled against kernel sources in use.
Manually creating device nodes does not help, even after nodes are created X will not run (no reboot).
Is all this correct? _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 1:44 am Post subject: |
|
|
the device nodes will never get created if the module is not loaded.
According to a previous message
Quote: | Error inserting nvidia (/lib/modules/2.6.39-gentoo/nvidia.ko) no such device |
it is not finding the module to load (from this messages it is looking in the wrong place) _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 1:44 am Post subject: |
|
|
That's what I'm (pretty sure I'm) seeing. I agree, though. It sounds shaky. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 1:46 am Post subject: |
|
|
what does "find /lib/modules -name nvidia.ko -print" return _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 1:47 am Post subject: |
|
|
(Gentoo) bopper / # find /lib/modules -name nvidia.ko -print
/lib/modules/2.6.39-gentoo/video/nvidia.ko
/lib/modules/2.6.34-gentoo-r12/video/nvidia.ko
/lib/modules/2.6.38-gentoo-r1/video/nvidia.ko
/lib/modules/2.6.38-gentoo-r2/video/nvidia.ko
/lib/modules/2.6.36-gentoo-r8/video/nvidia.ko
/lib/modules/2.6.38-gentoo-r5/video/nvidia.ko
/lib/modules/2.6.36-gentoo-r5/video/nvidia.ko
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 1:51 am Post subject: |
|
|
Featherfoot wrote: |
(Gentoo) bopper / # find /lib/modules -name nvidia.ko -print
/lib/modules/2.6.39-gentoo/video/nvidia.ko
/lib/modules/2.6.34-gentoo-r12/video/nvidia.ko
/lib/modules/2.6.38-gentoo-r1/video/nvidia.ko
/lib/modules/2.6.38-gentoo-r2/video/nvidia.ko
/lib/modules/2.6.36-gentoo-r8/video/nvidia.ko
/lib/modules/2.6.38-gentoo-r5/video/nvidia.ko
/lib/modules/2.6.36-gentoo-r5/video/nvidia.ko
|
Now the question is why is it looking for nvidia.ko in /lib/modules/2.6.39-gentoo/ instead of /lib/modules/2.6.39-gentoo/video/
What does "grep nvidia /lib/modules/2.6.39-gentoo/modules.dep" return? _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 1:57 am Post subject: |
|
|
(Gentoo) bopper / # grep nvidia /lib/modules/2.6.39-gentoo/modules.dep
video/nvidia.ko:
(Gentoo) bopper / #
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 1:59 am Post subject: |
|
|
what does "modprobe -v nvidia" return _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 2:07 am Post subject: |
|
|
gentoo is running as a text device, so I am communicating with you from a kubuntu system on the same computer. I wrote the error message on a piece of paper and did it wrong.
The message is
"Error inserting nvidia (/lib/modules/2.6.39-gentoo/video/nvidia.ko) no such device."
Sorry.
Last edited by Featherfoot on Tue May 31, 2011 2:13 am; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 2:12 am Post subject: |
|
|
Featherfoot wrote: | gentoo is running as a text device, so I am communicating with you from a kubuntu system on the same computer. I wrote the error message on a piece of paper and did it wrong.
The message is
"Error inserting nvidia (/lib/modules/2.8/39-gentoo/video/nvidia.ko) no such device."
Sorry. |
it acts like it's not seeing the nvidia hardware or you've got another driver in the way
what does "lspci -kk|grep -A4 VGA" return (it should be 4 lines of output) _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 2:18 am Post subject: |
|
|
(gentoo) bopper / # lspci -kk|grep -A4 VGA
01:00.0 VGA compatible controller: nVidia Corporation Device 0e22 (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 1166
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 1166
02:00.0 USB Controller: NEC Corporation Device 0194 (rev 03)
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue May 31, 2011 2:29 am Post subject: |
|
|
One more thing what does
Code: | dmesg|grep -iE "nvidia|NVRM" |
return _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 2:44 am Post subject: |
|
|
10.877501] hda_intel: Disable MSI for Nvidia chipset
[ 14.043822] nvidia: module license 'NVIDIA' taints kernel.
[ 14.370769] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 14.370771] NVRM: This can occur when a driver such as nouveau, rivafb,
[ 14.370772] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
[ 14.370773] NVRM: the NVIDIA device(s).
[ 14.370774] NVRM: Try unloading the conflicting kernel module (and/or
[ 14.370775] NVRM: reconfigure your kernel without the conflicting
[ 14.370776] NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 14.370776] NVRM: again.
[ 14.370777] NVRM: No NVIDIA graphics adapter probed!
[ 14.965632] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 14.965635] NVRM: This can occur when a driver such as nouveau, rivafb,
[ 14.965636] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
[ 14.965637] NVRM: the NVIDIA device(s).
[ 14.965638] NVRM: Try unloading the conflicting kernel module (and/or
[ 14.965639] NVRM: reconfigure your kernel without the conflicting
[ 14.965639] NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 14.965640] NVRM: again.
[ 14.965641] NVRM: No NVIDIA graphics adapter probed!
[ 28.543628] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 28.543631] NVRM: This can occur when a driver such as nouveau, rivafb,
[ 28.543632] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
[ 28.543632] NVRM: the NVIDIA device(s).
[ 28.543634] NVRM: Try unloading the conflicting kernel module (and/or
[ 28.543635] NVRM: reconfigure your kernel without the conflicting
[ 28.543635] NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 28.543636] NVRM: again.
[ 28.543637] NVRM: No NVIDIA graphics adapter probed!
[ 141.369067] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 141.369070] NVRM: This can occur when a driver such as nouveau, rivafb,
[ 141.369071] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
[ 141.369072] NVRM: the NVIDIA device(s).
[ 141.369077] NVRM: Try unloading the conflicting kernel module (and/or
[ 141.369077] NVRM: reconfigure your kernel without the conflicting
[ 141.369078] NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 141.369079] NVRM: again.
[ 141.369080] NVRM: No NVIDIA graphics adapter probed!
jc@bopper:/gentoo/home/jc$
|
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue May 31, 2011 2:59 am Post subject: |
|
|
Sorry: Another problem with trying to run from kubuntu:
The actual lspci -kk|grep -A4 VGA gave a line:
Kernel Driver in use: nouveau.
Back in ancient history I had nouveau blocked. How do I block it in the new baselayout-2? |
|
Back to top |
|
|
|