----- Original Message ----- From: "Willem Jan Withagen" <wjw_at_withagen.nl> > >From the console of my dual Opteron box, 2Gb: > > On the serial console: > vm_page_alloc(NORMAL): missing pages on cache queue: 7 > > Nothing more, noting less. > > > Whilest on the xdm-console, I find the std LOR for swap.... > > > 1) Why was that LOR not on the serial console???? > 2) Do I need to worry about the vm_page_alloc??? Well the answer was: Yes, you need to be worried.... First: vm_page_alloc(NORMAL): missing pages on cache queue: 9 Later: panic: vm_page_free: freeing wired page at line 1062 in file /home2/src/sys/vm/vm_page.c cpuid = 0; Stack backtrace: backtrace() at backtrace+0x17 __panic() at __panic+0x1e4 vm_page_free_toq() at vm_page_free_toq+0x102 vm_page_free_toq() at vm_page_free_toq+0x102 _pmap_allocpte() at _pmap_allocpte+0x1b1 pmap_allocpte() at pmap_allocpte+0x11b pmap_enter() at pmap_enter+0x9f vm_fault() at vm_fault+0x1158 trap_pfault() at trap_pfault+0x100 trap() at trap+0x1c3 calltrap() at calltrap+0x5 --- trap 0xc, rip = 0x7fffffffffc0, rsp = 0x7fffffffe480, rbp = 0xfc --- Debugger("panic") Stopped at Debugger+0x4d: xchgl %ebx,0x27a7ed And that all by running: --------- #include <stdio.h> #include <stdlib.h> #define BIGBLOCK 536870912 main () { char *p; int i = 0; while ( (p=calloc(1,BIGBLOCK))!= NULL) { i++; printf("i = %d, p = %#016lx\n", i, (long)p); } } ---------- How do I now get a coredump??? I did: ---------- db> cont boot() called on cpu#0 syncing disks, buffers remaining... panic: _mtx_lock_sleep: recursed on non-recu rsive mutex vm page queue mutex _at_ /home2/src/sys/kern/vfs_bio.c:3385 at line 437 in file /home2/src/sys/kern/kern_mutex.ccpuid = 0; Debugger("panic") Stopped at Debugger+0x4d: xchgl %ebx,0x27a7ed db> call doadump Dumping 2046 MB Dump failed. Partition too small. 0x23 --------- But SWAP is 5G and I only have 2 Gb RAM..... So what's up? --WjW:Received on Thu May 27 2004 - 12:43:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC