On Fri, 3 Jun 2011, Dave Anderson wrote: >On Fri, 3 Jun 2011, Kenneth R Westerback wrote: > >>On Fri, Jun 03, 2011 at 01:09:47PM -0400, Dave Anderson wrote: >>> While gathering notebook dmesgs I encountered this panic during boot (at >>> a Best Buy, on a demo system labelled Toshiba r835-p50x, booting from >>> a USB stick loaded with an i386 snapshot dated 5/24). The root device >>> DUID shown is correct. >>> >>> panic: root device (e0166bb8f33fc15d) not found >>> stopped at Debugger_0x4: popl %ebp >>> >>> [trace] >>> Debugger(d08e2194.d0ba9d54.d08bf2f0.d0ba9d54.15c6a) at Debugger+0x4 >>> panic(d08bf2f0.e0.16.6b.b8) at panic+0x5d >>> setroot(d3a99800.0.4000.d0ba9e94.0) at setroot+0xa05 >>> diskconf(d08b73d7.0.d08bd109.0,0) at diskconf+0x12e >>> main(d02004ba.d02004c2.0.0.0) at main+0x570 >>> >>> [ps] >>> PID PPID PGRP UID S FLAGS WAIT COMMAND >>> 9 0 0 0 3 0x100200 bored crypto >>> 8 0 0 0 3 0x100200 pftm pfpurge >>> 7 0 0 0 3 0x100200 usbtsk usbtask >>> 6 0 0 0 3 0x100200 usbatsk usbatsk >>> 5 0 0 0 3 0x100200 acpi0 acpi0 >>> 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 0 0 3 0 initexec swapper >>> * 0 -1 0 0 7 0x80200 swapper >>> >>> [All of the above was hand-copied from the screen, so there may be >>> typos.] >>> >>> I hope that this is enough information to enable someone to track down >>> the problem. If more is needed, let me know what it is and I'll try to >>> get it. >>> >>> Dave >>> >>> -- >>> Dave Anderson >>> <d...@daveanderson.com> >> >>The dmesg is needed. This looks like the disk/usb stick is not being >>found by the OS. > >I was afraid of that. > >Dealing with the first apparent problem, that most of the dmesg scrolls >off the screen, looks to be easy; a quick look at the source reveals >that ddb has an apparently undocumented 'dmesg' command. > >Actually capturing the dmesg looks to be harder; given that this is a >store demo system to which I have very limited access I'm not sure I've >got any better way than hand-writing it all. I've got a couple of ideas >for easier ways to try, but it will take a few days. Are there any >parts of the dmesg that are known to be unnecessary for this purpose, so >I can avoid the work of copying them if I have to fall back to writing >everything down and retyping it? > >Now that I've had time to think about this a bit, I'd guess that the >problem is some new USB controller that OpenBSD doesn't yet understand. >If so, am I correct that all that's really needed is the vendor ID and >device ID of the controller? I'll check for this first, now that I know >how to view the whole dmesg after the panic. > >FWIW this stick boots just fine on lots of other systems, both before >and after this problem system.
I got a chance to poke at this system again today, and found a USB port from which I could boot. The offending device appears to be '"NEC PCIE-XHCI" rev 0x04 at pci4 dev 0 function 0 not configured'. I also found another system (labelled Dell Inspiron 17r-6457dbk) which exhibits a similar problem but again was able to find a working USB port; this appears to use the same new device: '"NEC PCIE-XHCI" rev 0x04 at pci2 dev 0 function 0 not configured'. I'm sending both dmesgs to dm...@openbsd.org and also including them here in case that's useful. Dave OpenBSD 4.9-current (GENERIC) #3: Mon May 23 21:40:58 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz ("GenuineIntel" 686-class) 2.10 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX real mem = 2853560320 (2721MB) avail mem = 2796097536 (2666MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/04/11, SMBIOS rev. 2.5 @ 0xaaefe000 (43 entries) bios0: vendor TOSHIBA version "Version 2.10" date 03/04/2011 bios0: TOSHIBA PORTEGE R835 acpi0 at bios0: rev 0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! BOOT SLIC SSDT SSDT SSDT SSDT acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 99MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEGP) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP02) acpiprt4 at acpi0: bus 4 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus 5 (RP05) acpiprt7 at acpi0: bus 6 (RP06) acpiprt8 at acpi0: bus 7 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (PCIB) acpicpu0 at acpi0: C3, C1, PSS acpipwrres0 at acpi0: PDOC acpitz0 at acpi0: critical temperature 102 degC acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID_ acpibat0 at acpi0: BAT1 model "G71C000BE710" serial 0000002275 type Li-ION oem "0" acpidock0 at acpi0: DOCK not docked (0) acpivideo0 at acpi0: VGA_ acpivideo1 at acpi0: GFX0 acpivout0 at acpivideo1: DD02 bios0: ROM list: 0xc0000/0xee00 0xcf000/0x1000 0xe0000/0x10000! cpu0: Enhanced SpeedStep 2096 MHz: speeds: 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 vga1 at pci0 dev 2 function 0 "Intel GT2 Video" rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp at vga1 not configured "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured em0 at pci0 dev 25 function 0 "Intel 82579V" rev 0x04: apic 2 int 20, address e8:9d:87:24:5b:1f ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: apic 2 int 22 azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 16 pci1 at ppb0 bus 1 vendor "Ricoh", unknown product 0xe823 (class system subclass miscellaneous, rev 0x04) at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 17 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 18 pci3 at ppb2 bus 4 iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6250" rev 0x5f: apic 2 int 18, MIMO 1T2R, MoW, address 00:23:15:b4:f0:00 ppb3 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 16 pci4 at ppb3 bus 5 "NEC PCIE-XHCI" rev 0x04 at pci4 dev 0 function 0 not configured ppb4 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb4: apic 2 int 17 pci5 at ppb4 bus 6 ppb5 at pci0 dev 28 function 6 "Intel 82801BAM Hub-to-PCI" rev 0xb4: apic 2 int 18 pci6 at ppb5 bus 7 ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: apic 2 int 19, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, Hitachi HTS54756, JEDO> SCSI3 0/direct fixed naa.5000cca643c0dad8 sd0: 610480MB, 512 bytes/sec, 1250263728 sec total cd0 at scsibus0 targ 2 lun 0: <MATSHITA, DVD-RAM UJ8A2ES, 1.20> ATAPI 5/cdrom removable isa0 at pcib0 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 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 uhub2 at uhub0 port 1 "Intel product 0x0024" rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 "Intel product 0x0024" rev 2.00/0.00 addr 2 umass0 at uhub3 port 2 configuration 1 interface 0 "HP v125w" rev 2.00/40.96 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <hp, v125w, 4096> SCSI0 0/direct removable serial.03f03307104A00000902 sd1: 3864MB, 512 bytes/sec, 7913472 sec total ugen0 at uhub3 port 6 "Intel(R) Corporation Intel(R) Centrino(R) Advanced-N + WiMAX 6250" rev 2.00/0.00 addr 4 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root root on sd1a (e0166bb8f33fc15d.a) swap on sd1b dump on sd1b OpenBSD 4.9-current (GENERIC) #3: Mon May 23 21:40:58 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz ("GenuineIntel" 686-class) 2.30 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX real mem = 3133259776 (2988MB) avail mem = 3071229952 (2928MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/25/11, BIOS32 rev. 0 @ 0xfc000, SMBIOS rev. 2.6 @ 0xf94b0 (69 entries) bios0: vendor Dell Inc. version "A04" date 03/25/2011 bios0: Dell Inc. Dell System Inspiron N7110 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC BOOT SSDT ASF! HPET APIC MCFG SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices P0P1(S4) EHC1(S0) EHC2(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S3) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PEG0(S4) PEGP(S4) LID0(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 99MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus 2 (RP03) acpiprt5 at acpi0: bus 3 (RP05) acpiprt6 at acpi0: bus 4 (RP06) acpiprt7 at acpi0: bus -1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 100 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 not present acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 bios0: ROM list: 0xc0000/0xf000 0xcf000/0x1000 cpu0: Enhanced SpeedStep 2293 MHz: speeds: 2301, 2300, 1800, 1600, 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 vga1 at pci0 dev 2 function 0 "Intel GT2 Video" rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp at vga1 not configured "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: apic 2 int 22 azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: apic 2 int 16 pci1 at ppb0 bus 1 iwn0 at pci1 dev 0 function 0 "Intel WiFi Link 1030" rev 0x34: apic 2 int 16, MIMO 1T2R, BGN, address bc:77:37:67:5a:bb ppb1 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: apic 2 int 18 pci2 at ppb1 bus 2 "NEC PCIE-XHCI" rev 0x04 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb5: apic 2 int 16 pci3 at ppb2 bus 3 re0 at pci3 dev 0 function 0 "Realtek 8101E" rev 0x05: RTL8105E (0x4080), apic 2 int 16, address 14:fe:b5:a3:fa:b7 ukphy0 at re0 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI 0x000732, model 0x0008 ppb3 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: apic 2 int 17 pci4 at ppb3 bus 4 ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel HM67 LPC" rev 0x05 ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: apic 2 int 19, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD6400BPVT-7, 01.0> SCSI3 0/direct fixed naa.50014ee6abc58781 sd0: 610480MB, 512 bytes/sec, 1250263728 sec total cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVD+-RW GT32N, A202> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 2 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM isa0 at pcib0 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 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 uhub2 at uhub0 port 1 "Intel product 0x0024" rev 2.00/0.00 addr 2 umass0 at uhub2 port 1 configuration 1 interface 0 "Generic USB2.0-CRW" rev 2.00/38.82 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0 0/direct removable serial.0bda0138516388200000 uvideo0 at uhub2 port 4 configuration 1 interface 0 "CKFA156F3020300045B0 Laptop_Integrated_Webcam_HD" rev 2.00/29.55 addr 4 video0 at uvideo0 uhub3 at uhub1 port 1 "Intel product 0x0024" rev 2.00/0.00 addr 2 umass1 at uhub3 port 3 configuration 1 interface 0 "HP v125w" rev 2.00/40.96 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd2 at scsibus2 targ 1 lun 0: <hp, v125w, 4096> SCSI0 0/direct removable serial.03f03307104A00000902 sd2: 3864MB, 512 bytes/sec, 7913472 sec total ugen0 at uhub3 port 5 "Intel product 0x0189" rev 2.00/69.19 addr 4 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root root on sd2a (e0166bb8f33fc15d.a) swap on sd2b dump on sd2b -- Dave Anderson <d...@daveanderson.com>