From owner-freebsd-acpi@FreeBSD.ORG Tue May 12 15:31:58 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C9A61065702; Tue, 12 May 2009 15:31:58 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 26B528FC0A; Tue, 12 May 2009 15:31:53 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [66.78.101.3] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 242567282; Tue, 12 May 2009 18:31:53 +0300 Message-ID: <4A099661.7080404@FreeBSD.org> Date: Tue, 12 May 2009 18:31:45 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: John Baldwin References: <43b1bb350904230622u4b7790f0p9f665b649c97a3b@mail.gmail.com> <200905011450.13899.jhb@freebsd.org> <43b1bb350905011230p1372e1ffw5ab61985e7672e19@mail.gmail.com> <200905111425.01887.jhb@freebsd.org> In-Reply-To: <200905111425.01887.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-acpi@freebsd.org Subject: Re: Fwd: Kernel panic on 7.2-RC1 when booting with ACPI enabled kernel. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2009 15:32:15 -0000 John Baldwin wrote: > On Friday 01 May 2009 3:30:28 pm Magnus Kling wrote: >> 2009/5/1 John Baldwin >>> Maybe try adding KTR traces for all calls to device_set_ivars(). I wonder >>> if >>> something is trashing this device's ivars. >>> >>> Oh, dear. The ata(4) driver overwrites the ivars of some PCI devices it >>> attaches to. This is very, very wrong. Which ATA controller do you have? >>> >> Aha, I´m using a Promise Fasttrack SX4000 for a RAID1 setup. And the one >> included on the motherboard for the OS. >> And yes, I can confirm that without the Fasttrack SX4000 the system boots up >> correctly. (Pulled out the card and edited fstab.) >> So you are right regarding that the ata driver messes something up. Do you >> contact someone that is responsible for ata driver? >> >> Thank you for taking the time to "correct" this, > > Can you please try this patch? Current behavior is definitely broken. Luckily it done so only for two types of controllers. As for me, this patch looks fine. Thanks. -- Alexander Motin