Package: klogd
Version: 1.4.1-20
Severity: minor

Hi there.

I wrote a webpage on the System.map file:

   http://www.dirac.org/linux/system.map

and would like to report documentation error.

The man page claims that klogd looks for the System.map file in
/usr/src/linux:

   If a symbol file is not explicitly specified the following filenames
   will be tried:

      /boot/System.map
      /System.map
      /usr/src/linux/System.map

   Version information is supplied in the system maps as of kernel 1.3.43.


The same claim is made in code comments in ksym.c:

   line 55:
   * Added support for searching of the list of symbol maps.  This
   * allows support for access to multiple symbol maps.  The theory
   * behind this is that a production kernel may have a system map in
   * /boot/System.map.  If a test kernel is booted this system map
   * would be skipped in favor of one found in /usr/src/linux.


   line 299:
   *    this strategy allows klogd to locate valid symbol files
   *    for both a production and an experimental kernel.  for
   *    example a map for a production kernel could be installed
   *    in /boot.  if an experimental kernel is loaded the map
   *    in /boot will be skipped and the map in /usr/src/linux would
   *    be used if its version number matches the executing kernel.


However, according to the source code, I don't think this is correct.

I've documented where I believe the correct search path is here:

   http://www.dirac.org/linux/system.map/

Thanks,
Peter



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.19 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages klogd depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  sysklogd [system-log-daemon 1.4.1-20     System Logging Daemon

klogd recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to