hi, i was fooling around with bridging together ural0 and dc0, when out of bad habit i wanted to assign an ip address to bridge0 (yes, i understand it's not how it works on probably anything else than linux, it was my fat fingers), which got me an instant panic.
upon further investigation, it looks like that when ifconfig is used to add an ip to bridge0, it's properly handled, but dhclient, for some reason crashes the kernel. below are stuff from my playground alpha, but i can reliably reproduce the symptoms with -current running inside vmware; more interestingly, 3.7-stable does not exhibit this behaviour. there, dhclient simply reports `bridge0: not found', and exits normally. i understand i'm not supposed to turn the knob that way, but it seems somewhat more logical to handle this situation gracefully. thanks, # ifconfig -a lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 dc0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 08:00:2b:86:3e:f2 media: Ethernet autoselect (100baseTX full-duplex) status: active pflog0: flags=0<> mtu 33192 pfsync0: flags=0<> mtu 2020 enc0: flags=0<> mtu 1536 ural0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:11:2f:6b:e0:e0 media: IEEE802.11 autoselect status: no network ieee80211: nwid "" 100dBm # ifconfig bridge0 create # brconfig bridge0 add dc0 up # ifconfig bridge0 192.168.2.100 netmask 255.255.255.0 up ifconfig: SIOCAIFADDR: Invalid argument # dhclient bridge0 DHCPDISCOVER on panic: trap Stopped at Debugger+0x4: ret zero,(ra) RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 17339 16572 16572 0 3 0x86 poll dhclient *16572 3182 16572 77 7 0x4106 dhclient 3182 1 3182 0 3 0x4086 pause ksh 30963 1 30963 0 3 0x4086 ttyin getty 17207 1 17207 0 3 0x4086 ttyin getty 10546 1 10546 0 3 0x4086 ttyin getty 21194 1 21194 0 3 0x4086 ttyin getty 28226 1 28226 0 3 0x4086 ttyin getty 499 1 499 0 3 0x84 select cron 23674 1 23674 62 3 0x184 select spamd 25488 1 25488 0 3 0x84 select sshd 5920 1 5920 0 3 0x184 select inetd 3297 1 3297 0 3 0x84 poll ntpd 29429 1 14802 83 3 0x186 poll ntpd 5312 31829 31829 68 3 0x184 select isakmpd 31829 1 31829 0 3 0x84 netio isakmpd 14496 30599 30599 73 3 0x184 poll syslogd 30599 1 30599 0 3 0x84 netio syslogd 9 0 0 0 3 0x100204 crypto_wa crypto 8 0 0 0 3 0x100204 aiodoned aiodoned 7 0 0 0 3 0x100204 syncer update 6 0 0 0 3 0x100204 cleaner cleaner 5 0 0 0 3 0x100204 reaper reaper 4 0 0 0 3 0x100204 pgdaemon pagedaemon 3 0 0 0 3 0x100204 usbtsk usbtask 2 0 0 0 3 0x100204 usbevt usb0 1 0 1 0 3 0x4084 wait init 0 -1 0 0 3 0x80204 scheduler swapper ddb> trace Debugger(4, fffffc0000783648, 5, 8, 3, 8) at Debugger+0x4 panic(fffffc0000762ed4, 1, 0, 2, fffffe00120c3950, fffffc0002add168) at panic+0x130 trap(?, ?, 0, 2, fffffe00120c3950, fffffc0002add168) at trap+0x51c XentMM(?, ?, 0, 2, ?, fffffc0002add168) at XentMM+0x20 bridge_output(?, fffffc0002795d00, fffffe00120c3ae8, 0, fffffe00002ef380, fffffc0002add168) at bridge_output+0x7c bpfwrite(?, ?, ?, ?, ?, fffffc0002add168) at bpfwrite+0x150 spec_write(?, ?, ?, ?, ?, fffffc0002add168) at spec_write+0x108 ufsspec_write(?, ?, ?, ?, ?, fffffc0002add168) at ufsspec_write+0x44 VOP_WRITE(?, fffffe00120c3d38, ?, fffffc000279c280, ?, fffffc0002add168) at VOP_WRITE+0x44 vn_write(?, ?, ?, ?, ?, fffffc0002add168) at vn_write+0x104 dofilewritev(?, 8, ?, ?, ?, fffffc0002add168) at dofilewritev+0x1c8 sys_writev(?, ?, ?, ?, ?, ?) at sys_writev+0x88 syscall(?, ?, ?, ?, ?, ?) at syscall+0x248 XentSys(8, 1ffffd920, 2, ffffffffffffffff, 4300, 16252c058) at XentSys+0x50 ddb> [ using 470232 bytes of bsd ELF symbol table ] consinit: not using prom console Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2005 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 3.7-current (GENERIC) #0: Tue Jul 5 14:43:24 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/alpha/compile/GENERIC Digital Personal WorkStation 500au, 500MHz 8192 byte page size, 1 processor. total memory = 268435456 (262144K) (1941504 reserved for PROM, 266493952 used by OpenBSD) avail memory = 226951168 (221632K) using 3253 buffers containing 26648576 bytes (26024K) of memory mainbus0 (root) cpu0 at mainbus0: ID 0 (primary), 21164A-0 (unknown minor type 0) cpu0: Architecture extensions: 1<BWX> cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1 cia0: extended capabilities: 1<BWEN> cia0: using BWX for PCI config and bus access pci0 at cia0 bus 0 dc0 at pci0 dev 3 function 0 "DEC 21142/3" rev 0x30: dec 550 irq 0, address 08:00:2b:86:3e:f2 nsphy0 at dc0 phy 5: DP83840 10/100 PHY, rev. 1 sio0 at pci0 dev 7 function 0 "Contaq Microsystems CY82C693U ISA" rev 0x00 pciide0 at pci0 dev 7 function 1 "Contaq Microsystems CY82C693U ISA" rev 0x00: DMA, channel 0 wired to compatibility pciide0: channel 0 disabled (no drives) pciide1 at pci0 dev 7 function 2 "Contaq Microsystems CY82C693U ISA" rev 0x00: no DMA, channel 0 wired to compatibility atapiscsi0 at pciide1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, CD-ROM XM-6302B, 1017> SCSI0 5/cdrom removable cd0(pciide1:0:0): using PIO mode 4 ohci0 at pci0 dev 7 function 3 "Contaq Microsystems CY82C693U ISA" rev 0x00: isa irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Contaq Microsys OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ppb0 at pci0 dev 12 function 0 "DEC 21052 PCI-PCI" rev 0x02 pci1 at ppb0 bus 1 vga0 at pci1 dev 4 function 0 "Cirrus Logic CL-GD5430" rev 0x47 wsdisplay0 at vga0 mux 1 wsdisplay0: screen 0-5 added (80x25, vt100 emulation) vendor "Intergraph", unknown product 0x00eb (class display subclass miscellaneous, rev 0x40) at pci1 dev 5 function 0 not configured ppb1 at pci0 dev 20 function 0 "DEC 21152 PCI-PCI" rev 0x03 pci2 at ppb1 bus 2 isp0 at pci2 dev 4 function 0 "QLogic ISP1020" rev 0x05: dec 550 irq 3 scsibus1 at isp0: 16 targets sd0 at scsibus1 targ 0 lun 0: <DEC, RZ2CC-KB (C) DEC, DC2B> SCSI2 0/direct fixed sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sec, 8380080 sec total isa0 at sio0 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 pckbc0 at isa0 port 0x60/5 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 isabeep0 at pcppi0 lpt0 at isa0 port 0x3bc/4 irq 7 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec mcclock0 at isa0 port 0x70/2: mc146818 or compatible stray isa irq 3 root on sd0a swap on sd0b ural0 at uhub0 port 2 ural0: ASUS 802.11g WLAN Drive, rev 2.00/0.01, addr 2 ural0: MAC/BBP RT2570 (rev 0x03), RF RT2526, address 00:11:2f:6b:e0:e0 rootdev=0x800 rrootdev=0x800 rawdev=0x802 stray isa irq 3 -- [-] mkdir /nonexistent