From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 16:42:54 2004 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 18A4E16A4E9 for ; Mon, 23 Aug 2004 16:42:53 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D22943D62 for ; Mon, 23 Aug 2004 16:42:52 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i7NGgmaI042553 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 23 Aug 2004 18:42:50 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i7NGfdsu006930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Aug 2004 18:41:39 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i7NGfcVL010978; Mon, 23 Aug 2004 18:41:38 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i7NGfc4p010977; Mon, 23 Aug 2004 18:41:38 +0200 (CEST) (envelope-from ticso) Date: Mon, 23 Aug 2004 18:41:38 +0200 From: Bernd Walter To: Anish Mistry Message-ID: <20040823164137.GG6363@cicely12.cicely.de> References: <200408221606.52427.mistry.7@osu.edu> <20040823105728.GE6363@cicely12.cicely.de> <200408231231.30004.mistry.7@osu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408231231.30004.mistry.7@osu.edu> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cicely12.cicely.de cc: freebsd-current@freebsd.org cc: ticso@cicely.de Subject: Re: USB 6-in-1 drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 16:42:54 -0000 On Mon, Aug 23, 2004 at 12:31:22PM -0400, Anish Mistry wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Monday 23 August 2004 06:57 am, Bernd Walter wrote: > > On Sun, Aug 22, 2004 at 04:06:36PM -0400, Anish Mistry wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Since I don't use my 6-in-1 drive very much (yesterday was the first time > > > in months) I noticed that some of old functionality seems to be gone or > > > broken. Before I was able to insert the drive with no disks, then put in > > > a disk, issue the camcontrol rescan all, and the disk would be picked up > > > and a new device node connected, or start with the disk in and remove is, > > > rescan and the device node disappears. As of a recent CURRENT this > > > doesn't seem to work and I have to remove the drive from the usb slot to > > > get it to pickup the new device states. Is this a known regression, or > > > am I missing something? > > > > What is your problem? > > So far I just see "Medium not present" related errors, which are > > expected unless a media is physically present. > I guess I should have been a bit more stright forward. > The problem is that "camcontrol rescan all" isn't picking up a disk when I > insert it into the drive and issues that command like it used to. > Before: > 1) Plugin in drive with no disks > - Device nodes are created (/dev/da0-3) > 2) Insert Disk > 3) issue "camcontrol rescan all" > - A new device node for that disk appears (ie. /dev/da3s1) That's not the purpose of camcontrol and never has been. camcontrol scans for drives and not media, as the drives are already there nothing changes. > Now: > 1) Plugin in drive with no disks > - Device nodes are created (/dev/da0-3) > 2) Insert Disk > 3) issue "camcontrol rescan all" > - Nothing, device node isn't created You need GEOM to rescan the medias layout: cat /dev/null > /dev/da0 etc... -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de