Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119947 - /sbin/modules_update can't find System.map
Summary: /sbin/modules_update can't find System.map
Status: RESOLVED DUPLICATE of bug 104288
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 09:19 UTC by Philipp Weinfurter
Modified: 2006-01-22 09:23 UTC (History)
1 user (show)

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 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 ***