From: tez@pierrot.co.uk (Terrance Richard Boyes)
Subject: Re: How do I recompile an ethernet module?
Date: Fri, 16 Mar 2001 18:51:09 +0000 (GMT) [thread overview]
Message-ID: <20010316.185109.9E9801DE.y3aa@pierrot.co.uk> (raw)
In-Reply-To: 3ab234f5$1@news.alphalink.com.au
Dan <s3090872 AT melba DOT vu DOT edu DOT au> wrote:
> Since I can only get my ethernet adapter to run at 100Mb half duplex using
> the de4x5 module, I will need to edit the module so it gets the ethernet
> card to run at 100Mb with full duplex turned on. Obviously the module has
> full duplex turned off by default. Using "insmod de4x5 args='eth0: fdx
> autosense=100Mb' " creates other problems. How do I recompile an edited
> driver module into the kernel on RHL7.0 for Alpha?
Things aren't much different betweeh x86 and Alpha, except
possibly the actual safe install of a new kernel.
cd /usr/src/linux
more README
cd path/to/whatever/source
edit source
cd /usr/src/linux
Next, do you want it to be a module (generally recommended),
or in the kernel. In general
make mrproper
make menuconfig
find Network device support, choose the card
if kernel
make sure it's marked as *
else
make sure it's marked as M
fi
make dep
if kernel
make
fi
make modules
make modules_install
Then if you've compiled a new kernel install it, I think how to do
that varies slightly depending on whether you're using SRM or MILO.
I've not got round to a kernel recompile on RH7Alpha yet... Just make
sure that however you do it that you can boot to the old kernel
just in case something goes wrong.
--
<URL:http://www.pierrot.co.uk/faq/dtm.faq> Team AMIGA
Q: What happens when I incorrectly do the procedure and fax prematurely ?
A: Don't panic. Many people fax prematurely when thay haven't faxed for
a long time. Just startover. (Most people don't mind if you try again)
prev parent reply other threads:[~2001-03-16 18:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-16 4:43 How do I recompile an ethernet module? Dan
2001-03-16 9:19 ` Josef Kolbitsch
2001-03-16 18:51 ` Terrance Richard Boyes [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox