Date: Thu, 30 Jun 2011 15:21:04 -0500 From: Espartano <espartano.mail@gmail.com> To: Damien Fleuriot <ml@my.gd> Cc: freebsd-pf@freebsd.org Subject: Re: Reboot after start pf on ALIX board Message-ID: <BANLkTikuX8=auqyvwNZ2fRbZyjYuQ9%2Bu9A@mail.gmail.com> In-Reply-To: <4E09F7F9.3080608@my.gd> References: <BANLkTinafJPRMWiUyyNdiiYhqiT2V7ovmg@mail.gmail.com> <4E099A36.7000104@my.gd> <BANLkTimD-77ZcnUjPr-pJPmKodhpRfCr%2Bg@mail.gmail.com> <4E09F7F9.3080608@my.gd>
next in thread | previous in thread | raw e-mail | index | archive | help
> Well, you want to try things in this order: > > > 1/ rebuild a kernel without VIMAGE and try again, while you're at it > enable debug options like the KDTRACE hooks and such. > > makeoptions =A0 =A0 DEBUG=3D-g =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Build ker= nel with gdb(1) debug > symbols > options =A0 =A0 =A0 =A0 KDB =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Ker= nel debugger related code > options =A0 =A0 =A0 =A0 KDTRACE_FRAME =A0 =A0 =A0 =A0 =A0 # Ensure frames= are compiled in > options =A0 =A0 =A0 =A0 KDTRACE_HOOKS =A0 =A0 =A0 =A0 =A0 # Kernel DTrace= hooks > > Ok I re-builded my NanoBSD image without options VIMAGE and the system now is very stable, when pf is activated the system doesn't reboot. > > 2/ enable kernel crash dumps, reproduce problem, obtain a dump for analys= is. > I have been tried to get kernel file dump since 2 days ago to send it you but when I try to compile the new kernel, with options vimage and the others options that you had been mentioned, KDB KDTRACE_FRAME and KDTRACE_HOOKS, I get this error in the build kernel log file: /usr/src/sys/i386/conf/ZROUTER: unknown option "KDTRACE_FRAME" Searching a little into FreeBSD handbook I found this: ######### HANDBOOK NOTE ######### Note: Users of the AMD64 architecture will want to add the following line to their kernel configuration file: options KDTRACE_FRAME This option provides support for the FBT feature. DTrace will work without this option; however, there will be limited support for function boundary tracing. ######### END HANDBOOK NOTE ######### However the alix board processor is not AMD64 based, it is a x86 processor based, 32 bits, Now my question is: is enough good for you only have the next options enabled: makeoptions DEBUG=3D-g options KDB # Kernel debugger related code options KDB_TRACE # Print a stack trace for a panic options KDTRACE_HOOKS # Kernel DTrace hooks options DDB_CTF Thanks a lot.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikuX8=auqyvwNZ2fRbZyjYuQ9%2Bu9A>