From owner-freebsd-stable@FreeBSD.ORG Tue Feb 19 12:57:41 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A242CABD for ; Tue, 19 Feb 2013 12:57:41 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx1.freebsd.org (Postfix) with ESMTP id 12CC0AF5 for ; Tue, 19 Feb 2013 12:57:40 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hq4so4732278wib.12 for ; Tue, 19 Feb 2013 04:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=PvbVIocj545DCsBTT7/Q3t8Jss8lFiI/on/A63OLwqI=; b=JhYxeQQOfxiwnI7JjqIBcH1YGsTYpnwSngNGgIHlXwO3Erscux3dxDUD1Ql3VPRDuQ J03nNlhT8gzQhAjZQ4pZTb1nAZZECP1GKyJ17vwpSL8U3WgnR4LNF+GFzoM9NbQrQ/wG zoGpV+1E+XfJmbgUPSPNg/OK1YvvwEW2gtE9J9YBbYLgdnBQiUvx3UiNMZnAmux9A83X uSY4A8PYkyaXDAqh6tFtqAbG7AguR4GFw5sPFw27Zpn26M1K09ltNeZnWny0ct+Ad12O W1/Xsf6ElG225T3CinfJNyKDU0wAPgWlL6wdeoPbjjbkgX5x0YhvlHd/4d6Qv4KgpPsQ o2Ww== MIME-Version: 1.0 X-Received: by 10.194.156.196 with SMTP id wg4mr26113636wjb.22.1361278653956; Tue, 19 Feb 2013 04:57:33 -0800 (PST) Received: by 10.194.60.147 with HTTP; Tue, 19 Feb 2013 04:57:33 -0800 (PST) In-Reply-To: <3573487.tLQXrFnTMD@melon.malikania.fr> References: <51127767.1030007@gmail.com> <2872289.1yXr0e1VeO@melon.malikania.fr> <3573487.tLQXrFnTMD@melon.malikania.fr> Date: Tue, 19 Feb 2013 13:57:33 +0100 Message-ID: Subject: Re: Panic at shutdown From: David Demelier To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 12:57:41 -0000 2013/2/14 David Demelier > Le mardi 12 f=C3=A9vrier 2013 21:42:01 Ronald Klop a =C3=A9crit : > > On Tue, 12 Feb 2013 19:44:49 +0100, David Demelier > > > > wrote: > > > Le mardi 12 f=C3=A9vrier 2013 10:01:10 Andriy Gapon a =C3=A9crit : > > >> on 12/02/2013 09:57 David Demelier said the following: > > >> > Yes I have added debugging option in my kernel. I have makeoptions > > >> > DEBUG=3D-g in my config. Do I need more ? > > >> > > >> .symbols? > > > > > > I don't understand what you are saying, I have > > > /boot/kernel/kernel.symbols. > > > Please tell me what I'm doing wrong. I've just read and done the step= s > > > written > > > there : > > > > > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug- > > > gdb.html > > > > > > So I've run > > > > > > # cd /usr/obj/usr/src/sys/Melon > > > # kgdb kernel.debug /var/crash/vmcore.0 > > > > Why not something like kgdb /boot/kernel/kernel.symbols > > /var/crash/vmcore.0? > > That looks like what the manual page of kgdb seems to suggest. > > > > Regards, > > Ronald. > > > > > and that's the only trace I get using bt full : > > > > > > 229 #define IS_BSP() (PCPU_GET(cpuid) =3D=3D 0) > > > (kgdb) bt full > > > #0 doadump (textdump=3D) at pcpu.h:229 > > > No locals. > > > #1 0x0000000000000000 in ?? () > > > No symbol table info available. > > > > > > > > > -- > > > David Demelier > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to " > freebsd-stable-unsubscribe@freebsd.org" > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g > " > > Today I have a little bit more : > > #0 0xffffffff804f358b in isbufbusy (bp=3D0xfffffe0003810480) at > /usr/src/sys/kern/kern_shutdown.c:280 > 280 if (((bp->b_flags & (B_INVAL | B_PERSISTENT)) =3D=3D 0 && > (kgdb) bt full > #0 0xffffffff804f358b in isbufbusy (bp=3D0xfffffe0003810480) at > /usr/src/sys/kern/kern_shutdown.c:280 > No locals. > #1 0x0000000000000004 in ?? () > No symbol table info available. > #2 0xffffffff804f3aa6 in kern_reboot (howto=3D260) at > /usr/src/sys/kern/kern_shutdown.c:451 > _ep =3D (struct eventhandler_entry *) 0x100 > _el =3D (struct eventhandler_list *) 0xffffffff804f35b3 > first_buf_printf =3D 1 > #3 0xffffffff804f3f69 in panic (fmt=3DVariable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:624 > td =3D (struct thread *) 0x1 > bootopt =3D 260 > newpanic =3D 1 > ap =3D {{gp_offset =3D 16, fp_offset =3D 48, overflow_arg_area = =3D > 0xffffff80daaf0420, reg_save_area =3D 0xffffff80daaf0350}} > panic_cpu =3D 0 > buf =3D "general protection fault", '\0' > #4 0xffffffff806fcf69 in trap_fatal (frame=3D0x9, eva=3DVariable "eva" i= s not > available. > ) at /usr/src/sys/amd64/amd64/trap.c:851 > code =3D Variable "code" is not available. > > I feel very very ashamed because these random panics were occurring because of my kernel config that contained drm and radeondrm devices while I use x11/nvidia-driver.. However, I think we should add a notice in the nvidia-driver pkg-message to prevent any problems? --=20 Demelier David