From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199702180428.XAA08880@max.tiac.net> Date: Mon, 17 Feb 1997 23:28:37 -0500 (EST) From: Arthur Lobo Subject: Loading Etherexpress Pro 100B driver on PC164 I have Linux/Alpha kernel 2.0.27 on a PC164. I am trying to load the Intel EtherExpress Pro 100B PCI driver (eepro100.c v0.26) using insmod-bfd v0.2 (RH 4.1). On booting I get the following: Finding module dependencies *** Unresolved symbols in /lib/modules/2.0.27/net/eepro100.o SIOCSADDR : operation not supported by device SIOCSIFNETMASK : operation not supported by device SIOCSIFBRDADDR : operation not supported by device The following occurs three times after that: SIOCADDRT: modprobe: Can't locate module net-pf-4 modprobe: Can't locate module net-pf-3 modprobe: Can't locate module net-pf-5 When I try to load using insmod I get the following: # insmod eepro100.o eepro100.o: In function `eepro100_init': eepro100.c(.text+0x28): undefined reference to `pcibios_present' eepro100.c(.text+0x78): undefined reference to `pcibios_find_device' eepro100.c(.text+0xa0): undefined reference to `pcibios_read_config_byte' eepro100.c(.text+0xc8): undefined reference to `pcibios_read_config_dword' eepro100.c(.text+0xfc): undefined reference to `printk' eepro100.c(.text+0x120): undefined reference to `pcibios_read_config_word' eepro100.c(.text+0x1e4): undefined reference to `pcibios_write_config_byte' eepro100.c(.text+0x1e8): undefined reference to `pcibios_write_config_byte' eepro100.o: In function `speedo_found1': eepro100.c(.text+0x2f4): undefined reference to `init_etherdev' eepro100.o(.text+0x43c):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `speedo_found1': eepro100.c(.text+0x7a8): undefined reference to `request_region' eepro100.c(.text+0x7e4): undefined reference to `kmalloc' eepro100.o: In function `mdio_write': eepro100.c(.text+0xd48): undefined reference to `printk' eepro100.o(.text+0xd4c):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `speedo_open': eepro100.c(.text+0xdcc): undefined reference to `request_irq' eepro100.c(.text+0x1180): undefined reference to `jiffies' eepro100.c(.text+0x11a0): undefined reference to `add_timer' eepro100.o: In function `speedo_timer': eepro100.c(.text+0x1218): undefined reference to `jiffies' eepro100.c(.text+0x1268): undefined reference to `printk' eepro100.c(.text+0x12a4): undefined reference to `add_timer' eepro100.o: In function `speedo_init_rx_ring': eepro100.c(.text+0x1348): undefined reference to `dev_alloc_skb' eepro100.o: In function `speedo_start_xmit': eepro100.c(.text+0x146c): undefined reference to `jiffies' eepro100.o(.text+0x1540):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `speedo_start_xmit': eepro100.c(.text+0x168c): undefined reference to `jiffies' eepro100.c(.text+0x16cc): undefined reference to `dev_tint' eepro100.c(.text+0x1854): undefined reference to `jiffies' eepro100.o: In function `speedo_interrupt': eepro100.c(.text+0x19b4): undefined reference to `printk' eepro100.o(.text+0x19b8):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `speedo_interrupt': eepro100.c(.text+0x1af0): undefined reference to `dev_kfree_skb' eepro100.c(.text+0x1b90): undefined reference to `bh_active' eepro100.o(.text+0x1c70):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `speedo_interrupt': eepro100.c(.text+0x1c88): undefined reference to `free_irq' eepro100.o: In function `speedo_rx': eepro100.c(.text+0x1dc0): undefined reference to `printk' eepro100.o(.text+0x1dc4):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `speedo_rx': eepro100.c(.text+0x1e48): undefined reference to `panic' eepro100.c(.text+0x1eb0): undefined reference to `dev_alloc_skb' eepro100.c(.text+0x20bc): undefined reference to `netif_rx' eepro100.c(.text+0x2188): undefined reference to `jiffies' eepro100.o: In function `speedo_close': eepro100.c(.text+0x2260): undefined reference to `del_timer' eepro100.c(.text+0x22b4): undefined reference to `free_irq' eepro100.c(.text+0x2334): undefined reference to `dev_kfree_skb' eepro100.c(.text+0x235c): undefined reference to `kfree' eepro100.o(.text+0x244c):eepro100.c: more undefined references to `printk' follow eepro100.o: In function `set_rx_mode': eepro100.c(.text+0x2bac): undefined reference to `kfree' eepro100.c(.text+0x2bd8): undefined reference to `kmalloc' eepro100.o: In function `init_module': eepro100.c(.text+0x2e80): undefined reference to `printk' eepro100.o: In function `cleanup_module': eepro100.c(.text+0x2ef0): undefined reference to `unregister_netdev' eepro100.c(.text+0x2f0c): undefined reference to `release_region' eepro100.c(.text+0x2f20): undefined reference to `kfree' /usr/tmp/eepro100311: No such file or directory The command line for compiling the source was: gcc -DCONFIG_MODVERSIONS -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet \ -Wall -Wstrict-prototypes -O2 -c eepro100.c -o eepro100.o and /usr/src/linux/.config has the following entries: # # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KERNELD=y # # General setup # CONFIG_NATIVE=y CONFIG_ALPHA_PC164=y CONFIG_PCI=y CONFIG_ALPHA_EV5=y CONFIG_ALPHA_CIA=y # CONFIG_KGDB is not set CONFIG_NET=y CONFIG_SYSVIPC=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_ELF=y # # Additional Block Devices CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_INITRD=y # # Networking options # CONFIG_INET=y CONFIG_IP_FORWARD=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ACCT is not set # CONFIG_IP_ROUTER is not set # CONFIG_NET_IPIP is not set # # (it is safe to leave these untouched) # # CONFIG_INET_PCTCP is not set # CONFIG_INET_RARP is not set # CONFIG_NO_PATH_MTU_DISCOVERY is not set CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y # # SCSI support # CONFIG_SCSI=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_MULTI_LUN=y # # SCSI low-level drivers # CONFIG_SCSI_NCR53C7xx=y CONFIG_SCSI_NCR53C7xx_sync=y CONFIG_SCSI_NCR53C7xx_FAST=y CONFIG_SCSI_NCR53C7xx_DISCONNECT=y # # Network device support # CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_NET_ETHERNET=y CONFIG_NET_ISA=y CONFIG_NET_EISA=y # # Filesystems # CONFIG_MINIX_FS=y CONFIG_EXT_FS=y CONFIG_EXT2_FS=y CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y CONFIG_UMSDOS_FS=y CONFIG_PROC_FS=y CONFIG_SYSV_FS=y # # Character devices # CONFIG_MOUSE=y CONFIG_MS_BUSMOUSE=y CONFIG_PSMOUSE=y CONFIG_RTC=y # # Kernel hacking # CONFIG_PROFILE=y CONFIG_PROFILE_SHIFT=2 Can anyone shed some light on what needs to be done? TIA Arthur Lobo apl@max.tiac.net -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com