0xdeadc0de panic after plugging in USB CompactFlash reader/writer on 5.0-RELEASE

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jun 5 07:32:17 PDT 2003


In message <20030605142247.GT3231 at cicely12.cicely.de>, Bernd Walter writes:
>On Thu, Jun 05, 2003 at 04:10:59PM +0200, Poul-Henning Kamp wrote:
>> In message <20030605140604.GR3231 at cicely12.cicely.de>, Bernd Walter writes:
>> 
>> >Mine works fine without quirks:
>> >  port 3 addr 3: full speed, power 100 mA, config 1, Travel Flash(0x1307), PQI(0x0483), rev 2.05
>> 
>> Mine is:
>> 
>>  port 1 addr 2: full speed, power 100 mA, config 1, Travel Flash(0x0001), PQI(0x3538), rev 2.05
>
>Is this the 4 slot USB1.1 version?
>Mine is an older 3 slot USB1.1 device.
>
>> I do find it odd, that the quirks are not assigned in the umass code and
>> passed to scsi_da some way, that would be much more reliable.
>
>Considering that we may require quirks for usb-ata converters but see
>the drives in scsi_da I agree.
>In this case it's not critical - the quirks are not wrong for my
>version, just not required.
>Nevertheless: Does it panic without quirk or simply don't work?

It seems to hang the gadget which blocks the daopen() which holds
GEOM's topology lock which makes a lot of things not happen any more.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-hackers mailing list