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>] [day] [month] [year] [list]
Date:	Sat, 25 Jul 2009 17:00:17 +0200
From:	Steve Langasek <vorlon@...ian.org>
To:	romieu@...zoreil.com, netdev@...r.kernel.org
Subject: [Thecus 2100] r8169 won't talk 100Mbps when cross-connected to PC?

Hi folks,

Per request of Martin Michlmayr, I'm sending you information about a curious
issue I'm experiencing with the ethernet on my Thecus 2100, running the
stock Debian 2.6.30 kernel package from unstable.

$ uname -a
Linux becquer 2.6.30-1-iop32x #1 Mon Jun 15 05:25:53 UTC 2009 armv5tel GNU/Linux
$ lspci -nn | grep Eth
00:01.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
00:02.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
$

If I connect this system to a 10/100Mbps netgear switch, it happily
negotiates 100baseTx-FD and chats away with the world:

# mii-diag eth0
Basic registers of MII PHY #32:  1000 796d 001c c913 0de1 45e1 0005 2001.
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx
 10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver information.

#

If, however, I connect it with a crossover cable to either my mythtv box
(SiS900, max speed 100Mbps), or to my laptop (Intel 82573 GigE) hard-coded
to only negotiate 100Mbps, the Thecus successfully sends frames out
(verified with tcpdump), but never sees the replies from the other end.

If I poke things into either GigE mode or 10Mbps mode, it works fine.  But
this is somewhat unsatisfactory given that I want it hooked up to the box
with the SiS chip, and would rather not have it running at 10Mbps. :)

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@...ntu.com                                     vorlon@...ian.org
--
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