Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2010 18:46:31 GMT
From:      Demelier David <demelier.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/145415: USB card reader does not create slices nodes
Message-ID:  <201004051846.o35IkVOT075787@www.freebsd.org>
Resent-Message-ID: <201004051850.o35Io1gb030158@freefall.freebsd.org>

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

>Number:         145415
>Category:       misc
>Synopsis:       USB card reader does not create slices nodes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 05 18:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Demelier David
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.0-STABLE FreeBSD 8.0-STABLE #12: Sun Apr  4 09:37:32 CEST 2010     root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  i386

>Description:
I've got a usb card reader which works pretty well, but only if a medium (SD card) is already in it.

if not and I try to add the SD card after plugging the card reader it won't do anything.

ugen7.2: <Generic> at usbus7
umass0: <Bulk-In, Bulk-Out, Interface> on usbus7
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Generic- Multi-Card 1.00> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present

And if a SD card is plugged into the card reader before plugging it to the USB port :

ugen7.2: <Generic> at usbus7
umass0: <Bulk-In, Bulk-Out, Interface> on usbus7
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed)
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Generic- Multi-Card 1.00> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 1951MB (3995648 512 byte sectors: 255H 63S/T 248C)

>How-To-Repeat:
Plug a USB card and THEN a medium (SD card, MMC, Compactflash, ...)
>Fix:
Update the devices nodes when a medium is inserted ?

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



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