- 论坛徽章:
- 0
|
# ping 192.168.0.199
PING 192.168.0.199 (192.168.0.199): 56 data bytes
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
不知道有人遇到此问题,经过抓包工具测试,包就没有在网卡发出来,我使用的是中断模式
虽然系统出现了网卡中断,但是我实际没有和硬件的中断联系起来,
# cat /proc/interrupts
CPU0
1: 31926 at91_tick, at91_rtc, at91_serial
10: 6 at91rm9200_mci
13: 0 spi
64: 1 NE2000
Err: 0
#
而且不知道为什么我的MAC地址和我写进去最后一个会差1,
写进去的是:
unsigned char ne_defethaddr[]={0x08,0x08,0x08,0x09,0x12,0x28,0}; //8019as 的MAC 地址
而打出来的却是:
# ifconfig
eth0 Link encap:Ethernet HWaddr 08:08:08:09:12:29
inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:681 overruns:0 frame:672
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:64 Base address:0x400
希望高人帮助一下小弟。
我初步诊断是中断没有和实际的硬件联系起来,
我板子硬件中断是PA23(既IRQ3)
不知道如何我的自己定义的中断号对应起来,
请教高人。
[ 本帖最后由 wzj071227 于 2009-2-5 11:35 编辑 ] |
|