From owner-freebsd-current@FreeBSD.ORG Thu May 27 14:43:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48F7616A4CE for ; Thu, 27 May 2004 14:43:39 -0700 (PDT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE6EC43D1F for ; Thu, 27 May 2004 14:43:37 -0700 (PDT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i4RLcI67071570 for ; Thu, 27 May 2004 23:38:18 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <072301c44432$f8f97c90$471b3dd4@dual> From: "Willem Jan Withagen" To: References: <057401c443c0$c19250f0$471b3dd4@dual> Date: Thu, 27 May 2004 23:38:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: Just a single message ...... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 21:43:39 -0000 ----- Original Message ----- From: "Willem Jan Withagen" > >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 #include #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 @ /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: