Ok, here you go ( hurra for machines with serial consoles :-)
ok boot -s
Boot device: /p...@1f,0/i...@d/d...@0,0 File and args: -s
OpenBSD IEEE 1275 Bootblock 1.3
..>> OpenBSD BOOT 1.3
Trying bsd...
Booting /p...@1f,0/i...@d/d...@0,0:a/bsd
6372...@0x1000000+616@0x1613d98+190...@0x1800000+4004176@0x182e6b0
symbols @ 0xfef5e2c0 81+390912+244649 start=0x1000000
[ using 636360 bytes of bsd ELF symbol table ]
console is /p...@1f,0/i...@7/ser...@0,3f8
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.7 (GENERIC) #258: Wed Mar 17 23:40:34 MDT 2010
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 805306368 (768MB)
avail mem = 768499712 (732MB)
mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64
b/l)
psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
psycho0: bus range 0-1, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus1 addr 0-ffff ivec 0x2a not configured
power0 at ebus1 addr 800-82f ivec 0x20
com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com0: console
com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6, address
00:03:ba:08:46:e8
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x0010dd, model 0x0002
"Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured
ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version 1.0,
legacy support
alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz
clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
"scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x50: 256MB SDRAM ECC PC133CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM ECC PC133CL2
spdmem2 at iic0 addr 0x52: 256MB SDRAM ECC PC133CL2
autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec 0x7e3
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD200BB-60DGA0>
wd0: 16-sector PIO, LBA, 9541MB, 19541088 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ATAPI, DVD A DH20A4H, QP59> ATAPI 5/cdrom
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
ppb0 at pci0 dev 5 function 0 "DEC 21152 PCI-PCI" rev 0x03
pci1 at ppb0 bus 1
ral0 at pci1 dev 1 function 0 "Ralink RT2560" rev 0x01: ivec 0x7ca, address
00:11:50:a8:c8:a2
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
cbb0 at pci1 dev 2 function 0 "Ricoh 5C475 CardBus" rev 0x80: ivec 0x7d5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
machfb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
machfb0: ATY,RageXL, 1280x1024
wsdisplay0 at machfb0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
bootpath: /p...@1f,0/i...@d,0/d...@0,0
root on wd0a swap on wd0b dump on wd0b
WARNING: clock gained 2 days -- CHECK AND RESET THE DATE!
Enter pathname of shell or RETURN for sh:
#
# pcidump -v -xx 1:2:0
1:2:0: Ricoh 5C475 CardBus
0x0000: Vendor ID: 1180 Product ID: 0475
0x0004: Command: 0047 Status ID: 0210
0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 80
0x000c: BIST: 00 Header Type: 02 Latency Timer: 40 Cache Line Size:
00
0x0010: Cardbus Control Registers Base Address: 03002000
0x0018: Primary Bus: 0 Cardbus Bus: 2 Subordinate Bus: 0
Cardbus Latency Timer: 20
0x001c: Memory Base 0: fffff000
0x0020: Memory Limit 0: 00000000
0x0024: Memory Base 1: fffff000
0x0028: Memory Limit 1: 00000000
0x002c: I/O Base 0: fffffffc
0x0030: I/O Limit 0: 00000000
0x0034: I/O Base 1: fffffffc
0x0038: I/O Limit 1: 00000000
0x003c: Interrupt Pin: 01 Line: 00 Bridge Control: 07c0
0x0040: Subsystem Vendor ID: 14ef Product ID: 0101
0x0044: 16-bit Legacy Mode Base Address: 00000001
0x00dc: Capability 0x01: Power Management
0x0000: 04751180 02100047 06070080 00024000
0x0010: 03002000 020000dc 20000200 fffff000
0x0020: 00000000 fffff000 00000000 fffffffc
0x0030: 00000000 fffffffc 00000000 07c00100
0x0040: 010114ef 00000001 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000001 00000000 04630463 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 010114ef 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 fe0a0001
0x00e0: 24c04000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
#
<inserted card here>
# data error type 32 sfsr=0 sfva=4fdcc010 afsr=88000000 afva=1fe01020000
tf=0x4000f9c9800
panic: data fault: pc=1408748 addr=4fdcc010 sfsr=0
kdb breakpoint at 1442b20
Stopped at Debugger+0x4: 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
data_access_error(4000f9c9800, 400, 1fe01020000, 88000000, 4fdcc010, 0) at
data
_access_error+0xd8
trapbase_sun4v(0, 20000, 0, 1531180, 1, e0018040) at trapbase_sun4v+0x87a8
pci_conf_read(ffffffffffffffff, 0, 0, 0, 1800, 1800) at pci_conf_read+0x28
cardbus_attach_card(0, 40009776000, 0, 1515000, 0, 40000e195a0) at
cardbus_atta
ch_card+0xc0
cardslot_event(1400, 40000e3fc80, 18bba00, 1886f88, 0, 0) at
cardslot_event+0x2
00
workq_thread(180ff28, 400097be6c0, 1515b20, 1513fb8, 1, e0018040) at
workq_thre
ad+0x28
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
26645 1 26645 0 3 0x4082 ttyin sh
13 0 0 0 3 0x100200 bored crypto
12 0 0 0 3 0x100200 aiodoned aiodoned
11 0 0 0 3 0x100200 syncer update
10 0 0 0 3 0x100200 cleaner cleaner
9 0 0 0 3 0x100200 reaper reaper
8 0 0 0 3 0x100200 pgdaemon pagedaemon
7 0 0 0 3 0x100200 pftm pfpurge
6 0 0 0 3 0x100200 usbtsk usbtask
5 0 0 0 3 0x100200 usbevt usb0
* 4 0 0 0 7 0x100200 syswq
3 0 0 0 3 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x4080 wait init
0 -1 0 0 3 0x80200 scheduler swapper
ddb>
/Pete
On 25. aug. 2010, at 20.22, Bret S. Lambert wrote:
> On Wed, Aug 25, 2010 at 08:12:34PM +0200, Pete Vickers wrote:
>> I have a SunBlade100 running 4.7RELEASE which I stuck a PCI/Cardbus
adapter
>> in; and it appears to be recognised in dmesg:
>>
>> . . .
>> cbb0 at pci1 dev 2 function 0 "Ricoh 5C475 CardBus" rev 0x80: ivec 0x7d5
>> cardslot0 at cbb0 slot 0 flags 0
>> cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
>> pcmcia0 at cardslot0
>> . . .
>>
>> (full dmesg at foot)
>>
>>
>> However whenever I insert a card into the adapter the machine panics. The
same
>> happen if I insert the card before boot, whereupon it panics midway
through
>> booting. I have tried various WLAN and GPRS cards.
>>
>> Before I go collecting ddb> trace/ps is this the expected behaviour ( e.g.
a
>> known endien issue or suchlike) ?
>
> I'm gonna say "not".
>
> Trace/ps would give me something to do while I ignore packing my apartment.
>
>>
>> BTW, I notice that PR3871 addressed the adapter itself (at least in i386).
>>
>>
>>
>> /Pete
>>
>>
>>
>> full dmesg:
>>
>> console is keyboard/display
>> 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.7 (GENERIC) #258: Wed Mar 17 23:40:34 MDT 2010
>> [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
>> real mem = 805306368 (768MB)
>> avail mem = 767369216 (731MB)
>> mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe)
>> cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz
>> cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external
(64
>> b/l)
>> psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
>> psycho0: bus range 0-1, PCI bus 0
>> psycho0: dvma map c0000000-dfffffff
>> pci0 at psycho0
>> ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01
>> "flashprom" at ebus0 addr 0-fffff not configured
>> clock1 at ebus0 addr 0-1fff: mk48t59
>> ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
>> "dma" at ebus1 addr 0-ffff ivec 0x2a not configured
>> power0 at ebus1 addr 800-82f ivec 0x20
>> com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
>> com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
>> gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6,
address
>> 00:03:ba:08:46:e8
>> ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
>> 0x0010dd, model 0x0002
>> "Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured
>> ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version
1.0,
>> legacy support
>> alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz
>> clock
>> iic0 at alipm0
>> "max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
>> "scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs
>> spdmem0 at iic0 addr 0x50: 256MB SDRAM ECC PC133CL2
>> spdmem1 at iic0 addr 0x51: 256MB SDRAM ECC PC133CL2
>> spdmem2 at iic0 addr 0x52: 256MB SDRAM ECC PC133CL2
>> autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec
0x7e3
>> ac97: codec id 0x41445348 (Analog Devices AD1881A)
>> ac97: codec features headphone, Analog Devices Phat Stereo
>> audio0 at autri0
>> midi0 at autri0: <4DWAVE MIDI UART>
>> pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3:
DMA,
>> channel 0 configured to native-PCI, channel 1 configured to native-PCI
>> pciide0: using ivec 0x7cc for native-PCI interrupt
>> wd0 at pciide0 channel 0 drive 0: <WDC WD200BB-60DGA0>
>> wd0: 16-sector PIO, LBA, 9541MB, 19541088 sectors
>> atapiscsi0 at pciide0 channel 0 drive 1
>> scsibus0 at atapiscsi0: 2 targets
>> cd0 at scsibus0 targ 0 lun 0: <ATAPI, DVD A DH20A4H, QP59> ATAPI 5/cdrom
>> removable
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
>> pciide0: channel 1 disabled (no drives)
>> ppb0 at pci0 dev 5 function 0 "DEC 21152 PCI-PCI" rev 0x03
>> pci1 at ppb0 bus 1
>> ral0 at pci1 dev 1 function 0 "Ralink RT2560" rev 0x01: ivec 0x7ca,
address
>> 00:11:50:a8:c8:a2
>> ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
>> cbb0 at pci1 dev 2 function 0 "Ricoh 5C475 CardBus" rev 0x80: ivec 0x7d5
>> cardslot0 at cbb0 slot 0 flags 0
>> cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
>> pcmcia0 at cardslot0
>> machfb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
>> machfb0: ATY,RageXL, 1280x1024
>> wsdisplay0 at machfb0 mux 1: console (std, sun emulation)
>> usb0 at ohci0: USB revision 1.0
>> uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
>> uhidev0 at uhub0 port 2 configuration 1 interface 0 "Sun Microsystems Type
6
>> Keyboard" rev 1.00/1.01 addr 2
>> uhidev0: iclass 3/1
>> ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 19
>> wskbd0 at ukbd0: console keyboard, using wsdisplay0
>> uhidev1 at uhub0 port 4 configuration 1 interface 0 "Sun Microsystems Type
6
>> Mouse" rev 1.00/1.02 addr 3
>> uhidev1: iclass 3/1
>> ums0 at uhidev1: 3 buttons
>> wsmouse0 at ums0 mux 0
>> vscsi0 at root
>> scsibus1 at vscsi0: 256 targets
>> softraid0 at root
>> bootpath: /p...@1f,0/i...@d,0/d...@0,0
>> root on wd0a swap on wd0b dump on wd0b