From nobody@FreeBSD.org  Fri Sep 28 18:48:47 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id DA49737B403
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Sep 2001 18:48:47 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f8T1mlv39193;
	Fri, 28 Sep 2001 18:48:47 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109290148.f8T1mlv39193@freefall.freebsd.org>
Date: Fri, 28 Sep 2001 18:48:47 -0700 (PDT)
From: Stephen Comoletti <scomoletti@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: reboot hang when using qlogic 1040/isp based driver on freebsd 4.0-4.4
X-Send-Pr-Version: www-1.0

>Number:         30905
>Category:       kern
>Synopsis:       reboot hang when using qlogic 1040/isp based driver on freebsd 4.0-4.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mjacob
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 28 18:50:00 PDT 2001
>Closed-Date:    Mon Dec 10 16:05:25 PST 2001
>Last-Modified:  Mon Dec 10 16:08:16 PST 2001
>Originator:     Stephen Comoletti
>Release:        4.0r
>Organization:
N/A
>Environment:
FreeBSD segfault.home 4.0-RELEASE FreeBSD 4.0-RELEASE #7: Mon Sep 24 23:56:52 EDT 2001     root@segfault.home:/usr/src/sys/compile/GENERIC  i386
>Description:
Hardware is a DEC Personal Workstation 300i+ with dual p2/300, integrated Qlogic 1040 scsi. On all bsd releases since 4.0r to 4.4r, any reboot causes the system to lockup/hang just prior to the point at which it should reset. Removal of the isp device from the kernel and use of an ide drive instead of scsi removes the problem. This problem did not exist in the 3.x releases and is new in 4.x. 
>How-To-Repeat:
Unknown if it is unique to the specific Qlogic controller integrated into the DEC workstation or not. It may be repeatable on other platforms using intel/qlogic hardware but I do not have access to verify.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mjacob 
State-Changed-When: Mon Oct 1 22:23:30 PDT 2001 
State-Changed-Why:  
Need feedback. 


Responsible-Changed-From-To: freebsd-bugs->mjacob 
Responsible-Changed-By: mjacob 
Responsible-Changed-When: Mon Oct 1 22:23:30 PDT 2001 
Responsible-Changed-Why:  
My driver. This is the first I've heard of this kind of hang for a while. 
Can you retry and make sure that Qlogic firmware is being loaded 
by adding the line 

ispfw_load="YES" 

to /boot/loader.conf or manually stopping the boot and doing 

load ispfw 

at the 'ok' prompt? Please also do a 

verbose="YES" 

to get a verbose boot. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30905 
State-Changed-From-To: feedback->closed 
State-Changed-By: mjacob 
State-Changed-When: Mon Dec 10 16:05:25 PST 2001 
State-Changed-Why:  
Submitter was able to work around issue when he loaded firmware. I have 
been unable to reproduce the original problem on any of my hardware 
with recent releases.. 

I'm not clear why the problem exists with the PWS resident f/w, but 
I think it's fairly safe to say that it's not likely something that would 
be easy to reproduce and/or fix elsewhere. Digital supplied their own 
f/w for the QLogic chips. For all I know, the PWS SRM loaded f/w follows 
some wierd other protocol. The correct solution here would be, for alpha, 
to load at least isp1040 f/w. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30905 
>Unformatted:
