Networking options + patch
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · 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.
Quoted 2 lines
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.
Quoted 2 lines
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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 =>
Quoted 35 lines
From: Stef Coene <[email protected]>
To: "sun reflex4" <[email protected]>, [email protected]
Subject: Re: [LARTC] Networking options + patch
Date: Mon, 24 Mar 2003 16:18:57 +0100Quoted 4 lines · 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 andn,
Quoted 1 line
but is m?
m is for module. That's a kernel extention that can be loaded at run time.
Quoted 1 line
2)After I change there some values, do I need to compile anything? or
just
Quoted 1 line
save the file?
You have to recompile the kernel and the modules and boot from the new compiled kernel.
Quoted 1 line
3)I want to patch my SuSE 8.1 with HTB, i got the file htb2.diff, but
where
Quoted 1 line
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
--
Quoted 8 lines
[email protected]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net_______________________________________________
LARTC mailing list / [email protected]
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · 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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/