Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 00:06:28 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Juli Mallett <jmallett@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Odd issues with USB SmartMedia Reader/Writer (PNY)
Message-ID:  <200304010806.h3186STC074286@apollo.backplane.com>
References:  <20030331193755.A60987@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
    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@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@freebsd.org; aim: bsdflata; efnet: juli;
:_______________________________________________
:freebsd-current@freebsd.org mailing list
:http://lists.freebsd.org/mailman/listinfo/freebsd-current
:To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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