Date: Thu, 25 Apr 2002 20:15:51 +0100
From: Conor Daly conor.daly@oceanfree.net
To: ilug@linux.ie
Subject: Re: [ILUG] Updating Kernel to 2.4.18 from a 2.2.20
system
On Wed, Apr 24, 2002 at 08:42:38PM +0100 or so it is rumoured
hereabouts,
Sean Rima thought:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 24 Apr 2002, Philip Reynolds spake thusly:
>
> > When you compiled your kernel, did you include the
"Network
> > cards" (Something like that, it's in the Networking
part of the
> > kernel config) and 3Com 3x509 option as a module in
your build.
> >
> > make menuconfig
> > make dep
> > make bzImage
> > make modules
> > make modules_install
> >
> > Once this is done, copy over your image, and make
sure
> > /lib/modules/2.2.18 is there.
> >
> > /etc/modules should contain your driver.
> >
>
> I turned out that because the 3Com dos util automatically
sets it to IRQ
> 10 and the 2.4.x 3com driver only allowes upto 8 (well from
my reading
> of the driver anyway). So I rebooted, stuck the dos disk in
and re
> configured the card. And hey presto it works :)
Don't forget, especially when compiling a kernel for a
different machine
to set something in the "EXTRAVERSION" line in the top level
Makefile in
the source tree. That way, when you do a "make modules_install",
the new
modules and references won't overwrite those for the compiling
machine.
EG. I di a custom kernel for an AMD box and set the following
in
/usr/src/linux-2.4.7-10/Makefile
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 7
EXTRAVERSION = -10-amd-K6-2
the modules are then installed in
/lib/modules/2.4.7-10-amd-K6-2 while the
modules for the compiling host are in /lib/modules/2.4.7-10
Very useful if compiling the unstable kernels or just
experimenting with
custom kernels...
Can't remember who suggested that but it's a goodie.
Conor
--
Conor Daly conor.daly@oceanfree.net
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
9:12pm up 4 days, 2:51, 0 users, load average: 1.07, 0.70,
0.30
Hobbiton.cod.ie
8:11pm up 2 days, 10:37, 1 user, load average: 0.17, 0.14,
0.09