kern/135628: Please adding a entry for USB Mass Storage Device to umass.c

Yoshikazu GOTO goto at on-link.jp
Tue Jun 16 13:10:05 UTC 2009


>Number:         135628
>Category:       kern
>Synopsis:       Please adding a entry for USB Mass Storage Device to umass.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 16 13:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yoshikazu GOTO
>Release:        FreeBSD 7-STABLE
>Organization:
none
>Environment:
FreeBSD sakura.on-link.jp 7.2-STABLE FreeBSD 7.2-STABLE #1: Tue Jun 16 09:17:06 JST 2009     root at sakura.on-link.jp:/usr/fs/src/sys/i386/compile/KERNEL.SAKURA  i386
>Description:
I would like to use a USB Mass Storage Device. Please add one entry to "umass.c".


---- usbdevs -v ----
Controller /dev/usb6:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, USB Mass Storage Device(0x8813), Myson Century, Inc.(0x04cf), rev a0.01
----

---- camcontrol inquiry ----
pass0: <WDC WD32 00BEVE-00A0HT0 11.0> Fixed Direct Access SCSI-0 device
pass0: Serial Number
40.000MB/s transfers
----

---- error messages ----
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da0:umass-sim0:0:0:0): Invalid command operation code
(da0:umass-sim0:0:0:0): Unretryable error
----

---- dmesg ----
uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
uhub6: 6 ports with 6 removable, self powered
umass0: <Myson Century, Inc. USB Mass Storage Device, class 0/0, rev 2.00/a0.01, addr 2> on uhub6
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <WDC WD32 00BEVE-00A0HT0 11.0> Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)
----

>How-To-Repeat:

>Fix:
$ diff umass.c umass.c.new
569a570,573
>       { USB_VENDOR_MYSON,  USB_PRODUCT_MYSON_HEDEN8813, RID_WILDCARD,
>         UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
>         NO_SYNCHRONIZE_CACHE
>       },


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list