From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 29 02:08:16 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1581065688; Mon, 29 Sep 2008 02:08:16 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id AAC5D8FC1A; Mon, 29 Sep 2008 02:08:15 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 701E930126; Mon, 29 Sep 2008 03:08:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.3 required=8.0 tests=BAYES_00 autolearn=ham version=3.2.3 Received: from tau.draftnet (tau.demon.co.uk [80.177.26.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTP; Mon, 29 Sep 2008 03:08:12 +0100 (BST) Date: Mon, 29 Sep 2008 03:07:48 +0100 From: Bruce Cran To: Jeremy Chadwick Message-ID: <20080929030748.08b19c52@tau.draftnet> In-Reply-To: <20080929003603.GA92998@icarus.home.lan> References: <20080928103937.U51561@hercules.mthelicon.com> <20080928232438.5d0c4a55@tau.draftnet> <20080929000226.GA92057@icarus.home.lan> <20080929003603.GA92998@icarus.home.lan> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Andrey Elsukov , Pegasus, McCleaft , sos@freebsd.org Subject: Re: atacontrol broken in 7.1-PR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 02:08:16 -0000 On Sun, 28 Sep 2008 17:36:03 -0700 Jeremy Chadwick wrote: > Bruce and Pegasus, > > Can you please apply the below patch to src/sbin/atacontrol.c and let > me know what the output is when doing "atacontrol list"? > > This won't solve the problem, but it will help in determining which > piece of code in src/sys/dev/ata/ata-all.c is returning an error to > ioctl() (different pieces of the code return different errors, either > ENXIO, ENODEV, or another error depending upon what gets returned > from ata_raid_ioctl_func()). ATA channel 0: Master: acd0 ATA/ATAPI revision 5 Slave: no device present atacontrol: ioctl(IOCATADEVICES) returned -1: Device not configured This laptop's running GENERIC, so ATA_STATIC_ID is in my kernel config. -- Bruce Cran