Mailinglist Archive: opensuse (2358 mails)
| < Previous | Next > |
Re: [SLE] SuSE's kernel compilation options
- From: grimmer@xxxxxxx (Lenz Grimmer)
- Date: 2 Oct 1999 05:56:11 +0200
- Message-id: <Pine.LNX.4.05.9910020545390.10683-100000@xxxxxxxxxxxxxx>
Hi,
On Sat, 2 Oct 1999, Volker Kuhlmann wrote:
> Where can I find the .config file which SuSE used to compile the
> kernel for 6.2? Having just come from Red Hat I don't like the time it
> takes to still not find this information.
You can find them on the first CD. They are located below
suse/images/config, there should be a README or INDEX files.
> Red Hat has the kernel and the modules in a kernel-???.i386.rpm, the
> kernel source in another binary(!) rpm called kernel-source-???.i386.rpm,
> and the source rpm is called kernel-???.src.rpm. The source rpm contains
> all .config files for the various SMP etc kernels shipped.
>
> With SuSE, the kernel is called, well, base, aaa_base, aaaaa, aaaaaaa,
> haahaaaaaaa, whatever. Is that necessary? I certainly don't find it
> useful when grep'ing for something like kernel/source/vmlinuz/etc. Worst,
> /boot/vmlinuz isn't even owned by any package!!!!!!!! How did that file
> get there? Where from?
You have been asked this during the initial installation :)
While installing this kernel image, the installation routine also
installed the respective configuration file /usr/src/linux/.config
> Modules are in kernmod, fine, though I don't particularly see why having
> them separately is an advantage.
Because you need the following things to boot your system: a kernel that
fits to your hardware (you selected this one during the installation), and
drivers for the various pieces of hardware (sound, network, etc...). They
are independent from the kernel you need to boot, therefore you have a
separate package.
> Kernel headers (required for compiling most things) are in linclude.
> The kernel source is called linux - I even found it after some
> searching. All these are binary rpms. There is no source rpm.
No, linclude and linux contain the original kernel sources. linclude is a
separate package, because there is no need to install the full kernel
sources if your application only needs the kernel header files for
compilation. You should use lx_suse anyway! This kernel source tree
already contains a lot of useful patches. Most of them have been
integrated in 2.2.12.
> This is a major mess - tidying that up shouldn't be all that hard,
> so PLEASE.
Well, maybe this "mess" isn“t documented well enough to make sense. I hope
I could clear this up.
> For the time being, could someone please speak up if I overlooked the
> file, or else would SuSE care to post it? Being able to recreate
> things by running rpm on the source rpm is a feature I expected of an
> rpm-based system. I would like to recompile the kernel but only change
> one thing at a time (or only one thing at all).
Unfortunately you cannot recompile the kernel using RPM yet. We have not
found an elegant way for this so far. Sorry for this inconvenience!
Bye,
LenZ
--
------------------------------------------------------------------
Lenz Grimmer SuSE GmbH
mailto:grimmer@xxxxxxx Schanzaeckerstr. 10
http://www.suse.de/~grimmer 90443 Nuernberg, Germany
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
| < Previous | Next > |