Date: Sat, 21 Aug 2004 15:30:50 +0200 From: Andreas Kohn <andreas.kohn@gmx.net> To: current@freebsd.org Subject: PANIC: bad pte Message-ID: <1093095050.909.10.camel@klamath.ankon.de.eu.org>
next in thread | raw e-mail | index | archive | help
--=-829DBfOl/p+XPDiq4fH/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, i got a "bad pte" panic today. Happened when trying to join an empty IRC channel with xchat. After core dump and reboot, fsck got a signal 4 (no core available for that). I fixed the system with a FreeSBIE cd (freesbie fsck to check /, then mount / ro to get fstab, and check remaining filesystems with a working copy of fsck in /usr/obj) Backtrace follows. I hope someone can see anything from that. I have a core dump available. FreeBSD klamath.ankon.de.eu.org 6.0-CURRENT FreeBSD 6.0-CURRENT #11: Wed Aug 18 13:44:19 CEST 2004 =20 root@klamath.ankon.de.eu.org:/usr/obj/usr/src/sys/KLAMATH i386 (sources from ~3hours earlier IIRC) Thank you. Best Regards, Andreas ---8<--- panic: bad pte Uptime: 2d16h19m30s Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 3 = =20 52 368 384 400 416 432 448 464 480 496 --- #0 doadump () at pcpu.h:159 159 pcpu.h: No such file or directory. in pcpu.h doadump () at pcpu.h:159 159 in pcpu.h (kgdb) where #0 doadump () at pcpu.h:159 #1 0xc04f6641 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:396 #2 0xc04f68fd in panic (fmt=3D0xc06c2a29 "bad pte") at /usr/src/sys/kern/kern_shutdown.c:558 #3 0xc066ffd5 in pmap_remove_pages (pmap=3D0xc3101ed0, sva=3D0, eva=3D3217031168) at /usr/src/sys/i386/i386/pmap.c:2580 #4 0xc04ddef9 in exit1 (td=3D0xc21f8b00, rv=3D256) at vm_map.h:252 #5 0xc04dd8f4 in sys_exit (td=3D0xc21f8b00, uap=3D0x0) at /usr/src/sys/kern/kern_exit.c:94 #6 0xc0672e77 in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1077942324, tf= _esi =3D 0, tf_ = =20 ebp =3D -1077942776, tf_isp =3D -624206476, tf_ebx =3D 1, tf_edx =3D 2057, tf_ecx =3D 2, t = =20 f_eax =3D 1, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 135243691, tf_cs = =3D 31, tf_eflags = =20 =3D 658, tf_esp =3D -1077942804, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1004 #7 0xc0665d7f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:201 #8 0x0000002f in ?? () #9 0x0000002f in ?? () #10 0x0000002f in ?? () #11 0xbfbfe7cc in ?? () #12 0x00000000 in ?? () #13 0xbfbfe608 in ?? () #14 0xdacb5d74 in ?? () ---Type <return> to continue, or q <return> to quit--- =20 #15 0x00000001 in ?? () #16 0x00000809 in ?? () #17 0x00000002 in ?? () #18 0x00000001 in ?? () #19 0x0000000c in ?? () #20 0x00000002 in ?? () #21 0x080fa7ab in ?? () #22 0x0000001f in ?? () #23 0x00000292 in ?? () #24 0xbfbfe5ec in ?? () #25 0x0000002f in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x140d4000 in ?? () #31 0xc1d809a0 in ?? () #32 0xc1e4cc80 in ?? () #33 0xdacb5cb0 in ?? () #34 0xdacb5c98 in ?? () #35 0xc21f8b00 in ?? () #36 0xc05068fb in sched_switch (td=3D0x1, newtd=3D0xbfbfe7cc) at /usr/src/sys/kern/sched_ule.c:1207 Previous frame inner to this frame (corrupt stack?) (kgdb) bt full #0 doadump () at pcpu.h:159 No locals. #1 0xc04f6641 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:396 first_buf_printf =3D 1 #2 0xc04f68fd in panic (fmt=3D0xc06c2a29 "bad pte") at /usr/src/sys/kern/kern_shutdown.c:558 td =3D (struct thread *) 0xc21f8b00 bootopt =3D 260 newpanic =3D 0 ap =3D 0xc21f8b00 "" buf =3D "bad pte", '\0' <repeats 248 times> #3 0xc066ffd5 in pmap_remove_pages (pmap=3D0xc3101ed0, sva=3D0, eva=3D3217031168) at /usr/src/sys/i386/i386/pmap.c:2580 pte =3D (pt_entry_t *) 0xbfc200b0 tpte =3D 0 m =3D 0xc1c026b8 pv =3D 0xd2bcbab0 npv =3D 0xbfc200b0 #4 0xc04ddef9 in exit1 (td=3D0xc21f8b00, rv=3D256) at vm_map.h:252 new_switchtime =3D {sec =3D 1258832036, frac =3D 3260380928} p =3D (struct proc *) 0xc2557700 nq =3D (struct proc *) 0xc04f79b2 q =3D (struct proc *) 0xc3101e10 ---Type <return> to continue, or q <return> to quit--- tp =3D (struct tty *) 0xc1fcb000 ttyvp =3D (struct vnode *) 0xc1fcb000 vm =3D (struct vmspace *) 0xc3101e10 vtmp =3D (struct vnode *) 0xc3101e10 tracevp =3D (struct vnode *) 0xc3101e10 tracecred =3D (struct ucred *) 0xc1fcb000 plim =3D (struct plimit *) 0xc3101e10 refcnt =3D 0 #5 0xc04dd8f4 in sys_exit (td=3D0xc21f8b00, uap=3D0x0) at /usr/src/sys/kern/kern_exit.c:94 No locals. #6 0xc0672e77 in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1077942324, tf= _esi =3D 0, tf_ebp =3D -1077942776, tf_isp =3D -624206476, tf_ebx =3D 1, tf_edx = =3D 2057, tf_ecx =3D 2, tf_eax =3D 1, tf_trapno =3D 12, tf_err =3D 2, tf_eip = =3D 135243691, tf_cs =3D 31, tf_eflags =3D 658, tf_esp =3D -1077942804, tf_ss = =3D 47}) at /usr/src/sys/i386/i386/trap.c:1004 params =3D 0xbfbfe5f0---Can't read userspace from dump, or kernel process--- (kgdb) frame 3 #3 0xc066ffd5 in pmap_remove_pages (pmap=3D0xc3101ed0, sva=3D0, eva=3D3217031168) at /usr/src/sys/i386/i386/pmap.c:2580 2580 panic("bad pte"); (kgdb) p *pte ---Can't read userspace from dump, or kernel process--- (kgdb) info locals pte =3D (pt_entry_t *) 0xbfc200b0 tpte =3D 0 m =3D 0xc1c026b8 pv =3D 0xd2bcbab0 npv =3D 0xbfc200b0 (kgdb) p pte $1 =3D (pt_entry_t *) 0xbfc200b0 (kgdb) p *pte ---Can't read userspace from dump, or kernel process--- (kgdb)=20 --=-829DBfOl/p+XPDiq4fH/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBJ06KYucd7Ow1ygwRAnqtAJ0cvxR0+U6pdlbu/OYYFCCCJtv+3ACcDFeE sXT3B37TiGh3lJ7HNNYxwmU= =Le05 -----END PGP SIGNATURE----- --=-829DBfOl/p+XPDiq4fH/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1093095050.909.10.camel>