2008-12-25 20:18:52

by Patrizio Bassi

[permalink] [raw]
Subject: [BUG] Kernel Panic with ath5k and 2.6.28

Kernel Panic with ath5k and 2.6.28

Hi all,

Today i migrated to 2.6.28 and ath5k from 2.6.27 and madwifi.
I have a trust speedshare turbo 108mb/s card
Connection is ok, even with WPA.

The problem i met is when i tried to bridge the wifi and the eth interface.

I just rebuild the kernel with the bridge module enabled (builtin) and
i got the panic
in the picture (http://www.patriziobassi.it/downloads/ath5k_panic.jpg)
when i try to put the wifi interface up on startup with old script configuration

The strange thing is that i'm not adding it to the bridge, i just have
it in the kernel and i'm enabling the interface.
Eth interface goes up flawlessy.
Workaround is to boot the laptop without the card plugged it (pcmcia)
or do not compile the bridge into the kernel.

Attaching the working config. the broken just has the bridge module enabled.

I'm ready to test all the patches/suggestions you may provide.

Config is at http://www.patriziobassi.it/downloads/config-2.6.28

I wish u all merry xmas.

CC me i'm not subscribed

---
Patrizio Bassi
http://www.patriziobassi.it



--
Patrizio Bassi
http://www.patriziobassi.it
http://piazzadelpopolo.patriziobassi.it


2008-12-27 00:34:21

by Andrew Morton

[permalink] [raw]
Subject: Re: [BUG] Kernel Panic with ath5k and 2.6.28

(cc linux-wireless)

On Thu, 25 Dec 2008 21:18:42 +0100 "Patrizio Bassi" <[email protected]> wrote:

> Kernel Panic with ath5k and 2.6.28
>
> Hi all,
>
> Today i migrated to 2.6.28 and ath5k from 2.6.27 and madwifi.
> I have a trust speedshare turbo 108mb/s card
> Connection is ok, even with WPA.
>
> The problem i met is when i tried to bridge the wifi and the eth interface.
>
> I just rebuild the kernel with the bridge module enabled (builtin) and
> i got the panic
> in the picture (http://www.patriziobassi.it/downloads/ath5k_panic.jpg)

That trace doesn't have symbolic information hence it isn't a lot of
use. Please set CONFIG_KALLSYMS=y and generate a new one.

> when i try to put the wifi interface up on startup with old script configuration
>
> The strange thing is that i'm not adding it to the bridge, i just have
> it in the kernel and i'm enabling the interface.
> Eth interface goes up flawlessy.
> Workaround is to boot the laptop without the card plugged it (pcmcia)
> or do not compile the bridge into the kernel.
>
> Attaching the working config. the broken just has the bridge module enabled.
>
> I'm ready to test all the patches/suggestions you may provide.
>
> Config is at http://www.patriziobassi.it/downloads/config-2.6.28
>

2008-12-28 19:38:07

by Patrizio Bassi

[permalink] [raw]
Subject: Re: [BUG] Kernel Panic with ath5k and 2.6.28

2008/12/27 Andrew Morton <[email protected]>
>
> (cc linux-wireless)
>
> On Thu, 25 Dec 2008 21:18:42 +0100 "Patrizio Bassi" <[email protected]> wrote:
>
> > Kernel Panic with ath5k and 2.6.28
> >
> > Hi all,
> >
> > Today i migrated to 2.6.28 and ath5k from 2.6.27 and madwifi.
> > I have a trust speedshare turbo 108mb/s card
> > Connection is ok, even with WPA.
> >
> > The problem i met is when i tried to bridge the wifi and the eth interface.
> >
> > I just rebuild the kernel with the bridge module enabled (builtin) and
> > i got the panic
> > in the picture (http://www.patriziobassi.it/downloads/ath5k_panic.jpg)
>
> That trace doesn't have symbolic information hence it isn't a lot of
> use. Please set CONFIG_KALLSYMS=y and generate a new one.
>
> > when i try to put the wifi interface up on startup with old script configuration
> >
> > The strange thing is that i'm not adding it to the bridge, i just have
> > it in the kernel and i'm enabling the interface.
> > Eth interface goes up flawlessy.
> > Workaround is to boot the laptop without the card plugged it (pcmcia)
> > or do not compile the bridge into the kernel.
> >
> > Attaching the working config. the broken just has the bridge module enabled.
> >
> > I'm ready to test all the patches/suggestions you may provide.
> >
> > Config is at http://www.patriziobassi.it/downloads/config-2.6.28
> >
>

Hi,

i cannot reproduce anymore when i enabled symbol resolution....
i can run the bridge flawlessy now.

I'll try more and report.

Regards


--
Patrizio Bassi
http://www.patriziobassi.it
http://piazzadelpopolo.patriziobassi.it