[tulip] tulip v0.93 (11/7/01) problems for DS21140 quad card under RH 2.2.19

Gregg Graubins gregg@wwti.com
Wed Jan 9 16:50:01 2002


Greetings,

I'm having a problem compiling the tulip module drivers into my 2.2.19
kernel. I have RedHat 7.1 installed and am downgrading the kernel to
2.2.19. Per the instructions, I downloaded the individual driver
file (tulip.c), pci-scan.c, pci-scan.h, and kern_compat.h and placed them
in my kernel drivers/net directory and recompiled without any errors.

BTW, I placed tulip.o and pci-scan.o in the modules directory
(/lib/modules/2.2.19/net).

The problem I'm having is upon trying to load the module (insmod). It's
giving some unresolved symbol errors, as shown here:

===========================================================================
[root@freedom net]# insmod -v tulip.o 
Using tulip.o
Symbol version prefix 'smp_'
tulip.o: unresolved symbol pci_drv_unregister
tulip.o: unresolved symbol pci_drv_register
===========================================================================

These are found in pci-scan.c... I don't have a whole lot of experience
with modules, but I also tried:

===========================================================================
[root@freedom net]# insmod -v pci-scan.o
Using pci-scan.o
Symbol version prefix 'smp_'
pci-scan.o: kernel-module version mismatch
	pci-scan.o was compiled for kernel version 2.2.16-22
	while this kernel is version 2.2.19.

[root@freedom net]# insmod -f -v pci-scan.o 
Using pci-scan.o
Symbol version prefix 'smp_'
Warning: kernel-module version mismatch
	pci-scan.o was compiled for kernel version 2.2.16-22
	while this kernel is version 2.2.19
pci-scan.o: unresolved symbol __ioremap_R9eac042a
pci-scan.o: unresolved symbol pci_find_class_R6c460806
pci-scan.o: unresolved symbol pci_write_config_word_Rd9cc3b03
pci-scan.o: unresolved symbol pci_write_config_dword_Rf0fbd200
pci-scan.o: unresolved symbol pci_read_config_dword_R2ca7e89f
pci-scan.o: unresolved symbol pci_read_config_byte_Re5ceea13
pci-scan.o: unresolved symbol pci_write_config_byte_Re84d5397
pci-scan.o: unresolved symbol check_region_R522f4d72
pci-scan.o: unresolved symbol pci_set_master_R040f6432
pci-scan.o: unresolved symbol printk_R1b7d4074
pci-scan.o: unresolved symbol pci_read_config_word_R8764d15f
===========================================================================

I did notice the report about the kernel version above, but that shouldn't
have any affect on trying to load the module, right?

I also tried compiling the tulip drivers without having it load as a
module (monolithically) and it still doesn't work.

FYI - The tulip module drivers with the 2.4.2-2 kernel that comes with
RH 7.1 works just fine.

Any ideas???

Thanks in advance for your help!

---
Gregg Graubins <gregg@wwti.com>
Whitewater Technologies, Inc.
(PGP key available)