From owner-freebsd-stable Wed May 15 10:57:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bingo.tky.hut.fi (bingo.tky.hut.fi [130.233.28.67]) by hub.freebsd.org (Postfix) with ESMTP id AF68B37B8F6; Wed, 15 May 2002 10:55:29 -0700 (PDT) Received: from bingo.tky.hut.fi (backi@bingo.tky.hut.fi [130.233.28.67]) by bingo.tky.hut.fi (8.12.3/8.12.3) with ESMTP id g4FHtRQp047787; Wed, 15 May 2002 20:55:27 +0300 (EEST) (envelope-from pbacklun@cc.hut.fi) Subject: Re: atacontrol(8) bug or PEBKAC? From: Patrik Backlund To: freebsd-stable@FreeBSD.ORG Cc: sos@FreeBSD.ORG In-Reply-To: <200205151226.g4FCQo692545@lurza.secnetix.de> References: <200205151226.g4FCQo692545@lurza.secnetix.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 15 May 2002 20:55:27 +0300 Message-Id: <1021485327.66783.28.camel@bingo.tky.hut.fi> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-05-15 at 15:26, Oliver Fromme wrote: > Hi, > > Maybe I'm doing something wrong, but atacontrol(8) doesn't > seem to work as described in the manpage. In particular, > "atacontrol list" should print a list of ATA devices, if > I'm not mistaken. On my machine it doesn't print anything > at all: > > # atacontrol list > # > > The devices are there, though: > > # atacontrol info 2 > Master: ad4 ATA/ATAPI rev 6 > Slave: no device present > # atacontrol info 3 > Master: acd0 <24X10/P.MJ> ATA/ATAPI rev 0 > Slave: no device present I'd say a bug. atacontrol(8) seems to query the channels for parameters in order starting from ata0 and stopping at the first missing channel. In your case that would mean giving up immediately since you have no ata0. Patrik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message