From owner-svn-src-all@FreeBSD.ORG Wed Mar 16 23:41:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36CBE106564A; Wed, 16 Mar 2011 23:41:46 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 425ED8FC16; Wed, 16 Mar 2011 23:41:44 +0000 (UTC) Received: by fxm11 with SMTP id 11so2540669fxm.13 for ; Wed, 16 Mar 2011 16:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=RxxZ/xQMU/uXNAH660EalUox7NIWDc/wtiGYkYrO7J4=; b=wuhqt1WmWLWF0Jh2/sYlKr6BjigZC7LSLqPKAjRGksLWjyXPubmMw6n0uqW5LzecUF UuUN4qpzYceD6aVToJljfKx7vvsv4UTcrFQ/y4VhU4ehfoLY0590ezIsfv31fbkjCRlv xmJtyWLFHF9OYLpCYGESsegay9eJFhmwHPdpA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=r8qItLS6Fss+aD0ZVmrTcqSNZw9qRUNhqsc621FQYml6qMhCF3p6qMowcZZLqdtnk0 E51iYtLrBt/3GPlejHIFr9U6tafeoiw38mTscIXiqbuH01Ggi/uiqZVrtLrp8utdhXVT 03Ni0s56CG7eucNS6eFxm13wY4qWEY9tIgs8o= Received: by 10.223.14.207 with SMTP id h15mr677933faa.50.1300318903975; Wed, 16 Mar 2011 16:41:43 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 21sm675571fav.17.2011.03.16.16.41.42 (version=SSLv3 cipher=OTHER); Wed, 16 Mar 2011 16:41:43 -0700 (PDT) Sender: Alexander Motin Message-ID: <4D814AAA.3070801@FreeBSD.org> Date: Thu, 17 Mar 2011 01:41:30 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110310 Thunderbird/3.1.9 MIME-Version: 1.0 To: Bob Willcox References: <201102052134.p15LYRmw041695@svn.freebsd.org> <20110316135122.GB7185@rancor.immure.com> In-Reply-To: <20110316135122.GB7185@rancor.immure.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 23:41:46 -0000 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. You may try to build kernel with `options ATA_CAM` to see if it helps. I've mostly tested this patch in that mode. > 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