Hello list, Today I installed OpenBSD 4.9 onto my machine and I came into a strange problem - when the network cable is plugged into 1 of network cards it boots into ddb. When I switch cable to other card - it boots fine. I tried to change the problematic card (tried out 3 different cards) and then boot with cable plugged into the new one card - the problem still persist. But when machine boots up (if cable is plugged out) and I plug the cable into the problematic card, it works fine. I can ping, and reach any network machine, but if I try to halt with the cable still plugged in I end up in ddb again. I also tried to change irq in the bios, but nothing helped. I also tried to boot into bsd, not bsd.mp, but it didn't help either. So I have no ideas what can I do to make my machine work. Please help :) Here is the info from the machine (trace, ps and dmesg).
Stopped at bus_space_write_2+0x28: popl %ebp ddb{1}>trace bus_space_write_2(0,1000,8,c04,d020343a) at bus_space_write_2+0x28 vr_stop(d1255000,d12d6700,d7a1bc9c,d0a33680,100) at vr_stop+0xc1 vr_init(d1255000,0,70,2,d052f53f) at vr_init+0x24 vr_ioctl(d1255034,8020690c,d12d6000,0,80) at vr_ioctl+0x123 in_ifinit(d1255034,d12d6000,d7a1be94,0,1) at in_ifinit+0x86 in_control(d5357000,8040691a,d7a1be84,d1255034,d1255034) at in_control+0x59a ifioctl(d5357000,8040691a,d7a1be84,d539a76c,0) at ifioctl+0x216 sys_ioctl(d539a76c,d7a1bf64,d7a1bf84,d7a1bfa8,d539a76c) at sys_ioctl+0x1b8 syscall() at syscall+0x332 --- syscall (number 12) --- 0x2: ddb{1}>ps PID PPID PGRP UID S FLAGS WAIT COMMAND *15398 18148 18148 0 7 0x2004000 iconfig 18148 1 18148 0 3 0x2004080 pause sh 16 0 0 0 3 0x2100200 aiodoned aiodoned 15 0 0 0 3 0x2100200 syncer update 14 0 0 0 3 0x2100200 cleaner cleaner 13 0 0 0 3 0x100200 reaper reaper 12 0 0 0 3 0x2100200 pgdaemon pagedaemon 11 0 0 0 3 0x2100200 bored crypto 10 0 0 0 3 0x2100200 pftm pfpurge 9 0 0 0 3 0x2100200 usbtsk usbtask 8 0 0 0 3 0x2100200 usbatsk usbatsk 7 0 0 0 3 0x2100200 bored intelrel 6 0 0 0 3 0x2100200 acpi0 acpi0 5 0 0 0 3 0x40100200 idle1 4 0 0 0 3 0x2100200 bored syswq 3 0 0 0 7 0x40100200 idle0 2 0 0 0 3 0x2100200 kmalloc kmthread 1 0 1 0 3 0x2004080 wait init 0 -1 0 0 3 0x2080200 scheduler swapper #dmesg OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF ,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR real mem = 259416064 (247MB) avail mem = 245018624 (233MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/18/05, BIOS32 rev. 0 @ 0xeb660, SMBIOS rev. 2.4 @ 0xeeb40 (57 entries) bios0: vendor Hewlett-Packard version "786D1 v01.03" date 05/18/2005 bios0: Hewlett-Packard HP Compaq dc7600 Ultra-slim Desktop acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC ASF! MCFG acpi0: wakeup devices PCI0(S4) PEG1(S4) PCX1(S4) PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S1) USB2(S1) USB 3(S1) USB4(S1) EUSB(S1) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF ,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf0000000, bus 0-64 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG1) acpiprt2 at acpi0: bus 32 (PCX1) acpiprt3 at acpi0: bus 63 (PCX2) acpiprt4 at acpi0: bus -1 (PCX5) acpiprt5 at acpi0: bus -1 (PCX6) acpiprt6 at acpi0: bus 5 (HUB_) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PBTN bios0: ROM list: 0xc0000/0xaa00! 0xcaa00/0x1000 0xcba00/0x1800 0xe8c00/0x7400! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: apic 1 int 21 (irq 255) azalia0: codecs: Realtek ALC260 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01 pci1 at ppb0 bus 32 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 1 int 21 (irq 11) pci2 at ppb1 bus 63 bge0 at pci2 dev 0 function 0 "Broadcom BCM5752" rev 0x01, BCM5752 A1 (0x6001): apic 1 int 17 (irq 11), address 00:16:35:5f: bb:6c brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 1 int 20 (irq 255) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 1 int 18 (irq 255) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 1 int 21 (irq 255) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 1 int 22 (irq 255) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 1 int 20 (irq 255) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci3 at ppb2 bus 5 vr0 at pci3 dev 9 function 0 "VIA VT6105 RhineIII" rev 0x86: apic 1 int 18 (irq 10), address 00:e0:42:97:ff:fa ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x004063, model 0x0034 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 config ured to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configur ed to native-PCI pciide1: using apic 1 int 19 (irq 5) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST3500320AS> wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 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 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 arp: attempt to add entry for 192.168.1.2 on vr0 by 00:27:0e:30:13:41 on bge0 syncing disks... done r OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF ,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR real mem = 259416064 (247MB) avail mem = 245018624 (233MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/18/05, BIOS32 rev. 0 @ 0xeb660, SMBIOS rev. 2.4 @ 0xeeb40 (57 entries) bios0: vendor Hewlett-Packard version "786D1 v01.03" date 05/18/2005 bios0: Hewlett-Packard HP Compaq dc7600 Ultra-slim Desktop acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC ASF! MCFG acpi0: wakeup devices PCI0(S4) PEG1(S4) PCX1(S4) PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S1) USB2(S1) USB 3(S1) USB4(S1) EUSB(S1) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF ,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf0000000, bus 0-64 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG1) acpiprt2 at acpi0: bus 32 (PCX1) acpiprt3 at acpi0: bus 63 (PCX2) acpiprt4 at acpi0: bus -1 (PCX5) acpiprt5 at acpi0: bus -1 (PCX6) acpiprt6 at acpi0: bus 5 (HUB_) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PBTN bios0: ROM list: 0xc0000/0xaa00! 0xcaa00/0x1000 0xcba00/0x1800 0xe8c00/0x7400! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: apic 1 int 21 (irq 255) azalia0: codecs: Realtek ALC260 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01 pci1 at ppb0 bus 32 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 1 int 21 (irq 11) pci2 at ppb1 bus 63 bge0 at pci2 dev 0 function 0 "Broadcom BCM5752" rev 0x01, BCM5752 A1 (0x6001): apic 1 int 17 (irq 11), address 00:16:35:5f: bb:6c brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 1 int 20 (irq 255) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 1 int 18 (irq 255) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 1 int 21 (irq 255) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 1 int 22 (irq 255) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 1 int 20 (irq 255) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci3 at ppb2 bus 5 vr0 at pci3 dev 9 function 0 "VIA VT6105 RhineIII" rev 0x86: apic 1 int 18 (irq 10), address 00:e0:42:97:ff:fa ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x004063, model 0x0034 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 config ured to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configur ed to native-PCI pciide1: using apic 1 int 19 (irq 5) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST3500320AS> wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 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 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b