panic in cache_zap

From: Eric Anderson <anderson_at_centtech.com>
Date: Mon, 25 Dec 2006 12:54:41 -0600
I'm playing with a custom file system on this, so it could be related. 
I haven't made any modifications to any kernel code directly, or any UFS 
code, but I did have my custom file system mounted at the time.

I'll let it run for a while if anyone has any ideas to try.  No dump 
device set up, but I do have serial access and such.

Eric


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc0734b5b
stack pointer           = 0x28:0xc88437a8
frame pointer           = 0x28:0xc88437bc
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         = 1400 (find)
[thread pid 1400 tid 100074 ]
Stopped at      cache_zap+0x1b: movl    %ecx,0(%eax)
db> bt
Tracing pid 1400 tid 100074 td 0xc2082180
cache_zap(4,c1ab9cc0,c2082180,c88437dc,c093c786,...) at cache_zap+0x1b
cache_purge(c1ab9cc0,c8843804,c2082180,0,0,...) at cache_purge+0x55
vgonel(c1ab9cc0,c8843854,2,0,c401a430,...) at vgonel+0x1c7
vnlru_free(0,0,0,c88438c0,c88438d0,...) at vnlru_free+0x398
getnewvnode(c099a0cd,c1a43ce4,c0a43a40,c8843914,c8843998,...) at 
getnewvnode+0x26a
ffs_vget(c1a43ce4,5df8,2,c8843998,c884399c,...) at ffs_vget+0xe6
ufs_lookup(c8843a3c,c8843a78,c0735893,c0a43a40,c8843a3c,...) at 
ufs_lookup+0x84d
VOP_CACHEDLOOKUP_APV(c0a43a40,c8843a3c,c8843bb8,c2082180,c1bbd200,...) 
at VOP_CACHEDLOOKUP_APV+0x36
vfs_cache_lookup(c8843ae8,c8843a90,c8843bb8,c2099440,c8843b04,...) at 
vfs_cache_lookup+0xf3
VOP_LOOKUP_APV(c0a43a40,c8843ae8,c2082180,c8843abc,c087aae8,...) at 
VOP_LOOKUP_APV+0x55
lookup(c8843b90,c1b8f800,400,c8843bac,0,...) at lookup+0x4d3
namei(c8843b90,c8843be0,60,0,c2082180,...) at namei+0x2ef
kern_lstat(c2082180,805cca8,0,c8843c64,48,...) at kern_lstat+0x4e
lstat(c2082180,c8843d04,8,c0a0c700,458d01b5,...) at lstat+0x2d
syscall(3b,3b,3b,805cc48,805cc00,...) at syscall+0x220
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (190, FreeBSD ELF32, lstat), eip = 0x28135d1f, esp = 
0xbfbfeb3c, ebp = 0xbfbfebd8 ---
db> ps
   pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
  1403  1401  1396 65534  L      *Name Cac 0xc204b640 locate.code
  1401  1397  1396 65534  S       wait     0xc2081000 sh
  1400  1397  1396 65534  R       CPU 0               find
  1397  1396  1396 65534  S       wait     0xc1b90218 sh
  1396  1395  1396 65534  S       wait     0xc2081c90 bash
  1395  1390  1370     0  S       wait     0xc1a86218 su
  1390  1379  1370     0  S       wait     0xc2081648 sh
  1382  1380  1370     0  S       piperd   0xc1a67330 mail
  1380  1373  1370     0  S       wait     0xc2084c90 sh
  1379  1373  1370     0  S       wait     0xc2084648 sh
  1373  1370  1370     0  S       wait     0xc1a3d000 sh
  1370  1368  1370     0  Ss      wait     0xc1b90430 sh
  1368   389   389     0  S       piperd   0xc2283198 cron
   447     0     0     0  SL      mdwait   0xc1bdd800 [md0]
   439   429   439     0  S+      ttyin    0xc19b2410 bash
   438   437   438     0  S+      ttyin    0xc19aec10 bash
   437     1   437     0  Ss+     wait     0xc1b90c90 login
   436     1   436     0  Ss+     ttyin    0xc19b2810 getty
   435     1   435     0  Ss+     ttyin    0xc19b3810 getty
   434     1   434     0  Ss+     ttyin    0xc19b3410 getty
   433     1   433     0  Ss+     ttyin    0xc19b0410 getty
   432     1   432     0  Ss+     ttyin    0xc19b0810 getty
   431     1   431     0  Ss+     ttyin    0xc19b0c10 getty
   430     1   430     0  Ss+     ttyin    0xc19b2010 getty
   429     1   429     0  Ss+     wait     0xc1a85a78 login
   389     1   389     0  Ss      nanslp   0xc0a7042c cron
   383     1   383    25  Ss      pause    0xc1a3eaac sendmail
   377     1   377     0  Ss      select   0xc0a74ea4 sendmail
   263     1   263     0  Ss      select   0xc0a74ea4 syslogd
   227     1   227     0  Ss      select   0xc0a74ea4 devd
    33     0     0     0  SL      -        0xc7d82cec [schedcpu]
    32     0     0     0  SL      sdflush  0xc0a82874 [softdepflush]
    31     0     0     0  SL      syncer   0xc0a7019c [syncer]
    30     0     0     0  SL      vlruwt   0xc1a3e000 [vnlru]
    29     0     0     0  SL      psleep   0xc0a75428 [bufdaemon]
    28     0     0     0  SL      pgzero   0xc0a837e4 [pagezero]
    27     0     0     0  SL      psleep   0xc0a83334 [vmdaemon]
    26     0     0     0  SL      psleep   0xc0a832f0 [pagedaemon]
    25     0     0     0  WL                          [swi0: sio]
    24     0     0     0  WL                          [irq7: ppc0]
    23     0     0     0  WL                          [irq12: psm0]
    22     0     0     0  WL                          [irq1: atkbd0]
    21     0     0     0  WL                          [irq15: ata1]
    20     0     0     0  WL                          [irq14: ata0]
    19     0     0     0  WL                          [irq11: ed0 acpi0]
    18     0     0     0  WL                          [swi5: +]
    17     0     0     0  WL                          [swi2: cambio]
     9     0     0     0  SL      -        0xc197b180 [acpi_task_2]
     8     0     0     0  SL      -        0xc197b180 [acpi_task_1]
     7     0     0     0  SL      -        0xc197b180 [acpi_task_0]
     6     0     0     0  SL      -        0xc197b200 [kqueue taskq]
    16     0     0     0  WL                          [swi6: task queue]
    15     0     0     0  WL                          [swi6: Giant taskq]
     5     0     0     0  SL      -        0xc197b480 [thread taskq]
    14     0     0     0  SL      -        0xc0a6ade0 [yarrow]
     4     0     0     0  SL      -        0xc0a6d908 [g_down]
     3     0     0     0  SL      -        0xc0a6d904 [g_up]
     2     0     0     0  SL      -        0xc0a6d8fc [g_event]
    13     0     0     0  WL                          [swi3: vm]
    12     0     0     0  WL                          [swi4: clock sio]
    11     0     0     0  WL                          [swi1: net]
    10     0     0     0  RL                          [idle]
     1     0     1     0  SLs     wait     0xc18c2000 [init]
     0     0     0     0  WLs                         [swapper]


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
An undefined problem has an infinite number of solutions.
------------------------------------------------------------------------
Received on Mon Dec 25 2006 - 18:14:58 UTC

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