Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124517

Summary: /sbin/modules-update - System.map not found
Product: Gentoo Linux Reporter: Jonas MG <jonasmg>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas MG 2006-03-01 05:15:49 UTC
In the boot, /etc/init.d/modules -Calucalting module dependencies-, I get the next error message: System.map not found - unable to check symbols

/sbin/modules-update is run from /etc/init.d/modules, and at the end of that file is the next line:

 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

/usr/src/linux/System.map -> That is the bug

There are people as me that by security reasons unemerge kernel sources after of compile it and install it.

So the option more secure is get it from boot (/boot/System.map)

In addition if you use 'make install' (after of make && make modules_install) when you are installing kernel, System.map is copied in /boot

Is necessary to check if /boot is in another partition for mounting it before of.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-01 06:14:32 UTC
That file is damn useless for everyone except kernel hackers, must be some obsession or what...

*** This bug has been marked as a duplicate of 104288 ***