From owner-freebsd-current@FreeBSD.ORG Tue Apr 5 14:44:23 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED8CE16A4CE for ; Tue, 5 Apr 2005 14:44:23 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69C8243D39 for ; Tue, 5 Apr 2005 14:44:23 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j35ElDDg038498; Tue, 5 Apr 2005 08:47:13 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4252A3D4.4070501@samsco.org> Date: Tue, 05 Apr 2005 08:42:28 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christian Brueffer References: <20050405143534.GE38773@unixpages.org> In-Reply-To: <20050405143534.GE38773@unixpages.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: current@freebsd.org Subject: Re: atapicam panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 14:44:24 -0000 Christian Brueffer wrote: > Hi, > > I'm getting this reproducible panic when booting an atapicam-enabled > CURRENT kernel from todays sources. > > > ad0: 57231MB at ata0-master UDMA100 > atapicam1: on ata1 > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xff53f000 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0611c98 > stack pointer = 0x10:0xd5656afc > frame pointer = 0x10:0xd5656afc > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 31 (swi6: task queue) > [thread pid 31 tid 100023 ] > Stopped at strlen+0x8: cmpb $0,0(%edx) > db> tr > Tracing pid 31 tid 100023 td 0xc19b5730 > strlen(ff53f000,d5656be8,c19b3e8c,c19b5730,d5656b6c) at strlen+0x8 > kvprintf(c07e11fe,c05b8c30,d5656be8,a,d5656c30) at kvprintf+0x679 > vsnprintf(c0852140,100,c07e11fe,d5656c2c,100) at vsnprintf+0x3c > panic(c07e11fe,ff53f000,c07cd585,2b2,c1bdc480) at panic+0x61 > _mtx_unlock_flags(deadc31e,0,c07cd585,2b2,1) at _mtx_unlock_flags+0x69 > atapi_cb(c1bdab60,1,d5656ca0,c058de8a,c1a258d8) at atapi_cb+0x11d > ata_completed(c1bdab60,1,c07e4f49,be,c1a258d8) at ata_completed+0x57c > taskqueue_run(c1a258c0,d5656d10,c057ed62,0,0) at taskqueue_run+0xb0 > taskqueue_swi_run(0,0,c07df510,256,c0851a40) at taskqueue_swi_run+0x13 > ithread_loop(c197bd80,d5656d48,c07df307,30c,0) at ithread_loop+0x172 > fork_exit(c057ebf0,c197bd80,d5656d48) at fork_exit+0xc1 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xd5656d7c, ebp = 0 --- > db> > > > - Christian > I know what the problem is, I'll have a fix shortly. Scott