Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3186 - nvidia-legacy won't work with kernel 2.6.13

Attached to Project: Arch Linux
Opened by Michal Kaliszka (Desmont) - Sunday, 18 September 2005, 10:00 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The package compiles without problems, but when I try to start xorg, it gives an error:

(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

However, the nvidia module is present in the system:

lsmod |grep nvidia
nvidia 3918044 0
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 26 September 2005, 10:52 GMT
Reason for closing:  Fixed
Comment by Michal Kaliszka (Desmont) - Sunday, 18 September 2005, 10:03 GMT
It look's this isn't Arch or gcc-4 specific: http://www.nvnews.net/vbulletin/showthread.php?t=56198
Comment by Michal Kaliszka (Desmont) - Sunday, 18 September 2005, 16:08 GMT
Ok, I found solution to this problem, somehow in kernel 2.6.13 the nvidia device nodes in /dev aren't created. The script which creates the nodes should look like this (found on: http://www.linuxforen.de/forums/showpost.php?p=1222559&postcount=13):

----

#!/bin/sh

major=195

for i in 0 1 2 3; do
devfile="/dev/nvidia$i"
rm -f $devfile
if ! mknod $devfile c $major $i || ! chmod 0666 $devfile; then
echo "Couldn't create device \"$devfile\"."
exit 1
fi
done

devfile=/dev/nvidiactl
rm -f $devfile
mknod $devfile c $major 255
chmod 0666 $devfile

exit 0

----

The bad is, in dynamic /dev system this script must be run every time the system loads.
Comment by Bob (Cotton) - Sunday, 18 September 2005, 22:53 GMT
I have also experienced this problem with a Riva TNT2 card. (Symptoms described more fully at: http://bbs.archlinux.org/viewtopic.php?t=14867)

Am currently using the nv driver rather than the nvidia-legacy one.

Comment by Tobias Powalowski (tpowa) - Monday, 19 September 2005, 06:57 GMT
you are not running udev or do you?
the devices should be created by loading the module
Comment by Michal Kaliszka (Desmont) - Monday, 19 September 2005, 07:26 GMT
ps -A |grep udev
862 ? 00:00:00 udevd

As you can see I'm running udev. The device creation works fine (for usb keys, hard disks etc), except nvidia(the legacy package - nvidia 1.0.7676-1 works just fine, but it doesn't support my card).
Comment by Bob (Cotton) - Monday, 19 September 2005, 19:46 GMT
Also running udev.
Comment by Tobias Powalowski (tpowa) - Tuesday, 20 September 2005, 07:35 GMT
i'm running a standard arch system here, with testing repo enabled, on my system the legacy drivers works as the nvidia works.
i don't know why it doesn't work on your systems.

Ok i have a geforce 3ti here and not a real legacy card, but that shouldn't matter.
Comment by Bob (Cotton) - Thursday, 22 September 2005, 12:04 GMT
The latest -3 version of nvidia-legacy has not cleared the problem.
Comment by Tobias Powalowski (tpowa) - Thursday, 22 September 2005, 12:12 GMT
the new version only fixed uninstall operation, not more.
Comment by Not Important (pholie) - Thursday, 22 September 2005, 12:55 GMT
I have the same problem, when i install nvidia it works fine but after reboot X won't start:
http://bbs.archlinux.org/viewtopic.php?p=114370

But according to the nvnews.net thread it seems than it's general nvidia problem and not arch-related.
Comment by Not Important (pholie) - Monday, 26 September 2005, 05:15 GMT
This problem is real, look at my thread. We discovered that udev "forgets" to create nvidia nodes in /dev. The script makedevices.sh in nvidia installer creates them but after reboot they aren't re-created. So udev and nvidia manintainers could you please look at it?
Comment by Tobias Powalowski (tpowa) - Monday, 26 September 2005, 10:49 GMT
ok new nvidia-legacy are in testing now, it's such a beast.
please add nvidia module again to rc.conf else it will not create the devices.
greetings
tpowa

Loading...