Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-11 Thread Mick

On 10/05/06, Devon Miller [EMAIL PROTECTED] wrote:

On 5/10/06, Paul B. Henson [EMAIL PROTECTED] wrote:
 Unless it has changed recently, the system I just installed last month
 actually looks for it in /usr/src/linux, not /boot. It still complains
 during boot even though I actually have one there, presumably it is
looking
 before filesystems are mounted.


Ugh, then it's a duet between /sbin/module-update and /sbin/rc. Looking in
/usr/src/linux is just plain wrong. If for any reason I build a kernel, but
don't install it, then it's not just looking for data from an unmounted
filesystem (/boot or /usr) but it's also looking for the *wrong* System.map.
I'm going to file a bug on this. I can imagine cases where this might leave
a system hosed.


I think the latest stable baselayout fixed this (i.e. I'm not getting
this error at boot time anymore).  It was reported some time ago:

https://bugs.gentoo.org/show_bug.cgi?id=104288

--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] System.map not found - unable to check symbols

2006-05-10 Thread de Almeida, Valmor F.
 -Original Message-
 From: Glenn Enright [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 09, 2006 7:58 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] System.map not found - unable to check
symbols
 
  System.map not found - unable to check symbols.
  which doesn't seem to cause problems during/after booting
(??).
 
  I did a manual kernel compilation

 To do this, I always do:

   make all modules_install install

 This will do all the necessary steps.
   
I tried the make all option and it added a /boot - .
Inside /boot. Also, a menu.lst file was created inside
/boot/grub
that points to grub.conf. Other than that there no
changes/additions
we made.
  
   'make all' is supposed to compile the kernel, 'make
modules_install'
   will compile the kernel modules, 'make install' will install the
 kernel
   and 'make all modules_install install' will do all three of those
 things.
 
  I tried multiple times, different ways installing the kernel
(vanilla
  sources) and reinstalling grub. Still the same message of
System.map
  not found during booting.
 
I rebooted and had the same problem occurring:
   
System.map not found -- unable to check symbols
  
   Could you provide the output of:
  
   # df -h | grep boot
   # ls -l /boot
 
  Nothing from the previous commands since /boot is not mounted (it is
no
  in fstab as suggested by the install handbook)
 
   # uname -r
 
  2.6.15.1
 
 
 Where is the message comming from? do you get it during kernel load or
 once
 the initscripts with the green stars beside them start doing their
thing?

Yes after the green starts. The actual message scrolls up tagged with a
yellow asterisk 

 I'm
 guessing from the OP that you have x86 hardware?

Yes I have x86

 
 1) If its the kernel load (easier to check) I suggest the following.
As
 root
 user...
 - make sure the boot partition is mounted run 'mount /boot'
 - make sure the /usr/src/linux link is pointing to the kernel you want
to
 boot
 from
 - cd /usr/src/linux
 - run 'make clean' (this will essentially deletes all the compiled
stuff
 except for your config file, in other words cleans up the tree :)
 - run 'make all modules_install install'
 - have a look in /boot to make sure the installer created the
appropriate
 link 'System.map' to the version it just installed. use 'ls -l' to see
 this
 - now try a reboot making sure you use  the same kernel you just
built
 
 do you still get the message? If so you may need to alter the kernel
 config
 and see if that makes any difference, or you might like to try a
different
 kernel version.
 
 2) If its happening while the initscripts load, or at some other time
 after
 kernel boot, then its a gentoo specific issue and you need to work
through
 those scripts somehow to isolate the cause.
 
 --
 Thus spake the master programmer:
   After three days without programming, life becomes
meaningless.
   -- Geoffrey James, The Tao of Programming


Thanks,

--
Valmor

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-10 Thread Devon Miller
This message is being issued by /sbin/module-update. It is called from /etc/init.d/modules to update /etc/modules.conf. It's complaining because /boot has not been mounted yet. As far as I can tell, /boot is treated no differently than any other non-root filesystem.
Ultimately, I think, the fault lies in /sbin/rc which should be checking for /boot being a filesystem and mounting it up front.dcmOn 5/10/06, 
de Almeida, Valmor F. [EMAIL PROTECTED] wrote:
 -Original Message- From: Glenn Enright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 09, 2006 7:58 PM To: 
gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] System.map not found - unable to checksymbols  System.map not found - unable to check symbols.  which doesn't seem to cause problems during/after booting
(??).   I did a manual kernel compilation To do this, I always do:
 make all modules_install install This will do all the necessary steps.   I tried the make all option and it added a /boot - .
Inside /boot. Also, a menu.lst file was created inside/boot/grubthat points to grub.conf. Other than that there nochanges/additionswe made.
 'make all' is supposed to compile the kernel, 'makemodules_install'   will compile the kernel modules, 'make install' will install the kernel   and 'make all modules_install install' will do all three of those
 things.   I tried multiple times, different ways installing the kernel(vanilla  sources) and reinstalling grub. Still the same message ofSystem.map  not found during booting.
 I rebooted and had the same problem occurring:   System.map not found -- unable to check symbols Could you provide the output of:
 # df -h | grep boot   # ls -l /boot   Nothing from the previous commands since /boot is not mounted (it isno  in fstab as suggested by the install handbook)
# uname -r   2.6.15.1 Where is the message comming from? do you get it during kernel load or once the initscripts with the green stars beside them start doing their
thing?Yes after the green starts. The actual message scrolls up tagged with ayellow asterisk I'm guessing from the OP that you have x86 hardware?Yes I have x86 1) If its the kernel load (easier to check) I suggest the following.
As root user... - make sure the boot partition is mounted run 'mount /boot' - make sure the /usr/src/linux link is pointing to the kernel you wantto boot from - cd /usr/src/linux
 - run 'make clean' (this will essentially deletes all the compiledstuff except for your config file, in other words cleans up the tree :) - run 'make all modules_install install' - have a look in /boot to make sure the installer created the
appropriate link 'System.map' to the version it just installed. use 'ls -l' to see this - now try a reboot making sure you use  the same kernel you justbuilt  do you still get the message? If so you may need to alter the kernel
 config and see if that makes any difference, or you might like to try adifferent kernel version. 2) If its happening while the initscripts load, or at some other time after
 kernel boot, then its a gentoo specific issue and you need to workthrough those scripts somehow to isolate the cause. -- Thus spake the master programmer: After three days without programming, life becomes
meaningless. -- Geoffrey James, The Tao of ProgrammingThanks,--Valmor--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-10 Thread Paul B. Henson
On Wed, 10 May 2006, Devon Miller wrote:

 This message is being issued by /sbin/module-update. It is called from
 /etc/init.d/modules to update /etc/modules.conf. It's complaining because
 /boot has not been mounted yet. As far as I can tell, /boot is treated no
 differently than any other non-root filesystem.

 Ultimately, I think, the fault lies in /sbin/rc which should be checking for
 /boot being a filesystem and mounting it up front.

Unless it has changed recently, the system I just installed last month
actually looks for it in /usr/src/linux, not /boot. It still complains
during boot even though I actually have one there, presumably it is looking
before filesystems are mounted.

I considered opening a bug, but it wasn't that important and I never really
got around to it.

A kludgy temporary fix would be:

# mount -o bind /dev/rootdev /mnt
# mkdir -p /mnt/usr/src/linux
# cp /usr/src/linux/System.map /mnt/usr/src/linux
# umount /mnt

8-/...




# We also call depmod here to stop insmod from complaining that
modules.conf
# is more recent then modules.dep
#
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


-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  [EMAIL PROTECTED]
California State Polytechnic University  |  Pomona CA 91768
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-10 Thread Devon Miller
On 5/10/06, Paul B. Henson [EMAIL PROTECTED] wrote:
Unless it has changed recently, the system I just installed last monthactually looks for it in /usr/src/linux, not /boot. It still complainsduring boot even though I actually have one there, presumably it is looking
before filesystems are mounted.Ugh, then it's a duet between /sbin/module-update and /sbin/rc. Looking in /usr/src/linux is just plain wrong. If for any reason I build a kernel, but don't install it, then it's not just looking for data from an unmounted filesystem (/boot or /usr) but it's also looking for the *wrong* 
System.map. I'm going to file a bug on this. I can imagine cases where this might leave a system hosed.dcm


RE: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread de Almeida, Valmor F.

I tried the make all option and it added a /boot - .
Inside /boot. Also, a menu.lst file was created inside /boot/grub that
points to grub.conf. Other than that there no changes/additions we made.

I rebooted and had the same problem occurring:

System.map not found -- unable to check symbols

Thanks for your inputs.

--
Valmor


-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 09, 2006 1:12 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] System.map not found - unable to check
symbols

de Almeida, Valmor F. wrote:

 System.map not found - unable to check symbols.
 
 which doesn't seem to cause problems during/after booting (??).
 
 I did a manual kernel compilation

To do this, I always do:

make all modules_install install

This will do all the necessary steps.

Alexander Skwar
-- 
It is impossible to experience one's death objectively and still carry a
tune.
-- Woody Allen
-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Mrugesh Karnik
On Tuesday 09 May 2006 19:26, de Almeida, Valmor F. wrote:
 I tried the make all option and it added a /boot - .
 Inside /boot. Also, a menu.lst file was created inside /boot/grub
 that points to grub.conf. Other than that there no changes/additions
 we made.

 I rebooted and had the same problem occurring:

 System.map not found -- unable to check symbols

 Thanks for your inputs.

 --
 Valmor

I have the same problem. Does anyone know the solution?

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpPiGEVGP3qT.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Steven Gill
On Tue, 2006-05-09 at 21:19 +0530, Mrugesh Karnik wrote:
 On Tuesday 09 May 2006 19:26, de Almeida, Valmor F. wrote:
  I tried the make all option and it added a /boot - .
  Inside /boot. Also, a menu.lst file was created inside /boot/grub
  that points to grub.conf. Other than that there no changes/additions
  we made.
 
  I rebooted and had the same problem occurring:
 
  System.map not found -- unable to check symbols
 
  Thanks for your inputs.
 
  --
  Valmor
 
 I have the same problem. Does anyone know the solution?
 

Genkernel copies the file into /boot/ BUT names the System.map as
System.map-genkernel-x86-2.6.xx-gentoo-rx so all you need to do is
copy/rename this file as System.map (note the capital S) and everything
should be fine.

I'm not sure what impacts/problems arise out of not having a System.map
file but having fixed the problem on my own computers I haven't
noticed any differences.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Mrugesh Karnik
On Tuesday 09 May 2006 21:58, Steven Gill wrote:
 Genkernel copies the file into /boot/ BUT names the System.map as
 System.map-genkernel-x86-2.6.xx-gentoo-rx so all you need to do is
 copy/rename this file as System.map (note the capital S) and
 everything should be fine.

 I'm not sure what impacts/problems arise out of not having a
 System.map file but having fixed the problem on my own computers I
 haven't noticed any differences.

I haven't used genkernel and here's my /boot:

ls -l /boot/
total 13680
lrwxrwxrwx 1 root root   1 2005-11-09 12:22 boot - ./
lrwxrwxrwx 1 root root  23 2006-05-08 22:16 config - 
config-2.6.15-gentoo-r7
-rw-r--r-- 1 root root   32570 2006-01-18 22:11 config-2.6.14-gentoo-r5
-rw-r--r-- 1 root root   34144 2006-05-08 22:16 config-2.6.15-gentoo-r7
-rw-r--r-- 1 root root   33050 2006-03-15 15:50 
config-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  27 2006-05-08 22:16 config.old - 
config-2.6.15-gentoo-r7.old
drwxr-xr-x 2 root root1024 2006-05-02 11:12 grub/
drwx-- 2 root root1024 2005-11-12 19:19 lost+found/
-rw-r--r-- 1 root root 1281606 2005-11-10 20:09 
splash-livecd-2005.1-1024x768
-rw-r--r-- 1 root root 1568408 2005-11-10 19:38 
splash-livecd-2005.1-1280x1024
-rw-r--r-- 1 root root  549029 2006-03-17 21:34 
splash-livecd-2006.0-1280x1024
lrwxrwxrwx 1 root root  27 2006-05-08 22:16 System.map - 
System.map-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 1159642 2006-01-18 22:11 
System.map-2.6.14-gentoo-r5
-rw-r--r-- 1 root root 1183181 2006-05-08 22:16 
System.map-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 1183181 2006-05-08 21:56 
System.map-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  31 2006-05-08 21:56 System.map.old - 
System.map-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  24 2006-05-08 22:16 vmlinuz - 
vmlinuz-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 2270101 2006-01-18 22:11 vmlinuz-2.6.14-gentoo-r5
-rw-r--r-- 1 root root 2328333 2006-05-08 22:16 vmlinuz-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 2307346 2006-03-15 15:50 
vmlinuz-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  28 2006-05-08 22:16 vmlinuz.old - 
vmlinuz-2.6.15-gentoo-r7.old


-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpB5as7rLrab.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Bo Andresen
Reordered to make it more readable.

On Tuesday 09 May 2006 15:56, de Almeida, Valmor F. wrote:
   System.map not found - unable to check symbols.
   which doesn't seem to cause problems during/after booting (??).
  
   I did a manual kernel compilation
 
  To do this, I always do:
 
  make all modules_install install
 
  This will do all the necessary steps.
 I tried the make all option and it added a /boot - .
 Inside /boot. Also, a menu.lst file was created inside /boot/grub that
 points to grub.conf. Other than that there no changes/additions we made.

'make all' is supposed to compile the kernel, 'make modules_install' will 
compile the kernel modules, 'make install' will install the kernel and 'make 
all modules_install install' will do all three of those things.
 
 I rebooted and had the same problem occurring:

 System.map not found -- unable to check symbols

Could you provide the output of:

# df -h | grep boot
# ls -l /boot
# uname -r

And please no top-posting i.e. post your replies below whatever you are 
replying to.

-- 
Bo Andresen


pgp9vodvzSuoT.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Mattias Merilai

Steven Gill wrote:


Genkernel copies the file into /boot/ BUT names the System.map as
System.map-genkernel-x86-2.6.xx-gentoo-rx so all you need to do is
copy/rename this file as System.map (note the capital S) and everything
should be fine.
 

The kernel should be able to find System.map whether it is named 
System.map or System.map-2.6.15-gentoo-r5 or whatever your kernel is. 
Each kernel usually has it's own different System.map so the latter 
naming scheme is preferred.
I have tried both on different (but only) gentoo kernels and still they 
complain about not finding it. The kernel itself should not need the 
file as it should be aware of it's own symbols memory addresses, but 
some programs like ps do need it.

So these are the questions to people wiser than me:
1. Is this a vanilla or gentoo kernel specific issue?
2. Does the kernel itself actually need the file?
3. Are programs like ps able to find the file themselves as they seem to 
work?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Farhan Ahmed
de Almeida, Valmor F. wrote:
 
 Hello list,
 
 Following closely the instrunctions on the Gentoo Linux x86 Handbook, I
 installed gentoo recently (info below) and just did the first reboot
 before finalizing the installation. All worked except for this message
 during boot
 
 System.map not found - unable to check symbols.

Well I had the same problem some time before. I'm using ~x86 tree and
after a update it was solved. I don't remember which package was causing
the problem. But I'm sure it's some init script. It's not a kernel
problem. I now have no problems.

But here's my logic as to why this warning shows up. According to
/etc/fstab, /boot partition does not get auto mounted during boot up, so
the init script can't find /boot/System.map (/boot being the folder, an
empty on in /)

 which doesn't seem to cause problems during/after booting (??).

Don't worry.. It wont cause no harm, except for the annoying warning..

 I did a manual kernel compilation and the handbook didn't say anything
 about copying System.map to /boot. On a second attempt to reboot I did
 copied System.map to /boot. My grub.conf follows below. In /boot I have
 System.map and System.map-2.6.15.1 files (System.map is a soft link).

To make the warning disappear, simply copy /usr/src/linux/System.map to
/boot (don't mount the boot partition, i.e., make sure hda1 is *NOT*
mounted).. This should hopefully make the warning disappear.

 (snip)

Hope this helps,
Farhan Ahmed
-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)
Check Out   :  http://gentooisbest.blogspot.com


pgp07PtORUX4Q.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Benno Schulenberg
Mattias Merilai wrote:
 I have tried both on different (but only) gentoo kernels and
 still they complain about not finding it.

That will happen when when your /boot is on a separate partition: it 
is not mounted (yet) when the kernel is looking for the System.map.

 1. Is this a vanilla or gentoo kernel specific issue?

Neither.  If you don't want it to complain, then copy the System.map 
also to /boot when it is unmounted (or to /, that will do too).

 2. Does the kernel itself actually need the file?

No.  Only when it oopses it will use the info to give a clearer 
message.

 3. Are programs like ps able to find the file themselves as they
 seem to work?

Does ps need System.map?  But if /boot is mounted during normal 
operation, then it'll be able to find it.  Maybe these programs 
are even 'cleverer' and also have a look in /usr/src/linux/?

Benno
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread de Almeida, Valmor F.

 -Original Message-
 From: Bo Andresen [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 09, 2006 1:04 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] System.map not found - unable to check
symbols
 
 Reordered to make it more readable.
 
 On Tuesday 09 May 2006 15:56, de Almeida, Valmor F. wrote:
System.map not found - unable to check symbols.
which doesn't seem to cause problems during/after booting (??).
   
I did a manual kernel compilation
  
   To do this, I always do:
  
 make all modules_install install
  
   This will do all the necessary steps.
  I tried the make all option and it added a /boot - .
  Inside /boot. Also, a menu.lst file was created inside /boot/grub
that
  points to grub.conf. Other than that there no changes/additions we
made.
 
 'make all' is supposed to compile the kernel, 'make modules_install'
will
 compile the kernel modules, 'make install' will install the kernel and
 'make
 all modules_install install' will do all three of those things.

I tried multiple times, different ways installing the kernel (vanilla
sources) and reinstalling grub. Still the same message of System.map
not found during booting.
 
  I rebooted and had the same problem occurring:
 
  System.map not found -- unable to check symbols
 
 Could you provide the output of:
 
 # df -h | grep boot
 # ls -l /boot

Nothing from the previous commands since /boot is not mounted (it is no
in fstab as suggested by the install handbook)
 # uname -r

2.6.15.1

 
 And please no top-posting i.e. post your replies below whatever you
are
 replying to.
 
 --
 Bo Andresen


Thanks,

--
Valmor

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Glenn Enright
 System.map not found - unable to check symbols.
 which doesn't seem to cause problems during/after booting (??).

 I did a manual kernel compilation
   
To do this, I always do:
   
make all modules_install install
   
This will do all the necessary steps.
  
   I tried the make all option and it added a /boot - .
   Inside /boot. Also, a menu.lst file was created inside /boot/grub
   that points to grub.conf. Other than that there no changes/additions
   we made.
 
  'make all' is supposed to compile the kernel, 'make modules_install'
  will compile the kernel modules, 'make install' will install the kernel
  and 'make all modules_install install' will do all three of those things.

 I tried multiple times, different ways installing the kernel (vanilla
 sources) and reinstalling grub. Still the same message of System.map
 not found during booting.

   I rebooted and had the same problem occurring:
  
   System.map not found -- unable to check symbols
 
  Could you provide the output of:
 
  # df -h | grep boot
  # ls -l /boot

 Nothing from the previous commands since /boot is not mounted (it is no
 in fstab as suggested by the install handbook)

  # uname -r

 2.6.15.1


Where is the message comming from? do you get it during kernel load or once 
the initscripts with the green stars beside them start doing their thing? I'm 
guessing from the OP that you have x86 hardware?

1) If its the kernel load (easier to check) I suggest the following. As root 
user...
- make sure the boot partition is mounted run 'mount /boot'
- make sure the /usr/src/linux link is pointing to the kernel you want to boot 
from
- cd /usr/src/linux
- run 'make clean' (this will essentially deletes all the compiled stuff 
except for your config file, in other words cleans up the tree :)
- run 'make all modules_install install'
- have a look in /boot to make sure the installer created the appropriate 
link 'System.map' to the version it just installed. use 'ls -l' to see this
- now try a reboot making sure you use  the same kernel you just built 
do you still get the message? If so you may need to alter the kernel config 
and see if that makes any difference, or you might like to try a different 
kernel version.

2) If its happening while the initscripts load, or at some other time after 
kernel boot, then its a gentoo specific issue and you need to work through 
those scripts somehow to isolate the cause.

-- 
Thus spake the master programmer:
After three days without programming, life becomes meaningless.
-- Geoffrey James, The Tao of Programming


pgpKclLTjUI22.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-08 Thread Alexander Skwar

de Almeida, Valmor F. wrote:


System.map not found - unable to check symbols.

which doesn't seem to cause problems during/after booting (??).

I did a manual kernel compilation


To do this, I always do:

make all modules_install install

This will do all the necessary steps.

Alexander Skwar
--
It is impossible to experience one's death objectively and still carry a tune.
-- Woody Allen
--
gentoo-user@gentoo.org mailing list