+ -
当前位置:首页 → 问答吧 → 网卡 ping的时候 网卡看门狗异常?watchdog time out【解决】

网卡 ping的时候 网卡看门狗异常?watchdog time out【解决】

时间:2010-10-29

来源:互联网

本帖最后由 armips 于 2010-11-02 14:18 编辑

每次系统启动 ping都会出现,但貌似 只出现一次,再ping的时候 只会有 down  //up 等
不会再出现
但重新启动系统ping 还会出现,有人碰到过没有?

64 bytes from 192.168.68.1: seq=21 ttl=255 time=1.054 ms
64 bytes from 192.168.68.1: seq=22 ttl=255 time=1.061 ms
64 bytes from 192.168.68.1: seq=23 ttl=255 time=1.049 ms
64 bytes from 192.168.68.1: seq=24 ttl=255 time=1.051 ms
64 bytes from 192.168.68.1: seq=25 ttl=255 time=1.052 ms
64 bytes from 192.168.68.1: seq=26 ttl=255 time=1.055 ms
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:258 dev_watchdog+0x180/0x290()
NETDEV WATCHDOG: eth0 (smc91x): transmit queue 0 timed out
Modules linked in:
[<c00263a0>] (unwind_backtrace+0x0/0xe4) from [<c0031f8c>] (warn_slowpath_common
+0x48/0x60)
[<c0031f8c>] (warn_slowpath_common+0x48/0x60) from [<c0032024>] (warn_slowpath_f
mt+0x2c/0x3c)
[<c0032024>] (warn_slowpath_fmt+0x2c/0x3c) from [<c01ae7c0>] (dev_watchdog+0x180
/0x290)
[<c01ae7c0>] (dev_watchdog+0x180/0x290) from [<c003cb8c>] (run_timer_softirq+0x1
84/0x26
[<c003cb8c>] (run_timer_softirq+0x184/0x26 from [<c003749c>] (__do_softirq+0x7
4/0x10
[<c003749c>] (__do_softirq+0x74/0x10 from [<c0037570>] (irq_exit+0x40/0xa0)
[<c0037570>] (irq_exit+0x40/0xa0) from [<c0020074>] (asm_do_IRQ+0x74/0x94)
[<c0020074>] (asm_do_IRQ+0x74/0x94) from [<c0020a64>] (__irq_svc+0x44/0x90)
Exception stack(0xc02c7f80 to 0xc02c7fc
7f80: 00000001 2f08bb04 c02c7fc8 60000013 c02c6000 00000000 c001e01c c02c99d8
7fa0: 0801c608 41129200 0801c55c 00000000 c02c7f38 c02c7fc8 c0021fbc c0021fc8
7fc0: 60000013 ffffffff
[<c0020a64>] (__irq_svc+0x44/0x90) from [<c0021fc8>] (default_idle+0x28/0x2c)
[<c0021fc8>] (default_idle+0x28/0x2c) from [<c00224c4>] (cpu_idle+0x60/0xbc)
[<c00224c4>] (cpu_idle+0x60/0xbc) from [<c0008950>] (start_kernel+0x26c/0x2c0)
[<c0008950>] (start_kernel+0x26c/0x2c0) from [<08008034>] (0x8008034)
---[ end trace ae1c383d88793216 ]---
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
64 bytes from 192.168.68.1: seq=32 ttl=255 time=1.137 ms64 bytes from 192.168.68.1: seq=33 ttl=255 time=1.062 ms
64 bytes from 192.168.68.1: seq=34 ttl=255 time=1.055 ms
64 bytes from 192.168.68.1: seq=35 ttl=255 time=1.076 ms
64 bytes from 192.168.68.1: seq=36 ttl=255 time=1.062 ms
64 bytes from 192.168.68.1: seq=37 ttl=255 time=1.085 ms

作者: armips   发布时间: 2010-10-29

本帖最后由 armips 于 2010-11-02 14:21 编辑

原因很简单 困扰了好几天

把原本配置的 上升沿中断 改为高电平中断,问题解决,再没有出现:

.flags        = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL


[root@localhost /]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:A3:02:02:C8
          inet addr:192.168.68.221  Bcast:192.168.68.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1654 errors:1 dropped:0 overruns:1 frame:0
          TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:562427 (549.2 KiB)  TX bytes:457418 (446.6 KiB)
          Interrupt:131 Base address:0xc300 DMA chan:ff

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[root@localhost /]#

作者: armips   发布时间: 2010-11-02