Subject: kern/26825: mpt driver hangs during 2.0 install
To: None <gnats-bugs@gnats.NetBSD.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 09/01/2004 17:49:33
>Number:         26825
>Category:       kern
>Synopsis:       mpt driver hangs during 2.0 install
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 01 16:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 2.0_BETA
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
 X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281

>Environment:
	
	
System: NetBSD heiligenberg 2.0_BETA NetBSD 2.0_BETA (HEILIGENBERG) #3: Wed Jul 28 16:42:21 CEST 2004 hf@heiligenberg:/var/obj/netbsd-builds/2_0/i386/sys/arch/i386/compile/HEILIGENBERG i386
Architecture: i386
Machine: i386
>Description:

	Attempting a 2.0beta install on an i386 19" server with a LSI
	Logic LSI20320-R RAID 1 (firmware version '1030F00') stalls
	after unpacking a few tarballs;
	at most, it gets to running MAKEDEV.

	/kern/msgbuf has a load of entries like (hand-copied):

sd0(mpt0:0:0:0): command timeout
mpt0: timeout on request index 0x9b, seq 0x000007dd
mpt0: status 0x00000000, Mask 0x00000001, Doorbell 0x24000000
mpt0: request state: On Chip

and

sd0(mpt0:0:0:0): command timeout
mpt0: timeout on request index 0x9b, seq 0x00000b55
mpt0: Device not running
mpt0: mailbox: (0x4000777) State Fault WhoInit No One
mpt0: status 0x00000000, Mask 0x00000001, Doorbell 0x40007777
mpt0: request state: On Chip


I had similar problems about nine months ago installing
1.6Z{something} on an identical machine, but managed to work around
the issue. This time no go, although I haven't tried manually
unpacking the tarballs, yet. I suspect that sysinst mounting '-o
async' overloads the driver.

The OpenBSD mpt(8) manpage points out that their driver does not work
with firmware versions > 1.03.00 without giving details.
 
>How-To-Repeat:
	Try to install 2.0beta on an i386 machine equipped with a
	LSI20320-R RAID 1.

>Fix:
	No idea.
>Release-Note:
>Audit-Trail:
>Unformatted: