linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 2.6.6 kernel oops on ifconfig eth0 mtu 1300
@ 2004-05-15 17:50 Soeren Sonnenburg
  2004-05-16  1:05 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Soeren Sonnenburg @ 2004-05-15 17:50 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev


Hi.

When I have some ethernet connection and then do
ifconfig eth0 mtu 1300 I get an immediate kernel panic (kernel 2.6.6)
powerbook g4 15" 1ghz.

(xmon trace (jpeg) on request)

Ideas ?
Soeren


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: 2.6.6 kernel oops on ifconfig eth0 mtu 1300
  2004-05-15 17:50 2.6.6 kernel oops on ifconfig eth0 mtu 1300 Soeren Sonnenburg
@ 2004-05-16  1:05 ` Benjamin Herrenschmidt
  2004-05-16  7:44   ` Soeren Sonnenburg
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2004-05-16  1:05 UTC (permalink / raw)
  To: Soeren Sonnenburg; +Cc: linuxppc-dev list


On Sun, 2004-05-16 at 03:50, Soeren Sonnenburg wrote:
> Hi.
>
> When I have some ethernet connection and then do
> ifconfig eth0 mtu 1300 I get an immediate kernel panic (kernel 2.6.6)
> powerbook g4 15" 1ghz.
>
> (xmon trace (jpeg) on request)

Yes, please, the trace

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: 2.6.6 kernel oops on ifconfig eth0 mtu 1300
  2004-05-16  1:05 ` Benjamin Herrenschmidt
@ 2004-05-16  7:44   ` Soeren Sonnenburg
  2004-05-16  9:19     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Soeren Sonnenburg @ 2004-05-16  7:44 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list


On Sun, 2004-05-16 at 03:05, Benjamin Herrenschmidt wrote:
> On Sun, 2004-05-16 at 03:50, Soeren Sonnenburg wrote:
> > Hi.
> >
> > When I have some ethernet connection and then do
> > ifconfig eth0 mtu 1300 I get an immediate kernel panic (kernel 2.6.6)
> > powerbook g4 15" 1ghz.
> >
> > (xmon trace (jpeg) on request)
>
> Yes, please, the trace

doesn't it happen when you do ifconfig eth0 mtu 1300 ? anyway here it
is: use a web-browser to view it (it is a redirect):
http://www.nn7.de/kernel/mtu1300.jpg

Soeren


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: 2.6.6 kernel oops on ifconfig eth0 mtu 1300
  2004-05-16  7:44   ` Soeren Sonnenburg
@ 2004-05-16  9:19     ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2004-05-16  9:19 UTC (permalink / raw)
  To: Soeren Sonnenburg; +Cc: linuxppc-dev list, David S. Miller


On Sun, 2004-05-16 at 17:44, Soeren Sonnenburg wrote:
> On Sun, 2004-05-16 at 03:05, Benjamin Herrenschmidt wrote:
> > On Sun, 2004-05-16 at 03:50, Soeren Sonnenburg wrote:
> > > Hi.
> > >
> > > When I have some ethernet connection and then do
> > > ifconfig eth0 mtu 1300 I get an immediate kernel panic (kernel 2.6.6)
> > > powerbook g4 15" 1ghz.
> > >
> > > (xmon trace (jpeg) on request)
> >
> > Yes, please, the trace
>
> doesn't it happen when you do ifconfig eth0 mtu 1300 ? anyway here it
> is: use a web-browser to view it (it is a redirect):
> http://www.nn7.de/kernel/mtu1300.jpg

Heh, didn't want to crash the laptop today. I CC'ed David Miller on that
as he is the main author of the driver.

David: the crash is apparently us doing skb_put of ETH_FRAME_LEN + RX_LEN,
so we tune the skb allocator to the MTU ? It's commented out in my bk
snapshot but then, I may be missing something. Should we change sungem to
use the mtu instead of ETH_FRAME_LEN ?

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2004-05-16  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-15 17:50 2.6.6 kernel oops on ifconfig eth0 mtu 1300 Soeren Sonnenburg
2004-05-16  1:05 ` Benjamin Herrenschmidt
2004-05-16  7:44   ` Soeren Sonnenburg
2004-05-16  9:19     ` Benjamin Herrenschmidt

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).