On Sun, Sep 21, 2003 at 08:25:17PM +1000, [EMAIL PROTECTED] wrote:
: Subject: [SLUG] Anyone know where SuSE hide their kernel .config file?
:
: Under /usr/src after installing the kernel source package in SuSE 8.1,
: you get a directory 2.4.19.SUSE, but I can't find the config file that
: shows what options they compiled it with.
:
: I'm asking because I've downloaded 2.4.21-75 and am having trouble
: building a kernel. (You need to turn on SIS drivers under frame buffer
: support to avoid some undefined references when doing the depmod step
: when doing the modules_install.)
:
: When I booted up the new kernel on the laptop, it quickly blanked the
: screen and stayed blank - even after it ran up X. Yet the SuSE kernel
: works okay, so I'm trying to find out what they had turned on.
To do everything yourself, including building installable binary rpms,
you want (for appropriate values of *)
kernel-source-2.4.*.nosrc.rpm
(nosrc means you need to get linux-2.4.*.tar.bz2 separately and modify
one line of the .spec file to build) and one or more of
k_deflt-2.4.*.src.rpm (uniprocessor <= 4GB)
k_smp-2.4.*.src.rpm (multiprocessor <= 64GB)
k_psmp-2.4.*.src.rpm (Pentium SMP <= 4GB; not PPro, PII, PIII, or P4)
k_debug-2.4.*.src.rpm (debugging)
k_athlon-2.4.*.src.rpm (uh, Athlon?)
The kernel-source*.i586.rpm you installed is made from the first rpm.
This rpm only know how to make sources.
The .config files for their actual binary kernels are in the other
five rpms. Until recently the release numbers for the k_* rpms were
not synchronised with each other or with kernel-source, but this has
improved since 2.4.19-304 was released.
If you already have the right kernel-source-*.i586.rpm to start with,
then you'll find the k_*.src.rpm are all quite small, since they only
contain a .spec and .config.
The k_* are all mutually incompatible, so only install the single
k_*.src.rpm you want. SuSE compile their kernels in /usr/src/linux
and expect each kernel to build on a separate machine.
Of course, if you're not building rpms, things are much simpler.
--
Christopher Vance
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug