Crash in swapgeom_strategy?

From: Eivind Olsen <eivind_at_aminor.no>
Date: Fri, 12 Sep 2003 07:03:37 +0200 (CEST)
Hello. My FreeBSD server has been getting panics for the last few days and
the panics always refer to swapgeom_strategy.
Here's a transcription of what I can see:

vimes# uname -a
FreeBSD vimes.eivind 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Sep 10
09:36:05 CEST 2003   root_at_vimes.eivind:/usr/obj/src/sys/VIMES  i386

The sources were cvsup'ed in the evening on the 9th of September (evening
according to CET).

I have not been able to produce a crash dump.

Does anyone have any suggestions as to what might be wrong?

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x40
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc04a8f4c
stack pointer           = 0x10:0xcaf25a44
frame pointer           = 0x10:0xcaf25a5c
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         = 6 (pagedaemon)
kernel: type 12 trap, code=0
Stopped at      swapgeom_strategy+0x3c: movl    %edi,0x40(%eax)
db> show reg
cs                 0x8
ds                0x10
es                0x10
fs                0x18
ss                0x10
eax                  0
ecx                  0
edx                0x4
ebx         0xc1f8eb80
esp         0xcaf25a44
ebp         0xcaf25a5c
esi         0xc5ab87f8
edi         0xc5ab87f8
eip         0xc04a8f4c  swapgeom_strategy+0x3c
efl            0x10246
dr0                  0
dr1                  0
dr2                  0
dr3                  0
dr4         0xffff0ff0
dr5              0x400
dr6         0xffff0ff0
dr7              0x400
swapgeom_strategy+0x3c: movl    %edi,0x40(%eax)
db> trace
swapgeom_strategy(c5ab87f8,c1f8eb80,0,0,0) at swapgeom_strategy+0x3c
swp_pager_strategy(c5ab87f8,200,0,3a1,0) at swp_pager_strategy+0xc5
swap_pager_putpages(c27ba784,caf25b80,1,0,caf25af0) at
swap_pager_putpages+0x452
vm_pageout_flush(caf25b80,1,0,1,0) at vm_pageout_flush+0x18b
vm_pageout_clean(c098d268,0,0,0,0) at vm_pageout_clean+0x2cd
vm_pageout_scan(0,c0632120,44,c0565bb1,1f4) at vm_pageout_scan+0x6ff
vm_pageout(0,caf25d48,0,0,0) at vm_pageout+0x368
fork_exit(c04becc0,0,caf25d48) at fork_exit+0xb1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcaf25d7c, ebp = 0 ---
db> panic
panic: from debugger
Debugger("panic")



Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer     = 0x8:0xc04e9e64
stack pointer           = 0x10:0xcaf257bc
frame pointer           = 0x10:0xcaf257c8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = IOPL = 0
currnet process         = 6 (pagedaemon)
Stopped at      swapgeom_strategy+0x3c: movl    %edi,0x40(%eax)
db> panic
panic: from debugger
Uptime: 12h58m23s
panic: free locked buf
Uptime: 12h58m24s
Dumping 191 MB
...and there it just hangs...


-- 
Regards
Eivind Olsen
Received on Thu Sep 11 2003 - 20:03:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC