|
From: Neil R. C. <nch...@al...> - 2003-03-09 02:58:39
|
I was successfully running njbfs under RedHat 7.3, but when I upgraded to 8.0
(2.4.18-26.8.0 kernel), the driver won't load, and doesn't report anything
useful:
% insmod ./njbfs.o
./njbfs.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
%
% tail /var/log/messages
Mar 8 21:52:02 nchannen kernel: hub.c: USB new device connect on bus1/2,
assigned device number 8
Mar 8 21:52:02 nchannen kernel: usb.c: USB device 8 (vend/prod 0x471/0x222) is
not claimed by any active driver.
Mar 8 21:52:05 nchannen /etc/hotplug/usb.agent: ... no modules for USB product
471/222/100
Mar 8 21:52:10 nchannen sudo: neil : TTY=pts/3 ;
PWD=/home/neil/build/njbfs ; USER=root ; COMMAND=/sbin/insmod ./njbfs.o
Mar 8 21:52:10 nchannen kernel: usb.c: error registering nomad driver
I have updated to the latest CVS source, and rebuilt it; I had to change:
nomad.c: line 42 to
#include <linux/slab.h>
as <linux/malloc.h> is deprecated, and the Makefile to:
SEARCHDIRS := -I- -I${MYCODEDIR} -I/lib/modules/`uname -r`/build/include
instead of ... -I/usr/src/linux/include, which is no longer allowed
Any guesses what I'm doing wrong? I always preferred njbfs to gnomad, but I
can't get either working!
Thanks!
--
Neil
nchannen @ alumni.uwaterloo.ca
|