Subject: weird panic with wm(4) on alpha using i82542 card
To: NetBSD Networking Technical Discussion List <tech-net@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-net
Date: 11/18/2004 14:40:09
I just had a weird panic with wm(4) on the Alpha using an i82542 card.
wm0 at pci1 dev 1 function 0: Intel i82542 1000BASE-X Ethernet, rev. 3
wm0: interrupting at dec 6600 irq 24
wm0: Ethernet address 00:d0:b7:82:33:b0
wm0: 1000baseSX, 1000baseSX-FDX, auto
I had done all this virtually the same yesterday and it worked fine, but
this time it went BOOM!
Should I send-pr, or is this wimpy little i82542 not worth the effort?
[console]<@> # ifconfig wm0
wm0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: 00:d0:b7:82:33:b0
media: Ethernet autoselect (none)
status: no carrier
[console]<@> # ifconfig -m wm0
wm0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: 00:d0:b7:82:33:b0
media: Ethernet autoselect (none)
status: no carrier
supported Ethernet media:
media 1000baseSX
media 1000baseSX mediaopt full-duplex
media autoselect
[console]<@> # ifconfig -m wm0 media 1000baseSX mediaopt full-duplex
[console]<@> # ifconfig -m wm0
wm0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: 00:d0:b7:82:33:b0
media: Ethernet 1000baseSX full-duplex
status: active
supported Ethernet media:
media 1000baseSX
media 1000baseSX mediaopt full-duplex
media autoselect
[console]<@> # ifconfig wm0 inet 205.207.148.230 up
wm0: unable to load rx DMA map 1, error = 35
panic: wm_add_rxbuf
CPU 1: fatal kernel trap:
CPU 1 trap entry = 0x3 (instruction fault)
CPU 1 a0 = 0x1
CPU 1 a1 = 0xfffffd01fc0003f8
CPU 1 a2 = 0xfffffd01fc0003fd
CPU 1 pc = 0xfffffc000056cc44
CPU 1 ra = 0xfffffc000043d460
CPU 1 pv = 0xfffffc000056cc40
CPU 1 curproc = 0xfffffc008753c5c8
CPU 1 pid = 57, comm = ifconfig
panic: trap
CPU 1: fatal kernel trap:
CPU 1 trap entry = 0x3 (instruction fault)
CPU 1 a0 = 0x1
CPU 1 a1 = 0xfffffd01fc0003f8
CPU 1 a2 = 0xfffffd01fc0003fd
CPU 1 pc = 0xfffffc000056cc44
CPU 1 ra = 0xfffffc000043d460
CPU 1 pv = 0xfffffc000056cc40
CPU 1 curproc = 0xfffffc008753c5c8
CPU 1 pid = 57, comm = ifconfig
then it went in a loop of repeating "panic: trap"s and I had to break
into the RMC and hit the virtual reset button.
--
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>