SUMMARY: Problem when rebuilding a kernel with DU 4.0b : kmem_leak_data

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Mon, 06 Apr 1998 08:03:27 +0200

The original message was :

> I'm trying to rebuild a kernel because of new controllers installation
and
> I'm quite surprised to have this message at the end of the process :
>
> loading vmunix.sys
> ld:
> Error: Undefined:
> kmem_leak_data
> *** Exit 1 (ignored)
>
> I've transferred my configuration file on another DU 4.0b computer and
it's
> working fine.
>
> Which file is missing on this one ?
>

I've got one answer from "Dr. Tom Blinn, 603-884-0646" <tpb_at_zk3.dec.com>

Can't tell for sure; the symbol appears to be related to kernel malloc stuff,
but it's not clear where it's defined, which usually means it's defined in one
of the header files that should be generated (or a .c file generated) during
the kernel build.

The fact that the config file works on a different system (where you probably
did a doconfig -c CONFIG with no pre-existing build environment) suggests you
will get it to work if you completely remove the /sys/CONFIG directory on the
original system and re-try the build there. Then doconfig with recreate the
directory, populate it appropriately, and run a clean config, etc.

This technique of blowing off the old build directory and letting doconfig set
it up from scratch cures all kinds of kernel build woes. It probably should
be in the doconfig ref page or the System Management manual, but it's not
going to be there for V4.0x and things will change to some extent in V5.0x.

----------------------
In fact, it seems that the problem was coming from a merge between
/sys/BINARY and /usr/sys/BINARY which was not correct. In copying all files
from /usr/sys/BINARY on another computer the problem is solved.

Daniel


o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
| Daniel Clar e-mail : Daniel.Clar_at_supelec.fr |
| Computer Operations Manager : dc_at_supelec.fr |
| Service Informatique Supelec and |
| Plateau de Moulon DECUSF::CLAR_D or |
| 91192 Gif sur Yvette Cedex - France Daniel.Clar_at_decus.fr |
| Tel : (33 1) 69 85 14 87 Fax : (33 1) 69 85 12 34 |
o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
Received on Mon Apr 06 1998 - 08:10:06 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT