Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2005 00:04:11 GMT
From:      "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   usb/90670: [PATCH] Flag NO_GETMAXLUN in USB quirks has no effect
Message-ID:  <200512200004.jBK04B9D091355@freebsd.czest.pl>
Resent-Message-ID: <200512200010.jBK0A2E1060424@freefall.freebsd.org>

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

>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@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:



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