[realtek] can't load the driver rtl8139.o

kaiming zhoukm@red.semi.ac.cn
Thu Nov 29 06:59:00 2001


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C17910.C13FB520
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

I compiled the rtl8139.c and pci-scan.c following the suggested way and =
tried to load the driver: rtl8139.o and pci-scan.o but failed. I used =
redhat7.2 in a P4 box. Your help will be appreicate.

Kaiming.

Here is the symptoms:

[root@localhost ethcard]# /sbin/insmod rtl8139.o
rtl8139.o: unresolved symbol __netdev_watchdog_up
rtl8139.o: unresolved symbol eth_type_trans
rtl8139.o: unresolved symbol __kfree_skb
rtl8139.o: unresolved symbol alloc_skb
rtl8139.o: unresolved symbol init_etherdev
rtl8139.o: unresolved symbol __release_region
rtl8139.o: unresolved symbol kmalloc
rtl8139.o: unresolved symbol cpu_raise_softirq
rtl8139.o: unresolved symbol free_irq
rtl8139.o: unresolved symbol pci_drv_unregister
rtl8139.o: unresolved symbol unregister_netdev
rtl8139.o: unresolved symbol pci_read_config_dword
rtl8139.o: unresolved symbol del_timer
rtl8139.o: unresolved symbol kfree
rtl8139.o: unresolved symbol request_irq
rtl8139.o: unresolved symbol netif_rx
rtl8139.o: unresolved symbol skb_over_panic
rtl8139.o: unresolved symbol tvec_bases
rtl8139.o: unresolved symbol dev_close
rtl8139.o: unresolved symbol do_BUG
rtl8139.o: unresolved symbol jiffies
rtl8139.o: unresolved symbol softnet_data
rtl8139.o: unresolved symbol __request_region
rtl8139.o: unresolved symbol printk
rtl8139.o: unresolved symbol add_timer
rtl8139.o: unresolved symbol ioport_resource
rtl8139.o: unresolved symbol pci_drv_register
[root@localhost ethcard]# /sbin/insmod pci-scan.o
pci-scan.o: unresolved symbol pci_write_config_byte
pci-scan.o: unresolved symbol kmalloc
pci-scan.o: unresolved symbol pci_find_class
pci-scan.o: unresolved symbol __check_region
pci-scan.o: unresolved symbol pci_read_config_byte
pci-scan.o: unresolved symbol pci_read_config_dword
pci-scan.o: unresolved symbol __ioremap
pci-scan.o: unresolved symbol pci_read_config_word
pci-scan.o: unresolved symbol kfree
pci-scan.o: unresolved symbol pci_set_master
pci-scan.o: unresolved symbol pci_write_config_dword
pci-scan.o: unresolved symbol pci_write_config_word
pci-scan.o: unresolved symbol printk
pci-scan.o: unresolved symbol ioport_resource


------=_NextPart_000_0007_01C17910.C13FB520
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 5.50.4134.100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I compiled the rtl8139.c and pci-scan.c following =
the=20
suggested way and tried to load the driver: </FONT><FONT =
size=3D2>rtl8139.o and=20
pci-scan.o </FONT><FONT size=3D2>but failed. I used redhat7.2 in a P4 =
box. Your=20
help will be appreicate.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Kaiming.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Here is the symptoms:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>[root@localhost ethcard]# /sbin/insmod =
rtl8139.o<BR>rtl8139.o:=20
unresolved symbol __netdev_watchdog_up<BR>rtl8139.o: unresolved symbol=20
eth_type_trans<BR>rtl8139.o: unresolved symbol __kfree_skb<BR>rtl8139.o: =

unresolved symbol alloc_skb<BR>rtl8139.o: unresolved symbol=20
init_etherdev<BR>rtl8139.o: unresolved symbol =
__release_region<BR>rtl8139.o:=20
unresolved symbol kmalloc<BR>rtl8139.o: unresolved symbol=20
cpu_raise_softirq<BR>rtl8139.o: unresolved symbol free_irq<BR>rtl8139.o: =

unresolved symbol pci_drv_unregister<BR>rtl8139.o: unresolved symbol=20
unregister_netdev<BR>rtl8139.o: unresolved symbol=20
pci_read_config_dword<BR>rtl8139.o: unresolved symbol =
del_timer<BR>rtl8139.o:=20
unresolved symbol kfree<BR>rtl8139.o: unresolved symbol=20
request_irq<BR>rtl8139.o: unresolved symbol netif_rx<BR>rtl8139.o: =
unresolved=20
symbol skb_over_panic<BR>rtl8139.o: unresolved symbol =
tvec_bases<BR>rtl8139.o:=20
unresolved symbol dev_close<BR>rtl8139.o: unresolved symbol =
do_BUG<BR>rtl8139.o:=20
unresolved symbol jiffies<BR>rtl8139.o: unresolved symbol=20
softnet_data<BR>rtl8139.o: unresolved symbol =
__request_region<BR>rtl8139.o:=20
unresolved symbol printk<BR>rtl8139.o: unresolved symbol =
add_timer<BR>rtl8139.o:=20
unresolved symbol ioport_resource<BR>rtl8139.o: unresolved symbol=20
pci_drv_register</FONT></DIV>
<DIV><FONT size=3D2>[root@localhost ethcard]# /sbin/insmod=20
pci-scan.o<BR>pci-scan.o: unresolved symbol =
pci_write_config_byte<BR>pci-scan.o:=20
unresolved symbol kmalloc<BR>pci-scan.o: unresolved symbol=20
pci_find_class<BR>pci-scan.o: unresolved symbol =
__check_region<BR>pci-scan.o:=20
unresolved symbol pci_read_config_byte<BR>pci-scan.o: unresolved symbol=20
pci_read_config_dword<BR>pci-scan.o: unresolved symbol =
__ioremap<BR>pci-scan.o:=20
unresolved symbol pci_read_config_word<BR>pci-scan.o: unresolved symbol=20
kfree<BR>pci-scan.o: unresolved symbol pci_set_master<BR>pci-scan.o: =
unresolved=20
symbol pci_write_config_dword<BR>pci-scan.o: unresolved symbol=20
pci_write_config_word<BR>pci-scan.o: unresolved symbol =
printk<BR>pci-scan.o:=20
unresolved symbol ioport_resource<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C17910.C13FB520--