View previous topic :: View next topic |
Author |
Message |
kraylus l33t
Joined: 07 Jun 2002 Posts: 648 Location: ft.worth.tx
|
Posted: Sun Nov 03, 2002 12:06 pm Post subject: kernel compile question (gurus wanted) |
|
|
i'm not really a newbie, but i do have a newbie question...
back when i was first getting into linux heavily with slackware, i used the online slackware bible to compile my first real kernel. that's when i first heard of "make mrproper." anyhow, at the end of the process, the slackware book said that you had to move the bzImage to your boot directory (in slack's case, it's / since slack doesn't put the kernel in /boot.)
anyhow, not only that, but it also said that you had to move a system.map file and something else as well to the new kernel dir... hang on a sec, lemme see if i can find it...
ah ha! http://www.slackware.com/book/index.php?source=x948.html
but to save you the trouble:
Code: | # mv /vmlinuz /vmlinuz.old
# cat arch/i386/boot/zImage > /vmlinuz
# mv /boot/System.map /boot/System.map.old
# cp System.map /boot/System.map |
what's that system map file for and why don't other kernel compile guides have you do that too? any takers?
ryan _________________ I used gentoo BEFORE it was cool. |
|
Back to top |
|
|
px Guru
Joined: 26 Sep 2002 Posts: 497 Location: Metz, France
|
Posted: Sun Nov 03, 2002 2:35 pm Post subject: |
|
|
System.map give some infos on your system. It's first purpose (and the only one I know) is for modules dependancies. It's created by your kernel compilation process. You might need it with some third party drivers, like bewan adsl pci st. The best is to copy this file from your kernel dir to your boot dir. You can also recreate modules dependancies by using the depmod command:
depmod -ae -F /boot/System.map
I had to copy once, I had a failure while booting my computer in checkin modules dependancies section before loading module xxx... _________________ Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry] |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Nov 04, 2002 12:45 am Post subject: |
|
|
System.map contains symbolic debugging information for the kernel. It's only necessary when you are trying to use a program like ksymoops to convert numerical addresses in kernel panics into routine names. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|