lkcd
[Top] [All Lists]

Re: Module support

To: lkcd@xxxxxxxxxxx
Subject: Re: Module support
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Thu, 19 Jul 2001 17:49:23 +1000
In-reply-to: Your message of "Wed, 18 Jul 2001 13:37:46 MST." <3B55F39A.39F00B65@xxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
On Wed, 18 Jul 2001 13:37:46 -0700, 
"Matt D. Robinson" <yakker@xxxxxxxxxxxxxx> wrote:
>Andreas Herrmann wrote:
>> First: Map-files (System.map, symbol information for
>> modules), "namelists" (Kerntypes, object files containing type information
>> for
>> modules), and the dump must belong together. So, it is a little tricky
>> to collect all corresponding files in order to analyze a dump of a
>> customer.
>
>This is a fundamental problem in the kernel build mechanisms.  It
>would be nice to avoid this scenario, but there's no clear way of
>merging any of the files together.
>
>I don't view this as an lcrash problem, but a kernel build problem.

Absolutely, and it is my problem.  The 2.5 kbuild will (eventually) put
the required files in standard and documented places.  It will also
include information which will guarantee that the map, modules and
kernel belong together.  It is coming, but slowly, and will be 2.5
only.

As for generating the complete system map including modules, I strongly
recommend that you use ksymoops -s.  All the cross checking code is
already in ksymoops and will be enhanced for 2.5.  Unless you like
reinventing wheels, use the existing code.

Keith Owens, modutils, ksymoops and kbuild maintainer.


<Prev in Thread] Current Thread [Next in Thread>