l4t3ncy
10-30-02, 04:31 PM
i cant get the install script to complete with the nvkernel on the source package.
the compile completes fine and creates the NVdriver file but this remains in the nvkernel source folder and NOT the lib/modules folder.
i believe the error is in the second stage running the makedevices.sh i get the following message:
make: which: Command not found
/bin/sh: -m: command not found
make: *** [package-install] Error 127
there are clearly commands required that lfs 4.0 doesnt install.
i have opened the makedevices.sh script and found one of the missing commands to be update-modules. I'm not sure whether this is absolutely required.
from what i can see the first part copys the NVdriver file to the /lib/modules folder
secondly it makes it's entry in /etc/modules.conf
alias char-major-195 NVdriver
then it creates the following devices
/dev/nvidia1
/dev/nvidia2
/dev/nvidia3
/dev/nvidia4
/dev/nvidia5
/dev/nvidia6
/dev/nvidia7
/dev/nvidiactl
and changes their modes to 0666
I have done all this manually.
But when i startx i get "cannot load NV kernel module" error even though i succesfully load it with insmod.
loading i get the standard tainting error but lsmod shows the modules loaded.
1. is there something crucial i missed?
2. is there a manual install guide i havent been able to find?
3. what are the commands i require to install the source distribution properly?
answers to any of the above three questions would be very welcome since the nv driver in xfree doesnt support my ti4200 :(
the compile completes fine and creates the NVdriver file but this remains in the nvkernel source folder and NOT the lib/modules folder.
i believe the error is in the second stage running the makedevices.sh i get the following message:
make: which: Command not found
/bin/sh: -m: command not found
make: *** [package-install] Error 127
there are clearly commands required that lfs 4.0 doesnt install.
i have opened the makedevices.sh script and found one of the missing commands to be update-modules. I'm not sure whether this is absolutely required.
from what i can see the first part copys the NVdriver file to the /lib/modules folder
secondly it makes it's entry in /etc/modules.conf
alias char-major-195 NVdriver
then it creates the following devices
/dev/nvidia1
/dev/nvidia2
/dev/nvidia3
/dev/nvidia4
/dev/nvidia5
/dev/nvidia6
/dev/nvidia7
/dev/nvidiactl
and changes their modes to 0666
I have done all this manually.
But when i startx i get "cannot load NV kernel module" error even though i succesfully load it with insmod.
loading i get the standard tainting error but lsmod shows the modules loaded.
1. is there something crucial i missed?
2. is there a manual install guide i havent been able to find?
3. what are the commands i require to install the source distribution properly?
answers to any of the above three questions would be very welcome since the nv driver in xfree doesnt support my ti4200 :(