public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /System.map???
@ 2006-07-30 11:42 Michael W. Holdeman
  2006-07-30 11:43 ` Fabrice Delliaux
  0 siblings, 1 reply; 7+ messages in thread
From: Michael W. Holdeman @ 2006-07-30 11:42 UTC (permalink / raw
  To: gentoo-user

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         |
________________________________________|
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /System.map???
  2006-07-30 11:42 [gentoo-user] /System.map??? Michael W. Holdeman
@ 2006-07-30 11:43 ` Fabrice Delliaux
  2006-07-30 12:18   ` Michael W. Holdeman
  2006-07-30 16:30   ` Norberto Bensa
  0 siblings, 2 replies; 7+ messages in thread
From: Fabrice Delliaux @ 2006-07-30 11:43 UTC (permalink / raw
  To: gentoo-user

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]
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /System.map???
  2006-07-30 12:18   ` Michael W. Holdeman
@ 2006-07-30 12:15     ` Fabrice Delliaux
  0 siblings, 0 replies; 7+ messages in thread
From: Fabrice Delliaux @ 2006-07-30 12:15 UTC (permalink / raw
  To: gentoo-user

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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /System.map???
  2006-07-30 11:43 ` Fabrice Delliaux
@ 2006-07-30 12:18   ` Michael W. Holdeman
  2006-07-30 12:15     ` Fabrice Delliaux
  2006-07-30 16:30   ` Norberto Bensa
  1 sibling, 1 reply; 7+ messages in thread
From: Michael W. Holdeman @ 2006-07-30 12:18 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 July 2006 07:43, Fabrice Delliaux wrote:
> 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]
Is this new, don't remember ever doing it before..

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /System.map???
  2006-07-30 11:43 ` Fabrice Delliaux
  2006-07-30 12:18   ` Michael W. Holdeman
@ 2006-07-30 16:30   ` Norberto Bensa
  2006-07-30 17:24     ` Fabrice Delliaux
  1 sibling, 1 reply; 7+ messages in thread
From: Norberto Bensa @ 2006-07-30 16:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

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


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /System.map???
  2006-07-30 16:30   ` Norberto Bensa
@ 2006-07-30 17:24     ` Fabrice Delliaux
  2006-07-31  0:37       ` Dale
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Delliaux @ 2006-07-30 17:24 UTC (permalink / raw
  To: gentoo-user

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 :-)


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /System.map???
  2006-07-30 17:24     ` Fabrice Delliaux
@ 2006-07-31  0:37       ` Dale
  0 siblings, 0 replies; 7+ messages in thread
From: Dale @ 2006-07-31  0:37 UTC (permalink / raw
  To: gentoo-user

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
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-31  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30 11:42 [gentoo-user] /System.map??? Michael W. Holdeman
2006-07-30 11:43 ` Fabrice Delliaux
2006-07-30 12:18   ` Michael W. Holdeman
2006-07-30 12:15     ` Fabrice Delliaux
2006-07-30 16:30   ` Norberto Bensa
2006-07-30 17:24     ` Fabrice Delliaux
2006-07-31  0:37       ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox