Bug 19887

Summary: Boot hang while scanning SCSI bus
Product: Base System Reporter: System Root <root>
Component: kernAssignee: Matt Jacob <mjacob>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description System Root 2000-07-13 10:30:03 UTC
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.
Comment 1 mjacob 2000-07-13 10:38:05 UTC
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
>
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-13 17:17:04 UTC
Responsible Changed
From-To: freebsd-bugs->mjacob

Matt might look at this some time.
Comment 3 Matt Jacob freebsd_committer freebsd_triage 2001-06-04 19:22:49 UTC
State Changed
From-To: open->closed

Applied patch. Retire this puppy for now.