Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] /System.map???

5 views
Skip to first unread message

Michael W. Holdeman

unread,
Jul 30, 2006, 7:30:07 AM7/30/06
to
Boot message says can't find /System.map, probably because System.map is
in /boot. What is this about? Anyone else?

Mike
--

Michael W. Holdeman


________________________________________
Powered by Gentoo Linux www.gentoo.org |
Kernel 2.6.15-ck2 |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
________________________________________|
--
gento...@gentoo.org mailing list

Fabrice Delliaux

unread,
Jul 30, 2006, 7:50:07 AM7/30/06
to
Michael W. Holdeman a écrit :

> Boot message says can't find /System.map, probably because System.map is
> in /boot. What is this about? Anyone else?
>
> Mike

Copy your System.map to /.

If you have separate /boot and /usr partitions, the System.map file is
searched in /.


[quote from /sbin/modules-update]

for cfg in /lib/modules/${KV}/build /usr/src/linux-${KV} \
/boot /usr/src/linux ""
do
cfg="${cfg}/System.map"
[[ -f ${cfg} ]] && break
done

[/quote]
--
gento...@gentoo.org mailing list

Michael W. Holdeman

unread,
Jul 30, 2006, 8:00:05 AM7/30/06
to
Is this new, don't remember ever doing it before..

Fabrice Delliaux

unread,
Jul 30, 2006, 8:20:06 AM7/30/06
to
Michael W. Holdeman a écrit :
> Is this new, don't remember ever doing it before..

Yes.

With older baselayout [1], the System.map file wasn't required :
[code]
if [ -f /usr/src/linux/System.map ]; then
depmod -a -F /usr/src/linux/System.map ${KV}
else
depmod -a ${KV}
fi
[/code]

One day, the code evolved to :
[code]
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
[/code]

So, developpers decided to search the System.map file in different
paths, but if your /boot and /usr directories are mounted on partitions,
you must copy the file in /, because modules-update is ran before
mounting partitions.

[1] - http://forums.gentoo.org/viewtopic-p-3038067.html#3038067
--
gento...@gentoo.org mailing list

Norberto Bensa

unread,
Jul 30, 2006, 12:40:04 PM7/30/06
to
Fabrice Delliaux wrote:
> Copy your System.map to /.

Ridiculous...

> [quote from /sbin/modules-update]
>
> for cfg in /lib/modules/${KV}/build /usr/src/linux-${KV} \
> /boot /usr/src/linux ""

I've made it:

for cfg in /lib/modules/${KV} /lib/modules/${KV}/build...


Then you just copy "System.map" to "/lib/modules/${KV}" which is -of course-
mounted on boot. C'mon Devs!! It's not that hard!!


Best regards,

--
Norberto Bensa
Cel: 011-5654-9539
Ciudad de Buenos Aires, Argentina

Fabrice Delliaux

unread,
Jul 30, 2006, 1:30:14 PM7/30/06
to
Norberto Bensa a écrit :

> Then you just copy "System.map" to "/lib/modules/${KV}" which is -of course-
> mounted on boot.

This could be done during the make modules_install step.

> C'mon Devs!! It's not that hard!!

Open a bug :-)


--
gento...@gentoo.org mailing list

Dale

unread,
Jul 30, 2006, 8:40:09 PM7/30/06
to
Fabrice Delliaux wrote:
> Norberto Bensa a écrit :
>
>> Then you just copy "System.map" to "/lib/modules/${KV}" which is -of course-
>> mounted on boot.
>>
>
> This could be done during the make modules_install step.
>
>
>> C'mon Devs!! It's not that hard!!
>>
>
> Open a bug :-)
>
>
>

I had been having this too. I was curious why it started that. Of
course, I had not rebooted in about two months either. What affect does
this have anyway??

< me watches thread to see how this is "fixed" >

Dale
:-) :-)
--
gento...@gentoo.org mailing list

0 new messages