netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* D-Link DGE-528T (r8159) autonegotation of 1000 Mbps link does not work
@ 2007-02-25 13:56 Petri T. Koistinen
  2007-02-26 20:02 ` Francois Romieu
  2007-02-27 21:49 ` H. Peter Anvin
  0 siblings, 2 replies; 3+ messages in thread
From: Petri T. Koistinen @ 2007-02-25 13:56 UTC (permalink / raw)
  To: netdev; +Cc: ShuChen, linux-kernel

Hi!

I just brought two D-Link DGE-528T (uses r8159 driver) network adapters
to have nice 1 Gbps home network between two computers.

I have gigabit crossover cable that is connected like this

Pin  Connector #1  Connector #2
1    white/orange  white/green
2    orange        green
3    white/green   white/orange
4    blue          white/brown
5    white/blue    brown
6    green         orange
7    white/brown   blue
8    brown         white/blue
(from: http://logout.sh/computers/net/gigabit/)

and when I use this cable I only get 10 Mbps connection when connected
another D-Link DGE-528T.

However if I connect other end of cable to Intel EtherExpress 100 Mbps
card, I get 100 Mbps connection auto-negotiated OK.

I can however force gigabit link on both D-Link DGE-528T using

	insmod ./r8169.ko media=0x10

command. And I get about 15 MiB/s transfer speed when testing
with netcat and pmr[1] (without NAPI). Which I count as some kind of
sucky gigabit connection.

Few questions for you:

Do anyone know if there some known bug in auto-negotiation with
Realtek 8159 chip? (Or is that just wrong cable?)

Can I force 1000 Mbps link on some other way than giving option to
insmod? Using /proc or something?

What kind of transfer speed you have reached with these cards? That
15 MiB/s is not what I expected.

Thanks!

Best regards,
Petri Koistinen

[1]
Test setup:
Server: nc -l -p 2000 </dev/zero
Client: nc 192.168.1.1 2000 | pmr >/dev/null

pmr (ex. pipemeter) is a command line filter that measures
bandwidth going through the pipe:
http://zakalwe.fi/~shd/foss/pmr/pmr-0.12.tar.bz2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-27 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-25 13:56 D-Link DGE-528T (r8159) autonegotation of 1000 Mbps link does not work Petri T. Koistinen
2007-02-26 20:02 ` Francois Romieu
2007-02-27 21:49 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).