From nobody@FreeBSD.org  Fri Feb 10 15:21:12 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C664B16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2006 15:21:12 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 19F6943D73
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2006 15:21:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1AFL5U3038449
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2006 15:21:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1AFL5ti038446;
	Fri, 10 Feb 2006 15:21:05 GMT
	(envelope-from nobody)
Message-Id: <200602101521.k1AFL5ti038446@www.freebsd.org>
Date: Fri, 10 Feb 2006 15:21:05 GMT
From: Jrgen Dankoweit <Juergen.Dankoweit@T-Online.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 6.1 BETA 1 has problems with Symbios/LSI-HBAs
X-Send-Pr-Version: www-2.3

>Number:         93128
>Category:       kern
>Synopsis:       [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI-HBAs [regression]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    scottl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 10 15:30:04 GMT 2006
>Closed-Date:    Sun Dec 04 21:44:02 UTC 2011
>Last-Modified:  Sun Dec 04 21:44:02 UTC 2011
>Originator:     Jrgen Dankoweit
>Release:        FreeBSD 6.1 Beta 1
>Organization:
>Environment:
Impossible to write down uname -a because system hangs and therefore I get no shell
>Description:
Both systems are Siemens Primergy 470, dual PIII 450 MHz, two LSI 83C895
SCSI-HBAs (one onboard and one on a separate PCI card).
At the onboard HBA all HDDs are LVD drives.
At the second only single ended devices are connected.
The termination is correct.

On both systems it is impossible to install FreeBSD 6 because it hangs
at this position:

(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS mode change from SE to SE.

here stops the system.
After about five minutes the following messages are shown character for
character.
da0 at sym0 bus 0 target 0 lun 0
da0: <COMPAQ BD036735C8 B020> Fixed Direct Access SCSI-2 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 34732MB (71132000 512 byte sectors: 255H 63S/T 4427C)

And here nothing goes on. 

Exactly this behavior was on FreeBSD 5.3 STABLE-1. It was fixed with
FBSD 5.3 STABLE-2. FreeBSD 5.4 runs also perfect on these machines.
But in the new version of FreeBSD the same bug comes again. 

On the production machines it is impossible to install or upgrade the
new FreeBSD 6 to do more tests.

Removing one HBA doesn't solve the problem.

>How-To-Repeat:
Rebooting with the actual FreeBSD 6.1 Beta 1
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Feb 10 23:08:35 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93128 

From: Juergen Dankoweit <Juergen.Dankoweit@T-Online.de>
To: bug-followup@FreeBSD.org, Juergen.Dankoweit@T-Online.de
Cc:  
Subject: Re: kern/93128: [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI-HBAs (regression)
Date: Fri, 24 Feb 2006 19:08:45 +0100

 Hello support team,
 
 the same problems are at FreeBSD 6.1 Beta2.
 
 The funny thing is that other operating systems are running perfect on
 this kind of hardware.=20
 
 Best regards
 
 J=C3=BCrgen Dankoweit
 
 
 -- 
 This e-mail was scanned with a private,
 non-commercial version of AntiVir MailGate.
 See http://www.antivir.de for details.

From: Juergen Dankoweit <Juergen.Dankoweit@T-Online.de>
To: bug-followup@FreeBSD.org, Juergen.Dankoweit@T-Online.de
Cc:  
Subject: Re: kern/93128: [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI-HBAs (regression)
Date: Sat, 05 May 2007 06:23:04 +0200

 Hello support team,
 
 the same problems are at FreeBSD 6.2.
 
 But FreeBSD 7.0 runs only in safe mode.
 
 Best reagrds
 
 Jürgen Dankoweit
 

From: Juergen Dankoweit <Juergen.Dankoweit@T-Online.de>
To: bug-followup@FreeBSD.org, Juergen.Dankoweit@T-Online.de
Cc:  
Subject: Re: kern/93128: [sym] FreeBSD 6.1 BETA 1 has problems with
	Symbios/LSI-HBAs (regression)
Date: Sun, 12 Aug 2007 11:08:07 +0200

 Hello,
 
 after thinking how to solve this awful problem, I found this solution
 which works great. Here the code snippet
 
    /* Checking for sym-driver is disabled in the device.hints */
    unit = device_get_unit(dev);
    if (resource_disabled("sym", unit)) {
       device_printf(dev, "sym_pci_probe: sym driver disabled\n");
       return (ENXIO);
    }
    /* ------------------------------------------------------- */
 
 It should be place in the following functions:
 ----------------------------------------------
 line 8465: static int sym_pci_probe(device_t dev);
 line 8482: static int sym_pci_attach(device_t dev);
 
 What does it do:
 ----------------
 It looks in the /boot/device.hints after the following entry:
 hints.sym.x.disabled="1" (where x = 0, 1, 2, ...)
 
 Why this solution:
 ------------------
 The problem is that FreeBSD finds on some systems the LSI chips even if
 they are disabled by the BIOS. To suppress this I added this hint. Now
 it is possible to install FreeBSD on systems with LSI where the boot
 sequence hangs. So it is possible to use an other host adaptor like
 Adaptec or so.
 
 Conclusion:
 -----------
 It is tested on several machines and it works great.
 It would be nice if this is in the next FreeBSD 7.0 snapshot.
 
 Best regards
 
 Juergen Dankoweit
 

From: Juergen Dankoweit <Juergen.Dankoweit@T-Online.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: kern/93128 & kern/114597
Date: Tue, 20 Nov 2007 08:53:53 +0100

 Dear Ladies and Gentlemen,
 
 both PRs aren't actual any more, because we don't use this hardware any
 more and we don't use FreeBSD any more. I made a possible solution for
 that PRs but there was no serious reaction.
 
 Please close both PRs. Thank you very much.
 
 Best regards
 
 J. Dankoweit
 
 PS: These are the PRs:
 kern/93128 scsi  [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI
 kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs
 
 
Responsible-Changed-From-To: freebsd-scsi->scottl 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Sat Jan 26 16:23:33 UTC 2008 
Responsible-Changed-Why:  
Scott-- 

Not sure if this is of interest to you or not, but possibly in your area. 
Could you take a look?  If not, please go ahead and close the PR's per the 
request of the submitter... 

Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93128 
State-Changed-From-To: open->closed 
State-Changed-By: scottl 
State-Changed-When: Sun Dec 4 21:40:24 UTC 2011 
State-Changed-Why:  
Closed per submitter's request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93128 
>Unformatted:
