Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2005 08:42:28 -0600
From:      Scott Long <scottl@samsco.org>
To:        Christian Brueffer <chris@unixpages.org>
Cc:        current@freebsd.org
Subject:   Re: atapicam panic
Message-ID:  <4252A3D4.4070501@samsco.org>
In-Reply-To: <20050405143534.GE38773@unixpages.org>
References:  <20050405143534.GE38773@unixpages.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Brueffer wrote:
> Hi,
> 
> I'm getting this reproducible panic when booting an atapicam-enabled
> CURRENT kernel from todays sources.
> 
> 
> ad0: 57231MB <HTS726060M9AT00 MH4OA6DA> at ata0-master UDMA100
> atapicam1: <ATAPI CAM Attachment> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4252A3D4.4070501>