[S.u.S.E. Linux] current kernel configuration?
Hello, Having now been playing with my newly-installed SuSE 5.2 for a while, I'd like to build my own kernel. Setting the configuration options is one thing, but I'd like to know what they're set to currently: i.e. what does my current (off the CD) kernel look like. Is there any way to tell? Ideally I'd like to be able to build a kernel which is just like my current one, but with a couple of things added (and perhaps a couple of things taken away). Any hints will be gratefully received. Cheers, Marc. ______________________________________________________ Get Your Private, Free Email at <A HREF="http://www.hotmail.com"><A HREF="http://www.hotmail.com</A">http://www.hotmail.com -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Marc Bouron wrote:
Hello,
Having now been playing with my newly-installed SuSE 5.2 for a while, I'd like to build my own kernel. Setting the configuration options is one thing, but I'd like to know what they're set to currently: i.e. what does my current (off the CD) kernel look like. Is there any way to tell? Ideally I'd like to be able to build a kernel which is just like my current one, but with a couple of things added (and perhaps a couple of things taken away).
Any hints will be gratefully received.
Well, as a start, take down all the hardware your system has on a piece of paper. So you can have a check list to mark as you are doing the config file of the kernel. Well whats cool it that you can do make menuconfig as many times as you like and spend all day looking at it, learning and reading the help on each thing you can add to the kernel. Best thing to do is read the README in /usr/src/linux less README as a start then print out or read the Kernel howto on <A HREF="http://sunsite.unc.edu/mdw/HOWTO/Kernel-HOWTO.html"><A HREF="http://sunsite.unc.edu/mdw/HOWTO/Kernel-HOWTO.html</A">http://sunsite.unc.edu/mdw/HOWTO/Kernel-HOWTO.html Just try not to bloat your kernel with things you will never use nor need. things to note: SCSI should be compiled directly Sound should be as a modules filesystems can be mounted mostly as modules too a.out binary support (you can do this a module too) ppp should be direct compiled too Thing about todays Kernels is they are hightly moduleized (or can be) for sleek,quickness, and non bloat. After looking over the README's and your still a bit lost make another post about what your having difficultys on. At the time of non understanding is a good time to write down what the thing your not understanding, so you can go back and figure out after or ask direct questions. Have fun Steven Udell hettar@teleport.com -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
On 17-Jun-98 Steven Udell wrote:
Marc Bouron wrote:
Having now been playing with my newly-installed SuSE 5.2 for a while, I'd like to build my own kernel. Setting the configuration options is one thing, but I'd like to know what they're set to currently: i.e. what does my current (off the CD) kernel look like. Is there any way to tell? Ideally I'd like to be able to build a kernel which is just like my current one, but with a couple of things added (and perhaps a couple of things taken away).
Any hints will be gratefully received.
Well, as a start, take down all the hardware your system has on a piece of paper. So you can have a check list to mark as you are doing the config file of the kernel. [and so on]
However helpful Steven's reply may be about the general procedure for compiling
a kernel, it does NOT answer Marc Bouron's question at all.
This is the same question I asked several weeks ago, without receiving any
reply, not even from the S.u.S.E. team.
Namely, to put is in its simplest terms: You install S.u.S.E., and a kernel
goes in as part of the installation. QUESTION: What are the configuration
settings under which this kernel was compiled? (Or, where may they be found?).
Similar if you upgrade -- a new kernel goes in; what are its config data?
(And, by the way, it seems to me that this kernel is copied from the boot
floppy. This I discovered having found that upgrading, 5.0->5.1, installed the
2.0.32 kernel sources off the CD, while the new kernel that went in was 2.0.33;
and that is what I found on the floppy, despite the fact that the label on
S.u.S.E.'s floppy said 2.0.32).
As well as Marc, I really would like to know the answer to this question!
Best wishes to all,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding)
(Ted Harding) wrote:
Again, only the german SDB speaks: <A HREF="http://www.suse.de/Support/sdb/maddin_kernel_config.html"><A HREF="http://www.suse.de/Support/sdb/maddin_kernel_config.html</A">http://www.suse.de/Support/sdb/maddin_kernel_config.html but it reads: ------8<----- SuSE Realease: ince 4.2 Problem: Yoy want to reconfigure your Kernel and want to start the reconfiguration based on your installed kernel. Solution: You find the configuration files on CD1, directory: /suse/images/config i.e. autoconf.ide1.ikror the file(name) that matches your kernel. You cannot get this information from the running kernel. ------8<----- Hello Bodo & SuSE Team: if these translations occasionally pop up, do you transfer them to the english support files??
[.... deleted ...]
As well as Marc, I really would like to know the answer to this question!
Best wishes to all, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding)
Date: 17-Jun-98 Time: 13:09:44 -------------------------------------------------------------------- -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- ========================================== __ _ Jürgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
I don't know if this is really necessary anymore. I have never compiled a.out support into a kernel, and I have never run into a situation where I needed it either. Steven Udell wrote:
a.out binary support (you can do this a module too)
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Steven Udell wrote:
[snip]
ppp should be direct compiled too Thing about todays Kernels is they are hightly moduleized (or can be) for sleek,quickness, and non bloat.
[snip]
Steven Udell hettar@teleport.com
Now is my chance to ask a question that's been bothering me since I installed 5.2. The kernel I installed out of the box does indeed have SCSI compiled in, but PPP isn't (no boot time PPP message). I have PPP on demand, so I assume that kerneld adds the PPP module as required. If so (a big if for a Linux newbie), why did you recommend that PPP be directly compiled? Howard Arons -- Powered by SuSE Linux 5.2 -- kernel 2.0.33 Communications by Netscape 4.0 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Howard Arons wrote:
Now is my chance to ask a question that's been bothering me since I installed 5.2. The kernel I installed out of the box does indeed have SCSI compiled in, but PPP isn't (no boot time PPP message). I have PPP on demand, so I assume that kerneld adds the PPP module as required. If so (a big if for a Linux newbie), why did you recommend that PPP be directly compiled?
Howard Arons -- Powered by SuSE Linux 5.2 -- kernel 2.0.33 Communications by Netscape 4.0
Thank you, Howard. I was "corrected" a week or so ago for stating the 5.2 "out-of-the-box" kernel didn't have PPP compiled in. -- Ken Schuller Network Support Specialist NovaNET Learning, Inc. <hint> Take out the spam foil to reply via e-mail. </hint> Incidentally, I speak for me. That's all. No one else. Linux- the best things in life are free! (Or at least GPL'ed...) -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Howard Arons wrote:
Steven Udell wrote:
[snip]
ppp should be direct compiled too Thing about todays Kernels is they are hightly moduleized (or can be) for sleek,quickness, and non bloat.
[snip]
Steven Udell hettar@teleport.com
Now is my chance to ask a question that's been bothering me since I installed 5.2. The kernel I installed out of the box does indeed have SCSI compiled in, but PPP isn't (no boot time PPP message). I have PPP on demand, so I assume that kerneld adds the PPP module as required. If so (a big if for a Linux newbie), why did you recommend that PPP be directly compiled?
I use PPP every time I log onto my system. This is my reason. Sorry about not answering Marcs question right. I guess at 1 am (about when I get home) I didn't read it good enough. Marc, The SuSE Kernel that is put into place as you first install is rather huge. This is for making sure that all hardware you may have in maybe included right from the start. I can not answer your question however on which options are set in the first kernel that is installed at install time. I never fully knew this my-self. A few trys at compiling a kernel myself and after making a hardware list, I now can compile a standard kernel that will support all my hardware in minutes. Just takes practice. Lets put it in a quick note, you will not need 300f what SuSE picks on its Kernel at first install, so listing them is not going to be your anwser to a comparable Kernel. Steve Udell hettar@teleport.com -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi! Trying to kill the keyboard, hettar@teleport.com produced:
Well whats cool it that you can do make menuconfig as many times as you like and spend all day looking at it, learning and reading the help on each thing you can add to the kernel.
And there's xconfig, too :) But as a beginner you'd better start X as root (or log into xdm as root), cause else you'd have to tell the thing to use your xserver (export DISPLAY=localhost:0.0 as root) and tell the server to allow it (xhost + localhost as the user who started it).
Just try not to bloat your kernel with things you will never use nor need.
exactly. And always have a backup kernel that works.
things to note: SCSI should be compiled directly
... if you have SCSI disks and use them, especially if your / is on SCSI. If you are on (E)IDE and have a SCSI-CDROM or ZIP or something, leave it as modules. (remember, you need SCSI-Support, support for the type (i.e. Disk) and support for the Adapter, too.)
filesystems can be mounted mostly as modules too
but not ext2, cause you need that for your / (unless you have an UMSDOS system :-) so you can get the modules.
a.out binary support (you can do this a module too)
Does not hurt as a module.
ppp should be direct compiled too
Nope. Works perfectly as module.
Thing about todays Kernels is they are hightly moduleized (or can be) for sleek,quickness, and non bloat.
... so put everything you need not 990f the time as module, if you can (and are allowed, see ext2). -Wolfgang -- PGP 2 welcome: Mail me, subject "send PGP-key". If you've nothing at all to hide, you must be boring. Unsolicited Bulk E-Mails: *You* pay for ads you never wanted. Is our economy _so_ weak we have to tolerate SPAMMERS? I guess not. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi, On Wed, 17 Jun 1998, Marc Bouron wrote:
Hello,
Having now been playing with my newly-installed SuSE 5.2 for a while, I'd like to build my own kernel. Setting the configuration options is one thing, but I'd like to know what they're set to currently: i.e. what does my current (off the CD) kernel look like. Is there any way to tell? Ideally I'd like to be able to build a kernel which is just like my current one, but with a couple of things added (and perhaps a couple of things taken away).
Any hints will be gratefully received.
You can't get the configuration from a compiled kernel. But the configurations of our precompiled kernels are on the CDROM. If you use, for example, kernel scsi01, just do the following: cp /cdrom/suse/images/config/config.scsi01.ikr /usr/src/linux/.config cd /usr/src/linux make oldconfig Now you can modify the configuration. BTW the configuration files are on CD#1. For the differences between scsi01 and scsi01.ikr: Kernel scsi01 is used for the installation, scsi01.ikr is the kernel that is installed in the system. The two versions of the kernel are there because space on the boot disk is very tight so the installation kernels lack some things you do not need during installation.
Cheers, Marc.
Hubert -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (9)
-
brauki@cityweb.de
-
hettar@teleport.com
-
hlarons@ComCAT.COM
-
mantel@suse.de
-
marc_bouron@hotmail.com
-
satan@nfinity.com
-
schullersite@NOSPAMworldnet.att.net.suse.de
-
Ted.Harding@nessie.mcc.ac.uk
-
weissel@jupiter.ph-cip.uni-koeln.de