From owner-freebsd-current@FreeBSD.ORG Tue Apr 12 15:59:20 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 E052316A4CE; Tue, 12 Apr 2005 15:59:19 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 916FE43D1D; Tue, 12 Apr 2005 15:59:19 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 79E9A72DE7; Tue, 12 Apr 2005 08:59:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 77C7872DE4; Tue, 12 Apr 2005 08:59:19 -0700 (PDT) Date: Tue, 12 Apr 2005 08:59:19 -0700 (PDT) From: Doug White To: David O'Brien In-Reply-To: <20050411032558.GA1406@dragon.NUXI.org> Message-ID: <20050412085900.Y2178@carver.gumbysoft.com> References: <20050411032558.GA1406@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=unknown-8bit Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-current@freebsd.org Subject: Re: [PANIC] vm? vfs? 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: Tue, 12 Apr 2005 15:59:20 -0000 pseudoterminals. Join the ptcread/write panic club. :-) On Sun, 10 Apr 2005, David O'Brien wrote: > FreeBSD 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Apr 5 12:19:35 PDT 2005 > > GNU gdb 20040810 [GDB v6.x for FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain conditi= ons. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-portbld-freebsd6.0"... > panic: page fault > panic messages: > --- > Fatal trap 12: page fault while in kernel mode > cpuid =3D 1; apic id =3D 01 > fault virtual address=09=3D 0x0 > fault code=09=09=3D supervisor read, page not present > instruction pointer=09=3D 0x8:0xc063596a > stack pointer=09 =3D 0x10:0xf04e9b64 > frame pointer=09 =3D 0x10:0xf04e9b90 > code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b > =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 > processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 > current process=09=09=3D 1062 (xterm-static) > trap number=09=09=3D 12 > panic: page fault > cpuid =3D 1 > KDB: stack backtrace: > kdb_backtrace(c067f02d,1,c065a072,f04e9a88,c344a730) at 0xc04f910e =3D kd= b_backtrace+0x2e > panic(c065a072,c0680005,f04e9b24,1,1) at 0xc04dc508 =3D panic+0x128 > trap_fatal(f04e9b24,0,c06801e7,2c3,c344a730) at 0xc0637a84 =3D trap_fatal= +0x304 > trap_pfault(f04e9b24,0,0,f04e9b1c,0) at 0xc0637758 =3D trap_pfault+0x1b8 > trap(18,10,10,f04e9bac,0) at 0xc0637340 =3D trap+0x350 > calltrap() at 0xc062408a =3D calltrap+0x5 > --- trap 0xc, eip =3D 0xc063596a, esp =3D 0xf04e9b64, ebp =3D 0xf04e9b90 = --- > generic_bcopy(c37d2038,f04e9bac,64,808cc30,c06b92a0) at 0xc063596a =3D ge= neric_bcopy+0x1a > ptcread(c33f1500,f04e9c80,4,3ae,1000) at 0xc0518d95 =3D ptcread+0x185 > devfs_read_f(c380a360,f04e9c80,c3395880,0,c344a730) at 0xc049a806 =3D dev= fs_read_f+0xa6 > dofileread(c344a730,c380a360,4,8085c20,1000) at 0xc0504aa2 =3D dofileread= +0xc2 > read(c344a730,f04e9d14,c,3ff,3) at 0xc050490b =3D read+0x6b > syscall(2f,2f,2f,8085c20,80a0084) at 0xc0637de2 =3D syscall+0x2b2 > Xint0x80_syscall() at 0xc06240df =3D Xint0x80_syscall+0x1f > --- syscall (3, FreeBSD ELF32, read), eip =3D 0x28382edf, esp =3D 0xbfbfe= 66c, ebp =3D 0xbfbfe698 --- > Uptime: 1d8h49m32s > Dumping 1536 MB > [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [= CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 16[CTRL-C to abort] [= CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTR= L-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 32[CTR= L-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 48[CTR= L-C to abort] 64 80[CTRL-C to abort] 96 112 128 144 160 176 192 208 224 2= 40 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 = 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832= 848 864 880 896 912 928 944 960 976 992 1008 1024 1040 1056 1072 1088 1104= 1120 1136 1152 1168 1184 1200 1216 1232 1248 1264 1280 1296 1312 1328 1344= 1360 1376 1392 1408 1424 1440 1456 1472 1488 1504 1520 > --- > #0 doadump () at pcpu.h:164 > 164=09=09__asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); > doadump () at pcpu.h:164 > 164=09=09__asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); > (kgdb) where > #0 doadump () at pcpu.h:164 > #1 0xc04dc1d2 in boot (howto=3D260) at ../../../kern/kern_shutdown.c:398 > #2 0xc04dc583 in panic (fmt=3D0xc065a072 "%s") > at ../../../kern/kern_shutdown.c:554 > #3 0xc0637a84 in trap_fatal (frame=3D0xf04e9b24, eva=3D0) > at ../../../i386/i386/trap.c:806 > #4 0xc0637758 in trap_pfault (frame=3D0xf04e9b24, usermode=3D0, eva=3D0) > at ../../../i386/i386/trap.c:724 > #5 0xc0637340 in trap (frame=3D > {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -263283796, t= f_esi =3D 0, tf_ebp =3D -263283824, tf_isp =3D -263283888, tf_ebx =3D 38, t= f_edx =3D 0, tf_ecx =3D 9, tf_eax =3D -263283796, tf_trapno =3D 12, tf_err = =3D 0, tf_eip =3D -1067230870, tf_cs =3D 8, tf_eflags =3D 66071, tf_esp =3D= -1015209928, tf_ss =3D 128}) > at ../../../i386/i386/trap.c:414 > #6 0xc062408a in calltrap () at ../../../i386/i386/exception.s:139 > #7 0x00000018 in ?? () > #8 0x00000010 in ?? () > #9 0x00000010 in ?? () > #10 0xf04e9bac in ?? () > #11 0x00000000 in ?? () > #12 0xf04e9b90 in ?? () > #13 0xf04e9b50 in ?? () > #14 0x00000026 in ?? () > #15 0x00000000 in ?? () > #16 0x00000009 in ?? () > #17 0xf04e9bac in ?? () > #18 0x0000000c in ?? () > #19 0x00000000 in ?? () > #20 0xc063596a in generic_bcopy () at ../../../i386/i386/support.s:489 > ---Type to continue, or q to quit--- > #21 0xc37d2038 in ?? () > #22 0x00000080 in ?? () > #23 0xc05199fa in q_to_b (clistp=3D0xc063596a, > dest=3D0xf04e9bac "\r\n/FBSD: write failed, filesystem is \025?=C3`= =A3\200=C3=F0\233N=F0=EA\003K=C0=A0\222k=C0", amount=3D100) at ../../../ker= n/tty_subr.c:290 > #24 0xc0518d95 in ptcread (dev=3D0x0, uio=3D0xf04e9c80, flag=3D4) at libk= ern.h:56 > #25 0xc049a806 in devfs_read_f (fp=3D0xc380a360, uio=3D0xf04e9c80, > cred=3D0xc3395880, flags=3D0, td=3D0xc344a730) > at ../../../fs/devfs/devfs_vnops.c:943 > #26 0xc0504aa2 in dofileread (td=3D0xc344a730, fp=3D0xc380a360, fd=3D0, b= uf=3D0x0, > nbyte=3D3228113056, offset=3DUnhandled dwarf expression opcode 0x93 > ) at file.h:234 > #27 0xc050490b in read (td=3D0xc344a730, uap=3D0xf04e9d14) > at ../../../kern/sys_generic.c:107 > #28 0xc0637de2 in syscall (frame=3D > {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 134765600, tf= _esi =3D 134873220, tf_ebp =3D -1077942632, tf_isp =3D -263283340, tf_ebx = =3D 0, tf_edx =3D 0, tf_ecx =3D 4, tf_eax =3D 3, tf_trapno =3D 0, tf_err = =3D 2, tf_eip =3D 674770655, tf_cs =3D 31, tf_eflags =3D 642, tf_esp =3D -1= 077942676, tf_ss =3D 47}) > at ../../../i386/i386/trap.c:951 > #29 0xc06240df in Xint0x80_syscall () at ../../../i386/i386/exception.s:2= 00 > #30 0x0000002f in ?? () > #31 0x0000002f in ?? () > #32 0x0000002f in ?? () > #33 0x08085c20 in ?? () > #34 0x080a0084 in ?? () > #35 0xbfbfe698 in ?? () > #36 0xf04e9d74 in ?? () > #37 0x00000000 in ?? () > #38 0x00000000 in ?? () > ---Type to continue, or q to quit--- > #39 0x00000004 in ?? () > #40 0x00000003 in ?? () > #41 0x00000000 in ?? () > #42 0x00000002 in ?? () > #43 0x28382edf in ?? () > #44 0x0000001f in ?? () > #45 0x00000282 in ?? () > #46 0xbfbfe66c in ?? () > #47 0x0000002f in ?? () > #48 0x28184f96 in ?? () > #49 0x28184fa6 in ?? () > #50 0x28184fb6 in ?? () > #51 0x28184fc6 in ?? () > #52 0x49eee000 in ?? () > #53 0xc350a5f4 in ?? () > #54 0xc344a730 in ?? () > #55 0xf04e99b0 in ?? () > #56 0xf04e9990 in ?? () > #57 0xc2bc4a10 in ?? () > #58 0xc04efda0 in sched_switch (td=3D0x80a0084, newtd=3D0x0, flags=3D---C= an't read userspace from dump, or kernel process--- > > ) > at ../../../kern/sched_4bsd.c:963 > Previous frame inner to this frame (corrupt stack?) > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org