Re: atapicd triggers panic

From: Stefan Bethke <stb_at_lassitu.de>
Date: Sat, 29 Aug 2009 21:45:20 +0200
Am 29.08.2009 um 12:53 schrieb Stefan Bethke:

> Sorry if this has been discussed before; I didn't pay attention  
> since I thought the problem only was annoying messages.
>
> This happens about a minute or two after I load atapicd,  
> irrespective whether I load it from loader.conf or the command  
> line.  This is on VMware Fusion 2.
>
> I'll try with GENERIC now.

With GENERIC, I do get a different one:
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex ATA state lock (ATA state lock) r = 0  
(0xffffff0002494988) locked _at_ /usr/src/sys/dev/ata/ata-queue.c:201
exclusive sleep mutex ATA queue lock (ATA queue lock) r = 0  
(0xffffff00024949b0) locked _at_ /usr/src/sys/dev/ata/ata-queue.c:184
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2e
witness_warn() at witness_warn+0x2c2
trap() at trap+0x2f5
calltrap() at calltrap+0x8
--- trap 0xc, rip = 0xffffffff805a9161, rsp = 0xffffff800005aa80, rbp  
= 0xffffff800005aad0 ---
device_get_softc() at device_get_softc+0x1
ata_start() at ata_start+0x1d3
ata_queue_request() at ata_queue_request+0x12c
taskqueue_run() at taskqueue_run+0x91
intr_event_execute_handlers() at intr_event_execute_handlers+0x68
ithread_loop() at ithread_loop+0xb2
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffff800005ad30, rbp = 0 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0x80
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff805a9161
stack pointer	        = 0x28:0xffffff800005aa80
frame pointer	        = 0x28:0xffffff800005aad0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 12 (swi6: task queue)

#8  0xffffffff80849ee3 in calltrap ()
     at /usr/src/sys/amd64/amd64/exception.S:224
#9  0xffffffff805a9161 in device_get_softc (dev=0x0)
     at /usr/src/sys/kern/subr_bus.c:2294
#10 0xffffffff8026e0e4 in ata_begin_transaction  
(request=0xffffff0002ec63a8)
     at /usr/src/sys/dev/ata/ata-lowlevel.c:79
#11 0xffffffff80270173 in ata_start (dev=0xffffff0002560700)
     at /usr/src/sys/dev/ata/ata-queue.c:212
#12 0xffffffff8027039c in ata_queue_request (request=0xffffff0002ec63a8)
     at /usr/src/sys/dev/ata/ata-queue.c:95
---Type <return> to continue, or q <return> to quit---
#13 0xffffffff805be691 in taskqueue_run (queue=0xffffff000244ee00)
     at /usr/src/sys/kern/subr_taskqueue.c:239
#14 0xffffffff8055c7d8 in intr_event_execute_handlers (p=Variable "p"  
is not available.
)
     at /usr/src/sys/kern/kern_intr.c:1165
#15 0xffffffff8055d432 in ithread_loop (arg=0xffffff0002321160)
     at /usr/src/sys/kern/kern_intr.c:1178
#16 0xffffffff8055a72a in fork_exit (
     callout=0xffffffff8055d380 <ithread_loop>, arg=0xffffff0002321160,
     frame=0xffffff800005ac80) at /usr/src/sys/kern/kern_fork.c:838
#17 0xffffffff8084a3be in fork_trampoline ()
     at /usr/src/sys/amd64/amd64/exception.S:561


-- 
Stefan Bethke <stb_at_lassitu.de>   Fon +49 151 14070811
Received on Sat Aug 29 2009 - 17:45:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC