PDA

View Full Version : makedevices.sh


Muppy
08-12-02, 01:27 PM
Hi!

I have a problem with installing the kernel drivers on my slackware 7.1 system. Once finished compiling, the script makedevices.sh is run and craches with this error message:

makedevices.sh: which:: command not found
makedevices.sh: fatal error, mktemp failed
make: *** [package-install] Error 1

'which' is ofcourse located in /usr/bin
and is in the PATH enviroment variable.

anyone with experience in this?
or is ther a way to bypass the script and install the driver manually? If so, how?

Thanx
\\Muppy

logan
08-12-02, 01:49 PM
which is looking for mktemp, which for me is in /bin.

If you already have previous versions of NVIDIA_kernel bits installed, you don't need the makedevices.sh (throw an 'exit' at the top).

It sets up /etc/modules.conf and creates devices in /dev.

Muppy
08-12-02, 11:48 PM
I dont have a previous installation of the driver.

NVdrivers loads as a module, and theres no problem putting it in /etc/rc.d/rc.modules.

But how do I manually create a device?

//Muppy

logan
08-13-02, 12:25 AM
# make devices
mknod /dev/nvidia0 c 195 0 ; chmod 666 /dev/nvidia0
mknod /dev/nvidia1 c 195 1 ; chmod 666 /dev/nvidia1
mknod /dev/nvidia2 c 195 2 ; chmod 666 /dev/nvidia2
mknod /dev/nvidia3 c 195 3 ; chmod 666 /dev/nvidia3
mknod /dev/nvidiactl c 195 255 ; chmod 666 /dev/nvidiactl

# setup /etc/modules.conf
alias char-major-195 NVdriver


I find it hard to believe that 'which' is not in your path or not installed, but you should definately take a look into that.

aus9
12-19-04, 08:53 AM
Hi

I have nvidia0 and the nvidiactl files in /dev/

Do I need to create more like nvidia1.......up to nvidia6?

I have a fx 5200 card on a mdk 10.1 distro.

Thanks for any info and your time