From owner-freebsd-current@FreeBSD.ORG Tue Apr 1 00:06:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C510637B40A; Tue, 1 Apr 2003 00:06:31 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B29743FA3; Tue, 1 Apr 2003 00:06:31 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.9/8.12.6) with ESMTP id h3186UVI074289; Tue, 1 Apr 2003 00:06:31 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9/8.12.6/Submit) id h3186STC074286; Tue, 1 Apr 2003 00:06:28 -0800 (PST) Date: Tue, 1 Apr 2003 00:06:28 -0800 (PST) From: Matthew Dillon Message-Id: <200304010806.h3186STC074286@apollo.backplane.com> To: Juli Mallett References: <20030331193755.A60987@FreeBSD.org> cc: freebsd-scsi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Odd issues with USB SmartMedia Reader/Writer (PNY) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 08:06:32 -0000 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 : :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: 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: 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: 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: 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"