From: banny52@yahoo.com (Ginny E. Kim)
Subject: Re: Kernel debugging ..
Date: 1 Aug 2001 21:02:36 -0700 [thread overview]
Message-ID: <2f6bec0a.0108012002.42f78103@posting.google.com> (raw)
In-Reply-To: 9jrqif$7le1$1@lead.zk3.dec.com
duane@hunch.zk3.dec.com (Andrew Duane USG) wrote in message news:<9jrqif$7le1$1@lead.zk3.dec.com>...
> In article <2f6bec0a.0107250034.3f8a3a2e@posting.google.com> banny52@yahoo.com (Ginny E. Kim) writes:
> >I got following message while I am willing to debugging kernel..
> >
> >[/]#dbx -k /vmunix
> >dbx version 5.1
> >Type 'help' for help.
> >
> >main: Source not available
> >
> >warning: Files compiled -g3: parameter values probably wrong
> >(dbx)
> >
> >
> >How can I do to use -g compiling option?
>
> Unless you have a source license and distribution, you can't.
> Most (98% or so) of the kernel is compiled at Compaq and shipped
> as object files. There is no way to recompile them with -g.
>
> Also, using -g would increase the space required at least 100%,
> and (due to the extra code needed to preserve everything) slow
> the kernel down considerably.
>
> -g3 is sufficient for almost all debugging needs. See the documentation
> on kernel debugging for more information on how to work around some of
> the few issues.
I've already read the documentation on kernel debugging.. They
sugguest 3 methods, local kernel debugging using "ladebug -k /vmunix
/dev/mem", crash dump analysis using "ladebug -k vmunix.1 vmcore.1",
and remote kernel debugging using "ladebug -remote /vmunix".
About first method, I commented .. With second method, I can't trace..
Is it possible to trace my loadable module using third method without
-g kernel compiling option?
next prev parent reply other threads:[~2001-08-02 4:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-25 8:34 Kernel debugging Ginny E. Kim
2001-07-25 14:43 ` Bob Harris
2001-07-27 13:33 ` Andrew Duane USG
2001-08-02 4:02 ` Ginny E. Kim [this message]
2001-08-02 14:23 ` Tony Verhulst
2001-08-01 1:41 ` Ric Werme
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox