insmod error "operation not permitted" as root
Hello,
I am trying to install a third party driver and the provided makefile makes a call to insmod. Whenever I try to install this I run "su", so I am root and should have permissions. However, when I run "make install" I get the following output: Code:
# make install I'm currently running Fedora 9 kernel 2.6.27.25-78.2.56.fc9.x86_64 Any ideas? Thanks in advance |
try changing the permissions of the folder in which the makefile is located
for example: Code:
# chmod -R 744 foo.d |
Quote:
|
Try running 'make -n install 2>&1|tee /tmp/make.txt'. This will --dry-run the install part and log all details to the "/tmp/make.txt" plain text file. Maybe reading it shows some clues wrt commands, paths or permissions else you could attach it.
|
If changing the permissions for the install directory didnt fix it i doubt it will be a permissions problem.
|
Quote:
Code:
$ make -n install 2>&1|tee /tmp/make.txt |
Can you install other modules?
Is there any more information in dmesg or the /var/log/[debug|messages|syslog|<other>] files? Is the module for the correct architecture? Does the module depend on other modules being loaded first (but likely a different error message if so)? |
Quote:
Can you install other modules? I honestly don't know; I just started using Linux and this driver is the first time I've ever even heard of a module. Are there any fairly innocuous modules out there that I could use to test this? Is there any more information in dmesg or the /var/log/[debug|messages|syslog|<other>] files? dmesg Code:
foo: module license 'Proprietary' taints kernel. Code:
Oct 6 12:27:49 lisa kernel: foo: module license 'Proprietary' taints kernel. Is the module for the correct architecture? Getting the module to simply compile was a big hassle. One of the things I had to change was replacing "i686" with "core2" in the makefiles (after updating gcc), so I think it's now compiled for my architecture. Does the module depend on other modules being loaded first (but likely a different error message if so)? Not that I'm aware of; the vendor's installation instructions don't mention any. |
Figured it out (sort of)! Had to replace insmod with depmod -a and modprobe then copy foo.ko to lib/modules/$(uname -r)/kernel/drivers/misc/
|
Quote:
|
why is it only sort of figured out? and if youve solved it mark the thread solved
|
All times are GMT -5. The time now is 04:19 PM. |