From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a858a20a7f681de3 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-01 21:02:36 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: Re: Kernel debugging .. Date: 1 Aug 2001 21:02:36 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0108012002.42f78103@posting.google.com> References: <2f6bec0a.0107250034.3f8a3a2e@posting.google.com> <9jrqif$7le1$1@lead.zk3.dec.com> NNTP-Posting-Host: 210.205.15.123 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996724956 26852 127.0.0.1 (2 Aug 2001 04:02:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Aug 2001 04:02:36 GMT Xref: archiver1.google.com comp.unix.tru64:4035 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?