Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 18:41:38 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Anish Mistry <mistry.7@osu.edu>
Cc:        ticso@cicely.de
Subject:   Re: USB 6-in-1 drive
Message-ID:  <20040823164137.GG6363@cicely12.cicely.de>
In-Reply-To: <200408231231.30004.mistry.7@osu.edu>
References:  <200408221606.52427.mistry.7@osu.edu> <20040823105728.GE6363@cicely12.cicely.de> <200408231231.30004.mistry.7@osu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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