Re: HPUX to Linux problems

Rick Jones (raj@cup.hp.com)
Mon, 17 May 1999 15:25:31 -0700

Michael J. Rensing wrote:
>
> How do I check the duplex settings? (Even on an HP?) Linux is supposed
> to auto-negotiate, but I don't know how to tell what was negotiated.
> Do you know how to specify the connection (no auto-negotiation?) in
> Linux? I'm afraid I'm a novice at this, but I don't know how else to
> get started...

Well, the HP is easy, lanadmin when pointed at the right card will tell
you the duplex setting - in the description at least. You may be able to
use -x or -X (I forget which is set and which is get) to retrieve the
settings directly.

> There don't appear to be dropped/retransmitted packets, but the Linux

On the recieving end, if the sender's netstat output is, um, sparse, you
can look for out of order receives.

> box shows many errors on the ethernet port. dmesg give a stream of
> errors:
> eth0: Transmit error, Tx status register 82.

Yep, that looks like bogus duplex settings. Try this link:

The simplest way to force desired mode, assuming you are using the
driver as a module is to set the appropriate module options when
you load it (or add the options to /etc/conf.modules)
http://cesdis.gsfc.nasa.gov/linux/misc/modules.html

rick

> Michael
> ------------------------------------------------------------
> Dr. Michael J. Rensing | http://wwwhep.phys.uvic.ca/~michael
> | mailto:mrensing@uvic.ca
> Physics and Astronomy | phone: 250-721-7741
> University of Victoria | fax: 250-721-7752
> ------------------------------------------------------------
>
> On Mon, 17 May 1999, Rick Jones wrote:
>
> >make certain that your duplex settings are good - that can be a common
> >cause of sub-megabit per second transfer rates and something I just
> >recently ran into with a linux system - it did not autonegotiate with
> >the switch.
> >
> >i also like to look for lost/retransmitted segments. i'm not sure how
> >well linux's netstat works here, last I looked, its output was rather,
> >um, thin...
> >
> >rick jones
> >--
> >these opinions are mine, all mine; HP might not want them anyway... :)
> >feel free to email, or post, but please do not do both...
> >my email address is raj in the cup.hp.com domain...
> >

-- 
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to email, or post, but please do not do both...
my email address is raj in the cup.hp.com domain...