From owner-freebsd-current@FreeBSD.ORG Thu Apr 23 20:15:16 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF2F5106564A for ; Thu, 23 Apr 2009 20:15:16 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 66F038FC17 for ; Thu, 23 Apr 2009 20:15:16 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so440087yxb.13 for ; Thu, 23 Apr 2009 13:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=CtgoD/DoroqZbMCPDC/XIKb6Px/hgy5G7LSa+ovuPRw=; b=LNIr9o9CF3aElA65K9KXb78SMJzKnOVRkD+6tw5WxTrDqOkO/pIaN+cI4Z4v8vJ2/P eDPQUHLj+kHZkSyPyPrd223l9yZ6stiCjYGtg/k8JBGSEDk3nupEOTmakue9CT4Qm68E C9bYo5rV+hYfWTc7G//xr/YqRg9E+kXyW5ekc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=q8HKwkdDm99IZwqwJykmtPyXW0VtkrEsSKgfJpv89FnTkpkKpQ6pA6xS2DsL+j+aMV IghE/rcZ7m1+x4AS2Sa4WIWgH8iEz7TjlWLw+OmiuqMSsOV7KY6D2pMfLe29D1HxtG7i Qny+PQnwW8XgCS49N/ZTxmdyjFABWSaf13aII= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.33.15 with SMTP id g15mr1931906ang.103.1240515848373; Thu, 23 Apr 2009 12:44:08 -0700 (PDT) In-Reply-To: <200904231729.n3NHT6be003053@lava.sentex.ca> References: <200904231519.n3NFJmaE002362@lava.sentex.ca> <200904231729.n3NHT6be003053@lava.sentex.ca> Date: Thu, 23 Apr 2009 12:44:08 -0700 X-Google-Sender-Auth: efecd2a809070e1e Message-ID: <3c1674c90904231244u26c1f0e1ucd706bb025ed69dc@mail.gmail.com> From: Kip Macy To: Mike Tancsa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, rea-fbsd@codelabs.ru Subject: Re: panic with current 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: Thu, 23 Apr 2009 20:15:16 -0000 I think this is my fault. Will commit a fix some time today. -Kip On Thu, Apr 23, 2009 at 10:30 AM, Mike Tancsa wrote: > At 12:20 PM 4/23/2009, Eygene Ryabinkin wrote: > >> Any chance to get backtrace from kgdb? > > Hi, > =A0 =A0 =A0 =A0Not sure if its saving all the core file > > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =A0 =3D 0x0 > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not prese= nt > instruction pointer =A0 =A0 =3D 0x20:0x0 > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xe6ae3ca8 > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xe6ae3cd4 > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type 0x1= b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 0, pres 1, def32 1= , gran 1 > processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 > current process =A0 =A0 =A0 =A0 =3D 0 (em0 taskq) > [thread pid 0 tid 100037 ] > Stopped at =A0 =A0 =A00: =A0 =A0 =A0*** error reading from address 0 *** > db> bt full > Symbol not found > db> trace > Tracing pid 0 tid 100037 td 0xc683d000 > taskqueue_run(3330884160,3330884188,3233963774,0,3233995830,...) at > taskqueue_run+267 > taskqueue_thread_loop(3330913636,3870178616,3233985346,813,3235354336,...= ) > at taskqueue_thread_loop+104 > fork_exit(3230203408,3330913636,3870178616) at fork_exit+184 > fork_trampoline() at fork_trampoline+8 > --- trap 0, eip =3D 0, esp =3D 3870178672, ebp =3D 0 --- > db> panic > panic: from debugger > cpuid =3D 0 > Uptime: 8s > Physical memory: 3046 MB > Dumping 92 MB: 77 61 45 29 13 > Dump complete > Automatic reboot in 15 seconds - press a key on the console to abort > --> Press a key on the console to reboot, > --> or switch off the system now. > Rebooting... > > > > 0[i7]# kgdb /usr/obj/usr/src/sys/GENERIC/kernel.debug vmcore.4 > GNU gdb 6.1.1 [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 > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. =A0Type "show warranty" for deta= ils. > This GDB was configured as "i386-marcel-freebsd"... > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =A0 =3D 0x0 > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not prese= nt > instruction pointer =A0 =A0 =3D 0x20:0x0 > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xe6ae3ca8 > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xe6ae3cd4 > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type 0x1= b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 0, pres 1, def32 1= , gran 1 > processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 > current process =A0 =A0 =A0 =A0 =3D 0 (em0 taskq) > panic: from debugger > cpuid =3D 0 > Uptime: 8s > Physical memory: 3046 MB > Dumping 92 MB: 77 61 45 29 13 > > #0 =A0doadump () at pcpu.h:246 > 246 =A0 =A0 pcpu.h: No such file or directory. > =A0 =A0 =A0 =A0in pcpu.h > (kgdb) bt > #0 =A0doadump () at pcpu.h:246 > #1 =A00xc085749e in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown= .c:420 > #2 =A00xc0857772 in panic (fmt=3DVariable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:576 > #3 =A00xc04bea47 in db_panic (addr=3DCould not find the frame base for > "db_panic". > ) at /usr/src/sys/ddb/db_command.c:478 > #4 =A00xc04bf071 in db_command (last_cmdp=3D0xc0d4985c, cmd_table=3D0x0, > dopager=3D1) at /usr/src/sys/ddb/db_command.c:445 > #5 =A00xc04bf1ca in db_command_loop () at /usr/src/sys/ddb/db_command.c:4= 98 > #6 =A00xc04c102d in db_trap (type=3D12, code=3D0) at > /usr/src/sys/ddb/db_main.c:229 > #7 =A00xc08852c6 in kdb_trap (type=3D12, code=3D0, tf=3D0xe6ae3c68) at > /usr/src/sys/kern/subr_kdb.c:534 > #8 =A00xc0b6699f in trap_fatal (frame=3D0xe6ae3c68, eva=3D0) at > /usr/src/sys/i386/i386/trap.c:917 > #9 =A00xc0b66bd3 in trap_pfault (frame=3D0xe6ae3c68, usermode=3D0, eva=3D= 0) at > /usr/src/sys/i386/i386/trap.c:839 > #10 0xc0b675c8 in trap (frame=3D0xe6ae3c68) at > /usr/src/sys/i386/i386/trap.c:521 > #11 0xc0b4b21b in calltrap () at /usr/src/sys/i386/i386/exception.s:165 > #12 0x00000000 in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > > > > > > > _______________________________________________ > 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 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke