Date: Thu, 14 Feb 2013 21:39:54 +0100 From: David Demelier <demelier.david@gmail.com> To: freebsd-stable@freebsd.org Cc: Ronald Klop <ronald-freebsd8@klop.yi.org> Subject: Re: Panic at shutdown Message-ID: <3573487.tLQXrFnTMD@melon.malikania.fr> In-Reply-To: <op.wseugbnu8527sy@212-182-167-131.ip.telfort.nl> References: <51127767.1030007@gmail.com> <2872289.1yXr0e1VeO@melon.malikania.fr> <op.wseugbnu8527sy@212-182-167-131.ip.telfort.nl>
index | next in thread | previous in thread | raw e-mail
Le mardi 12 février 2013 21:42:01 Ronald Klop a écrit : > On Tue, 12 Feb 2013 19:44:49 +0100, David Demelier > > <demelier.david@gmail.com> wrote: > > Le mardi 12 février 2013 10:01:10 Andriy Gapon a écrit : > >> on 12/02/2013 09:57 David Demelier said the following: > >> > Yes I have added debugging option in my kernel. I have makeoptions > >> > DEBUG=-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 steps > > 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) == 0) > > (kgdb) bt full > > #0 doadump (textdump=<value optimized out>) 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.org" Today I have a little bit more : #0 0xffffffff804f358b in isbufbusy (bp=0xfffffe0003810480) at /usr/src/sys/kern/kern_shutdown.c:280 280 if (((bp->b_flags & (B_INVAL | B_PERSISTENT)) == 0 && (kgdb) bt full #0 0xffffffff804f358b in isbufbusy (bp=0xfffffe0003810480) 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=260) at /usr/src/sys/kern/kern_shutdown.c:451 _ep = (struct eventhandler_entry *) 0x100 _el = (struct eventhandler_list *) 0xffffffff804f35b3 first_buf_printf = 1 #3 0xffffffff804f3f69 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:624 td = (struct thread *) 0x1 bootopt = 260 newpanic = 1 ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0xffffff80daaf0420, reg_save_area = 0xffffff80daaf0350}} panic_cpu = 0 buf = "general protection fault", '\0' <repeats 231 times> #4 0xffffffff806fcf69 in trap_fatal (frame=0x9, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:851 code = Variable "code" is not available. -- David Demelierhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3573487.tLQXrFnTMD>
