All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Official RH kernel documents, and load balancing
@ 2003-09-22 21:09 carlosh
  2003-09-23  0:36 ` Alex
  2003-09-23  1:00 ` Daniel Chemko
  0 siblings, 2 replies; 3+ messages in thread
From: carlosh @ 2003-09-22 21:09 UTC (permalink / raw)
  To: lartc

Hi:


I have an 'advanced-networking' problem. I want to have two interfaces to
the internet, apart from the internal one to the LAN.

I came across this page:
http://www.redhat.com/mirrors/LDP/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multipl
e-links.html


and Julian's patches for the kernel published here:
http://www.ssi.bg/~ja/
and the How-to: http://www.ssi.bg/~ja/nano.txt


So, I downloaded the patch:

routes-2.4.22-9.diff (December 14, 2001), and applied it to my 2.4 kernel...


The kernel re-compile part was fine, following the instructions in :

http://tldp.org/HOWTO/Kernel-HOWTO/


The issue is when I have to create a new initrd file.. it appears to create
a vmlinuz, not a bzImage as the kernel-howto document says.


So the new kernel does not boot...


Questions:

Have anyone done this?

I mean, having two connections to the Internet, using RH8.0 or RH 9.0, and
having them selecting (balancing) which interface to use to send packets
out, and receiving in either seamlessly and with NAT ?

I think this functionality should be built in and available, instead of
having to patch the kernel?

What would you guys recommend?


As for the initrd part, any suggestions? Is there an official RedHat
"re-build kernel" document?



Thanks before-hand,

Carlos
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Official RH kernel documents, and load balancing
  2003-09-22 21:09 [LARTC] Official RH kernel documents, and load balancing carlosh
@ 2003-09-23  0:36 ` Alex
  2003-09-23  1:00 ` Daniel Chemko
  1 sibling, 0 replies; 3+ messages in thread
From: Alex @ 2003-09-23  0:36 UTC (permalink / raw)
  To: lartc

I'm not sure what the document says, but after make bzImage && make modules
&& make modules_install you can do a "make bzlilo" if you are using lilo as
your boot loader and it will copy vmlinuz in /boot or just copy
/usr/src/linux/arch/i386/boot/bzImage to /boot and then configure lilo or
grub, whatever you have.

btw, if you do "make bzlilo" it will work even if you have grub installed
instead of lilo ( it will copy the thing to /boot but you will also see a
error about lilo.conf, but nothing to worry about )

Alex

----- Original Message ----- 
From: <carlosh@echos.co.nz>
To: <lartc@mailman.ds9a.nl>
Sent: Tuesday, September 23, 2003 12:09 AM
Subject: [LARTC] Official RH kernel documents, and load balancing


> Hi:
>
>
> I have an 'advanced-networking' problem. I want to have two interfaces to
> the internet, apart from the internal one to the LAN.
>
> I came across this page:
>
http://www.redhat.com/mirrors/LDP/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multipl
> e-links.html
>
>
> and Julian's patches for the kernel published here:
> http://www.ssi.bg/~ja/
> and the How-to: http://www.ssi.bg/~ja/nano.txt
>
>
> So, I downloaded the patch:
>
> routes-2.4.22-9.diff (December 14, 2001), and applied it to my 2.4
kernel...
>
>
> The kernel re-compile part was fine, following the instructions in :
>
> http://tldp.org/HOWTO/Kernel-HOWTO/
>
>
> The issue is when I have to create a new initrd file.. it appears to
create
> a vmlinuz, not a bzImage as the kernel-howto document says.
>
>
> So the new kernel does not boot...
>
>
> Questions:
>
> Have anyone done this?
>
> I mean, having two connections to the Internet, using RH8.0 or RH 9.0, and
> having them selecting (balancing) which interface to use to send packets
> out, and receiving in either seamlessly and with NAT ?
>
> I think this functionality should be built in and available, instead of
> having to patch the kernel?
>
> What would you guys recommend?
>
>
> As for the initrd part, any suggestions? Is there an official RedHat
> "re-build kernel" document?
>
>
>
> Thanks before-hand,
>
> Carlos
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Official RH kernel documents, and load balancing
  2003-09-22 21:09 [LARTC] Official RH kernel documents, and load balancing carlosh
  2003-09-23  0:36 ` Alex
@ 2003-09-23  1:00 ` Daniel Chemko
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Chemko @ 2003-09-23  1:00 UTC (permalink / raw)
  To: lartc

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

My kernel rebuilds:

1. Redhat Kernel Sources
# rpm -i  kernel-source-<version>src.rpm
# cd /usr/src/linux-<version>
# cp /boot/config-<oldversion> ./.config
# <edit> Makefile
Change extra version to the kernel version of your choice. If building 
on the existing kernel, sue the extra version defined for the 
distribution. I highly discourage doing this unless you are only 
compiling new modules into an existing kernel.
# make menuconfig
<selectr your options>
# make dep; make bzImage; make modules; make modules_install
# cp arch/<your arch>/boot/bzImage /boot/vmlinuz-<version>
Modify your boot loader include the new kernel. For EXT3 kernels, you 
need an extra step described below. RH8/9 {/boot/grub/grub.conf}

2. Kernel.org Sources
Same as above, but the first two steps are replaced with getting the 
kernel.org sources into that directory (pretty simple)

Making EXT3 support:

cd /boot/
mkdir tmp
cp init-<olderversion>.img init-<version>.gz
gunzip init-<version>.gz
mount -o loop init-<version> tmp
cd tmp/lib/
cp -f /lib/modules/<version>/kernel/fs/ext3/ext3.o .
cp -f /lib/modules/<version>/kernel/fs/jbd/jbd.o .
cd /boot
umount tmp
gzip init-<version>
mv init-<version>.gz init-<version>.img (you can leave this as .gz as 
long as you change /boot/grub/grub.conf to look for the .gz instead of 
the .img)

Alex wrote:

>I'm not sure what the document says, but after make bzImage && make modules
>&& make modules_install you can do a "make bzlilo" if you are using lilo as
>your boot loader and it will copy vmlinuz in /boot or just copy
>/usr/src/linux/arch/i386/boot/bzImage to /boot and then configure lilo or
>grub, whatever you have.
>
>btw, if you do "make bzlilo" it will work even if you have grub installed
>instead of lilo ( it will copy the thing to /boot but you will also see a
>error about lilo.conf, but nothing to worry about )
>
>Alex
>
>----- Original Message ----- 
>From: <carlosh@echos.co.nz>
>To: <lartc@mailman.ds9a.nl>
>Sent: Tuesday, September 23, 2003 12:09 AM
>Subject: [LARTC] Official RH kernel documents, and load balancing
>
>
>  
>
>>Hi:
>>
>>
>>I have an 'advanced-networking' problem. I want to have two interfaces to
>>the internet, apart from the internal one to the LAN.
>>
>>I came across this page:
>>
>>    
>>
>http://www.redhat.com/mirrors/LDP/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multipl
>  
>
>>e-links.html
>>
>>
>>and Julian's patches for the kernel published here:
>>http://www.ssi.bg/~ja/
>>and the How-to: http://www.ssi.bg/~ja/nano.txt
>>
>>
>>So, I downloaded the patch:
>>
>>routes-2.4.22-9.diff (December 14, 2001), and applied it to my 2.4
>>    
>>
>kernel...
>  
>
>>The kernel re-compile part was fine, following the instructions in :
>>
>>http://tldp.org/HOWTO/Kernel-HOWTO/
>>
>>
>>The issue is when I have to create a new initrd file.. it appears to
>>    
>>
>create
>  
>
>>a vmlinuz, not a bzImage as the kernel-howto document says.
>>
>>
>>So the new kernel does not boot...
>>
>>
>>Questions:
>>
>>Have anyone done this?
>>
>>I mean, having two connections to the Internet, using RH8.0 or RH 9.0, and
>>having them selecting (balancing) which interface to use to send packets
>>out, and receiving in either seamlessly and with NAT ?
>>
>>I think this functionality should be built in and available, instead of
>>having to patch the kernel?
>>
>>What would you guys recommend?
>>
>>
>>As for the initrd part, any suggestions? Is there an official RedHat
>>"re-build kernel" document?
>>
>>
>>
>>Thanks before-hand,
>>
>>Carlos
>>_______________________________________________
>>LARTC mailing list / LARTC@mailman.ds9a.nl
>>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>>    
>>
>
>
>_______________________________________________
>LARTC mailing list / LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>  
>

[-- Attachment #2: Type: text/html, Size: 5568 bytes --]

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

end of thread, other threads:[~2003-09-23  1:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-22 21:09 [LARTC] Official RH kernel documents, and load balancing carlosh
2003-09-23  0:36 ` Alex
2003-09-23  1:00 ` Daniel Chemko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.