Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 01:13:57 -0700 (PDT)
From:      Bharat Mediratta <bharat@menalto.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/38886: Maxtor 3000LE requires another sys/cam/scsi_da.c quirk 
Message-ID:  <200206040813.g548Dvwq062045@harmony.menalto.com>

next in thread | raw e-mail | index | archive | help

>Number:         38886
>Category:       kern
>Synopsis:       Maxtor 3000LE requires another sys/cam/scsi_da.c quirk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 04 01:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bharat Mediratta
>Release:        FreeBSD 4.5-RELEASE-p6 i386
>Organization:
menalto.com 
>Environment:
System: FreeBSD unity.menalto.com 4.5-RELEASE-p6 FreeBSD 4.5-RELEASE-p6 #3: Tue Jun 4 00:45:50 P\
DT 2002 bharat@unity.menalto.com:/usr/obj/usr/src/sys/UNITY i386  
 
>Description:
 
        I have a Maxtor 3000LE USB drive attached to my box.  Drive 
        info (from /var/log/message after boot): 
 
                da1 at umass-sim0 bus 0 target 0 lun 0 
                da1: <Maxtor 4 G120J6 GAK8> Fixed Direct Access SCSI-0 device  
                da1: 650KB/s transfers 
                da1: 117246MB (240121728 512 byte sectors: 64H 32S/T 51710C) 
 
        (the 2nd line above contains less than and greater than signs, 
        and in case send-pr garbles it, the vender/product/version code 
        is "Maxtor 4 G120J6 GAK8") 
 
        When running fdisk on the drive I get this error: 
 
                (da1:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 40 1 0  
                (da1:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0 
                (da1:umass-sim0:0:0:0): Logical block address out of range 
 
        This looks to be the 6_BYTE problem.  There's already a quirk 
        in scsi_da.c for the Maxtor 3000LE, but they've come out with 
        a new drive that has a different product ID causing the 
        existing quirk not to match.  
 
>How-To-Repeat:
 
        1. Attach Maxtor 3000LE drive with product id "G120J6" to the USB bus 
        2. run /stand/sysinstall 
        3. select FDISK 
        4. Change partition info 
        5. Attempt to write new partition to disk 
 
>Fix:
 
        Apply this patch to /usr/src/sys/cam/scsi/scsi_da.c: 
 
265a266,272 
>       { 
>               /* 
>                * Another Maxtor 3000LE USB Drive 
>                */ 
>               {T_DIRECT, SIP_MEDIA_FIXED, "Maxtor*", "G120J6*", "*"}, 
>               /*quirks*/ DA_Q_NO_6_BYTE 
>       }, 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206040813.g548Dvwq062045>