From mboxrd@z Thu Jan 1 00:00:00 1970
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111c93,858afc58825647b0,start
X-Google-Attributes: gid111c93,public
X-Google-ArrivalTime: 2001-03-16 13:56:34 PST
Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: tez@pierrot.co.uk (Terrance Richard Boyes)
Newsgroups: comp.os.linux.alpha
Subject: Re: How do I recompile an ethernet module?
Date: Fri, 16 Mar 2001 18:51:09 +0000 (GMT)
Organization: Pierrot Computers Ltd
Message-ID: <20010316.185109.9E9801DE.y3aa@pierrot.co.uk>
References: <3ab234f5$1@news.alphalink.com.au>
X-Trace: mail2news.demon.co.uk 984768701 mail2news:3477 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!anchor-post-33.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Lan-Trace: news.pierrot.lan 20010316.185109 news:y3aa IDENT tez@pierrot.demon.co.uk
User-Agent: tin/1.4.3-20000502 ("Marian") (AMIGA)
X-Cancel-Lock: TEZT:59dd75be422fe030a30d8e7fad969365 6939a9cb11180657898158b07695651d
X-PGP-Keyfile:
X-PGP-Fingerprint: 20 66 0F E8 85 64 9C 2C 6F 82 6F 19 6C 2F 6A 1D
X-PGP-Auth: pub 512/3A14C4B9 1999/04/22 Tez Boyes iQBVAwUBOrJgokXush46FMS5AQF7tgH9FgZT/A8cGKVKFWrnEykR50Lr6E9XLh63 iWop4UHtgS5vFoRPqIfGKmZAxsrNJYd+X65zbsfWBjG/rB8/mHBNWQ== =4IU1
X-NaMLServ: $VER: v0.9b
Xref: supernews.google.com comp.os.linux.alpha:2458
Dan 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.
--
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)