usb/90670: [PATCH] Flag NO_GETMAXLUN in USB quirks has no effect

Wojciech A. Koszek dunstan at freebsd.czest.pl
Mon Dec 19 16:10:16 PST 2005


>Number:         90670
>Category:       usb
>Synopsis:       [PATCH] Flag NO_GETMAXLUN in USB quirks has no effect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 20 00:10:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Wojciech A. Koszek
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD dunstan.freebsd.czest.pl 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Tue Dec 6 01:02:04 CET 2005 root at dunstan.freebsd.czest.pl:/usr/obj/usr/src/sys/LAPTOP i386


>Description:
Please note that content of this PR is only pleasant remainder of what Matt
Reimer has noted in his post:

http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-November/001692.html

>How-To-Repeat:

Matt has already given an explanation. I may add, that while bringing
support for my mobile phone, I've expirienced the same problem:

http://lists.freebsd.org/pipermail/freebsd-usb/2005-December/001728.html

Cutting some content:
[..]
umass0: Motorola Inc. Motorola Phone (E398), rev 1.10/0.01, addr 2
umass0: Get Max Lun not supported (IOERROR)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Motorola Motorola Phone 2.31> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: 59MB (121857 512 byte sectors: 64H 32S/T 59C)
[..]

This is output of successful, device attach with quirk which has
NO_GETMAXLUN OR'ed in it's options.

>Fix:
Matt Reimer mattjreimer(at)gmail.com has written a patch together with
needed report and explanation:

http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-November/001692.html

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


More information about the freebsd-usb mailing list