* [LARTC] Networking options + patch
@ 2003-03-24 14:38 sun reflex4
2003-03-24 15:18 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: sun reflex4 @ 2003-03-24 14:38 UTC (permalink / raw)
To: lartc
Hi all,
I have 3 small questions:
1)In the /usr/src/linux/.config : there is the option "m", I know y and n,
but is m?
2)After I change there some values, do I need to compile anything? or just
save the file?
3)I want to patch my SuSE 8.1 with HTB, i got the file htb2.diff, but where
should I place it to call "patch -p1 < filename.diff" ??
Thanx for ur help
<= sunreflex4 =>
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?pageþatures/junkmail
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Networking options + patch
2003-03-24 14:38 [LARTC] Networking options + patch sun reflex4
@ 2003-03-24 15:18 ` Stef Coene
2003-03-24 15:27 ` sun reflex4
2003-03-24 16:01 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-03-24 15:18 UTC (permalink / raw)
To: lartc
On Monday 24 March 2003 15:38, sun reflex4 wrote:
> Hi all,
> I have 3 small questions:
>
> 1)In the /usr/src/linux/.config : there is the option "m", I know y and n,
> but is m?
m is for module. That's a kernel extention that can be loaded at run time.
> 2)After I change there some values, do I need to compile anything? or just
> save the file?
You have to recompile the kernel and the modules and boot from the new
compiled kernel.
> 3)I want to patch my SuSE 8.1 with HTB, i got the file htb2.diff, but where
> should I place it to call "patch -p1 < filename.diff" ??
Anywhere you want. As long as you run the command from /usr/src/linux.
It seems to me that this is your first kernel compile. I suggest you read the
kernel HOWTO because it's possible that you make an error and leave your box
unbootlable.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Networking options + patch
2003-03-24 14:38 [LARTC] Networking options + patch sun reflex4
2003-03-24 15:18 ` Stef Coene
@ 2003-03-24 15:27 ` sun reflex4
2003-03-24 16:01 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: sun reflex4 @ 2003-03-24 15:27 UTC (permalink / raw)
To: lartc
thanx for the fast reply, and i have just printed the "Kernel HOWTO", to
read it carefully before doing anything. In respect to "m", should i leave
it in the .config, or replace it with "y" to enable e.g. CBQ or other
things?
bye
<= sunreflex4 =>
>From: Stef Coene <stef.coene@docum.org>
>To: "sun reflex4" <sunreflex4@hotmail.com>, lartc@mailman.ds9a.nl
>Subject: Re: [LARTC] Networking options + patch
>Date: Mon, 24 Mar 2003 16:18:57 +0100
>
>On Monday 24 March 2003 15:38, sun reflex4 wrote:
> > Hi all,
> > I have 3 small questions:
> >
> > 1)In the /usr/src/linux/.config : there is the option "m", I know y and
>n,
> > but is m?
>m is for module. That's a kernel extention that can be loaded at run time.
>
> > 2)After I change there some values, do I need to compile anything? or
>just
> > save the file?
>You have to recompile the kernel and the modules and boot from the new
>compiled kernel.
>
> > 3)I want to patch my SuSE 8.1 with HTB, i got the file htb2.diff, but
>where
> > should I place it to call "patch -p1 < filename.diff" ??
>Anywhere you want. As long as you run the command from /usr/src/linux.
>
>It seems to me that this is your first kernel compile. I suggest you read
>the
>kernel HOWTO because it's possible that you make an error and leave your
>box
>unbootlable.
>
>Stef
>
>--
>
>stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
>
>_______________________________________________
>LARTC mailing list / LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?pageþatures/junkmail
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Networking options + patch
2003-03-24 14:38 [LARTC] Networking options + patch sun reflex4
2003-03-24 15:18 ` Stef Coene
2003-03-24 15:27 ` sun reflex4
@ 2003-03-24 16:01 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-03-24 16:01 UTC (permalink / raw)
To: lartc
On Monday 24 March 2003 16:27, sun reflex4 wrote:
> thanx for the fast reply, and i have just printed the "Kernel HOWTO", to
> read it carefully before doing anything. In respect to "m", should i leave
> it in the .config, or replace it with "y" to enable e.g. CBQ or other
> things?
There are also other ways for configuring the kernel. Try to run
make menuconfig
in /usr/scr/linux.
Compiling an option as module or not is your choice. If you compile it as a
module and you change something in the source, you can remove the module and
reload the modified module. I sometimes use it to test a change in the htb
qdisc. I also have all qos options compiled as module. I don't use them so
I don't have them in the kernel. But if I want to use them to test
something, there are loaded by the kernel.
Be aware, compiling and booting from your own kernel is a real challenge if
it's your first time. Be sure you ALWAYS have a good kernel so you can go
back to your old situation. Or try make bzdisk. It will create the new
kernel and place it on a floppy so you can boot from it. If boot
succesfully, you can configure your boot loader to use it.
I also suggest using grub as boot loader and not lilo. Grub is "filesystem
aware" so it can see the kernel in the file system. If you use lilo, you
have to update the bootloader each time you create a new kernel. Debian has
a script that finds all kernels that can be used and configures grub
accordingly.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-24 16:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 14:38 [LARTC] Networking options + patch sun reflex4
2003-03-24 15:18 ` Stef Coene
2003-03-24 15:27 ` sun reflex4
2003-03-24 16:01 ` Stef Coene
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.