While I was configuring a new ALIX to my MPLS setup a panic ocurred
while starting LDPd daemon.

Steps:
1. Configure all interfaces using /etc/hostname.*, then run 'sh
/etc/netstart'
2. Configure ospfd.conf, then start it: ospfd -dv &
3. Configure ldpd.conf, then start it: ldpd -dv
4. Panic

I'll send the ospfd.conf and ldpd.conf next mail. I'm using OpenBSD
5.1-release on all 3 ALIX now, it happened while I was setting up the
last ALIX connected to the other two.

p.s. note the scrambled print output of LDPd before dying.


dmesg
===
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 11/05/08, BIOS32 rev. 0 @ 0xfd088
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:27:ba:f4
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:27:ba:f5
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 15,
address 00:0d:b9:27:ba:f6
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: <CF 2GB>
wd0: 1-sector PIO, LBA, 1919MB, 3931200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12,
version 1.0, legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
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
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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 (836cbae3546bb201.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
clock: unknown CMOS layout


Panic log
===
# ldpd -dv
startup
kernel add routeuvm_fault(0xd54e5bf4, 0x0, 0, 1) -> e
 0.0.0.0/0
kernkel add route 10.e0.3.0/24
kernelr add route 10.0.n4.0/24
kernel aedd route 10.0.10l.3/32
kernel ad:d route 192.168. 3.0/24
page fault trap, code=0
Stopped at      ifaof_ifpforaddr+0x26:  movl    0x14(%edx),%edx
ddb> ps
  PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 16045  30155  30155      0  2           0                ldpd
 1701  30155  30155     98  2           0                ldpd
*30155  14149  30155      0  7           0                ldpd
 6371      1   6371      0  3        0x80  mfsidl        mount_mfs
 18560      1  18560      0  3        0x80  mfsidl        mount_mfs
 6132      1   6132      0  3        0x80  mfsidl        mount_mfs
 14149      1  14149      0  3        0x88  pause         ksh
 29893      1  29893      0  3        0x80  select        cron
 22780      1  22780     99  3        0x80  poll          sndiod
 10370      1  10370      0  3        0x80  select        inetd
 32428      1  32428      0  3        0x80  select        sendmail
 6797      1   6797      0  3        0x80  select        sshd
 23494  10445  10445     74  3        0x80  bpf           pflogd
 10445      1  10445      0  3        0x80  netio         pflogd
 5239   9662   9662     73  2        0x80                syslogd
 9662      1   9662      0  3        0x80  netio         syslogd
   13      0      0      0  3    0x100200  aiodoned      aiodoned
   12      0      0      0  3    0x100200  syncer        update
   11      0      0      0  3    0x100200  cleaner       cleaner
   10      0      0      0  3    0x100200  reaper        reaper
    9      0      0      0  3    0x100200  pgdaemon      pagedaemon
    8      0      0      0  3    0x100200  bored         crypto
    7      0      0      0  3    0x100200  pftm          pfpurge
    6      0      0      0  3    0x100200  usbtsk        usbtask
    5      0      0      0  3    0x100200  usbatsk       usbatsk
    4      0      0      0  3    0x100200  bored         syswq
    3      0      0      0  3  0x40100200                idle0
    2      0      0      0  3    0x100200  kmalloc       kmthread
    1      0      1      0  3        0x80  wait          init
    0     -1      0      0  3       0x200  scheduler     swapper
ddb> trace
ifaof_ifpforaddr(d11884d8,0,0,d03e6afd,d09e1220) at ifaof_ifpforaddr+0x26
ifa_ifwithroute(140003,d11884d8,d11884e8,0,d09e1220) at ifa_ifwithroute+0x61
rt_getifa(d8c9acfc,0,d1188a0c,2,0) at rt_getifa+0xe2
rtrequest1(1,d8c9acfc,8,d8c9ad54,0) at rtrequest1+0x5f7
route_output(d54ebb00,d5358008,d54ebb00,0,0) at route_output+0xe29
route_usrreq(d5358008,9,d54ebb00,0,0) at route_usrreq+0x65
sosend(d5358008,0,d8c9aec0,d54ebb00,0) at sosend+0x456
soo_write(d54d2370,d54d238c,d8c9aec0,d54f23c0,d54e44c8) at soo_write+0x3b
dofilewritev(d54df680,4,d54d2370,cfbf3f40,3) at dofilewritev+0x131
sys_writev(d54df680,d8c9af64,d8c9af84,d0576b0a,d54df680) at sys_writev+0x7c
syscall() at syscall+0x26a
--- syscall (number 0) ---
0x2:
ddb>

Reply via email to