[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
On Saturday 10 May 2003 14:15, Jonathan Melhuish wrote:
> Ahh, thanks, that looks like you've hit the nail on the head, there.
> "lsmod" does indeed list the "8139too" module as being loaded and being
> used by "mii". Additionally, "yenta_socket" is loaded.
>
> So I have to recompile my kernel? Yikes, that sounds scary!
>
> How do I go about that, armed only with a pen, a peice of paper, a laptop,
> a desktop with a (modem) internet connection, a Debian 3.0 CD1 and some
> string? Your answer is allowed to include the anacronym "RTFM", as long as
> you include the relevant web address! ;-)
OK, first of all you're going to need to get the kernel sources and find a
spare few hours... The best way of doing this would be by using 'apt-get
install vanilla-sources' (or similar) from within Debian, although the lack
of an operational NIC may inhibit that. Unless of course the Debian CD has
the kernel sources on it? I'm not sure whether or not it does at all tbh.
I'll assume not to cover myself...
Do you have the laptop dual booting Debian and MDK atm? If so I would
reccomend using Debians apt-get to install the kernel sources from within a
chrooted environment ('man chroot' or ask and I'll happily explain how to do
this). Otherwise you'll have to find a way of getting the sources onto your
machine (probably downloading on your desktop from www.kernel.org and burning
to CD will be best as they're about 30meg). Assuming you have downloaded them
manually you'll need to untar them to /usr/src/linux-2.x.x (depending upon
which kernel you went for - 2.4.20 is the latest stable version) and then sym
link /usr/src/linux to that directory (if you used apt-get I would think
Debian would do this for you).
Then enter /usr/src/linux and run 'make menuconfig' and run through all the
options deciding what you need in your kernel (for the 8139too chipset you'll
need a RealTEK network thing, it's listed as being 8139 though - you're also
going to need to have a fairly good idea of what hardware you've got, a bit
of time spent on google finding what chipsets your gear uses wouldn't go to
waste). It helps to hit '?' over most options to see what they're doing.
After having gone through all that save and exit and run:
$ make dep && make clean bzImage modules modules_install
Then go and make a cup of tea and wait a little while. When it's finished copy
/usr/src/linux/arch/i386/boot/bzImage to the relevant directory in /boot (I
tend to use /boot/[$distro_name]/bzImage) and update your bootloader
accordingly (I would reccomend adding it as an extra boot option rather than
overwriting your existing kernel because then if it doesn't work at all you
should still be able to boot).
Reboot and hope. Don't expect it to work first time, most times it will take a
few goes to get it right.
When you get really bored give up and use Gentoo Linux :oD [
http://www.gentoo.org ] (not that that will be any easier of course!).
Good luck and sorry that's not the most clear of explanations...
Dan
--
"Violence is the last refuge of the incompetent"
-- Salvor Hardin
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.