OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: wellswang on March 11, 2007, 03:57:42 am
-
Hi,
My USB NIC is using DaviCom dm9601 chip,
i tried the driver built by meanie ( https://www.oesf.org/forums/index.php?showt...155807&st=180 (https://www.oesf.org/forums/index.php?showtopic=21898&pid=155807&st=180) )
but unfortunately, it dosen't work.
when i tried to depmod or insmod
it reported a "Floating point" error
#insmod dm9601.o
Floating point exception
so, i tried to build it myself.
i am using pdaxrom 1.1 beta3,
gcc version is 3.4.6
i linked source code of linux kernel (2.4.20) to /usr/src/linux
and i make the version.h
cd /usr/src/linux
make include/linux/version.h
then i compiled the dm9601 driver for 2.4.20.
built it succesfully, but when i tried to insmod,
i got this error message:
# insmod dm9601.o
dm9601.o: couldn't find the kernel version the module was compiled for
can any body help me?
thanks.
--Wells.
-
I think that if you read Meanies post in the compiled thread, he said that he had to use 2.4.18 to get it to compile.
-
Here is the source that I downloaded. In the 2.4 version there seems to be a version for .18 and one for .20. I am also attaching the 2.6 version.
-
Here is the source that I downloaded. In the 2.4 version there seems to be a version for .18 and one for .20. I am also attaching the 2.6 version.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155955\"][{POST_SNAPBACK}][/a][/div]
Thanks,
i tried to compile the driver for 2.4.18, but got many error messages,
when i tried to compile the driver for 2.4.20, only got warning message.
...
it's so strange that this driver can not be insmod.
-
Can anybody help me to solve this problem?
# insmod dm9601.o
dm9601.o: couldn't find the kernel version the module was compiled for
I checked dm9601.c
it includes linux/module.h
#include
so I don't know what's wrong with it...
-
Can anybody help me to solve this problem?
# insmod dm9601.o
dm9601.o: couldn't find the kernel version the module was compiled for
I checked dm9601.c
it includes linux/module.h
#include
so I don't know what's wrong with it...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156772\"][{POST_SNAPBACK}][/a][/div]
you have to use gcc 2.95.x to compile kernel/modules for 2.4.x
-
I've tried gcc2.95.2 to compile this driver.
but when I insmod, I got
# insmod usbcore.o
# insmod dm9601.o
dm9601.o: dm9601.o: unresolved symbol local_irq_save
dm9601.o: dm9601.o: unresolved symbol local_irq_restore
dm9601.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
which module should I insert first to resolve local_irq_save and local_irq_restore?
OR
I compiled it in WRONG WAY ?
(gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6 -c dm9601.c)
Thanks.