Skip site navigation (1)Skip section navigation (2)
Date:      1 Mar 2003 18:04:42 -0000
From:      Richard Letts <richard-freebsd@illuin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Richard Letts <richard-freebsd@illuin.org>
Subject:   kern/48816: cannot mount LEXAR USB drive (DA_Q_NO_6_BYTE required)
Message-ID:  <20030301180442.2601.qmail@illuin.org>

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

>Number:         48816
>Category:       kern
>Synopsis:       cannot mount LEXAR USB drive (DA_Q_NO_6_BYTE required)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 01 10:10:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Richard Letts
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
illuin.org
>Environment:
>Description:
before change:
umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <LEXAR DIGITAL FILM /W1.> Removable Direct Access SCSI-2 device 
da0: 650KB/s transfers
da0: 61MB (125952 512 byte sectors: 64H 32S/T 61C)
da0: reading primary partition table: error reading fsbn 0

(xpt0:umass-sim0:0:-1:-1): debugging flags now 8
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 
da0: reading primary partition table: error reading fsbn 0
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 

After change:
umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <LEXAR DIGITAL FILM /W1.> Removable Direct Access SCSI-2 device 
da0: 650KB/s transfers
da0: 61MB (125952 512 byte sectors: 64H 32S/T 61C)
(xpt0:umass-sim0:0:-1:-1): debugging flags now 8
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 21 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 4 0 
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 21 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 4 0 
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 21 0 0 1 0 
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 4 0 
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 
.... etc


Other information:
hobbiton# camcontrol inq da0
pass0: <LEXAR DIGITAL FILM /W1.> Removable Direct Access SCSI-2 device 
pass0: Serial Number [
pass0: 650KB/s transfers 

hobbiton# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
 port 1 addr 2: power 90 mA, config 1, LEXR PLUG DRIVE(0x0080), LEXR PLUG DRIVE(0x05dc), rev 0.01
 port 2 powered
Controller /dev/usb4:
addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
 port 1 powered
 port 2 powered


>How-To-Repeat:
     try to mount the USB drive with the default quirks.

>Fix:
this worked for me:
add to scsi_da.c
        {
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "LEXAR*", "*","*"},
                /*quirks*/ DA_Q_NO_6_BYTE
        },



>Release-Note:
>Audit-Trail:
>Unformatted:
 >System: FreeBSD hobbiton.illuin.org 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #19: Sat Mar 1 09:50:32 CST 2003 root@hobbiton.illuin.org:/usr/obj/usr/src/sys/HOBBITON i386
 
 

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?20030301180442.2601.qmail>