5.2.1-RC2 kernel panic 12

Dave McCammon dmac at faq.goivytech.net
Thu Feb 19 07:03:59 PST 2004


Ok finally got a serial console setup to catch the panic.

I was getting the dumps with 5.2.1-rc2. Upgraded to 
CURRENT and got same dumps when doing
"ncplist s", doing a mount_nwfs, o r when system is 
shutdown with "IPXrouted" being the process mentioned.

Panic message following and a "trace" and "ps" as 
requested by Robert Watson.

A171658 9:48am ~ # ncplist s
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc04ea65a
stack pointer           = 0x10:0xd2d2ab88
frame pointer           = 0x10:0xd2d2ab88
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 526 (ncplist)
kernel: type 12 trap, code=0
Stopped at      turnstile_head+0x6:     movl    0(%eax),%eax
db> trace
turnstile_head(0,c289c500,c292d000,0,d2d2abc0) at turnstile_head+0x6
_mtx_unlock_sleep(c289c564,0,0,0) at _mtx_unlock_sleep+0x40
rtfree(c289c500) at rtfree+0x177
ipx_pcbdetach(c2ccd500) at ipx_pcbdetach+0x2e
ipx_detach(c292d000) at ipx_detach+0x18
soclose(c292d000,d2d2ac58,c04afbdb,c2872d04,c29393f0) at soclose+0x104
soo_close(c2872d04,c29393f0) at soo_close+0x26
fdrop_locked(c2872d04,c29393f0,c2cb0300,3,d2d2accc) at fdrop_locked+0x14f
fdrop(c2872d04,c29393f0,1,42,0) at fdrop+0x41
closef(c2872d04,c29393f0,0,c2cde898,c29393f0) at closef+0x233
close(c29393f0,d2d2ad14,1,1,282) at close+0x199
syscall(2f,2f,2f,bfbfe89c,5) at syscall+0x27f
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (6, FreeBSD ELF32, close), eip = 0x280c4f47, esp = 0xbfbfe44c, ebp = 0xbfbfe8b8 ---
db> ps
  pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
  526 c2cde898 d2d74000    0   524   526 0004002 [CPU 0] ncplist
  524 c2cdec08 d2d76000    0   523   524 0004002 [SLP]pause 0xc2cf8000] tcsh
  523 c2cdedc0 d2d77000 1000   520   523 0004102 [SLP]wait 0xc2cdedc0] su
  520 c2ce0370 d2d7a000 1000   519   520 0004002 [SLP]pause 0xc2b03000] tcsh
  519 c28501b8 d2404000    0     1   519 0004102 [SLP]wait 0xc28501b8] login
  518 c2852898 d2435000    0     1   518 0004002 [SLP]ttyin 0xc2b8d410] getty
  517 c2938000 d2d1a000    0     1   517 0004002 [SLP]ttyin 0xc2b86410] getty
  516 c272edc0 ce3b1000    0     1   516 0004002 [SLP]ttyin 0xc2b92010] getty
  515 c29386e0 d2d1e000    0     1   515 0004002 [SLP]ttyin 0xc2b86a10] getty
  514 c28526e0 d2434000    0     1   514 0004002 [SLP]ttyin 0xc2b97610] getty
  513 c2852dc0 d2438000    0     1   513 0004002 [SLP]ttyin 0xc2b91a10] getty
  512 c2938528 d2d1d000    0     1   512 0004002 [SLP]ttyin 0xc2b81010] getty
  511 c2850528 d2406000    0     1   511 0004002 [SLP]ttyin 0xc2786e10] getty
  510 c272ea50 ce3af000    0   509    40 0004002 [SLP]nanslp 0xc0650e5c] sleep
  509 c2938898 d2d67000    0   506    40 0000002 [SLP]wait 0xc2938898] sh
  507 c2852370 d2432000    0     1    40 0004002 [SLP]piperd 0xc2878c00] logger
  506 c2850000 d2403000    0     1    40 0000002 [SLP]wait 0xc2850000] sh
  467 c272ec08 ce3b0000    0     1   467 0000000 [SLP]nanslp 0xc0650e5c] cron
  449 c28521b8 d2431000   25     1   449 0000100 [SLP]pause 0xc2b0a000] sendmail
  446 c29381b8 d2d1b000    0     1   446 0000100 [CV]select 0xc0652f24] sendmail
  440 c2852c08 d2437000    0     1   440 0000100 [CV]select 0xc0652f24] sshd
  401 c2852528 d2433000    0     1   401 0000000 [CV]select 0xc0652f24] ntpd
  273 c2938370 d2d1c000    0     1   273 0000000 [CV]select 0xc0652f24] syslogd
  213 c2852a50 d2436000    0     1   213 0000000 [CV]select 0xc0652f24] dhclient
  156 c2850370 d2405000    0     1   156 0000000 [SLP]pause 0xc2890000] adjkerntz
   39 c28506e0 d2407000    0     0     0 0000204 [SLP]- 0xcd991d18] schedcpu
   38 c2850898 d2408000    0     0     0 0000204 [SLP]vlruwt 0xc2850898] vnlru
   37 c2850a50 d2409000    0     0     0 0000204 [SLP]syncer 0xc0650820] syncer
    9 c2850c08 d242e000    0     0     0 0000204 [SLP]psleep 0xc065338c] bufdaemon
    8 c2850dc0 d242f000    0     0     0 000020c [SLP]pgzero 0xc0656088] pagezero
    7 c2852000 d2430000    0     0     0 0000204 [SLP]psleep 0xc06560e0] vmdaemon
    6 c2720528 ce37f000    0     0     0 0000204 [SLP]psleep 0xc06560cc] pagedaemon
   36 c27206e0 ce380000    0     0     0 0000204 [IWAIT] swi0: tty:sio
   35 c2720898 ce381000    0     0     0 0000204 [IWAIT] swi5:+
    5 c2720a50 ce382000    0     0     0 0000204 [SLP]tqthr 0xc0651a48] taskqueue
   34 c2720c08 ce383000    0     0     0 0000204 [IWAIT] swi6:+
   33 c2720dc0 ce384000    0     0     0 0000204 [IWAIT] swi7: task queue
   32 c272e000 ce385000    0     0     0 0000204 [IWAIT] swi3: cambio
   31 c272e1b8 ce3aa000    0     0     0 0000204 [IWAIT] swi2: camnet
   30 c272e370 ce3ab000    0     0     0 0000204 [SLP]- 0xc06479c0] random
    4 c272e528 ce3ac000    0     0     0 0000204 [SLP]- 0xc064b620] g_down
    3 c272e6e0 ce3ad000    0     0     0 0000204 [SLP]- 0xc064b61c] g_up
    2 c272e898 ce3ae000    0     0     0 0000204 [SLP]- 0xc064b614] g_event
   29 c10e81b8 cd97f000    0     0     0 0000204 [IWAIT] swi4: vm
   28 c10e8370 cd980000    0     0     0 000020c [IWAIT] swi8: tty:sio clock
   27 c10e8528 cd981000    0     0     0 0000204 [IWAIT] swi1: net
   26 c10e86e0 cd982000    0     0     0 0000204 [IWAIT] irq15: ata1
   25 c10e8898 cd9a7000    0     0     0 0000204 [IWAIT] irq14: ata0
   24 c10e8a50 cd9a8000    0     0     0 0000204 [IWAIT] irq13:
   23 c10e8c08 cd9a9000    0     0     0 0000204 [IWAIT] irq12:
   22 c10e8dc0 cd9aa000    0     0     0 0000204 [IWAIT] irq11: rl0 pcm0
   21 c2720000 ce37c000    0     0     0 0000204 [IWAIT] irq10:
   20 c27201b8 ce37d000    0     0     0 0000204 [IWAIT] irq9:
   19 c2720370 ce37e000    0     0     0 0000204 [IWAIT] irq8:
   18 c10e0000 cd92d000    0     0     0 0000204 [IWAIT] irq7: ppc0
   17 c10e01b8 cd976000    0     0     0 0000204 [IWAIT] irq6: fdc0
   16 c10e0370 cd977000    0     0     0 0000204 [IWAIT] irq5:
   15 c10e0528 cd978000    0     0     0 0000204 [IWAIT] irq4: sio0
   14 c10e06e0 cd979000    0     0     0 0000204 [IWAIT] irq3: sio1
   13 c10e0898 cd97a000    0     0     0 0000204 [IWAIT] irq1:
   12 c10e0a50 cd97b000    0     0     0 0000204 [IWAIT] irq0: clk
   11 c10e0c08 cd97c000    0     0     0 000020c [Can run] idle
    1 c10e0dc0 cd97d000    0     0     1 0004200 [SLP]wait 0xc10e0dc0] init
   10 c10e8000 cd97e000    0     0     0 0000204 [CV]ktrace 0xc064ea64] ktrace
    0 c064b6c0 c081f000    0     0     0 0000200 [SLP]sched 0xc064b6c0] swapper



More information about the freebsd-stable mailing list