From owner-svn-src-stable@FreeBSD.ORG Thu Mar 17 13:09:35 2011 Return-Path: Delivered-To: svn-src-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEDF9106566C; Thu, 17 Mar 2011 13:09:34 +0000 (UTC) (envelope-from bob@immure.com) Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by mx1.freebsd.org (Postfix) with ESMTP id 57CB08FC0A; Thu, 17 Mar 2011 13:09:34 +0000 (UTC) Received: from rancor.immure.com (rancor.immure.com [10.1.132.9]) by maul.immure.com (8.14.4/8.14.4) with ESMTP id p2HD9LuM002013; Thu, 17 Mar 2011 08:09:21 -0500 (CDT) (envelope-from bob@immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.4/8.14.4/Submit) id p2HD9LAc017606; Thu, 17 Mar 2011 08:09:21 -0500 (CDT) (envelope-from bob) Date: Thu, 17 Mar 2011 08:09:21 -0500 From: Bob Willcox To: Alexander Motin Message-ID: <20110317130921.GB14927@rancor.immure.com> References: <201102052134.p15LYRmw041695@svn.freebsd.org> <20110316135122.GB7185@rancor.immure.com> <4D814AAA.3070801@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D814AAA.3070801@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-immure-MailScanner-Information: Please contact the ISP for more information X-immure-MailScanner-ID: p2HD9LuM002013 X-immure-MailScanner: Found to be clean X-immure-MailScanner-From: bob@immure.com X-Spam-Status: No Cc: svn-src-stable@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, svn-src-stable-8@FreeBSD.org Subject: Re: svn commit: r218347 - stable/8/sys/dev/ata/chipsets X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2011 13:09:35 -0000 On Thu, Mar 17, 2011 at 01:41:30AM +0200, Alexander Motin wrote: > On 16.03.2011 15:51, Bob Willcox wrote: > > This change has broken SATA disk support on my Intel Atom D525 ITX system. By > > reverting this change 8.2-STABLE works again on this system. > > > > My 'uname -a' output is: > > > > FreeBSD maul.immure.com 8.2-STABLE FreeBSD 8.2-STABLE #6: Wed Mar 16 08:15:43 CDT 2011 bob@maul.immure.com:/usr/obj/usr/src/sys/MAUL amd64 > > > > When booting the system I get tons of these messages: > > > > Mar 16 07:38:19 maul kernel: ad4: WARNING - SETFEATURES ENABLE RCACHE requeued due to channel reset > > Mar 16 07:38:19 maul kernel: ad4: interrupt on idle channel ignored > > As I can see, it means that channel has some active request, but it is > in IDLE state. It is strange, but I won't be surprised much if it is the > result of some locking problem in ata(4) in non-CAM mode. > > > repeated over and over, and then lots of these: > > > > Mar 16 07:38:21 maul kernel: ad4: WARNING - READ_DMA48 requeued due to channel reset LBA=617964479 > > Mar 16 07:38:21 maul kernel: ata2: FAILURE - already active DMA on this device > > Mar 16 07:38:21 maul kernel: ata2: setting up DMA failed > > > > for different LBA values. > > > > As one might expect, I then start seeing I/O errors on the disk and programs > > failing > > > > I've attached the 'pciconf -lv' output. > > Send me please full verbose log, if you can save it. I am especially > interested in place around first errors. Hi Alexander, I was unable to get the full verbose log as requested. When booting with verbose the system just continued to spew errors to the console (at a rate too fast to read) for the 15 minutes that I let it run. Since it never got up, nothing was written to /var/log/message or /var/run/dmesg.boot and I don't have a serial console on this system so I don't have the log to send you. > > You may try to build kernel with `options ATA_CAM` to see if it helps. > I've mostly tested this patch in that mode. I plan to try the 'options ATA_CAM' tonight. I have to be careful with this system as it is my gateway machine and if I hose it up I'll be in a painful recovery mode. Bob > > > On Sat, Feb 05, 2011 at 09:34:27PM +0000, Alexander Motin wrote: > >> Author: mav > >> Date: Sat Feb 5 21:34:26 2011 > >> New Revision: 218347 > >> URL: http://svn.freebsd.org/changeset/base/218347 > >> > >> Log: > >> MFC r217774: > >> ICH7 SATA controller in legacy mode can provide access to SATA registers > >> via AHCI-like memory resource at BAR(5). Use it if BIOS was so kind to > >> allocate memory for that BAR. This allows hot-plug support and connection > >> speed reporting. > > -- > Alexander Motin -- Bob Willcox Trying to explain things to people who already know bob@immure.com everything is like trying to teach a bear to dance; Austin, TX it's useless, and it annoys the bear.