From owner-svn-src-stable@FreeBSD.ORG Wed Jun 10 08:39:57 2009 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 A7C721065670; Wed, 10 Jun 2009 08:39:57 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 71ED58FC16; Wed, 10 Jun 2009 08:39:57 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 713AC35E7F4; Wed, 10 Jun 2009 04:39:56 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 10 Jun 2009 04:39:56 -0400 X-Sasl-enc: pGm/YTE9BnsynK1pH8uQA796LGmSVolReI4w/usM9Jhm 1244623196 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2EF50C76E; Wed, 10 Jun 2009 04:39:55 -0400 (EDT) Message-ID: <4A2F7159.3090800@incunabulum.net> Date: Wed, 10 Jun 2009 09:39:53 +0100 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.21 (X11/20090412) MIME-Version: 1.0 To: John Baldwin References: <200905130255.n4D2tMQZ040010@svn.freebsd.org> <200906081050.41020.jhb@freebsd.org> <4A2E3C26.9040903@incunabulum.net> <200906090946.46103.jhb@freebsd.org> In-Reply-To: <200906090946.46103.jhb@freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-stable-7@freebsd.org, svn-src-stable@freebsd.org, Alexander Motin , src-committers@freebsd.org, Bruce Simpson , svn-src-all@freebsd.org Subject: Re: svn commit: r192033 - stable/7/sys/dev/ata X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Wed, 10 Jun 2009 08:39:58 -0000 John Baldwin wrote: > http://www.FreeBSD.org/~jhb/patches/ata_ali.patch > Ok, I've uploaded the patch, I must have just sent it inline before. > Thanks! I did a p4 integ on my p4 work branch, built a NanoBSD USB stick image with this patch incorporated into the kernel, booted from it successfully on the affected machine, and got this panic just after the WITNESS warning. Had to transcribe by hand, no debugging symbols at the moment. Fatal trap 12: page fault while in kernel mode cpuid = 0 apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xc4adbb68 frame pointer = 0x28:0xc4adbb9c code segment = base 0x0, limit 0xfffff, type 0x1b processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4 (g_down) [thread pid 4 tid 100008] Stopped at 0: error reading from address 0 ata_begin_transaction+0x18a ata_start+0x1db ata_queue_request+0x4a0 ad_strategy+0x28f g_disk_start+0x16a g_io_schedule_down+0x281 g_down_procbody+0x8d fork_exit+0xb8 fork_trampoline+0x8 Looks like some sort of switch table, call %*edx, just after ata_pio_write() in that function. I'll try to grab line number info on next boot from NanoBSD build tree. Don't have any other HEAD stuff compiled but that does sound fairly far down in the body of ata_begin_transaction() and it looks like it's inside one of the switch cases. > > The same patch will apply to 7-stable though it will have to be applied > to ata-chipset.c instead. > I'll try applying this there next, just in case this is an 8.x specific problem. thanks! BMS