Re: SiS 191 failure with MTU > 1496

Previous thread: none

Next thread: Bonanza by Amanda on Friday, May 29, 2009 - 4:34 pm. (1 message)
To: Francois Romieu <romieu@...>
Cc: <netdev@...>
Date: Friday, May 29, 2009 - 12:44 pm

On a laptop with such hardware, with default 1500 MTU I can't connect to
local machines, error bit LIMIT is set when receiving packets.

By decreasing the MTU to 1496 everything works fine.

Jun 28 20:03:13 localhost kernel: sis190 Gigabit Ethernet driver 1.2
loaded.
Jun 28 20:03:13 localhost kernel: sis190 0000:00:04.0: PCI INT A -> GSI
19 (level, low) -> IRQ 19
Jun 28 20:03:13 localhost kernel: 0000:00:04.0: Read MAC address from
EEPROM
Jun 28 20:03:13 localhost kernel: 0000:00:04.0: Error EEPROM read 0.
Jun 28 20:03:13 localhost kernel: 0000:00:04.0: Read MAC address from
APC.
Jun 28 20:03:13 localhost kernel: 0000:00:04.0: Realtek PHY RTL8201
transceiver at address 1.
Jun 28 20:03:13 localhost kernel: 0000:00:04.0: Using transceiver at
address 1 as default.
Jun 28 20:03:13 localhost kernel: 0000:00:04.0: SiS 191 PCI Gigabit
Ethernet adapter at f08c0c00 (IRQ: 19), 00:21:85:da:e1:51
Jun 28 20:03:13 localhost kernel: eth0: GMII mode.
Jun 28 20:03:13 localhost kernel: eth0: Enabling Auto-negotiation.

00:04.0 0200: 1039:0191 (rev 02)
Subsystem: 1462:63f8
Flags: bus master, medium devsel, latency 0, IRQ 19
Memory at fddfcc00 (32-bit, non-prefetchable) [size=128]
I/O ports at cc00 [size=128]
Capabilities: [40] Power Management version 2
Kernel driver in use: sis190
Kernel modules: sis190

--

To: Francois Romieu <romieu@...>
Cc: <netdev@...>
Date: Friday, May 29, 2009 - 12:50 pm

To: Francois Romieu <romieu@...>
Cc: <netdev@...>
Date: Friday, May 29, 2009 - 1:00 pm

Oh and even
http://bugzilla.kernel.org/show_bug.cgi?id=10694

Should I add some info there ?

--

To: Pascal Terjan <pterjan@...>
Cc: <netdev@...>
Date: Friday, May 29, 2009 - 6:30 pm

Pascal Terjan <pterjan@mandriva.com> :

Not yet but could you retry with RX_BUF_SIZE set to 1544,
1528 and 1520 ?

--
Ueimor
--

To: Francois Romieu <romieu@...>
Cc: <netdev@...>
Date: Tuesday, June 2, 2009 - 7:50 am

1544, 1528 and 1520 fail the same way

--

To: Francois Romieu <romieu@...>
Cc: <netdev@...>
Date: Tuesday, June 2, 2009 - 10:14 am

By the way there is some strange code:

tp->rx_buf_sz = (mtu > RX_BUF_SIZE) ? mtu + ETH_HLEN + 8 : RX_BUF_SIZE;

Isn't there a (different from the one I'm interested in :) ) bug when
1500 < mtu <= RX_BUF_SIZE

Shouldn't the test be (mtu > ETH_DATA_LEN) ?

--

Previous thread: none

Next thread: Bonanza by Amanda on Friday, May 29, 2009 - 4:34 pm. (1 message)