[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] SuSE 7.2 kernel source
On Sunday 14 October 2001 17:58, you wrote:
> but I'm puzzled: it is installed in /usr/src/linux which contains a
> README file which says on no account put the kernel sources in
> /usr/src/linux ...
Absolutely correct. /usr/src/linux should contain the headers to the version
of the kernel your glibc was compiled on, IIRC.
> well since they were put there I reckoned it was ok
> to have them there and built the kernel anyway, but if I've done
> something bad, perhaps someone could let me know what I should have done
> instead?
I usually use /usr/local/src/linux. /usr/src/linux shouldn't be used; but if
you ever want to patch your kernel with something hardcore (FreeS/Wan springs
to mind) you'll need to do some real work if it isn't there. I discussed this
with the FreeS/Wan guys about six months ago; they didn't really seem to
care. Although I can see their side of it too: linux sources are most likely
to be in /usr/src/linux. MPOV is that if someone's applying a kernel patch
they ought to bloody well know where the source is located, but there we are.
> PS is there any way of finding out what kernel options were set in the
> kernel I'm now running (result of installing SuSE _without_ the kernel
> source package)? Because it seems risky to start off (as I have done)
> with a default set of options which don't support much of the hardware
> I've got.
I wouldn't have thought so, although perhaps the source rpm contains a build
script to build it in the SuSE common method (i.e, can you build a binary
with rpm -ba linux.src.rpm, or however rpm does it?)
If in doubt, compile everything as a module (except for filesystems and IDE
device drivers :). If you're not using it, it won't get loaded: you just pay
for the extra compile time, which I suspect shouldn't bother you too much.
Cheers,
Alex.
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.