On 4/3/06, Thomas Ploch <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a problem with the dscape all-in-one patch for 2.6.16 kernels.
> Since my softmac-extension only gives me 25kb/s downspeed, I tried to
> build a dscape-patched 2.6.16 kernel. It built with no problems. But
> when I reboot with the new kernel, I get a kernel-panic error, saying
> something is trying to kill init. Unfortunately I have no logs
> available, and my kernel config is the same as the softmac-patched
> kernel except the softmac option is now (activated) dscape. So I am
> confused, why the dscape-stack kernel is not working. I tried builing
> the dscapoe driver in-tree and as a module. Both the same (bad) result.
>

On my ibook, I had also kernel panic.
There is a bug in d80211+ipv6.
- Try to remove /lib/modules/2.6.16*/kernel/net/ipv6/ipv6.ko and
depmod and reboot.
- If this solve your problem and you want ipv6 module, here is a patch
from Jiri Benc <[EMAIL PROTECTED]>:
----------------------------------
The bug was indeed triggered by ipv6.
Actually, I already knew about that bug (it's on my todo list) but I
wasn't aware of anything that triggers it, so I didn't care.

The fix is not so easy. See below a quick temporary (incorrect but
working) patch.


Index: dscape/net/d80211/ieee80211.c
===================================================================
--- dscape.orig/net/d80211/ieee80211.c  2006-03-30 18:30:40.000000000 +0200
+++ dscape/net/d80211/ieee80211.c       2006-03-30 18:35:31.000000000 +0200
@@ -1223,6 +1223,11 @@ static int ieee80211_master_start_xmit(s
        * copy control out of the skb so other people can use skb->cb
        */
       pkt_data = (struct ieee80211_tx_packet_data *)skb->cb;
+       if (pkt_data->sdata == NULL) {
+               /* discard frames sent directly to this interface */
+               dev_kfree_skb(skb);
+               return 0;
+       }
       memset(&control, 0, sizeof(struct ieee80211_tx_control));
       control.sdata = pkt_data->sdata;
       control.req_tx_status = pkt_data->req_tx_status;

--
Jiri Benc
SUSE Labs
--------------------------------------------------------------

Regards,
Bin


> I am running on an iBook G4, 1.33GHz, debian/unstable.
>
> Has somebody encountered the same error and can give me a possible solution?
>
> Many thanks in advance,
> Thomas
> _______________________________________________
> Bcm43xx-dev mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/bcm43xx-dev
>
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to