Re[2]: fxp half-duplex problemm

2001-12-13 Thread Dimitry Andric

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2001-12-13 at 19:22:30 David Greenman wrote:

DGHow about:

DG ifconfig fxp0 media 100basetx mediaopt half-duplex

That will give you ifconfig: SIOCSIFMEDIA: Device not configured,
because this mediaopt option is not (no longer?) supported for fxp(4).
By NOT specifying any mediaopt option, you specify half-duplex
implicitly. Or you can `subtract' the full-duplex option with
-mediaopt full-duplex, as stated earlier.

At the moment there are some NICs (fxp, xl, etc) that have this way of
specifying half/full-duplex, and some others --not sure which-- don't,
so these have an explicit half-duplex mediaopt. The man pages don't
always agree with reality, however... :(

Cheers,
- --
Dimitry Andric [EMAIL PROTECTED]
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBPBlq37BeowouIJajEQId4QCfQtYVs4kxr9Xbd8DXX2p0fX2Lf1cAoOW2
JN5yz90YkVPoVtMnvEQ5ZrMs
=45Ke
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: fxp half-duplex problemm

2001-12-13 Thread David Greenman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2001-12-13 at 19:22:30 David Greenman wrote:

DGHow about:

DG ifconfig fxp0 media 100basetx mediaopt half-duplex

That will give you ifconfig: SIOCSIFMEDIA: Device not configured,
because this mediaopt option is not (no longer?) supported for fxp(4).

   I would consider that a bug.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
Pave the road of life with opportunities.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: fxp half-duplex problemm

2001-12-13 Thread Dimitry Andric

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2001-12-14 at 05:00:46 David Greenman wrote:

That will give you ifconfig: SIOCSIFMEDIA: Device not configured,
because this mediaopt option is not (no longer?) supported for fxp(4).

DGI would consider that a bug.

Well, in the case of fxp(4), the man page is quite clear:

 The fxp driver supports the following media options:

 full-duplex   Set full duplex operation

(end of list)

It doesn't really make sense to have separate options for half and
full duplex, because they are mutually exclusive anyway. So one of
them was dropped. I'm not sure, but it seems to be the case with all
NIC drivers using the common miibus code.

Cheers,
- --
Dimitry Andric [EMAIL PROTECTED]
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBPBlwd7BeowouIJajEQLq7QCdEHn20kFde6UgdVK5trNsuV9SeuYAnjEn
6qJ4wFrGy6vqd9sNegF0c98L
=5Ft5
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: fxp half-duplex problemm

2001-12-13 Thread David Greenman

Well, in the case of fxp(4), the man page is quite clear:

 The fxp driver supports the following media options:

 full-duplex   Set full duplex operation

(end of list)

It doesn't really make sense to have separate options for half and
full duplex, because they are mutually exclusive anyway. So one of
them was dropped. I'm not sure, but it seems to be the case with all
NIC drivers using the common miibus code.

   I agree that the two options are mutually exclusive, but I don't agree
that it doesn't make sense to have both. It's not clear if there is a default
or what it defaults to or when such a default is relevant. There needs to
be a half-duplex option to make this explicitly clear in the configuration.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
Pave the road of life with opportunities.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



??: fxp half-duplex problemm

2001-12-11 Thread Sergey Matveychuk

 What if you do

 ifconfig fxp0 media autoselect

I don't undertand. Autoselect is turned on by default. I have full-duplex
then.


Sem.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: ??: fxp half-duplex problemm

2001-12-11 Thread Mike Tancsa

At 06:30 PM 12/11/01 +0300, Sergey Matveychuk wrote:
  What if you do
 
  ifconfig fxp0 media autoselect

I don't undertand. Autoselect is turned on by default. I have full-duplex
then.

If the switch supports full duplex why would you not want to use it ?

 ---Mike



Sem.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



??: ??: fxp half-duplex problemm

2001-12-11 Thread Sergey Matveychuk

 If the switch supports full duplex why would you not want to use it ?

It became buggy in full-duplex. It send zerro packets permanently in
full-duplex port. Link works but slowlier.


Sem.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message