lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080703181118.GA30139@polina.dev.rtsoft.ru>
Date:	Thu, 3 Jul 2008 22:11:18 +0400
From:	Anton Vorontsov <avorontsov@...mvista.com>
To:	Stephen Hemminger <shemminger@...tta.com>
Cc:	Jeff Garzik <jgarzik@...ox.com>,
	Andy Fleming <afleming@...escale.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] phylib: fix forced mode misbehaviour for aneg off case

On Thu, Jul 03, 2008 at 10:41:43AM -0700, Stephen Hemminger wrote:
> On Thu, 3 Jul 2008 21:16:14 +0400
> Anton Vorontsov <avorontsov@...mvista.com> wrote:
> 
> > With disabled autonegotiation and link absence, phylib will place phy
> > into the forcing mode, thus will start calling phy_force_reduction().
> > That means that for the drivers that are using phylib we can't actually
> > set fixed speed for the link.
> > 
> > For example:
> > 
> > # ethtool -s eth0 autoneg off speed 1000
> 
> FYI autonegotiation is required in gigabit mode per 802 spec.

Thanks for the information. FWIW, that behaviour observed for
speed 100 or speed 10, too.

As for gbit, this is interesting indeed. If we're not permitted to
disable aneg, how could we force the PHY to use gigabit, so that it
will not try to downgrade? I mean ethtool option.

-- 
Anton Vorontsov
email: cbouatmailru@...il.com
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ