From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 15 08:53:07 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C15F16A4CE for ; Mon, 15 Nov 2004 08:53:07 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 34D4A43D55 for ; Mon, 15 Nov 2004 08:52:59 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 82595 invoked by uid 0); 15 Nov 2004 08:47:19 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 15 Nov 2004 08:47:19 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id C7A3E130C93; Mon, 15 Nov 2004 16:52:53 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02710-05; Mon, 15 Nov 2004 16:52:43 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id CE9BD130E9A; Mon, 15 Nov 2004 16:52:40 +0800 (CST) Date: Mon, 15 Nov 2004 16:52:40 +0800 From: Xin LI To: Matthew Seaman Message-ID: <20041115085240.GA3759@frontfree.net> References: <200411120350.iAC3o8xF072944@freefall.freebsd.org> <20041114174352.GA876@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20041114174352.GA876@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #11: Tue Oct 26 14:12:03 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-bugs@FreeBSD.org cc: Xin LI Subject: Re: kern/72539: Panic: vm_page_remove(): page not found in hash X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 08:53:07 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Matthew, Would you please have INVARIANTS and INVARIANT_SUPPORT in your kernel configuration and try again? I think it would be helpful for us to figure out what was happening. In addition, Matt Dillon has suggested[1] that you run his vmpageinfo program on the dump, please have a try. [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2004-November/008954= .html Thanks in advance! On Sun, Nov 14, 2004 at 05:43:52PM +0000, Matthew Seaman wrote: > On Fri, Nov 12, 2004 at 03:50:08AM +0000, Xin LI wrote: >=20 > > I think this is related on what I am currently working on. Would you > > please try the patch found in: > > http://people.freebsd.org/~delphij/patch-RELENG_4-vm_page.c >=20 > Tried that: unfortunately it seems to have had little effect. That > perl script can still knock over the system in a few minutes -- > although one time I tested, the script ran to completion, but then I > ended up with some weird filesystem corruption, and had to reboot and > fsck manually to clear it. >=20 > Symptoms this time were a little different: X simply froze up, and the > system eventually rebooted after panicing. >=20 > Copyright (c) 1992-2004 The FreeBSD Project.=0D > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994= =0D > The Regents of the University of California. All rights reserved.=0D > FreeBSD 4.10-STABLE #88: Sun Nov 14 16:39:39 GMT 2004=0D > root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAP= PY-IDIOT-TALK=0D > Timecounter "i8254" frequency 1193182 Hz=0D > Timecounter "TSC" frequency 1400058433 Hz=0D > CPU: AMD Athlon(TM) XP1600+ (1400.06-MHz 686-class CPU)=0D > Origin =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2=0D > Features=3D0x383f9ff #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487=0D > 487 if (dumping++) {=0D > (kgdb) bt/full=0D > A syntax error in expression, near `full'.=0D > (kgdb) bt\full=0D > #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487=0D > error =3D 0=0D > #1 0xc017fc3b in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c= :316=0D > howto =3D 256=0D > #2 0xc0180079 in panic (fmt=3D0xc0351bac "%s")=0D > at /usr/src/sys/kern/kern_shutdown.c:595=0D > fmt =3D 0xc0351bac "%s"=0D > bootopt =3D 256=0D > buf =3D "page fault", '\000' =0D > #3 0xc02ee11f in trap_fatal (frame=3D0xd8946e08, eva=3D15728691)=0D > at /usr/src/sys/i386/i386/trap.c:974=0D > frame =3D (struct trapframe *) 0xd8946e08=0D > code =3D 16=0D > type =3D 12=0D > ss =3D 16=0D > esp =3D 0=0D > softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D 27, =0D > ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 13, ssd_xx1 =3D 1, ssd_def32 =3D= 1, =0D > ssd_gran =3D 1}=0D > #4 0xc02eddcd in trap_pfault (frame=3D0xd8946e08, usermode=3D0, eva=3D15= 728691)=0D > at /usr/src/sys/i386/i386/trap.c:867=0D > va =3D 15728640=0D > vm =3D (struct vmspace *) 0x0=0D > map =3D 0xd7559cc0=0D > rv =3D 0=0D > ftype =3D 1 '\001'=0D > p =3D (struct proc *) 0xd8788c20=0D > #5 0xc02ed973 in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16= , =0D > tf_edi =3D 134963200, tf_esi =3D 1, tf_ebp =3D -661361072, =0D > tf_isp =3D -661361100, tf_ebx =3D -661236196, tf_edx =3D 15728671, = =0D > tf_ecx =3D 6074742, tf_eax =3D 262139, tf_trapno =3D 12, tf_err =3D= 0, =0D > tf_eip =3D -1071181420, tf_cs =3D 8, tf_eflags =3D 66050, tf_esp = =3D 0, =0D > tf_ss =3D -661236196}) at /usr/src/sys/i386/i386/trap.c:466=0D > p =3D (struct proc *) 0xd8788c20=0D > sticks =3D 15607082675286076940=0D > i =3D 0=0D > ucode =3D 0=0D > type =3D 12=0D > code =3D 0=0D > eva =3D 15728691=0D > #6 0xc0271194 in vm_page_lookup (object=3D0xd896561c, pindex=3D1)=0D > at /usr/src/sys/vm/vm_page.c:515=0D > object =3D 0x0=0D > pindex =3D 1=0D > m =3D 0x0=0D > generation =3D 0=0D > #7 0xc02ebaa8 in pmap_prefault (pmap=3D0xd7559d2c, addra=3D134959104, =0D > entry=3D0xd75ccf00) at /usr/src/sys/i386/i386/pmap.c:2400=0D > lobject =3D 0xd896561c=0D > i =3D 1=0D > starta =3D 134959104=0D > addr =3D 134963200=0D > pindex =3D 1=0D > m =3D 0x0=0D > mpte =3D 0x0=0D > object =3D 0xd896561c=0D > #8 0xc026971a in vm_fault (map=3D0xd7559cc0, vaddr=3D134959104, =0D > fault_type=3D2 '\002', fault_flags=3D8) at /usr/src/sys/vm/vm_fault.c= :844=0D > fault_type =3D 2 '\002'=0D > prot =3D 3 '\003'=0D > result =3D 0=0D > wired =3D 0=0D > map_generation =3D 22=0D > next_object =3D 0x0=0D > marray =3D {0x0, 0xd8788c20, 0xd8788c20, 0xd7559cc0, 0x80b5000, =0D > 0xc017476f, 0xd8946f28, 0x1, 0xd8788c20, 0x0, 0xd8946f24, 0xd7559cc0, = =0D > 0xd7559cc0, 0xd75ccf00, 0xd8946f3c, 0xc02ef8c2}=0D > hardfault =3D 0=0D > faultcount =3D 0=0D > fs =3D {m =3D 0xc11a8e90, object =3D 0xd896561c, pindex =3D 0, =0D > first_m =3D 0xc11a8e90, first_object =3D 0xd896561c, first_pindex =3D 0= , =0D > map =3D 0xd7559cc0, entry =3D 0xd75ccf00, lookup_still_valid =3D 0, vp = =3D 0x0}=0D > #9 0xc02edd62 in trap_pfault (frame=3D0xd8946fa8, usermode=3D1, eva=3D13= 4960316)=0D > at /usr/src/sys/i386/i386/trap.c:847=0D > va =3D 134959104=0D > vm =3D (struct vmspace *) 0x0=0D > map =3D 0xd7559cc0=0D > rv =3D 0=0D > ftype =3D 2 '\002'=0D > ---Type to continue, or q to quit---=0D > p =3D (struct proc *) 0xd8788c20=0D > #10 0xc02ed827 in trap (frame=3D{tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47= , =0D > tf_edi =3D 49694, tf_esi =3D 135016448, tf_ebp =3D -1077938976, =0D > tf_isp =3D -661360684, tf_ebx =3D 0, tf_edx =3D 135016448, tf_ecx = =3D 135016448, =0D > tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 7, tf_eip =3D 134550919,= tf_cs =3D 31, =0D > tf_eflags =3D 66118, tf_esp =3D -1077938980, tf_ss =3D 47})=0D > at /usr/src/sys/i386/i386/trap.c:377=0D > p =3D (struct proc *) 0xd8788c20=0D > sticks =3D 0=0D > i =3D 0=0D > ucode =3D 0=0D > type =3D 12=0D > code =3D 0=0D > eva =3D 134960316=0D > #11 0x8051587 in ?? ()=0D > No symbol table info available.=0D > #12 0x8051930 in ?? ()=0D > No symbol table info available.=0D > #13 0x804b15c in ?? ()=0D > No symbol table info available.=0D > #14 0x804ac55 in ?? ()=0D > No symbol table info available.=0D > #15 0x804aa1b in ?? ()=0D > No symbol table info available.=0D > #16 0x80525f3 in ?? ()=0D > No symbol table info available.=0D > #17 0x804813e in ?? ()=0D > No symbol table info available.=0D > (kgdb) quit=0D >=20 > Script done on Sun Nov 14 17:40:59 2004 Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBmG5Y/cVsHxFZiIoRAstQAJ42m9WrC2y1qwqHXlD4iGqqmgCfHACfT0h9 +R5xfqkTLc+GrasKKptEXo0= =cWdZ -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--