Sending this in case anyone's interested...

Seen on a router doing multipath running a feb 12 i386 UP kernel.
This was after removing and readding some pppoe interfaces; no
immediate problem but when I run 'netstat -rnfinet' it blew up.

It's a remote system and I currently only have console access when
it's working so debug information is limited. (Semi-acceptable
work-around for now: "don't do that again").

+-- -- -- --
| uvm_fault(0xd0a047a0, 0xefffe000, 0, 1) -> d
| fatal page fault (6) in supervisor mode
| trap type 6 code 0 eip d045fd68 cs 8 eflags 10286 cr2 efffeecc cpl 40
| panic: trap type 6, code=0, pc=d045fd68
| Starting stack trace...
| panic(d08d7698,d9c18ce4,d08db05e,d9c18ce4,d09bdd14) at panic+0x6a
| panic(d08db05e,6,0,d045fd68,8) at panic+0x6a
| trap() at trap+0x7f9
| --- trap (number -268439860) ---
| (null)(280a2d60,d7f5d590,0,0,0) at 0
| End of stack trace.
| syncing disks... 15 14 11 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 
giving up
| 
| dumping to dev 1, offset 15
| dump 7 6 5 4 3 2 1 0 area improper
| 
| rebooting...
+-- -- -- --

eip is in sysctl_dumpentry:

gw-1# nm /bsd|grep ^d045f[c-f]
d045ff50 T rt_msg1
d045fd00 T sysctl_dumpentry

Routes are typically setup from hostname.if like so:

/etc/hostname.pppoe1:!route add default -mpath -ifp pppoe1 81.187.40.194
/etc/hostname.pppoe2:!route add default -mpath -ifp pppoe2 81.187.40.195
/etc/hostname.pppoe3:!route add default -priority 10 -mpath -ifp pppoe3 
81.187.8.161
/etc/hostname.pppoe4:!route add default -priority 9 -mpath -ifp pppoe4 
81.187.218.235
/etc/hostname.pppoe5:!route add default -priority 9 -mpath -ifp pppoe5 
81.2.92.23

(Yes really. Lines are 2-3Mb max, the ISP loadbalances their side,
I'm using some mpath routes for normal outgoing traffic and picking
certain traffic <DNS etc> out with PF route-to/reply-to to send it
over a lightly loaded line).

This is how it looks after a reboot:

gw-1# netstat -rnfinet|grep defa
default            81.187.81.187      UGSP       3     5433     -     8 pppoe2
default            81.187.81.187      UGSP       6     4996     -     8 pppoe1
default            81.187.81.187      UGSP       0        0     -     9 pppoe5
default            81.187.81.187      UGSP       0        0     -     9 pppoe4
default            81.187.81.187      UGSP       0        0     -    10 pppoe3

(the 81.187.81.187 addresses are the endpoints for the pppoe sessions
as displayed in ifconfig, not some random corruption of the addresses)

Box is running with splassert=2, I didn't see any output from this
prior to the crash. It's a release-ish build so pool_debug is off.
Not using rtable/rdomains.

dmesg is fairly uninteresting but pasted below for completeness.

OpenBSD 5.1 (GENERIC) #160: Sun Feb 12 09:46:33 MST 2012
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 
MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 267976704 (255MB)
avail mem = 253497344 (241MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/07, BIOS32 rev. 0 @ 0xfceb2
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address 
00:0d:b9:14:1d:64
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 
00:0d:b9:14:1d:65
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 
00:0d:b9:14:1d:66
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <InnoDisk Corp. - iCF4000 1GB>
wd0: 2-sector PIO, LBA, 999MB, 2047248 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0, 
legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
mtrr: K6-family MTRR support (2 registers)
nvram: invalid checksum
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a swap on wd0b dump on wd0b

Reply via email to