Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 07:27:37 -0700 (PDT)
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   panic for today: "kernel trap 12 with interrupts disabled"
Message-ID:  <200207081427.g68ERbZt001986@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help
CVSup started at 0347 hrs. Pacfic Daylight (7 hrs. west of GMT/UTC)
from cvsup14.freebsd.org.  Build/install/mergemaster was uneventful.
Reboot after mergemaster proceeded as if nothing strange was about
to happen, then (cut/pasted from serial console):

...
SMP: enabled INTs: 2, 3, 4, 6, 7, 9, 10, 14, 15, apic_imen: 0xffff3923
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
bpf: lo0 attached
bpf: ppp0 attached
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%
ata1-slave: timeout waiting for interrupt
ata1-slave: ATA identify failed
ad0: success setting UDMA5 on VIA chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <QUANTUM FIREBALLP AS40.0/A1Y.1500> ATA-5 disk at ata0-master
ad0: 39203MB (80288480 sectors), 79651 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA100
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <Compaq CRD-8322B/1.06> CDROM drive at ata1 as master
acd0: read 5500KB/s (21KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked, lock protected
acd0: Medium: no/blank disc
aMMoPu:n tCiPnUg1  raopoitc _firnoimt iuaflsi:z/ed(e)v:/
l 0 s 4 a 
int0: 0x00010700 lint1: 0x0kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address   = 0x18
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01c7c12
stack pointer           = 0x10:0xd69eb9d4
frame pointer           = 0x10:0xd69eb9f8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 4 (pagezero)
kernel: type 12 trap, code=0
Stopped at      witness_lock+0x1a6:     movl    0x18(%eax),%eax
db> tr
witness_lock(c03b1600,8,c0320323,c7e,3f8) at witness_lock+0x1a6
_mtx_lock_spin_flags(c03b1600,0,c0320323,c7e,0) at _mtx_lock_spin_flags+0x89
siocnputc(c037ed00,6b) at siocnputc+0x6f
cnputc(6b) at cnputc+0x43
putchar(6b,d69ebb54) at putchar+0xae
kvprintf(c0327f40,c01c3da4,d69ebb54,a,d69ebb74) at kvprintf+0x77
printf(c0327f40,c) at printf+0x43
trap(c0380018,10,c0300010,c0341100,c03aa36c) at trap+0xb5
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc01c7c12, esp = 0xd69ebbe0, ebp = 0xd69ebc04 ---
witness_lock(c0341100,a,c02fd100,1d1,d69ebc5c) at witness_lock+0x1a6
_mtx_lock_spin_flags(c0341100,2,c02fd100,1d1,d69ebc5c) at _mtx_lock_spin_flags+0x89
statclock(d69ebc5c,c1585f00,d69ebcb4,c02c26d4,0) at statclock+0x1d
rtcintr(0) at rtcintr+0x12
Xfastintr8() at Xfastintr8+0xc4
--- interrupt, eip = 0xc01c83a8, esp = 0xd69ebca0, ebp = 0xd69ebcb4 ---
witness_unlock(c03581c0,8,c031e175,55,c03581c0,1,c02ffb60,153) at witness_unlock+0x16c
_mtx_unlock_flags(c03581c0,0,c031e175,55,ff) at _mtx_unlock_flags+0x55
vm_page_zero_idle(1f0004,c02a1d24,c419d000,0,d69ebd34) at vm_page_zero_idle+0xb0
vm_pagezero(0,d69ebd48,c1585f00,c02a1d24,0) at vm_pagezero+0x6e
fork_exit(c02a1d24,0,d69ebd48) at fork_exit+0xa8
fork_trampoline() at fork_trampoline+0x37
db> show pcpu 0
cpuid        = 0
curthread    = 0xc1585f00: pid 4 "pagezero"
curpcb       = 0xd69ebda0
fpcurthread  = none
idlethread   = 0xc1584d80: pid 12 "idle: cpu0"
currentldt   = 0x28
spin locks held:
db> show pcpu 1
cpuid        = 1
curthread    = 0xc1584e40: pid 11 "idle: cpu1"
curpcb       = 0
fpcurthread  = none
idlethread   = 0xc1584e40: pid 11 "idle: cpu1"
currentldt   = 0x28
spin locks held:
exclusive spin mutex clk r = 0 (0xc0362a40) locked @ /usr/src/sys/i386/isa/clock.c:409
db> ps
  pid   proc     addr    uid  ppid  pgrp  flag  stat wmesg   wchan   cmd
   35 c41b5558 d7c30000    0     0     0 0000204  Normal  nfsidl c035256c nfsiod 3
   34 c41b5804 d7c31000    0     0     0 0000204  Normal  nfsidl c0352568 nfsiod 2
   33 c41b5ab0 d7c32000    0     0     0 0000204  Normal  nfsidl c0352564 nfsiod 1
   32 c40762ac d7be1000    0     0     0 0000204  Normal  nfsidl c0352560 nfsiod 0
    7 c4076558 d7be2000    0     0     0 0000204  Normal  syncer c034246c syncer
    6 c4076804 d7be3000    0     0     0 0000204  Normal  vlruwt c4076804 vnlru
    5 c4076ab0 d7be4000    0     0     0 0000204  Normal  psleep c03aa720 bufdaemon
    4 c419d000 d7be5000    0     0     0 0000204  Normal                  pagezero
    3 c419d2ac d7be6000    0     0     0 0000204  Normal  psleep c03af77c vmdaemon
    2 c419d558 d7be7000    0     0     0 0000204  Normal  psleep c0358798 pagedaemon
   31 c419d804 d7be8000    0     0     0 0000204  New                  irq8: rtc
   30 c419dab0 d7be9000    0     0     0 0000204  New                  irq0: clk
   29 c3fb9804 d7bc0000    0     0     0 0000204  New                  irq7: ppc0
   28 c3fb9ab0 d7bc1000    0     0     0 0000204  New                  irq3: sio1
   27 c4075000 d7bdb000    0     0     0 0000204  New                  irq4: sio0
   26 c40752ac d7bdc000    0     0     0 0000204  Normal                  swi0: tty:sio
   25 c4075558 d7bdd000    0     0     0 0000204  Normal                  irq6: fdc0
   24 c4075804 d7bde000    0     0     0 0000204  Normal                  irq15: ata1
   23 c4075ab0 d7bdf000    0     0     0 0000204  Normal                  irq14: ata0
   22 c4076000 d7be0000    0     0     0 0000204  New                  irq10: atapci0+
   21 c15832ac d696a000    0     0     0 0000204  New                  irq2: rl0
   20 c1583558 d696b000    0     0     0 0000204  Normal  nothing c047c120 acpi_thermal
   19 c1583804 d696c000    0     0     0 0000204  New                  irq9: acpi0
   18 c1583ab0 d696d000    0     0     0 0000204  New                  swi5: task queue
   17 c3fb9000 d7bbd000    0     0     0 0000204  Normal                  swi5: acpitaskq
   16 c3fb92ac d7bbe000    0     0     0 0000204  Normal   sleep c036fea0 random
   15 c3fb9558 d7bbf000    0     0     0 0000204  New                  swi4: vm
   14 c1582000 d6964000    0     0     0 000020c  Normal                  swi6: tty:sio clock
   13 c15822ac d6965000    0     0     0 0000204  New                  swi1: net
   12 c1582558 d6966000    0     0     0 000020c  Normal                  idle: cpu0
   11 c1582804 d6967000    0     0     0 000020c  New                  idle: cpu1
    1 c1582ab0 d6968000    0     0     0 0000200  Normal   biord ce633da0 swapper
   10 c1583000 d6969000    0     0     0 0000204  Normal  ktrace c03809e4 ktrace
    0 c033c980 c04a9000    0     0     0 0000200  Normal   sched c033c980 swapper
db> show locks
exclusive sleep mutex Giant r = 0 (0xc0341160) locked @
/usr/src/sys/vm/vm_zeroidle.c:77
db> 


This is my SMP (2x866 PIII) build machine.

Anything else I can do to help figure this out?

Thanks,
david
-- 
David H. Wolfskill				david@catwhisker.org
Trying to support or use Microsoft products makes about as much sense
as painting the outside of a house with watercolors.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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