From root@srodberg-host149.dsl.visi.com  Thu Jul 13 02:21:33 2000
Return-Path: <root@srodberg-host149.dsl.visi.com>
Received: from srodberg-host149.dsl.visi.com (srodberg-host149.dsl.visi.com [208.42.48.149])
	by hub.freebsd.org (Postfix) with ESMTP id 4535437C32D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Jul 2000 02:21:32 -0700 (PDT)
	(envelope-from root@srodberg-host149.dsl.visi.com)
Received: (from root@localhost)
	by srodberg-host149.dsl.visi.com (8.9.3/8.9.3) id EAA05502;
	Thu, 13 Jul 2000 04:21:30 -0500 (CDT)
	(envelope-from root)
Message-Id: <200007130921.EAA05502@srodberg-host149.dsl.visi.com>
Date: Thu, 13 Jul 2000 04:21:30 -0500 (CDT)
From: System Root <root@srodberg-host149.dsl.visi.com>
Reply-To: srodberg@visi.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: SCSI hang on boot (with patch)
X-Send-Pr-Version: 3.2

>Number:         19887
>Category:       kern
>Synopsis:       Boot hang while scanning SCSI bus
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mjacob
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 02:30:03 PDT 2000
>Closed-Date:    Mon Jun 4 11:22:49 PDT 2001
>Last-Modified:  Mon Jun 04 11:23:07 PDT 2001
>Originator:     Steve Rodberg
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

	

>Description:

The kernel hangs while scanning the SCSI bus when there's an
Exabyte EXB-8200 tape drive that calls itself an Exabyte IPL-6860
connected to the bus.
	

>How-To-Repeat:

Use the above drive with the FreeBSD kernel.

	

>Fix:


*** cam_xpt.c.orig	Thu Jul 13 04:16:14 2000
--- /sys/cam/cam_xpt.c	Thu Jul 13 04:15:31 2000
***************
*** 426,439 ****
--- 426,450 ----
  			T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "EXABYTE",
  			"EXB-8200*", "*"
  		},
  		CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
  	},
  	{
  		/*
+ 		 * Let's try the same as above, but for a drive that says
+ 		 * it's an IPL-6860 but is actually an EXB 8200.
+ 		 */
+ 		{
+ 			T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "EXABYTE",
+ 			"IPL-6860*", "*"
+ 		},
+ 		CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
+ 	},
+ 	{
+ 		/*
  		 * These Hitachi drives don't like multi-lun probing.
  		 * The PR submitter has a DK319H, but says that the Linux
  		 * kernel has a similar work-around for the DK312 and DK314,
  		 * so all DK31* drives are quirked here.
  		 * PR:            misc/18793
  		 * Submitted by:  Paul Haddad <paul@pth.com>
  		 */
	


>Release-Note:
>Audit-Trail:

From: Matthew Jacob <mjacob@feral.com>
To: srodberg@visi.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/19887: SCSI hang on boot (with patch)
Date: Thu, 13 Jul 2000 02:38:05 -0700 (PDT)

 This is indeed a problem- but that drive is quite an edge case.
 What we really need (D*MN IT!) is for me or somebody to get off
 their buts and do something loader can set up and eat, so you can
 enter this stuff at the loader prompt and save it in a hints file
 elsewhere....
 
 
 On Thu, 13 Jul 2000, System Root wrote:
 
 > 
 > >Number:         19887
 > >Category:       kern
 > >Synopsis:       Boot hang while scanning SCSI bus
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Jul 13 02:30:03 PDT 2000
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Steve Rodberg
 > >Release:        FreeBSD 4.0-STABLE i386
 > >Organization:
 > >Environment:
 > 
 > 	
 > 
 > >Description:
 > 
 > The kernel hangs while scanning the SCSI bus when there's an
 > Exabyte EXB-8200 tape drive that calls itself an Exabyte IPL-6860
 > connected to the bus.
 > 	
 > 
 > >How-To-Repeat:
 > 
 > Use the above drive with the FreeBSD kernel.
 > 
 > 	
 > 
 > >Fix:
 > 
 > 
 > *** cam_xpt.c.orig	Thu Jul 13 04:16:14 2000
 > --- /sys/cam/cam_xpt.c	Thu Jul 13 04:15:31 2000
 > ***************
 > *** 426,439 ****
 > --- 426,450 ----
 >   			T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "EXABYTE",
 >   			"EXB-8200*", "*"
 >   		},
 >   		CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
 >   	},
 >   	{
 >   		/*
 > + 		 * Let's try the same as above, but for a drive that says
 > + 		 * it's an IPL-6860 but is actually an EXB 8200.
 > + 		 */
 > + 		{
 > + 			T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "EXABYTE",
 > + 			"IPL-6860*", "*"
 > + 		},
 > + 		CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
 > + 	},
 > + 	{
 > + 		/*
 >   		 * These Hitachi drives don't like multi-lun probing.
 >   		 * The PR submitter has a DK319H, but says that the Linux
 >   		 * kernel has a similar work-around for the DK312 and DK314,
 >   		 * so all DK31* drives are quirked here.
 >   		 * PR:            misc/18793
 >   		 * Submitted by:  Paul Haddad <paul@pth.com>
 >   		 */
 > 	
 > 
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-bugs" in the body of the message
 > 
 
 
Responsible-Changed-From-To: freebsd-bugs->mjacob 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Jul 13 09:17:04 PDT 2000 
Responsible-Changed-Why:  
Matt might look at this some time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19887 
State-Changed-From-To: open->closed 
State-Changed-By: mjacob 
State-Changed-When: Mon Jun 4 11:22:49 PDT 2001 
State-Changed-Why:  
Applied patch. Retire this puppy for now. 

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