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

Bug 119947

Summary: /sbin/modules_update can't find System.map
Product: Gentoo Linux Reporter: Philipp Weinfurter <philipp.weinfurter>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: minor CC: philipp.weinfurter
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Philipp Weinfurter 2006-01-22 09:19:12 UTC
When booting the system, the above script will warn that there is no System.map, even if there is one.

Reproducible: 
Always, if /usr lives in its own partition.

Reason:
The script tests for /usr/src/linux/System.map at a point when /usr isn't yet mounted. The offending code is at the bottom of /sbin/modules_update:
<quote>
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
</quote>
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-22 09:23:51 UTC
*** This bug has been marked as a duplicate of 104288 ***

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