网卡问题,谢谢!!
各位大哥,小弟升级了内核之后不能使用网卡了,(内核2.4.26)如下:[ 10:10:57 /lib/modules/2.4.20-8/kernel/drivers/net ] # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1Mask:255.0.0.0
UP LOOPBACK RUNNINGMTU:16436Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1994 (1.9 Kb)TX bytes:1994 (1.9 Kb)
原先的内核是可以使用的啊~~~,请问小弟要如何装上去,8139的网卡.小弟在命令行下insmod,输出如下,何解??谢谢!!:
[ 10:10:49 /lib/modules/2.4.20-8/kernel/drivers/net ] # insmod 8139too.o
8139too.o: unresolved symbol mii_link_ok_R59a901a8
8139too.o: unresolved symbol mii_ethtool_sset_R7218f2da
8139too.o: unresolved symbol generic_mii_ioctl_R6bf3e1d6
8139too.o: unresolved symbol mii_nway_restart_R9d2585b5
8139too.o: unresolved symbol mii_ethtool_gset_R111992a1
提示说有未定义的Symbol,是否需要insmod其他的modules,thank!! 原来的内核版本和现在的一样吗?
mii有没有编译?
试试modprobe 8139tcc 原来的版本不同,2.4.20-8的,请问mii是什么??
modprobe的输出:
[ 13:08:36 ~ ] # modprobe 8139too
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including inv
lid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: insmod /lib/modules/2.4.20-
/kernel/drivers/net/8139too.o failed
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: insmod 8139too failed
dmesg的输出:
kjournald starting.Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport0: PC-style at 0x378
ip_tables: (C) 2000-2002 Netfilter core team
parport0: PC-style at 0x378
lp0: using parport0 (polling).
lp0: console ready
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
[ 13:09:33 ~ ] # 网卡本身没有问题,我在windows下可以使用 mii 是 界面无关接口的简称。
看有没有mii,(记得2.6里有的,忘了)
另外把另外一个模块编译进来看看:8139cp。
如果这样还不行,应该就是你其它的网络模块没搞好。另外把卡重新拔查一次。 不行啊,我的网卡没有问题,在xp下可以正常使用,下面是联入8139cp和mii的讯息
[ 10:16:23 / ] # insmod mii
Using /lib/modules/2.4.20-8/kernel/drivers/net/mii.o
[ 10:16:28 / ] # insmod 8139too
Using /lib/modules/2.4.20-8/kernel/drivers/net/8139too.o
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including inv
lid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
[ 10:16:41 / ] # insmod 8139cp
Using /lib/modules/2.4.20-8/kernel/drivers/net/8139cp.o
/lib/modules/2.4.20-8/kernel/drivers/net/8139cp.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including inv
lid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
[ 10:16:52 / ] #
[ 10:16:56 / ] #
[ 09:52:10 /dev ] # ls /lib/modules/2.4.26
build modules.generic_stringmodules.parportmapmodules.usbmap
kernel modules.ieee1394map modules.pcimap pcmcia
modules.depmodules.isapnpmap modules.pnpbiosmap
[ 09:52:52 /dev ] # ls /lib/modules/2.4.26/kernel
drivers
[ 09:52:58 /dev ] # ls /lib/modules/2.4.26/kernel/drivers
net
[ 09:53:05 /dev ] # ls /lib/modules/2.4.26/kernel/drivers/net
dummy.o
[ 09:53:16 /dev ] #
[ 09:53:19 /dev ] #
[ 09:53:19 /dev ] # insmod dummy.o
insmod: dummy.o: No such file or directory still no device but not the only mathine do,may i reinstall redhat???!!!! 你可以选择以前的内核版本引导啊。
对你的问题……no idea。 我在汗与恶寒中度过,我以前的版本也...当了,英勇的,没有试过用真实的机器,不如哼哼
页:
[1]