You need a correct zSystem.map to go with the kernel.

This is a headache...

What I'm doing to automate the process is changing the kernel Makefile:

: [EMAIL PROTECTED]; cat kernel.makefile 
--- Makefile    1996/09/14 00:38:40     1.1
+++ Makefile    1996/09/14 00:38:56
@@ -177,6 +177,7 @@
                $(DRIVERS) \
                $(LIBS) -o vmlinux
        $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( a \)' | sort > 
System.map
+               cp System.map System.map.$(VERSION).$(PATCHLEVEL).$(SUBLEVEL).`
cat .version`
 
 symlinks:
        rm -f include/asm

making a directory /maps, putting the zSystem file there and running this 
script:
 [EMAIL PROTECTED]; cat /usr/local/bin/install_map 
#! /bin/bash


version=$(uname -a | gawk '{ print $3 $4 }' | sed s/#/./)

file=/maps/System.map.$version

if [ -r $file ]; then
        cp  $file /zSystem.map
        echo installing $file as map
else
        echo $file does not exist
fi

from rc.local

BTW -- lsof didn't work with 2.1...


-- 
marty
[EMAIL PROTECTED]  
Member of the League for Programming Freedom


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to