From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 17:27:00 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 6276416A4CE for ; Mon, 23 Aug 2004 17:27:00 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEF6343D2F for ; Mon, 23 Aug 2004 17:26:59 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i7NHE9jr032464 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 23 Aug 2004 13:14:10 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: ticso@cicely.de Date: Mon, 23 Aug 2004 13:28:13 -0400 User-Agent: KMail/1.6.2 References: <200408221606.52427.mistry.7@osu.edu> <200408231231.30004.mistry.7@osu.edu> <20040823164137.GG6363@cicely12.cicely.de> In-Reply-To: <20040823164137.GG6363@cicely12.cicely.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408231328.21115.mistry.7@osu.edu> X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@freebsd.org Subject: Re: USB 6-in-1 drive 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: Mon, 23 Aug 2004 17:27:00 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 23 August 2004 12:41 pm, Bernd Walter wrote: > 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 t= he > > > > 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.= =20 > > > > 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... Ok, thanks this works. So is this the official way to rescan the GEOM layo= ut? =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBKikzxqA5ziudZT0RAqX6AJwPG5sB9YpbAS94ZRH3ktgTJgCXtgCeIe3q X5pIcDMn0chhaz+vBJsvc7g=3D =3DjNWh =2D----END PGP SIGNATURE-----