* verbose kernel debug
@ 2008-07-29 22:47 Jon Smirl
2008-07-29 23:05 ` Scott Wood
0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2008-07-29 22:47 UTC (permalink / raw)
To: ppc-dev
I'm getting a "Badness at c01cc228 [verbose debug info unavailable]"
How do I turn on verbose debug support? Or is it helpful? I see the
option for x86 but I don't see how to do it for PowerPC.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verbose kernel debug
2008-07-29 22:47 verbose kernel debug Jon Smirl
@ 2008-07-29 23:05 ` Scott Wood
2008-07-29 23:12 ` Jon Smirl
0 siblings, 1 reply; 7+ messages in thread
From: Scott Wood @ 2008-07-29 23:05 UTC (permalink / raw)
To: Jon Smirl; +Cc: ppc-dev
Jon Smirl wrote:
> I'm getting a "Badness at c01cc228 [verbose debug info unavailable]"
>
> How do I turn on verbose debug support? Or is it helpful? I see the
> option for x86 but I don't see how to do it for PowerPC.
Under "Kernel Hacking", enable "Kernel debugging". This will expose a
"Verbose BUG() reporting" option.
IMHO, this option shouldn't be buried in this manner; it's not just for
hacking kernels, but also for submitting decent bug reports.
-Scott
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verbose kernel debug
2008-07-29 23:05 ` Scott Wood
@ 2008-07-29 23:12 ` Jon Smirl
2008-07-29 23:40 ` Grant Likely
0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2008-07-29 23:12 UTC (permalink / raw)
To: Scott Wood; +Cc: ppc-dev
On 7/29/08, Scott Wood <scottwood@freescale.com> wrote:
> Jon Smirl wrote:
>
> > I'm getting a "Badness at c01cc228 [verbose debug info unavailable]"
> >
> > How do I turn on verbose debug support? Or is it helpful? I see the
> > option for x86 but I don't see how to do it for PowerPC.
> >
>
> Under "Kernel Hacking", enable "Kernel debugging". This will expose a
> "Verbose BUG() reporting" option.
>
> IMHO, this option shouldn't be buried in this manner; it's not just for
> hacking kernels, but also for submitting decent bug reports.
I looked in there. The option is not appearing for my MPC5200.
>
> -Scott
>
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verbose kernel debug
2008-07-29 23:12 ` Jon Smirl
@ 2008-07-29 23:40 ` Grant Likely
2008-07-30 0:09 ` Jon Smirl
0 siblings, 1 reply; 7+ messages in thread
From: Grant Likely @ 2008-07-29 23:40 UTC (permalink / raw)
To: Jon Smirl; +Cc: Scott Wood, ppc-dev
On Tue, Jul 29, 2008 at 07:12:58PM -0400, Jon Smirl wrote:
> On 7/29/08, Scott Wood <scottwood@freescale.com> wrote:
> > Jon Smirl wrote:
> >
> > > I'm getting a "Badness at c01cc228 [verbose debug info unavailable]"
> > >
> > > How do I turn on verbose debug support? Or is it helpful? I see the
> > > option for x86 but I don't see how to do it for PowerPC.
> > >
> >
> > Under "Kernel Hacking", enable "Kernel debugging". This will expose a
> > "Verbose BUG() reporting" option.
> >
> > IMHO, this option shouldn't be buried in this manner; it's not just for
> > hacking kernels, but also for submitting decent bug reports.
>
> I looked in there. The option is not appearing for my MPC5200.
Hmmm, I can see it right now on a 5200 configured kernel. It's right
before "Compile the kernel with debug info" option.
It also helps to make sure CONFIG_EMBEDDED is disabled, or if it is
enabled that CONFIG_KALLSYMS is enabled.
g.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verbose kernel debug
2008-07-29 23:40 ` Grant Likely
@ 2008-07-30 0:09 ` Jon Smirl
2008-07-30 0:17 ` Jon Smirl
0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2008-07-30 0:09 UTC (permalink / raw)
To: Grant Likely; +Cc: Scott Wood, ppc-dev
On 7/29/08, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Tue, Jul 29, 2008 at 07:12:58PM -0400, Jon Smirl wrote:
> > On 7/29/08, Scott Wood <scottwood@freescale.com> wrote:
> > > Jon Smirl wrote:
> > >
> > > > I'm getting a "Badness at c01cc228 [verbose debug info unavailable]"
> > > >
> > > > How do I turn on verbose debug support? Or is it helpful? I see the
> > > > option for x86 but I don't see how to do it for PowerPC.
> > > >
> > >
> > > Under "Kernel Hacking", enable "Kernel debugging". This will expose a
> > > "Verbose BUG() reporting" option.
> > >
> > > IMHO, this option shouldn't be buried in this manner; it's not just for
> > > hacking kernels, but also for submitting decent bug reports.
> >
> > I looked in there. The option is not appearing for my MPC5200.
>
>
> Hmmm, I can see it right now on a 5200 configured kernel. It's right
> before "Compile the kernel with debug info" option.
>
> It also helps to make sure CONFIG_EMBEDDED is disabled, or if it is
> enabled that CONFIG_KALLSYMS is enabled.
More needs to be selected, I still can't get it to appear.
I'm digging through Kconfig....
>
>
> g.
>
>
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verbose kernel debug
2008-07-30 0:09 ` Jon Smirl
@ 2008-07-30 0:17 ` Jon Smirl
2008-07-30 0:28 ` Jon Smirl
0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2008-07-30 0:17 UTC (permalink / raw)
To: Grant Likely; +Cc: Scott Wood, ppc-dev
Why isn't PowerPC in the depends on?
config DEBUG_BUGVERBOSE
bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED
depends on BUG
depends on ARM || AVR32 || M32R || M68K || SPARC32 || SPARC64 || \
FRV || SUPERH || GENERIC_BUG || BLACKFIN || MN10300
default !EMBEDDED
help
Say Y here to make BUG() panics output the file name and line number
of the BUG call as well as the EIP and oops trace. This aids
debugging but costs about 70-100K of memory.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verbose kernel debug
2008-07-30 0:17 ` Jon Smirl
@ 2008-07-30 0:28 ` Jon Smirl
0 siblings, 0 replies; 7+ messages in thread
From: Jon Smirl @ 2008-07-30 0:28 UTC (permalink / raw)
To: Grant Likely; +Cc: Scott Wood, ppc-dev
I finally figured out the right combo to turn it on. I was expecting
it to appear in the "Kernel Debugging" section but it was appearing
down lower.
Seems like this option should be defaulted on no matter what, and then
turn it off to save memory. It was the interaction with
CONFIG_EMBEDDED that confused me.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-07-30 0:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 22:47 verbose kernel debug Jon Smirl
2008-07-29 23:05 ` Scott Wood
2008-07-29 23:12 ` Jon Smirl
2008-07-29 23:40 ` Grant Likely
2008-07-30 0:09 ` Jon Smirl
2008-07-30 0:17 ` Jon Smirl
2008-07-30 0:28 ` Jon Smirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).