From: Herbert Xu <herbert@gondor.apana.org.au> Date: 2004-06-21 12:34:52
Soeren Sonnenburg [off-list ref] wrote:
When I have some ethernet connection and then do:
ifconfig eth0 mtu 1300
I get an immediate kernel panic (kernel 2.6.6) on a powerbook g4 15"
1ghz.
xmon trace (jpeg) is here: http://www.nn7.de/kernel/mtu1300.jpg (use a
webbrowser to view it as it is a redirect)
this is 100% reproducable here so I hope it is more easy to fix.
From: Manuel Arostegui Ramirez <hidden> Date: 2004-06-21 13:57:11
El Lunes 21 Junio 2004 14:33, Herbert Xu escribió:
Soeren Sonnenburg [off-list ref] wrote:
quoted
When I have some ethernet connection and then do:
ifconfig eth0 mtu 1300
I get an immediate kernel panic (kernel 2.6.6) on a powerbook g4 15"
1ghz.
xmon trace (jpeg) is here: http://www.nn7.de/kernel/mtu1300.jpg (use a
webbrowser to view it as it is a redirect)
this is 100% reproducable here so I hope it is more easy to fix.
@@ -979,6 +979,7 @@ int rx_fifo_sz; int rx_pause_off; int rx_pause_on;+ int rx_buf_sz;
> > int mii_phy_addr;
> >
quoted
u32 mac_rx_cfg;
I've had the same problem, like Soeren, but if i put MTU=1200 there is not
kernel panic.
I'm going to patch my 2.6.6 with this patch, thanks Herbert.
Best regards
On Mon, Jun 21, 2004 at 10:33:50PM +1000, Herbert Xu wrote:
quoted
Does this patch fix your problems?
Oops, I had a thinko about min vs. max. I've also decided to make the
bigger MTU useful by adjusting the arguments to skb_put() as well.
Please try this one instead.
Cheers,
yes that one works nicely... I tested several mtu's ranging from 1000 to
1500 while the interface was up... no oops.
thanks,
Soeren.
From: David S. Miller <hidden> Date: 2004-06-21 21:13:59
On Mon, 21 Jun 2004 23:03:16 +1000
Herbert Xu [off-list ref] wrote:
On Mon, Jun 21, 2004 at 10:33:50PM +1000, Herbert Xu wrote:
quoted
Does this patch fix your problems?
Oops, I had a thinko about min vs. max. I've also decided to make the
bigger MTU useful by adjusting the arguments to skb_put() as well.
Please try this one instead.
From: Chris Friesen <hidden> Date: 2004-06-22 15:07:30
David S. Miller wrote:
On Mon, 21 Jun 2004 23:03:16 +1000
Herbert Xu [off-list ref] wrote:
> On Mon, Jun 21, 2004 at 10:33:50PM +1000, Herbert Xu wrote:
> >
> > Does this patch fix your problems?
>
> Oops, I had a thinko about min vs. max. I've also decided to make the
> bigger MTU useful by adjusting the arguments to skb_put() as well.
> Please try this one instead.
Applied, thanks Herbert.
Just a quick question. Does the sungem chip support jumbo frames? I'd like to
use MTU of 9000 to make large local transfers more efficient, but it didn't seem
to work last time I checked.
Thanks,
Chris
From: Jeff Garzik <hidden> Date: 2004-06-22 15:25:09
Chris Friesen wrote:
Just a quick question. Does the sungem chip support jumbo frames? I'd
like to use MTU of 9000 to make large local transfers more efficient,
but it didn't seem to work last time I checked.
Are you 100% certain you configured the other side to support jumbo?
Jumbo frames are non-standard, and sometimes require configuring MTU on
the switch or remote network card (if directly connected).
Jeff
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2004-06-22 16:12:51
On Tue, 2004-06-22 at 10:04, Jeff Garzik wrote:
Chris Friesen wrote:
quoted
Just a quick question. Does the sungem chip support jumbo frames? I'd
like to use MTU of 9000 to make large local transfers more efficient,
but it didn't seem to work last time I checked.
Are you 100% certain you configured the other side to support jumbo?
Jumbo frames are non-standard, and sometimes require configuring MTU on
the switch or remote network card (if directly connected).
Well, it's not enabled in the driver I think, or at least it wasn't last
time I looked. Dave told me the chip fifo's are too small to do anything
useful with jumbo frames.
Ben.