Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124517 - /sbin/modules-update - System.map not found
Summary: /sbin/modules-update - System.map not found
Status: RESOLVED DUPLICATE of bug 104288
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 05:15 UTC by Jonas MG
Modified: 2006-03-01 06:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***