>Category: kernel
>Synopsis: panic on disk probe with VIA VT6421 SATA
>Confidential: no
>Severity: serious
>Priority: medium
>Class: sw-bug
>Environment:
System : OpenBSD 4.6
Details : OpenBSD 4.6 (GENERIC) #43: Thu Jul 9 21:34:21 MDT 2009
[email protected]:
/usr/src/sys/arch/sparc64/compile/GENERIC
Architecture: OpenBSD.sparc64
Machine : sparc64
>Description:
When booting a sparc64 (Ultrasparc II) system with a disk attached
to a VIA VT6421 based SATA controller the system will panic upon probing a
disk attached to said SATA controller.
>How-To-Repeat:
Install a VIA VT6421 based card (e.g., SD-VIA-1A5E1IR) in a sparc64
system (e.g., Ultra 10) and attach a SATA disk to the controller. Boot the
system off another device and the system will panic upon probing the SATA
disk.
>Fix:
None known.
dmesg, panic, ddb trace and ddb ps attached.
dmesg (without wd1):
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.6 (GENERIC) #43: Thu Jul 9 21:34:21 MDT 2009
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1026015232 (978MB)
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:15:26:e1
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
spdmem3 at iic0 addr 0x53: 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 WD1200BB-00RDA0>
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN486S, Y3S2> 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 2
pciide0: channel 1 disabled (no drives)
ppb0 at pci0 dev 5 function 0 "DEC 21152 PCI-PCI" rev 0x03
pci1 at ppb0 bus 1
uhci0 at pci1 dev 2 function 0 "VIA VT83C572 USB" rev 0x62: ivec 0x7d5
uhci1 at pci1 dev 2 function 1 "VIA VT83C572 USB" rev 0x62: ivec 0x7c5
ehci0 at pci1 dev 2 function 2 "VIA VT6202 USB" rev 0x65: ivec 0x7d4
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
pciide1 at pci1 dev 2 function 3 "VIA VT6421 SATA" rev 0x50: DMA
pciide1: using ivec 0x7d5 for native-PCI interrupt
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
machfb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
machfb0: ATY,RageXL, 1600x1200
wsdisplay0 at machfb0 mux 1: console (std, sun emulation)
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "Sun OHCI root hub" rev 1.00/1.00 addr 1
uhub4 at uhub3 port 3 "NEC product 0x005a" rev 2.00/1.00 addr 2
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Trackball"
rev 1.10/14.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons
wsmouse0 at ums0 mux 0
uhidev1 at uhub4 port 2 configuration 1 interface 0 "Sun Microsystems Type 6
Keyboard" rev 1.10/2.00 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes, country code 33
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uplcom0 at uhub3 port 4 "Prolific Technology Inc. USB-Serial Controller D" rev
1.10/3.00 addr 5
ucom0 at uplcom0
softraid0 at root
bootpath: /p...@1f,0/i...@d,0/d...@0,0
root on wd0a swap on wd0b dump on wd0b
panic:
wd1(pciide1:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
data error type 32 sfsr=c517a1 sfva=67df5bfabe3 afsr=8c000000 afva=1fe02001080
tf=0xe0017aa8
panic: data fault: pc=13719ac addr=67df5bfabe3
sfsr=c517a1<VAD,ASI,A,NF,PRIV,NUCLEUS,FV>
kdb breakpoint at 1417700
Stopped at Debugger+0x4: nop
ddb trace:
data_access_error(e0017aa8, 400, 1fe02001080, 8c000000, 67df5bfabe3, c517a1)
at data_access_error+0xd8
trapbase_sun4v(0, 2, 0, 0, 0, ffffffffffffffff) at trapbase_sun4v+0x87a8
pciide_dma_finish(400011da000, 0, 0, 1, 0, 14a0828) at pciide_dma_finish+0x38
wdctimeout(400011da138, 8000000015ed7bb5, 8, 1fe0000f068, 1fe0000f078,
400011da610) at wdctimeout+0x138
softclock(1800, 0, e0017ec8, 1fe0000f068, 114c5e0, 18552f0) at
softclock+0x330
sparc_interrupt(1888ad0, e0018000, 14c8900, 1884ca8, 40009f7f633, 0) at
sparc_interrupt+0x2a0
sched_idle(e0018000, 40009f7e480, 14c8ed0, 1c09d30, 7ffe, 1800) at
sched_idle+0x1e0
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4
ddb ps:
PID PPID PGRP UID S FLAGS WAIT COMMAND
10 0 0 0 3 0x100200 pftm pfpurge
9 0 0 0 3 0x100200 usbevt usb3
8 0 0 0 3 0x100200 usbevt usb2
7 0 0 0 3 0x100200 usbevt usb1
6 0 0 0 3 0x100200 usbtsk usbtask
5 0 0 0 3 0x100200 usbevt usb0
4 0 0 0 3 0x100200 bored syswq
* 3 0 0 0 7 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 0 0 3 0 initexec swapper
0 -1 0 0 3 0x80200 biowait swapper
[demime 1.01d removed an attachment of type application/pgp-signature]