Just a thought - when I compile and installed my own kernel, I used the zImage kernel. I played with make-kpkg, and this wants to put the files vmlinuz & vmlinux in /boot. Would using zImage instead of vmlinux cause problems? How do I produce vmlinux from the kernel source?
BTW, I can't see any install options in the kernel makefile. I just followed the instructions in the readme, which were to: make config make clean; make dep make zImage make modules make modules-install cp arch/i386/boot/zImage /boot modify lilo to include /boot/zImage The README doesn't mention anything about System.map :( Thanks for any information, Chris On Sun, 24 May 1998, Bill Mitchell wrote: > Off the top of my head --- > > That file gives the memory addresses of symbolic variables used in > the kernel. The memory contents of the kernel data in these variables > can then be found by looking at the appropriate offset in /dev/kmem. > It's messy, but it's effective. > > The lsof program needs to peek at internal kernel data in this way to > find the info on what files are open. > > I believe that the System.map file gets put in place properly if > you use the kernel makefile to install the kernel you've built. > I don't have a machine with a kernel source tree handy to check how > to do that, but it should not be too hard to figure out by looking > at the docs in the source tree or reading the makefiles. Perhaps > it's as simple as typing make install, or make Zinstall, or somesuch. > > Also, there is a debian package named kernel-package which provides > a means to build .deb format binary kernel packages for you from the > source tree you have installed. You can then use dpkg to install the > kernel, and put the System.map file in place that way. I participated in > a debian-devel discussion about the internals of this six or eight months > ago, and that discussion produced plans to enhance the kernel-package > package so as to support installing multiple alternative kernels of the > same kernel version (something it could not handle at that time). I am > just getting back into debian after a long absence from the project, and > I'm not sure of the current status of kernel-package (or, for that > matter, of quite a few other things). > > Hope that helps. > > On Sun, 24 May 1998, Chris wrote: > > > > > > > Hi, > > > > I was wondering if somebody could give me an idea of what the System.map > > file is for? I've allways compiled my own kernels, and never had to worry > > about this file (never had any problems). However I tried to use the > > command lsof, and it complains that it can't find a System.map file to > > match my currently booted kernel. > > > > What does this mean - and how can it be rectified? I've looked through > > the docs and it doesn't appear to be mentioned. > > > > Thanks, > > > > Chris > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]