Re: Odd issues with USB SmartMedia Reader/Writer (PNY)

From: Matthew Dillon <dillon_at_apollo.backplane.com>
Date: Tue, 1 Apr 2003 00:06:28 -0800 (PST)
    It's likely that a quirk entry is needed for that smart media 
    device.  Most smart media USB devices require quirk entries in
    CAM.  Many such devices simply lockup permanently (until you unplug
    and replug them in) when sent an unsupported command so without the
    quirk entry anything can happen after the first reported failure.

					-Matt
					Matthew Dillon 
					<dillon_at_backplane.com>

:
:I'm really dumb when it comes to CAM, SCSI, USB, and so on, so forgive
:if I am being naive...  (Also that would probably explain why I am
:having a hard time deciding where this mail should end up... Forgive
:me on that account, plz.)
:
:I have a PNY USB SmartMedia reader which works excellently with 5.x
:with 8M media, but which blows up with 32M media.  I'd assume this is
:due to improper geometry or something, but I really have no idea.
:Insert-reinsert produces no change in results, etc.  Below are bits
:from dmesg, with the smaller then the larger.
:
:Any insight would be appreciated.  Once this is taken care of, the
:weekly reboots into windows to clean off the camera can finally stop...
:Out last legitimate use of Windows :)
:
:%%% --> With the 8M SmartMedia
:umass0: Alcor Mass Storage Device, rev 1.10/1.00, addr 5
:umass0: Get Max Lun not supported (STALLED)
:umass0:0:0:-1: Attached to scbus0 as device 0
:pass0 at umass-sim0 bus 0 target 0 lun 0
:pass0: <Generic USB SMC Reader 1.00> Removable Direct Access SCSI-0 device 
:pass0: 1.000MB/s transfers
:GEOM: new disk da0
:da0 at umass-sim0 bus 0 target 0 lun 0
:da0: <Generic USB SMC Reader 1.00> Removable Direct Access SCSI-0 device 
:da0: 1.000MB/s transfers
:da0: 7MB (16000 512 byte sectors: 64H 32S/T 7C)
:(da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10.
:[0] f:80 typ:1 s(CHS):0/1/10 e(CHS):249/3/16 s:25 l:15975
:[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
:[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
:[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
:GEOM: Configure da0s1, start 12800 length 8179200 end 8191999
:%%%
:
:%%% --> With the 32M SmartMedia
:umass0: Alcor Mass Storage Device, rev 1.10/1.00, addr 5
:umass0: Get Max Lun not supported (STALLED)
:umass0:0:0:-1: Attached to scbus0 as device 0
:pass0 at umass-sim0 bus 0 target 0 lun 0
:pass0: <Generic USB SMC Reader 1.00> Removable Direct Access SCSI-0 device 
:pass0: 1.000MB/s transfers
:GEOM: new disk da0
:(da0:umass-sim0:0:0:0): error 6
:(da0:umass-sim0:0:0:0): Unretryable Error
:da0 at umass-sim0 bus 0 target 0 lun 0
:da0: <Generic USB SMC Reader 1.00> Removable Direct Access SCSI-0 device 
:da0: 1.000MB/s transfers
:da0: Attempt to query device size failed: NOT READY, Medium not present
:(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 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): NOT READY asc:3a,0
:(da0:umass-sim0:0:0:0): Medium not present
:(da0:umass-sim0:0:0:0): (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
:(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
:(da0:umass-sim0:0:0:0): Medium not present
:Unretryable error
:(da0:umass-sim0:0:0:0): error 6
:(da0:umass-sim0:0:0:0): Unretryable Error
:Opened disk da0 -> 6
:(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 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): NOT READY asc:3a,0
:(da0:umass-sim0:0:0:0): Medium not present
:(da0:umass-sim0:0:0:0): (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
:(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
:(da0:umass-sim0:0:0:0): Medium not present
:Unretryable error
:(da0:umass-sim0:0:0:0): error 6
:(da0:umass-sim0:0:0:0): Unretryable Error
:Opened disk da0 -> 6
:%%%
:
:Thanx!
:juli.
:-- 
:juli mallett. email: jmallett_at_freebsd.org; aim: bsdflata; efnet: juli;
:_______________________________________________
:freebsd-current_at_freebsd.org mailing list
:http://lists.freebsd.org/mailman/listinfo/freebsd-current
:To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Mar 31 2003 - 22:06:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC