[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scsi crash

The following command reproducibly crashes my sparc64 box:

  # scsi -f /dev/rsd1c -c "12 0 0 0 64 0" -i -64 "s8 z8 z16 z4"

I am having trouble tracing the problem though.  ddb below.

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2004 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.6-current (GENERIC) #1: Fri Sep 24 17:11:12 EST 2004
total memory = 603979776
avail memory = 540778496
using 3686 buffers containing 30195712 bytes of memory
bootpath: /sbus_(_at_)_1f,0/espdma_(_at_)_e,8400000/esp_(_at_)_e,8800000/sd_(_at_)_0,0
mainbus0 (root): Sun Ultra 1 SBus (UltraSPARC 143MHz)
cpu0 at mainbus0: SUNW,UltraSPARC @ 142.986 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
timer0 at mainbus0 addr 0xfffc7c00 irq vectors 7f0 and 7f1
sbus0 at mainbus0 addr 0xfffcc000: clock = 25 MHz
STC0 on /mainbus enabled
DVMA map: ff800000 to ffffe000
IOTDB: 1b2000 to 1b4000
audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13
audio0 at audiocs0
auxio0 at sbus0 slot 15 offset 0x1900000
flashprom at sbus0 slot 15 offset 0x0 not configured
SUNW,fdtwo at sbus0 class block slot 15 offset 0x1400000 vector 29 ipl 11 not configured
clock1 at sbus0 slot 15 offset 0x1200000: mk48t59: hostid 8085e31c
zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
zskbd0 at zs1 channel 0: layout 34
wskbd0 at zskbd0: console keyboard
zstty2 at zs1 channel 1, mouse
uperf0 at sbus0 slot 15 offset 0x1300000: model SUNW,sc-up (0/0) ports 3
SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
dma0 at sbus0 slot 14 offset 0x8400000: dma rev 2
esp0 at dma0 slot 14 offset 0x8800000 vector 20 ipl 3: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <IBM, DORS32160SUN2.1G, WA7A> SCSI2 0/direct fixed
sd0: 2063MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sec, 4226725 sec total
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST32550W SUN2.1G, 0414> SCSI2 0/direct fixed
sd1: 2048MB, 3511 cyl, 11 head, 108 sec, 512 bytes/sec, 4194995 sec total
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM-5401TASUN4XCD, 1036> SCSI2 5/cdrom removable
ledma0 at sbus0 slot 14 offset 0x8400010: dma rev 2
le0 at ledma0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:85:e3:1c
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2 not configured
dma1 at sbus0 slot 0 offset 0x81000: dma rev esc
esp1 at dma1 slot 0 offset 0x80000 vector 3 ipl 3: ESP200, 40MHz, SCSI ID 7
scsibus1 at esp1: 8 targets
lebuffer0 at sbus0 slot 0 offset 0x40000: 128K memory
le1 at lebuffer0 slot 0 offset 0x60000 vector 4 ipl 6: address 08:00:20:85:e3:1c
le1: 64 receive buffers, 16 transmit buffers
SUNW,rtvc at sbus0 slot 1 offset 0x0 vector 5 ipl 2 not configured
cgsix0 at sbus0 slot 2 offset 0x0 vector 5 ipl 5
wsdisplay0 at cgsix0: console (std, sun emulation), using wskbd0
pcons at mainbus0 not configured
root on sd0a
rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
sd0(esp0:0:0): Check Condition (error 0x70) on opcode 0x28
    SENSE KEY: Aborted Command
     ASC/ASCQ: SCSI Parity Error
le0: lost carrier on UTP port, switching to AUI port
le0: lost carrier on AUI port, switching to UTP port
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 40

panic: todo < 0; minphys broken
kdb breakpoint at 12d8760
Stopped at      Debugger+0x4:   nop
ddb> tr
physio(0, 25a7e10, 1112, 25a7f10, 10c8660, 25a7ee0) at physio+0x2e8
scsi_do_ioctl(247bac0, 1112, c0785101, 1ad7bc70, 25a7f20, 25a7e00) at scsi_do_ioctl+ctl+0x190
spec_ioctl(1ad7ba00, 0, ffffffffffff13f0, ffffffffffffffc0, 0, 0) at spec_ioctl+0x6c
spec_vnoperate(1ad7ba00, ffffffffffff1638, 20, 400, 400, e) at spec_vnoperate+0x24
VOP_IOCTL(bda83f0, c0785101, 1ad7bc70, 3, c104410, bf8ddd0) at VOP_IOCTL+0x40
sys_ioctl(0, 1ad7bdd0, 1ad7bdc0, 0, 0, 180b3d0) at sys_ioctl+0x10c
syscall(1ad7bed0, 36, 104808, 10480c, 0, 50) at syscall+0x280
softtrap(3, c0785101, 72c000, 3228f8, ffffffffffff13f0, 6) at softtrap+0x184