Re: [SLUG] Anyone know where SuSE hide their kernel .config file?

2003-09-21 Thread Christopher Vance
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


Re: [SLUG] Anyone know where SuSE hide their kernel .config file?

2003-09-21 Thread Oscar Plameras


> 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.
> 

There is also a hidden file like,

'.config'

that holds options compiled into the kernel in
that or kernel-2.4.19 directory. Everytime a 'make config', 
'make menuconfig', etc., is processed this file is updated.
Then, the next process which is a 'make' obtains 
options from this hidden file when kernel is compiled.



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Anyone know where SuSE hide their kernel .config file?

2003-09-21 Thread lukekendall
On 21 Sep, Chris Deigan wrote:

>  Take a look under /boot
>  
>   - Chris
>  [EMAIL PROTECTED]

Peter Hardy  wrote:

> Kernels installed from rpm packages should copy the current config to
> /boot/config-2.4.19 or similar.

Thanks!  Yes, it's /boot/vmlinuz.conf.

luke

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Anyone know where SuSE hide their kernel .config file?

2003-09-21 Thread Peter Hardy
On Sun, 2003-09-21 at 20:25, [EMAIL PROTECTED] wrote:
> 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.

Kernels installed from rpm packages should copy the current config to
/boot/config-2.4.19 or similar.

-- 
Pete

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Anyone know where SuSE hide their kernel .config file?

2003-09-21 Thread Chris Deigan
[EMAIL PROTECTED] wrote:
>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.

Take a look under /boot

 - Chris
[EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Anyone know where SuSE hide their kernel .config file?

2003-09-21 Thread lukekendall
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.

luke

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug