Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* How do I recompile an ethernet module?
@ 2001-03-16  4:43 Dan
  2001-03-16  9:19 ` Josef Kolbitsch
  2001-03-16 18:51 ` Terrance Richard Boyes
  0 siblings, 2 replies; 3+ messages in thread
From: Dan @ 2001-03-16  4:43 UTC (permalink / raw)


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?

Thanks for any advice.

Reece.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How do I recompile an ethernet module?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Josef Kolbitsch @ 2001-03-16  9:19 UTC (permalink / raw)


Dan <s3090872 AT melba DOT vu DOT edu DOT au> wrote:
> How do I recompile an edited
> driver module into the kernel on RHL7.0 for Alpha?


   run 'make menuconfig' or 'make xconfig' in your kernel-source-
   directory and make sure that the module is selected. save the
   changes and run 'make dep'. type 'make modules' to compile the
   modules and 'make modules_install' to copy the modules to the
   correct locations.


-- 
---------------------------------------------------------
 josef kolbitsch
 > skol@sbox.tu-graz.ac.at
 > http://www.sbox.tu-graz.ac.at/home/s/skol
---------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How do I recompile an ethernet module?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Terrance Richard Boyes @ 2001-03-16 18:51 UTC (permalink / raw)


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)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-16 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox