From owner-freebsd-current@FreeBSD.ORG Sun Dec 31 05:56:31 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4038B16A407; Sun, 31 Dec 2006 05:56:31 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.freebsd.org (Postfix) with ESMTP id D75C013C44B; Sun, 31 Dec 2006 05:56:30 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with SMTP id kBV5Wbbe096330; Sun, 31 Dec 2006 14:32:37 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 31 Dec 2006 14:32:37 +0900 From: Norikatsu Shigemura To: freebsd-current@FreeBSD.org Message-Id: <20061231143237.89a181d0.nork@FreeBSD.org> X-Mailer: Sylpheed 2.3.0rc (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 31 Dec 2006 14:32:38 +0900 (JST) Cc: Alan Cox , Norikatsu Shigemura Subject: panic on pmap_remove_pages with INVARIANTS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 31 Dec 2006 05:56:31 -0000 Hi, I have a trouble about pmap. $ uname -a FreeBSD nadesico.ninth-nine.com 7.0-CURRENT FreeBSD 7.0-CURRENT #34: Sat Dec 30 16:23:53 JST 2006 nork@nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO i386 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FreeBSD/i386 (nadesico.ninth-nine.com) (dcons) login: panic: Bad link elm 0x82d99da8 prev->next != elm cpuid = 1 KDB: enter: panic [thread pid 19264 tid 100318 ] Stopped at kdb_enter+0x30: leave db> c panic: boot: not running on cpu 0 cpuid = 1 KDB: enter: panic [thread pid 19264 tid 100318 ] Stopped at kdb_enter+0x30: leave db> bt Tracing pid 19264 tid 100318 td 0x84ef1a20 kdb_enter(806b56bb,1,8072ab90,f9f8cb48,84ef1a20,...) at kdb_enter+0x30 panic(806b5745,0,806b56df,112,8072ab90,...) at panic+0x13b boot(104,0,806b56df,234,84ef1a20,...) at boot+0x7d panic(806acd11,82d99da8,806d7b56,bc7,0,...) at panic+0x1a1 pmap_remove_pages(8635cddc,806b46d3,ae,0,84b0f480,...) at pmap_remove_pages+0x24a vmspace_exit(84ef1a20,0,806b24b2,126,1,...) at vmspace_exit+0x90 exit1(84ef1a20,0,f9f8cd2c,8068f363,84ef1a20,...) at exit1+0x5c7 sys_exit(84ef1a20,f9f8cd00,4,c,f9f8cd38,...) at sys_exit+0x1d syscall(f9f8cd38) at syscall+0x2e3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (0, FreeBSD ELF32, nosys), eip = 0x2, esp = 0x206, ebp = 0x7fbfd684 --- db> call doadump Physical memory: 1527 MB Dumping 277 MB: 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 Dump complete = 0xf db> reset cpu_reset: Restarting BSP cpu_reset_proxy: Stopped CPU 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I tried to kgdb kernel.debug vmcore.0. But I don't know that I should check parameters:-(. What do I dump pmap_t related parametres?