From owner-freebsd-stable@FreeBSD.ORG Tue Jun 27 22:18:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 F29C916A400 for ; Tue, 27 Jun 2006 22:18:02 +0000 (UTC) (envelope-from norbert@augenstein.net) Received: from www33.your-server.de (www33.your-server.de [213.133.104.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0AC245D05 for ; Tue, 27 Jun 2006 22:17:54 +0000 (GMT) (envelope-from norbert@augenstein.net) Received: from [84.153.33.114] (helo=kyle.augenstein.ten) by www33.your-server.de with esmtpa (Exim 4.52) id 1FvLsU-00017d-Bh for freebsd-stable@freebsd.org; Wed, 28 Jun 2006 00:17:53 +0200 Date: Wed, 28 Jun 2006 00:17:46 +0200 From: Norbert Augenstein To: freebsd-stable@freebsd.org Message-ID: <20060627221745.GA639@kyle.augenstein.ten> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060627234645.H76020@atlantis.atlantis.dp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060627234645.H76020@atlantis.atlantis.dp.ua> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.1-RELEASE X-Copyright: (c) auge -> Norbert Augenstein, Munich, Germany X-Authenticated-Sender: norbert@augenstein.net X-Virus-Scanned: Clear (ClamAV 0.88.2/1564/Mon Jun 26 16:55:16 2006) Subject: Re: ATAPICAM in RELENG_6 sometimes swaps drives X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 22:18:03 -0000 On Wed, Jun 28, 2006 at 12:06:38AM +0300, Dmitry Pryanishnikov wrote: > > Hello! > > My machine (running RELENG_6) has 2 ATAPI drives attached to the second > channel of Intel ICH4 built-in ATA controller ata1 (NEC DVD-RW as a master > and AOPEN CD-RW as a slave). Of course their ATAPI devices always show up > in the fixed order: > > acd0: DVDR at ata1-master UDMA33 > acd1: CDRW at ata1-slave UDMA33 > > However, ATAPICAM devices sometimes show in the same order: > > cd0 at ata1 bus 0 target 0 lun 0 > cd0: <_NEC DVD_RW ND-3520A 1.04> Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > cd1 at ata1 bus 0 target 1 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 33.000MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not present > > and sometimes get swapped: > > cd0 at ata1 bus 0 target 1 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > cd1 at ata1 bus 0 target 0 lun 0 > cd1: <_NEC DVD_RW ND-3520A 1.04> Removable CD-ROM SCSI-0 device > cd1: 33.000MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not present > > I consider this behaviour as being quite weird and misleading. E.g., it > doesn't allow to set up correctly a couple of useful links from > /etc/devfs.conf: > > link cd0 sdvdrom > link cd1 scdrom > > (sometimes scdrom points not to CD-RW, but to DVD-RW drive). What's the > reason of this weirdness, can it be fixed? > > Sincerely, Dmitry Hi Dimitry, similar problem here, as workaround i placed hint.cd.0.target="0" to /boot/loader.conf Regards, --> auge Norbert Augenstein -- 12:10AM up 41 mins, 1 user, load averages: 0.00, 0.00, 0.00 ======================================================================== WARNING TO ALL PERSONNEL: Firings will continue until morale improves.