From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 09:25:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E1CA16A4CE; Thu, 29 Apr 2004 09:25:55 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B84F543D4C; Thu, 29 Apr 2004 09:25:54 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.11/8.12.11) with ESMTP id i3TGPqY4003882; Thu, 29 Apr 2004 20:25:52 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Thu, 29 Apr 2004 20:25:52 +0400 (MSD) From: Dmitry Morozovsky To: freebsd-stable@freebsd.org Message-ID: <20040429201518.K1028@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: julian@freebsd.org Subject: USB/CAM multi-lun devices X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 16:25:55 -0000 Dear colleagues, trying to connect Apacer multi-flash USB reader [usbdevs -v] port 2 addr 2: full speed, power 500 mA, config 1, Embedded Reader(0x0240), Apacer(0x0d7d), rev 1.00 I got only the first sub-reader connected: Creating DISK da0 pass0 at umass-sim0 bus 0 target 0 lun 0 pass0: Removable Direct Access SCSI-0 device pass0: Serial Number \^_ pass0: 650KB/s transfers (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 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number \^_ da0: 650KB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present I tried to detect this device under -current snapshot from 20040422, and it successfully detects reader as multi-lun device, creating da0 to da3 disk devices (some of them miss to create s1 partition, but this is another story) I looked into sources a bit, and google also, but without much success. So, am I right in my assumption that -stable does not support multi-lun devices at all? And, how much effort would it require to port it from -current? Of course, I would be glad to test solutions/patches proposed. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------