atapicd triggers panic

From: Stefan Bethke <stb_at_lassitu.de>
Date: Sat, 29 Aug 2009 12:53:01 +0200
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.


# uname -a
FreeBSD freebsd-current.lassitu.de 9.0-CURRENT FreeBSD 9.0-CURRENT #6  
r196632: Sat Aug 29 01:02:04 CEST 2009     root_at_freebsd-current.lassitu.de 
:/usr/obj/usr/src/sys/MINIMAL  amd64


root_at_freebsd-current:/usr/obj/usr/src/sys/MINIMAL# kgdb kernel.debug / 
var/crash/vmcore.0
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for  
details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
acd0: acd0: WARNING - PREVENT_ALLOW taskqueue timeout - completing  
request directlyWARNING - PREVENT_ALLOW taskqueue timeout - completing  
request directly
acd0:
acd0: WARNING - PREVENT_ALLOW freeing taskqueue zombie requestWARNING  
- PREVENT_ALLOW freeing taskqueue zombie request



Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x288
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff8021f02e
stack pointer	        = 0x28:0xffffff800006fab0
frame pointer	        = 0x28:0xffffff800006fad0
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)
Physical memory: 2037 MB
Dumping 1176 MB: 1161 1145 1129 1113 1097 1081 1065 1049 1033 1017  
1001 985 969 953 937 921 905 889 873 857 841 825 809 793 777 761 745  
729 713 697 681 665 649 633 617 601 585 569 553 537 521 505 489 473  
457 441 425 409 393 377 361 345 329 313 297 281 265 249 233 217 201  
185 169 153 137 121 105 89 73 57 41 25 9

Reading symbols from /boot/kernel/vesa.ko...done.
Loaded symbols for /boot/kernel/vesa.ko
Reading symbols from /boot/kernel/if_em.ko...Reading symbols from / 
boot/kernel/if_em.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_em.ko
Reading symbols from /boot/kernel/snd_es137x.ko...Reading symbols  
from /boot/kernel/snd_es137x.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_es137x.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from / 
boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/umass.ko...Reading symbols from / 
boot/kernel/umass.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/umass.ko
Reading symbols from /boot/kernel/usb.ko...Reading symbols from /boot/ 
kernel/usb.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/usb.ko
Reading symbols from /boot/kernel/random.ko...Reading symbols from / 
boot/kernel/random.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/random.ko
Reading symbols from /boot/kernel/mpt.ko...Reading symbols from /boot/ 
kernel/mpt.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/mpt.ko
Reading symbols from /boot/kernel/ata.ko...Reading symbols from /boot/ 
kernel/ata.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ata.ko
Reading symbols from /boot/kernel/atadisk.ko...Reading symbols from / 
boot/kernel/atadisk.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/atadisk.ko
Reading symbols from /boot/kernel/atapci.ko...Reading symbols from / 
boot/kernel/atapci.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/atapci.ko
Reading symbols from /boot/kernel/uhci.ko...Reading symbols from /boot/ 
kernel/uhci.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/uhci.ko
Reading symbols from /boot/kernel/ehci.ko...Reading symbols from /boot/ 
kernel/ehci.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ehci.ko
Reading symbols from /boot/kernel/uplcom.ko...Reading symbols from / 
boot/kernel/uplcom.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/uplcom.ko
Reading symbols from /boot/kernel/ucom.ko...Reading symbols from /boot/ 
kernel/ucom.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ucom.ko
Reading symbols from /boot/kernel/uftdi.ko...Reading symbols from / 
boot/kernel/uftdi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/uftdi.ko
Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/ 
kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols  
from /boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/atapicd.ko...Reading symbols from / 
boot/kernel/atapicd.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/atapicd.ko
#0  doadump () at pcpu.h:223
223		__asm __volatile("movq %%gs:0,%0" : "=r" (td));
(kgdb)
(kgdb) bt
#0  doadump () at pcpu.h:223
#1  0xffffffff80197d2c in db_fncall (dummy1=Variable "dummy1" is not  
available.
)
     at /usr/src/sys/ddb/db_command.c:548
#2  0xffffffff80198061 in db_command (last_cmdp=0xffffffff805d9ba0,  
cmd_table=Variable "cmd_table" is not available.
)
     at /usr/src/sys/ddb/db_command.c:445
#3  0xffffffff801982b0 in db_command_loop ()
     at /usr/src/sys/ddb/db_command.c:498
#4  0xffffffff8019a1f9 in db_trap (type=Variable "type" is not  
available.
) at /usr/src/sys/ddb/db_main.c:229
#5  0xffffffff80257005 in kdb_trap (type=12, code=0,  
tf=0xffffff800006fa00)
     at /usr/src/sys/kern/subr_kdb.c:535
#6  0xffffffff803e6f0d in trap_fatal (frame=0xffffff800006fa00,  
eva=Variable "eva" is not available.
)
     at /usr/src/sys/amd64/amd64/trap.c:847
#7  0xffffffff803e727d in trap_pfault (frame=0xffffff800006fa00,  
usermode=0)
     at /usr/src/sys/amd64/amd64/trap.c:768
#8  0xffffffff803e7c3f in trap (frame=0xffffff800006fa00)
     at /usr/src/sys/amd64/amd64/trap.c:494
#9  0xffffffff803ced53 in calltrap ()
     at /usr/src/sys/amd64/amd64/exception.S:224
#10 0xffffffff8021f02e in _mtx_lock_sleep (m=0xffffff00015d32e0,
     tid=18446742974218290064, opts=Variable "opts" is not available.
) at /usr/src/sys/kern/kern_mutex.c:369
#11 0xffffffff8021f189 in _mtx_lock_flags (m=0xffffff00015d32e0, opts=0,
     file=0xffffffff804370d6 "/usr/src/sys/kern/kern_sema.c", line=79)
     at /usr/src/sys/kern/kern_mutex.c:203
#12 0xffffffff8022b4ef in _sema_post (sema=Variable "sema" is not  
available.
)
---Type <return> to continue, or q <return> to quit---
     at /usr/src/sys/kern/kern_sema.c:79
#13 0xffffffff80a684f6 in ata_completed (context=Variable "context" is  
not available.
)
     at /usr/src/sys/modules/ata/atacore/../../../dev/ata/ata-queue.c: 
487
#14 0xffffffff80262151 in taskqueue_run (queue=0xffffff0001334600)
     at /usr/src/sys/kern/subr_taskqueue.c:239
#15 0xffffffff80209f27 in intr_event_execute_handlers (p=Variable "p"  
is not available.
)
     at /usr/src/sys/kern/kern_intr.c:1165
#16 0xffffffff8020a9ae in ithread_loop (arg=0xffffff00012dcaa0)
     at /usr/src/sys/kern/kern_intr.c:1178
#17 0xffffffff80208132 in fork_exit (
     callout=0xffffffff8020a920 <ithread_loop>, arg=0xffffff00012dcaa0,
     frame=0xffffff800006fc80) at /usr/src/sys/kern/kern_fork.c:838
#18 0xffffffff803cf22e in fork_trampoline ()
     at /usr/src/sys/amd64/amd64/exception.S:561
#19 0x0000000000000000 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000001 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000000000 in ?? ()
#36 0x0000000000000000 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x0000000000000000 in ?? ()
#39 0x0000000000000000 in ?? ()
#40 0x0000000000000000 in ?? ()
#41 0x0000000000000000 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000ae7000 in ?? ()
#44 0x0000000000000000 in ?? ()
#45 0xffffffff805f8e40 in affinity ()
#46 0xffffffff805f8e40 in affinity ()
#47 0xffffff00012f1720 in ?? ()
#48 0xffffff800006f4f0 in ?? ()
#49 0xffffff800006f4a8 in ?? ()
#50 0xffffff000136c390 in ?? ()
#51 0xffffffff8024b87e in sched_switch (td=0xffffff00012dcaa0,
     newtd=0xffffffff8020a920, flags=Variable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1858
Previous frame inner to this frame (corrupt stack?)

-- 
Stefan Bethke <stb_at_lassitu.de>   Fon +49 151 14070811
Received on Sat Aug 29 2009 - 08:53:04 UTC

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