From owner-freebsd-scsi Fri Dec 28 22:42:24 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 63C7E37B41F; Fri, 28 Dec 2001 22:42:11 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id fBT6g9634770; Sat, 29 Dec 2001 07:42:10 +0100 (CET) (envelope-from ticso@cicely9.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fBT6g3tx004830; Sat, 29 Dec 2001 07:42:04 +0100 (CET)?g (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [10.1.7.11]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fBT6g2W05900; Sat, 29 Dec 2001 07:42:02 +0100 (CET) Received: (from ticso@localhost) by cicely9.cicely.de (8.11.6/8.11.6) id fBT6g1r23462; Sat, 29 Dec 2001 07:42:01 +0100 (CET) (envelope-from ticso) Date: Sat, 29 Dec 2001 07:42:01 +0100 From: Bernd Walter To: Greg Lehey Cc: Jim Bryant , freebsd-current@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Vinum issue with USB CompactFlash reader. Message-ID: <20011229064201.GE23224@cicely9.cicely.de> References: <3C2CDAB6.1090408@yahoo.com> <20011229100911.D48518@monorchid.lemis.com> <20011229052129.GB23224@cicely9.cicely.de> <20011229160340.G90696@monorchid.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011229160340.G90696@monorchid.lemis.com> User-Agent: Mutt/1.3.24i X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Dec 29, 2001 at 04:03:40PM +1030, Greg Lehey wrote: > On Saturday, 29 December 2001 at 6:21:29 +0100, Bernd Walter wrote: > > On Sat, Dec 29, 2001 at 10:09:11AM +1030, Greg Lehey wrote: > >> This has nothing to do with Vinum. The errors are at the device > >> driver level, and they appear to relate only to the compact flash > >> adaptor. Does it work when Vinum is not loaded? Was there in fact a > >> CF card in the adaptor? > > > > vinums read_drive_label triggers this. > > It tries to read the label and produces the given errors if the drive is > > not ready - nothing wrong IMHO. > > This would assume that Vinum was started after the adaptor was > inserted. You can see from the bootlog that the adapter was probed and detected during booting - it was even printed before some scsi harddisks. > > I see the same messages for an MO drive if there is no media inserted. > > And I see these errors for a fixed drive with media errors. > > It is just unavoidable to have a single error for each drive and I don't > > know for shure why it happens several times - maybe vinum probes for > > multiple partitions. > > Yes, Vinum probes for up to 35 partitions. First it tries each > partition in each slice. If that doesn't work, it tries the > compatibility slice. In each case, it ignores partition c. > > I suppose it would be possible to recognize conditions like "medium > not present" and stop after the first attempt. But I can't see how to > handle this without at least one error message. I'm not shure that you see this error inside vinum. From what I understood it's that reading the disklabel failed and vinum might only get ENXIO. I don't know the disklabel code but maybe there is something possible to have one call and get all available partitions. Nevertheless the errors are just telling why this drive was not succesfully scanned and have a valid reason to be there. You can alway tell vinum which partitions to probe. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message