Does somebody know what it means and what's wrong ?System.map not found - unable to check symbols
Thanks
Does somebody know what it means and what's wrong ?System.map not found - unable to check symbols

Code: Select all
cp /usr/src/linux/System.map /boot/System.map-`uname -r`The System.map contains the symbols the kernel spits out in case of a kernel panic/oops and you'll therefor hopefully never see it in action. :-)ls -l /boot (I removed some meaningless output) wrote: -rw-r--r-- 1 root root 1975403 22. Mai 20:05 kernel-2.6.16-gentoo-r8
-rw-r--r-- 1 root root 913762 22. Mai 20:05 System.map-2.6.16-gentoo-r8
I always boot on "pegasos" which is a link on my favorite kernel.total 12692
4 drwxr-xr-x 2 root root 4096 Jun 17 08:42 .
4 drwxr-xr-x 20 root root 4096 Jun 6 19:15 ..
0 -rw-r--r-- 1 root root 0 Feb 12 11:51 .keep
0 lrwxrwxrwx 1 root root 27 Jun 17 08:42 System.map -> System.map-2.6.15-gentoo-r1
584 -rw-r--r-- 1 root root 591385 Jun 17 08:36 System.map-2.6.15-gentoo-r1
0 lrwxrwxrwx 1 root root 1 Apr 29 18:19 boot -> .
0 lrwxrwxrwx 1 root root 24 May 27 00:27 fbsplash -> fbsplash_livecd-1024x768
484 -rw-r--r-- 1 root root 491412 May 27 00:20 fbsplash_livecd-1024x768
0 lrwxrwxrwx 1 root root 26 Jun 17 00:24 pegasos -> pegasos_2.6.15-gentoo-r1_4
1540 -rwxr-xr-x 1 root root 1630947 May 26 19:27 pegasos_2.6.15-gentoo-r1
1540 -rwxr-xr-x 1 root root 1630947 May 27 20:22 pegasos_2.6.15-gentoo-r1_2
1656 -rwxr-xr-x 1 root root 1749731 Jun 6 22:18 pegasos_2.6.15-gentoo-r1_3
1640 -rwxr-xr-x 1 root root 1733347 Jun 17 00:24 pegasos_2.6.15-gentoo-r1_4
1672 -rwxr-xr-x 1 root root 1768684 Jun 16 23:02 pegasos_2.6.16-gentoo-r7
1784 -rwxr-xr-x 1 root root 1882340 Jun 15 22:29 pegasos_2.6.16-gentoo-r9
1784 -rwxr-xr-x 1 root root 1882368 Jun 16 21:11 pegasos_2.6.16-gentoo-r9_2

Code: Select all
cd /usr/src/linux
make installI also tried in /usr/src/linux/arch/ppc/boot/images where I can find my kernel image named zImage.chrp... Same result...make install
make: *** No rule to make target `install'. Stop.

Of course, this will only work if /boot is a directory on the root partition orPhilantrop wrote:This is not critical but easy to fix: You'll find the System.map in
/usr/src/linux/System.map. Copy it to your /boot directory and name it like your kernel's
revision (uname -r):
Code: Select all
...
if [ -d "`depdir`" -a -f /proc/modules ]
then
if [ -f /usr/src/linux/System.map ]; then
depmod -a -F /usr/src/linux/System.map ${KV}
else
ewarn "System.map not found - unable to check symbols"
fi
fi
Code: Select all
/etc/init.d/modulesCode: Select all
/etc/init.d/localmountCode: Select all
depend() {
after localmount
}Code: Select all
use localmountCode: Select all
need localmountCode: Select all
/etc/init.d/localmountCode: Select all
...
before modules
...Code: Select all
if [ -d "`depdir`" -a -f /proc/modules ]
then
if [ -f /usr/src/linux/System.map ]; then
depmod -a -F /usr/src/linux/System.map ${KV}
else
ewarn "System.map not found - unable to check symbols"
fi
fi Code: Select all
if [ -d "`depdir`" -a -f /proc/modules ]
then
if [ -f /System.map ]; then
depmod -a -F /System.map ${KV}
else
ewarn "System.map not found - unable to check symbols"
fi
fi As you can see my /usr is on another partition too/dev/hdb7 / ext3 noatime 0 1
/dev/hdb8 /usr ext3 defaults 0 0
/dev/hdb9 /mnt/extra ext3 defaults 0 0
/dev/hdb2 none swap sw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
/dev/hdb5 /mnt/suse ext3 defaults 0 0
/dev/hdb6 /mnt/ubuntu ext3 defaults 0 0
Code: Select all
if [ -d "`depdir`" -a -f /proc/modules ]
then
if [ -f /boot/System.map ]; then
depmod -a -F /boot/System.map ${KV}
else
ewarn "System.map not found - unable to check symbols (Check /boot/System.map)"
fi
fi
I have the file in /boot/System.map, but last night I tried changing the above code to /boot/System.map and it still didn't work! So I also tried /System.map and System.map, but no dice. Come to think of it, my System.map file is actually a symlink within the same /boot directory:lugduweb wrote:<snip>
So I guess that your "dirty" solution might be the only good one if this is checked too early.
But the right script should be the one looking for a /boot/System.map with a more comprehensive warning message. That would be cleaner no ?
Like this :Code: Select all
if [ -d "`depdir`" -a -f /proc/modules ] then if [ -f /boot/System.map ]; then depmod -a -F /boot/System.map ${KV} else ewarn "System.map not found - unable to check symbols (Check /boot/System.map)" fi fi
Code: Select all
System.map -> System.map-2.6.16-gentoo-r7


That was what I assumed. However, from the bug discussion:limn wrote:RESOLVED/FIXED means that the bug is addressed somewhere in the source tree, not necessarily in the stable branch.ZmjbS wrote:The bug says it is fixed
Comment #5 From Henrik Brix Andersen 2005-10-16 1 wrote:Any chance of getting this patch applied before baselayout-1.12 goes final?
Comment #6 From SpanKY 2005-10-16 wrote:baselayout-1.12 wont be going stable for quite some time :p
... to which there was no specific answer.Comment #7 From Henrik Brix Andersen 2005-10-16 wrote:Then can we please have it applied to the stable branch?