Re: 10BaseT/100BaseT Question

Donald Becker <[email protected]> Tue, 30 Sep 2003 15:23:10 -0400 (EDT)
Newsgroups gmane.linux.drivers.tulip.general
Message-ID <[email protected]>
On 30 Sep 2003, John Cusick wrote:
> On Mon, 2003-09-29 at 21:14, Donald Becker wrote:
> > On 23 Sep 2003, John Cusick wrote:
> > 
> > > Card: Adaptec AN-8944A - 4 Port
> > > 
> > > The card loads fine as a module and works, but I would like to know if
> > > its possible to force one of the ports to 10BaseT
> > What driver version are you using?
> > What is the detection message?
> 
> Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)

Yup, that's the modified branch.  It has lots of "issues" that my
version does not have.

> tulip0:  EEPROM default media type Autosense.
> tulip0:  Index #0 - Media MII (#11) described by a 21140 MII PHY (1)
> block.
> tulip0: ***WARNING***: No MII transceiver found!

That's a problem...

> > If it's using the old driver included with the kernel, try the driver
> > from scyld.com
> > 
> > mkdir /tmp/netdrivers/
> > cd /tmp/netdrivers/
> > ncftpget ftp://ftp.scyld.com/pub/network/netdrivers.tgz
> > tar xfvz netdrivers.tgz
> > make
> > make install
> > 
> 
> I've downloaded the newest version and it builds fine, so I attempted to
> use the spec file (I like to keep the rpm database up to date if
> possible, although its not critical, of course) and it also built fine
> except that it will not create the rpm's.

That spec file is was original designed to be generic, but
   as multiple incompatible RPM versions have been released and
   the external module build system has changed without being fixed
we have given up and accepted that it will only work with our Linux
distribution.

> It exits with the following error:
> 
> Processing files: netdrivers-modules-3-@[email protected]_20.7
> error: File must begin with "/": %{prefix}/lib/modules/*/*/*

You can work around this.  Substitute your own release number for
 @PACKAGE_RELEASE@

I wish there were a cross-compatible solution.  For that to happen
   Linux kernel hackers must make it easy (I would settle for possible)
     to build external driver packages from source code.
   Red Hat must stop making incompatible changes to RPM.
     Why isn't it possible to use a spec file from two years ago?
     A packaging system should be like any backup/distribution system:
     valid for at least five years.

> > > Is there a way to set either modules.conf or the ifcfg scripts to set
> > > the particular port to 10BaseT (in this case, eth3)
> > 
> > You can also use
> >    mii-diag -F 10baseT

Note that this only works if
   The driver implements the ioctl(), including supporting the virtual
     registers with SYM transceivers.
   The driver detects the transceiver (which is a problem here).

-- 
Donald Becker				[email protected]
Scyld Computing Corporation		http://www.scyld.com
914 Bay Ridge Road, Suite 220		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993

_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip