From owner-freebsd-current@FreeBSD.ORG Sat May 14 15:49:07 2005 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 DA01216A4CE; Sat, 14 May 2005 15:49:07 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E26543D53; Sat, 14 May 2005 15:49:06 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.3/8.13.1/NinthNine) with ESMTP id j4EFn2O8028645; Sun, 15 May 2005 00:49:04 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 15 May 2005 00:49:02 +0900 (JST) Message-Id: <200505141549.j4EFn2O8028645@sakura.ninth-nine.com> From: Norikatsu Shigemura To: antony.t.curtis@ntlworld.com, nox@jelal.kn-bremen.de In-Reply-To: <200505141531.j4EFVXwA028227@sakura.ninth-nine.com> References: <200505141531.j4EFVXwA028227@sakura.ninth-nine.com> X-Mailer: Sylpheed version 1.9.5 (GTK+ 2.4.14; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (sakura.ninth-nine.com [219.127.74.121]); Sun, 15 May 2005 00:49:05 +0900 (JST) cc: alc@FreeBSD.org cc: jeff@FreeBSD.org cc: freebsd-current@FreeBSD.org cc: jhb@FreeBSD.org Subject: Re: latest current and kqemu cause a VM panic 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: Sat, 14 May 2005 15:49:08 -0000 Oops, I forgot Cc: qemu's port maintainer and a author of KQEMU on FreeBSD. On Sun, 15 May 2005 00:31:33 +0900 (JST) Norikatsu Shigemura wrote: > I contacted a VM panic on following environment. > > FreeBSD: current (2005/05/14) > Application: ports/emulators/qemu with KQEMU(WITH_KQEMU > option). > To do something: > I'm compiling FreeBSD 5.4-RELEASE-p1 (make buildworld) as > guest on qemu, and, after a while, current causes a panic. > > P.S. > I have never contacted a panic like following without qemu. > > > FreeBSD 6.0-CURRENT #5: Sat May 14 20:47:35 JST 2005 > nork@nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) III CPU family 1133MHz (1129.08-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > Features=0x383fbff > real memory = 1610547200 (1535 MB) > avail memory = 1568923648 (1496 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 irqs 0-23 on motherboard > QEMU Accelerator Module version 1.0.0, Copyright (c) 2005 Fabrice Bellard > FreeBSD wrapper port, Copyright (c) 2005 Antony T Curtis > This is a proprietary product. Read the LICENSE file for more information > Redistribution of this module is prohibited without authorization > kqemu: KQEMU installed, max_instances=4 max_locked_mem=131072kB. > > (snip) > > login: info: [drm] Loading R200 Microcode > panic: vm_page_insert: page already inserted > cpuid = 0 > KDB: enter: panic > [thread pid 32128 tid 100222 ] > Stopped at kdb_enter+0x30: leave > db> where > Tracing pid 32128 tid 100222 td 0xc3c30000 > kdb_enter(c0663e9f,0,c0672378,f8823b7c,f8823b80) at kdb_enter+0x30 > panic(c0672378,f8823b94,c3c30000,c22cebe8,0) at panic+0x14e > vm_page_insert(c22cebe8,c80e4840,2,0,c13de698) at vm_page_insert+0x2a > vm_page_alloc(c80e4840,2,0,0,f8823c44) at vm_page_alloc+0x348 > vm_fault(c3c23a8c,805b000,2,8,f8823cec) at vm_fault+0xa30 > trap_pfault(f8823d38,1,805b188,bfbfe440,805b188) at trap_pfault+0x13b > trap(c062003b,3b,3b,8062034,8062048) at trap+0x21a > calltrap() at calltrap+0x5 > --- trap 0xc, eip = 0x68c3e5ac, esp = 0xbfbfe400, ebp = 0xbfbfe428 --- > db> show pcpu 0 > cpuid = 0 > curthread = 0xc3c30000: pid 32128 "gnome-netstatus-app" > curpcb = 0xf8823d90 > fpcurthread = none > idlethread = 0xc2bf0780: pid 12 "idle: cpu0" > APIC ID = 0 > currentldt = 0x50 > db> show pcpu 1 > cpuid = 1 > curthread = 0xc2bf0600: pid 11 "idle: cpu1" > curpcb = 0xe433dd90 > fpcurthread = none > idlethread = 0xc2bf0600: pid 11 "idle: cpu1" > APIC ID = 1 > currentldt = 0x50