Subject: kern/21478: mpt driver freezes the system
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pierre.bourgin@pcotech.fr>
List: netbsd-bugs
Date: 05/06/2003 07:40:45
>Number:         21478
>Category:       kern
>Synopsis:       mpt driver freezes the system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 06 07:41:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Bourgin
>Release:        NetBSD 1.6R (2003-05-03)
>Organization:
PCO Technologies
>Environment:
NetBSD 1.6R NetBSD 1.6R (DSK_INSTALL) #0: Mon May 5 16:00:02 MEST 2003 root@grog:/home/2003-05-03/src/sys/arch/i386/compile/DSK_INSTALL i386
>Description:
unable to use scsi harddrives (sd*) present on the scsibus provided by a mpt driver (scsi card LSI Logic 53c1030 Ultra320 SCSI).

After a few seconds of use (read or write with dd), the system seems to be frozen (unable to get control), and the kernel ouputs:

--------<kernel_output>---------------------------------------------
sd0(mpt1:0:1:0): command timeout
mpt1: recoreved from command timeout
sd0(mpt1:0:1:0): QUEUE FULL resulted in 0 openings
sd0(mpt1:0:1:0): command timeout
mpt1: recoreved from command timeout
sd0(mpt1:0:1:0): command timeout
mpt1: recoreved from command timeout
.....
--------</kernel_output>---------------------------------------------

Here my hardware:

--------<dmesg>------------------------------------------------------
....
mpt0 at pci3 dev 12 function 0: LSI Logic 53c1030 Ultra320 SCSI
mpt0: interrupting at irq 9
scsibus0 at mpt0: 16 targets, 8 luns per target
mpt1 at pci3 dev 12 function 1: LSI Logic 53c1030 Ultra320 SCSI
mpt1: interrupting at irq 9
scsibus1 at mpt1: 16 targets, 8 luns per target
....
sd0 at scsibus1 target 1 lun 0: <SEAGATE,ST373453LW,DX05> disk fixed
sd0: 70007 MB, 31310 cyl, 8 head, 572 sect, 512 bytes/sec
sd0: sync (6.25ns offset 63), 16-bit (320.000MB/s) transfers, \
     tagged queuing
sd1 at scsibus1 target 2 lun 0: <SEAGATE,ST373453LW,DX05> disk fixed
sd1: 70007 MB, 31310 cyl, 8 head, 572 sect, 512 bytes/sec
sd1: sync (6.25ns offset 63), 16-bit (320.000MB/s) transfers, \
     tagged queuing 
--------</dmesg>-----------------------------------------------------


>How-To-Repeat:

dd if=/dev/rsd0d of=/dev/null bs=32k 

or commands that uses the drives.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: