[tulip-bug] tulip.c and pci-scan.c do not insmod after compile
Carsten Cimander
cc@cimander-net.de
Wed May 29 15:59:00 2002
Hi all,
I use the Tulip-Clone Macronix MX987x5 (rev.40) NIC
which could be correctly detected be the PCI-Bus.
IRQ 9 and I/O 0x6c00 ar assigned automatically.
(shown by: # cat /proc/pci )
As the card runs under kernel 2.2.17 without probs
I dare to say, that there is a bug in the driver
coming with kernel 2.4.17. (downloaded from kernel.org)
I downloaded pci_scan.h, pci-scan.c, kern_compat.h, tulip.c
as recommended on http://www.scyld.com/network/tulip.html
I compiled tulip.c using the command:
# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c
=> no probs.
I compiled pci-scan.c using the command:
# gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c
tulip.c
=> no probs.
But insmod reported an unsuitable kernel???
# insmod pci-scan.o
pci-scan.o was compiled for kernel version 2.4.7
while this kernel is version 2.4.17
# insmod tulip.o
tulip.o was compiled for kernel version 2.4.7
while this kernel is version 2.4.17
I defenitly run these commands under 2.4.17, as
# uname -r
shows ...
Has anyone any hints for me?
Thks in advance
Carsten