From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 28 22:10:26 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 D73E6106568F for ; Sun, 28 Sep 2008 22:10:26 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [66.90.118.40]) by mx1.freebsd.org (Postfix) with ESMTP id ADA738FC13 for ; Sun, 28 Sep 2008 22:10:26 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from feathers.peganest.com (78-33-110-3.static-adsl.entanet.co.uk [78.33.110.3] (may be forged)) (authenticated bits=0) by hercules.mthelicon.com (8.14.3/8.14.2) with ESMTP id m8SLX2CD054948 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sun, 28 Sep 2008 21:33:03 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc Cleaft Organization: Feathers To: freebsd-hackers@freebsd.org Date: Sun, 28 Sep 2008 22:32:48 +0100 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; amd64; ; ) References: <20080928103937.U51561@hercules.mthelicon.com> <20080928204241.GA88408@icarus.home.lan> In-Reply-To: <20080928204241.GA88408@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809282232.49053.ken@mthelicon.com> 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: Sun, 28 Sep 2008 22:10:27 -0000 On Sunday 28 September 2008 21:42:41 Jeremy Chadwick wrote: > On Sun, Sep 28, 2008 at 10:43:58AM +0000, Pegasus McCleaft wrote: > > I was wondering if anyone else is experiencing this problem. I have > > recently reloaded my machine (due to a meltdown of my primary boot > > drive) and noticed that under 7.0-rel the atacontrol command seems to > > work great, however, under 7.1 I get and error > > > > atacontrol: ioctl(IOCATADEVICES): Device not configured > > What arguments did you give atacontrol? Sorry, forgot to add that in. I was typing from a terminal window while xorg was rebuilding. Perhapse some more usefull information to follow :> feathers# atacontrol list atacontrol: ioctl(IOCATADEVICES): Device not configured > > > Has anyone else seen this error. I wouldent be conserned if it wasent > > for the fact that it worked under 7.0-rel but now dosent. The machine is > > using both the: > > > > atapci0: > > atapci1: > > atapci is just the PCI portion, and doesn't show any sign of the ATA > driver being attached. Do you have ataX (e.g. ata0) devices showing > up in dmesg? Yea.. The machine is otherwise running fine, and also loaded the driver for the ata raid controller (I made the machine boot off a raid-1 pack and made slices on the pack for /, /usr, /var . The rest zfs for /usr/home) Thinking about it, I also added atapicd in the kernel config so I could use things like K3B and xcdroast.. I dont know if maybe that shim might be causing issues. I'll try making another kernel without it and giving that a try. feathers# dmesg | grep ata atapci0: port 0x9000-0x907f mem 0xe7004000-0xe700407f,0xe7000000-0xe7003fff irq 16 at device 0.0 on pci3 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: mem 0xec100000-0xec101fff irq 19 at device 0.0 on pci5 atapci1: [ITHREAD] atapci1: AHCI called from vendor specific driver atapci1: AHCI Version 01.00 controller with 2 ports detected ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] atapci2: port 0xb000-0xb007,0xb100-0xb103,0xb200-0xb207,0xb300-0xb303,0xb400-0xb40f irq 16 at device 0.1 on pci5 atapci2: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] atapci3: port 0xe600-0xe607,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xea00-0xea1f mem 0xec406000-0xec4067ff irq 19 at device 31.2 on pci0 atapci3: [ITHREAD] atapci3: AHCI Version 01.20 controller with 6 ports detected ata7: on atapci3 ata7: [ITHREAD] ata8: on atapci3 ata8: [ITHREAD] ata9: on atapci3 ata9: [ITHREAD] ata10: on atapci3 ata10: [ITHREAD] ata11: on atapci3 ata11: [ITHREAD] ata12: on atapci3 ata12: [ITHREAD] acd0: DVDR at ata3-master SATA150 ad8: 476940MB at ata4-master SATA300 ad10: 476940MB at ata5-master SATA300 ad14: 476938MB at ata7-master SATA300 ad16: 476940MB at ata8-master SATA300 ad18: 476940MB at ata9-master SATA300 ad20: 476940MB at ata10-master SATA300 ad22: 476940MB at ata11-master SATA300 ad24: 476940MB at ata12-master SATA300 ar0: disk0 READY (master) using ad8 at ata4-master ar0: disk1 READY (mirror) using ad10 at ata5-master cd0 at ata1 bus 0 target 0 lun 0