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-02 07:23:36 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Message-ID: <3B696244.A7828BCB@zk3.dec.com> From: Tony Verhulst X-Mailer: Mozilla 4.77 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Kernel debugging .. References: <2f6bec0a.0107250034.3f8a3a2e@posting.google.com> <9jrqif$7le1$1@lead.zk3.dec.com> <2f6bec0a.0108012002.42f78103@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 02 Aug 2001 10:23:00 -0400 NNTP-Posting-Host: 16.140.128.246 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 996762216 16.140.128.246 (Thu, 02 Aug 2001 07:23:36 PDT) NNTP-Posting-Date: Thu, 02 Aug 2001 07:23:36 PDT Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:4050 "Ginny E. Kim" wrote: > > 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) > 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? Yeah, you can trace, you can't trust the values listed for the arguments to the functions. Also, you may not be able to symbolically access local variables within a function. You can get all this info by looking at the register usage and.or where things are stored on the stack - painful, but it works. Tony