I have /usr as a separate filesystem. And after each update of sys-apps/baselayout i see "System.map not found - unable to check symbols" warning at boot process (because /usr and other fs are not mouned at this step of boot process). I think, the better way is searching this file in /usr/src/linux and in /boot directory too. Here is a patch $ diff -Naur modules-update-old /sbin/modules-update --- modules-update-old 2006-04-25 18:49:14.000000000 +0500 +++ /sbin/modules-update 2006-04-25 19:55:21.000000000 +0500 @@ -206,7 +206,11 @@ 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" + if [ -f /boot/System.map ]; then + depmod -a -F /boot/System.map ${KV} + else + ewarn "System.map not found - unable to check symbols" + fi fi fi
ZOMG... *** This bug has been marked as a duplicate of 104288 ***