On Fri, Sep 08, 2006 at 01:39:09PM +0200, Andreas Bihlmaier wrote:
> Hello misc@,
>
> I just had a weird situation with my home network:
> The power supply of my file server died,
> the file server is connected to my router with serial cables for
> access.
> file-server router
> com2 (cua01) com1 (tty00)
> com1 (tty01) com2 (cua01)
>
> Now the weird part: my router paniced:
> ddb> trace
> Debugger(d080ce9c,1,0,60,0) at Debugger+0x4
> comsoft(58,10,10,10,d080ce9c) at comsoft+0xee
> Bad frame pointer: 0xd080ce44
power cycle usually produces a break signal on the serial.
this caused your machine to drop into ddb.
type 'co' (;
> Does this have anything todo with each other?
> I mean a bug in pccom(4) triggered by noise/something when my fileserver
> went down hard?
>
> ddb> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> 583 1 583 0 3 0x4086 ttyin getty
> 13559 1 13559 0 3 0x4086 ttyin getty
> 28309 1 28309 0 3 0x4086 ttyin getty
> 826 1 826 0 3 0x4086 ttyin getty
> 24171 1 24171 0 3 0x4086 ttyin getty
> 32168 1 32168 0 3 0x4086 ttyin getty
> 32497 1 32497 0 3 0x84 select cron
> 6264 1 18061 0 3 0x84 bpf arpwatch
> 22509 1 18061 0 3 0x86 nanosleep perl
> 31394 1 31394 0 3 0x40184 select sendmail
> 24967 1 24967 0 3 0x84 select sshd
> 15257 1 18061 29 3 0x186 poll identd
> 20722 1 20722 71 3 0x184 kqread ftp-proxy
> 28604 1 28604 77 3 0x184 poll dhcpd
> 23160 29982 29982 83 3 0x184 poll ntpd
> 29982 1 29982 0 3 0x84 poll ntpd
> 27989 8487 8487 68 3 0x184 select isakmpd
> 8487 1 8487 0 3 0x84 netio isakmpd
> 19261 20691 20691 70 3 0x184 select named
> 20691 1 20691 0 3 0x184 netio named
> 5924 23581 23581 74 3 0x184 bpf pflogd
> 23581 1 23581 0 3 0x84 netio pflogd
> 7851 8940 8940 73 3 0x184 poll syslogd
> 8940 1 8940 0 3 0x84 netio syslogd
> 16 0 0 0 3 0x100204 crypto_wa crypto
> 15 0 0 0 3 0x100204 aiodoned aiodoned
> 14 0 0 0 3 0x100204 syncer update
> 13 0 0 0 3 0x100204 cleaner cleaner
> 12 0 0 0 3 0x100204 reaper reaper
> 11 0 0 0 3 0x100204 pgdaemon pagedaemon
> 10 0 0 0 3 0x100204 pftm pfpurge
> 9 0 0 0 3 0x100204 timeout sensors
> 8 0 0 0 3 0x100204 usbevt usb3
> 7 0 0 0 3 0x100204 usbevt usb2
> 6 0 0 0 3 0x100204 usbevt usb1
> 5 0 0 0 3 0x100204 usbtsk usbtask
> 4 0 0 0 3 0x100204 usbevt usb0
> 3 0 0 0 3 0x100204 apmev apm0
> 2 0 0 0 3 0x100204 kmalloc kmthread
> 1 0 1 0 3 0x4084 wait init
> 0 -1 0 0 3 0x80204 scheduler swapper
> 20364 15257 18061 29 5 0x2100 identd
>
> dmesg:
> OpenBSD 3.9-current (GENERIC) #658: Sun Mar 26 01:19:02 MST 2006
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: VIA Esther processor 1500MHz ("CentaurHauls" 686-class) 1.50 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2
> cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
> real mem = 1006137344 (982556K)
> avail mem = 911187968 (889832K)
> using 4278 buffers containing 50409472 bytes (49228K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(db) BIOS, date 06/22/06, BIOS32 rev. 0 @ 0xf9360
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 70102 dobusy 1 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xc4f4
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc450/160 (8 entries)
> pcibios0: bad IRQ table checksum
> pcibios0: PCI BIOS has 8 Interrupt Routing table entries
> pcibios0: PCI Exclusive IRQs: 5 10 11
> pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0xfc00 0xd0000/0x8000! 0xd8000/0x1000 0xd9000/0x800
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 vendor "VIA", unknown product 0x0314 rev 0x00
> pchb1 at pci0 dev 0 function 1 vendor "VIA", unknown product 0x1314 rev 0x00
> pchb2 at pci0 dev 0 function 2 vendor "VIA", unknown product 0x2314 rev 0x00
> pchb3 at pci0 dev 0 function 3 "VIA PT890 Host" rev 0x00
> pchb4 at pci0 dev 0 function 4 vendor "VIA", unknown product 0x4314 rev 0x00
> pchb5 at pci0 dev 0 function 7 vendor "VIA", unknown product 0x7314 rev 0x00
> ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 vendor "VIA", unknown product 0x3344 rev 0x01:
> aperture at 0xf4000000, size 0x10000000
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> "VIA VT6306 FireWire" rev 0x80 at pci0 dev 13 function 0 not configured
> vge0 at pci0 dev 14 function 0 "VIA VT612x" rev 0x11: irq 10, address
> 00:40:63:e6:8f:13
> ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2
> pciide0 at pci0 dev 15 function 0 "VIA VT82C571 IDE" rev 0x06: ATA133,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <ST38420A>
> wd0: 16-sector PIO, LBA, 8223MB, 16841664 sectors
> wd1 at pciide0 channel 0 drive 1: <ST38421A>
> wd1: 16-sector PIO, LBA, 8056MB, 16498944 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <, ATAPI CDROM.48X, 180J> SCSI0 5/cdrom
> removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 5
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 5
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 10
> usb3 at ehci0: USB revision 2.0
> uhub3 at usb3
> uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
> uhub3: 6 ports with 6 removable, self powered
> viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
> iic0 at viapm0
> xl0 at pci0 dev 20 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 11,
> address 00:04:76:a1:cc:d1
> bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
> isa0 at mainbus0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lm0 at isa0 port 0x290/8: W83697HF
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask ffe5 netmask ffe5 ttymask ffe7
> pctr: user-level cycle counter enabled
> axe0 at uhub3 port 3 configuration 1 interface 0
> axe0: Cisco-Linksys USB200M v2, rev 2.00/0.01, addr 2, AX88772, address
> 00:10:60:06:10:22
> ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
> 0x000ec6, model 0x0001
> dkcsum: wd0 matches BIOS drive 0x80
> dkcsum: wd1 matches BIOS drive 0x81
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> WARNING: / was not properly unmounted
> pppoe0: phase establish
> pppoe0: phase authenticate
> pppoe0: phase network
>
> Regards,
> ahb
>
--
paranoic mickey (my employers have changed but, the name has remained)