Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-12-02, 01:27 PM   #1
Muppy
Guest
 
Posts: n/a
Question makedevices.sh

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
  Reply With Quote
Old 08-12-02, 01:49 PM   #2
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default

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.
logan is offline   Reply With Quote
Old 08-12-02, 11:48 PM   #3
Muppy
Guest
 
Posts: n/a
Default

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
  Reply With Quote
Old 08-13-02, 12:25 AM   #4
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default

# 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.
logan is offline   Reply With Quote
Old 12-19-04, 08:53 AM   #5
aus9
Registered User
 
Join Date: Dec 2004
Posts: 1
Default Re: makedevices.sh

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
aus9 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:07 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.