I cannot seem to recompile the Kernel

I cannot seem to recompile the Kernel

Post by Darrick William » Sun, 31 Dec 1899 09:00:00



Hello All,
    I have been trying to follow the instructions on the "How-To's" on
how to recompile the Linux Kernell to include Ipmasqadm. It is not going
so well. After some time of fiddling around with it I've decided to turn
to the newsgroups for support. I'm using Linux 6.1. The kernel is
2.2.12-20. Is there anything special that I need to do?

-Dee

 
 
 

I cannot seem to recompile the Kernel

Post by Paul Kimo » Sun, 31 Dec 1899 09:00:00



>    I have been trying to follow the instructions on the "How-To's"

Which ones?

Quote:> on how to recompile the Linux Kernell to include Ipmasqadm. It is not going
> so well. After some time of fiddling around with it I've decided to turn
> to the newsgroups for support.

What problems have you encountered?

Quote:> I'm using Linux 6.1. The kernel is 2.2.12-20.

Do you mean "Red Hat 6.1"?  "Linux {some numbers}" means the kernel
version.

Quote:> Is there anything special that I need to do?

Yes, you need to do it exactly right.  (It's computing, after all!)

--


 
 
 

I cannot seem to recompile the Kernel

Post by jkl.. » Sun, 31 Dec 1899 09:00:00


I think you should post the command you typed and the messages you received.
Btw: are you
a) recompiling as root
b) do you have make/gcc/binutils installed ?
 
 
 

I cannot seem to recompile the Kernel

Post by Michael J. Sherma » Sun, 31 Dec 1899 09:00:00


Quote:>     I have been trying to follow the instructions on the "How-To's" on
> how to recompile the Linux Kernell to include Ipmasqadm. It is not going
> so well.

It's generally pretty easy.

0) su -
1) cd /usr/src/linux
2) make xconfig (or make config)
3) make dep
4) make bzImage
5) make modules
6) make modules install
7) (copy /usr/src/linux/arch/i386/boot/bzImage to /boot)
8) (edit /etc/lilo.conf to point to /boot/bzImage)
9) /sbin/lilo

Although, I would prefer you tell us more of what happened
when you tried to compile, so we could better solve your
problem...

--

--- Digital Sandbox, Inc. - http://www.dsbox.com/ ---
"Back off man, I'm a scientist." -Peter, Ghostbusters

 
 
 

I cannot seem to recompile the Kernel

Post by jtholme » Sun, 31 Dec 1899 09:00:00




> >    I have been trying to follow the instructions on the "How-To's"

> Which ones?

> > on how to recompile the Linux Kernell to include Ipmasqadm. It is not going
> > so well. After some time of fiddling around with it I've decided to turn
> > to the newsgroups for support.

> What problems have you encountered?

> > I'm using Linux 6.1. The kernel is 2.2.12-20.

> Do you mean "Red Hat 6.1"?  "Linux {some numbers}" means the kernel
> version.

> > Is there anything special that I need to do?

> Yes, you need to do it exactly right.  (It's computing, after all!)

> --


In a  more compassionate moment Paul Kimoto said:

Yes, you need to do it exactly right.  (It's computing, after all!)

Actually what Paul meant was:

Those of us that can help you need to have a little more information as
to what error messages you got etc.

Look up the  script  command and you can capture what you get and
post Only the important parts of your errors.

--
jtholmes

 
 
 

I cannot seem to recompile the Kernel

Post by pLnCrZ » Sun, 31 Dec 1899 09:00:00


Actually, I use make bzlilo rather than bzImage.  What's the difference?



> >     I have been trying to follow the instructions on the "How-To's" on
> > how to recompile the Linux Kernell to include Ipmasqadm. It is not going
> > so well.

> It's generally pretty easy.

> 0) su -
> 1) cd /usr/src/linux
> 2) make xconfig (or make config)
> 3) make dep
> 4) make bzImage
> 5) make modules
> 6) make modules install
> 7) (copy /usr/src/linux/arch/i386/boot/bzImage to /boot)
> 8) (edit /etc/lilo.conf to point to /boot/bzImage)
> 9) /sbin/lilo

> Although, I would prefer you tell us more of what happened
> when you tried to compile, so we could better solve your
> problem...

> --

> --- Digital Sandbox, Inc. - http://www.dsbox.com/ ---
> "Back off man, I'm a scientist." -Peter, Ghostbusters

 
 
 

I cannot seem to recompile the Kernel

Post by M. Buchenried » Sun, 31 Dec 1899 09:00:00


Please correct your posting style. The new text is supposed to go
below the cited one. And it is not recommended to add a one-liner
after having cited the whole posting.

Quote:>Actually, I use make bzlilo rather than bzImage.  What's the difference?

[...]

"make bzlilo" will invoke /sbin/lilo automatically, whereas "make bzImage"
will just create the new kernel image. You do have to call /sbin/lilo
whenever you recompiled a new kernel, othrwise the loader will never see
your new image.

Michael
--

          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

 
 
 

I cannot seem to recompile the Kernel

Post by Michael Per » Sun, 31 Dec 1899 09:00:00


On Mon, 08 Nov 1999 16:24:02 -0800, Darrick Williams

>Hello All,
>    I have been trying to follow the instructions on the "How-To's" on
>how to recompile the Linux Kernell to include Ipmasqadm. It is not going
>so well. After some time of fiddling around with it I've decided to turn
>to the newsgroups for support. I'm using Linux 6.1. The kernel is
>2.2.12-20. Is there anything special that I need to do?

>-Dee

What happens?  Have you installed the kernel sources?  What commands are you
using?  Are you doing a make menuconfig and selecting kernel options and
then make dep, make clean, make bzImage, etc?  

When you say its "not going too well", can you clarify and expand on this?

Thanks.

--
Michael Perry          

------------------

 
 
 

1. Argh! Cannot get kernel to recompile.

Being a total novice at this, I got my network working, and needed to setup
IP Masquerading, which, according to ipmasq.cjb.net, wasn't compiled in.  So
I recompiled the kernel, following the instructions step-by-step (the only
thing I had to do was download the latest kernel souce from www.kernel.org.
And each time I've done it - my system is left unbootable.

Is there any way to add IPMASQ without recompiling?

I've tried reading, and re-reading the HOWTO on Kernels - but can't get the
hang of it.

Recommendations?

TIA

J

2. X enviornment problems.

3. need help- cannot recompile kernel!

4. VESA blanking/saver

5. Kernel recompile - cannot read from CDROM

6. NCP filesystem??

7. Cannot find modules after kernel recompile and modules_install

8. Video cards and memory

9. Cannot recompile kernel

10. Cannot recompile kernel :-(

11. need to recompile ftape: recompile kernel too?

12. Solution for "Kernel 2.2.x seems to hang" after Uncopressing kernel

13. Need help on chosing kernel memory option, when recompile a new kernel