Bug 18793

Summary: Hitachi DK319H needs quirk entry to work with freebsd
Product: Base System Reporter: Paul Haddad <paul>
Component: miscAssignee: Kenneth D. Merry <ken>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Paul Haddad 2000-05-24 18:00:00 UTC
The Hitachi scsi drives in the DK319H series apparently don't like to have multiple luns probed, the machine will not boot without a quirk entry for this drive, it'll just sit there and print out error messages.

The linux kernel has workarounds for DK312 & DK314, so it might be all DK31* drives that have this problem.

Fix: 

This entry fixes the problem.
       {
                /* Doesn't like multi-LUN probing. */
                { T_DIRECT, SIP_MEDIA_FIXED, "HITACHI", "DK319*", "*" },
                CAM_QUIRK_NOLUNS, /*mintags*/2, /*maxtags*/255
        },
Comment 1 Kenneth D. Merry freebsd_committer freebsd_triage 2000-05-24 18:15:58 UTC
Responsible Changed
From-To: freebsd-bugs->ken

I'll handle this one. 

Comment 2 Justin T. Gibbs freebsd_committer freebsd_triage 2000-05-29 20:07:07 UTC
I wonder if this device supports the "REPORT LUNS" command.  We need
to add this command into our device discovery process anyway and it
would obviate the need for a quirk.

--
Justin
Comment 3 Kenneth D. Merry freebsd_committer freebsd_triage 2000-06-04 04:17:48 UTC
State Changed
From-To: open->suspended

Fixed in rev 1.86 of cam_xpt.c. 

I'm putting this in the suspended state to remind me to merge this change 
into RELENG_4 and RELENG_3.
Comment 4 ken 2000-06-04 04:20:35 UTC
On Mon, May 29, 2000 at 12:10:02 -0700, Justin T. Gibbs wrote:
> The following reply was made to PR misc/18793; it has been noted by GNATS.
> 
> From: "Justin T. Gibbs" <gibbs@FreeBSD.org>
> To: paul@pth.com
> Cc: freebsd-gnats-submit@FreeBSD.ORG
> Subject: Re: misc/18793: Hitachi DK319H needs quirk entry to work with freebsd 
> Date: Mon, 29 May 2000 13:07:07 -0600
> 
>  I wonder if this device supports the "REPORT LUNS" command.  We need
>  to add this command into our device discovery process anyway and it
>  would obviate the need for a quirk.

True enough.  In the mean time, though, I've checked in the quirk.

Ken
-- 
Kenneth Merry
ken@kdm.org
Comment 5 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2001-11-15 19:57:55 UTC
State Changed
From-To: suspended->closed

Be a nice lad and MFS this to 3-STABLE.