>Number: 6529
>Category: kernel
>Synopsis: Installed fresh on the USB stick, and on first reboot, the
>machine dropped into ddb
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Dec 24 08:20:01 GMT 2010
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
System : OpenBSD 4.8
Details : OpenBSD 4.8-current (GENERIC-IP27) #165: Mon Dec 20
00:51:12 MST 2010
[email protected]:/usr/src/sys/arch/sgi/compile/GENERIC-IP27
Architecture: OpenBSD.sgi
Machine : sgi
>Description:
The system setup is as following:
- Installed from TFTP boot, on the USB stick (sd2)
- root on sd2a
- swap on sd2b
- Installation went fine, then after first reboot:
- boot kernel from TFTP, since its not possible to boot from
USB stick
- wait until the kernel asks for the root disk, enter sd2a
- then it asks for the swap, enter sd2b
- then immediately it dropped to ddb>
- this only happened once after the reboot, a subsequent reboot worked
fine then.
>How-To-Repeat:
- not yet repeated, when it happens again, I'll report back
>Fix:
- try again to reboot, it seem to not always happen
dmesg:
# reboot
syncing disks... done
System restart.
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.8-current (GENERIC-IP27) #165: Mon Dec 20 00:51:12 MST 2010
[email protected]:/usr/src/sys/arch/sgi/compile/GENERIC-IP27
real mem = 1073741824 (1024MB)
rsvd mem = 20463616 (19MB)
avail mem = 1014923264 (967MB)
mainbus0 at root: Origin 3000
cpu0 at mainbus0 nasid 0: MIPS R12000 CPU rev 3.5 400 MHz, R12000 FPU rev 3.5
cpu0: cache L1-I 32KB D 32KB 2 way, L2 8192KB 2 way
clock0 at mainbus0 nasid 0: ticker on int5 using count register
spdmem0 at mainbus0 nasid 0 dimm 0: 512MB DDR SDRAM registered ECC PC1600CL2.5
spdmem1 at mainbus0 nasid 0 dimm 1: 512MB DDR SDRAM registered ECC PC1600CL2.5
spdmem2 at mainbus0 nasid 0 dimm 2: 512MB DDR SDRAM registered ECC PC1600CL2.5
spdmem3 at mainbus0 nasid 0 dimm 3: 512MB DDR SDRAM registered ECC PC1600CL2.5
xbow0 at mainbus0 nasid 0: XXBow revision 2
xbridge0 at xbow0 widget 15: XBridge revision 2
xbpci0 at xbridge0 bus 0: 33 MHz PCI bus
pci0 at xbpci0 bus 0
isp0 at pci0 dev 1 function 0 "QLogic ISP2200" rev 0x05: irq 1, xbow irq 62
isp0: board type 2200 rev 0x5, loaded firmware rev 2.2.6
scsibus0 at isp0: 512 targets, WWPN 210000e08b000000, WWNN 200000e08b000000
sd0 at scsibus0 targ 0 lun 0: <IBM, DRVL18L CLAR18, SG03> SCSI2 0/direct fixed
sd0: 17356MB, 512 bytes/sec, 35546876 sec total
sd1 at scsibus0 targ 1 lun 0: <IBM, DRVL18L CLAR18, SG03> SCSI2 0/direct fixed
sd1: 17356MB, 512 bytes/sec, 35546876 sec total
ioc0 at pci0 dev 4 function 0 "SGI IOC3" rev 0x01
onewire0 at ioc0
ioc0: ethernet irq 4, xbow irq 61
ioc0: superio irq 0, xbow irq 60
com0 at ioc0 base 0x20178: ns16550a, 16 byte fifo
com0: console
iec0 at ioc0: 128KB SSRAM, address 08:00:69:11:ca:be
nsphyter0 at iec0 phy 1: DP83843 10/100 PHY, rev. 0
dsrtc0 at ioc0: DS1742W
ohci0 at pci0 dev 5 function 0 "AT&T/Lucent USB 2-port" rev 0x10: irq 5, xbow ir
q 59, version 1.0, legacy support
"TI TSB12LV22 FireWire" rev 0x01 at pci0 dev 6 function 0 not configured
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "AT&T/Lucent OHCI root hub" rev 1.00/1.00 addr 1
xbridge1 at xbow0 widget 14: XBridge revision 2
xbpci1 at xbridge1 bus 0: 66 MHz PCI bus
pci1 at xbpci1 bus 0
/dev/ksyms: Symbol table not valid.
umass0 at uhub0 port 2 configuration 1 interface 0 "memory USB2.0" rev 2.00/2.00
addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd2 at scsibus1 targ 1 lun 0: <memory, USB2.0, 1.00> SCSI2 0/direct removable
sd2: 3931MB, 512 bytes/sec, 8051200 sec total
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
boot device: 'sd2a' unrecognized.
root device: sd2a
swap device (default sd2b):
root on sd2a swap on sd2b dump on sd2b
usb_transfer_complete: xfer=0xc0000000000f1600 not busy 0x42555359
panic: cannot read disk label, 0x20/0x922, error 5
Stopped at 0xa800000000458ff4: jr ra
0xa800000000458ff8: nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
0xa800000000458ff0 (0,0,9200000001000098,d) ra 0xa8000000001739f4 sp 0xa800000
000633cc0, sz 0
0xa800000000173900 (0,0,9200000001000098,d) ra 0x0 sp 0xa800000000633cc0, sz 0
User-level: pid 0
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
7 0 0 0 3 0x100200 bored crypto
6 0 0 0 3 0x100200 pftm pfpurge
5 0 0 0 3 0x100200 usbtsk usbtask
4 0 0 0 3 0x100200 usbatsk usbatsk
3 0 0 0 3 0x100200 bored syswq
2 0 0 0 3 0x40100200 idle0
1 0 0 0 3 0 initexec swapper
* 0 -1 0 0 7 0x80200 swapper
ddb> boot reboot
>Release-Note:
>Audit-Trail:
>Unformatted: