[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel advice/help



["Followup-To:" header set to gmane.linux.debian.user.] On 2005-05-16,
DesScorp penned:

[snip]

> So here's the problem; the instructions ask for the location of the
> kernel source code, which should be /usr/src. There's nothing there,
> and if I'm correct, only the kernel image itself (/boot/vmlinuz) is
> present. Should I be looking somewhere else, or does Debian not
> install kernel source?
>
> If that's normal, how should I proceed? When trying to apt-get the
> same kernel version I already have, I get the "already have this
> version" message. So can I simply go to kernel.org, pull down a
> tarball of 2.4.27-1-386 and install the source in /usr/src for when I
> need to compile something? That seems awfully....un-Debian like. And
> I'd like to do it the Debian Way. Advice is appreciated.

Well, I build my kernels myself, but no one else seems to have
answered this, so I'll take a stab ...

The package you're trying to grab is the pre-compiled kernel.  In
order to get the source, you want to get the kernel source package:

http://packages.debian.org/testing/devel/kernel-source-2.4.27

I think (not sure) you need a deb-src line in your
/etc/apt/sources.list, in addition to the deb line, to get that.

However, I'm not sure you need the actual source in order to do what
you're describing; I think you just need the header files, which you
can get with a headers package:

http://packages.debian.org/testing/base/kernel-headers-2.4-386

But first, are you absolutely sure that debian doesn't have a packaged
driver for this stuff?  A search on 2.4.27 got me this list of
modules:

http://packages.debian.org/cgi-bin/search_packages.pl?version=testing&subword=1&exact=&arch=any&releases=all&case=insensitive&keywords=2.4.27&searchon=names

-- 
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html



Reply to: