From owner-freebsd-stable@FreeBSD.ORG Sun May 29 06:54:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1785106566B for ; Sun, 29 May 2011 06:54:28 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDDC8FC12 for ; Sun, 29 May 2011 06:54:27 +0000 (UTC) Received: by bwz12 with SMTP id 12so3233280bwz.13 for ; Sat, 28 May 2011 23:54:26 -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=sA6bMsmLAERJC8p+EkyRz+dS2AYKzXEoxsrb5mtCews=; b=gsJWexboC9zC9wYeDDq9q/PNI03V5QvFzyS8kS5X/eUgWQhBULQ4zoXQdBSDf0rPVf 5Shhoz5P48B8D4qpLGKC9upeV3BZpjDJvt7OzhnNwrg8ca3bG46UMbxn5Xn6traQunAL dOWmlGkVLsgJV46oGQqcXEIMTujzqpAC07jtI= 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=cmCeNNtG3SZ2a+HK+qQ1nCEIly7mIM3xZh4UuomiaHgqXlDu+3mGRA39ZEa87G5+oL 95W/9ZAq23W+myA5bTmUSCLE+4wS6oCpA/gtzGMy8bN/UyagGbwvsH0F2sQv4PBmNpRt vd7dF54RWKnGUc0dVxaug1ErplJLz3Cnvw7TE= Received: by 10.204.6.219 with SMTP id a27mr3207094bka.171.1306652066856; Sat, 28 May 2011 23:54:26 -0700 (PDT) Received: from mavbook.mavhome.dp.ua ([91.198.175.1]) by mx.google.com with ESMTPS id k10sm2482513bkq.10.2011.05.28.23.54.25 (version=SSLv3 cipher=OTHER); Sat, 28 May 2011 23:54:25 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DE1ED9E.9070303@FreeBSD.org> Date: Sun, 29 May 2011 09:54:22 +0300 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: Michael Sinatra References: <4DE1C723.2070903@rancid.berkeley.edu> <20110529045615.GA44303@icarus.home.lan> In-Reply-To: <20110529045615.GA44303@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: ICH9 panic/instability on recent kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2011 06:54:29 -0000 On 29.05.2011 07:56, Jeremy Chadwick wrote: > On Sat, May 28, 2011 at 09:10:11PM -0700, Michael Sinatra wrote: >> I have a core-2 system with a 3ware SATA RAID controller for the >> main disks and the built-in Intel ICH9 4-port SATA controller that >> is only used for the DVDR. An 8-STABLE kernel csup'd and compiled >> on April 25 works fine on this system. Kernels from source csup'd >> this week are extremely unstable and usually panic or hang just >> minutes after booting. The following warning messages appear after >> the kernel probes the SATA controller and/or ICH9 USB controller and >> continue about once per 1-2 seconds until the system crashes: >> >> May 13 14:21:05 sonicyouth kernel: unknown: WARNING - ATAPI_IDENTIFY >> requeued due to channel reset LBA=0 >> >> Disabling the ICH9 SATA controller in the BIOS allows the system to >> boot and run normally. >> >> Changes were made on April 28 to allow better support for 6-port >> ICH9 controllers (SVN rev 221156) and I am wondering if my >> controller is now being incorrectly recognized. >> >> Here's the relevant kernel messages: >> >> May 13 13:52:53 sonicyouth kernel: atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c40-0x1c4f,0x1c30-0x1c3f at device 31.2 on pci0 >> May 13 13:52:53 sonicyouth kernel: ata0: on atapci1 >> May 13 13:52:53 sonicyouth kernel: ata0: [ITHREAD] >> May 13 13:52:53 sonicyouth kernel: ata1: on atapci1 >> May 13 13:52:53 sonicyouth kernel: ata1: [ITHREAD] >> May 13 13:52:53 sonicyouth kernel: atapci2: controller> port 0x1cb8-0x1cbf,0x1cac-0x1caf,0x1cb0-0x1cb7,0x1ca8-0x1cab,0x1c60-0x1c6f,0x1c50-0x1c5f irq 18 at device 31.5 on pci0 >> May 13 13:52:53 sonicyouth kernel: atapci2: [ITHREAD] >> May 13 13:52:53 sonicyouth kernel: ata3: on atapci2 >> May 13 13:52:53 sonicyouth kernel: ata3: [ITHREAD] >> May 13 13:52:53 sonicyouth kernel: ata4: on atapci2 >> May 13 13:52:53 sonicyouth kernel: ata4: [ITHREAD] >> >> If I csup the most recent kernel sources, I get the same problem. >> However, if, after csuping the latest kernel sources, I then fetch >> the version of sys/dev/ata/ata-all.c as of April 27, everything >> works fine. Here's the output of pciconf -l: The only change in 8-STABLE ata-all.c since April 27 was the SVN rev 221155. But I don't see how can it cause problems. I would really like to see full _verbose_ demsg output to better understand what is going on there. If it even panics, I need to see how exactly. -- Alexander Motin