Re: 2.6.23-rc6 : crash with RTL8187 USB
From: Rob Hussey
Date: Sat Sep 15 2007 - 12:21:55 EST
On 9/15/07, ポール・ロラン Paul Rolland <rol@xxxxxxxxx> wrote:
> Hello,
>
> Each time I add the support for this piece of hardware, I have a crash during
> the boot process.
> Serial console gives the attached boot message...
>
...
> WARNING: at lib/kref.c:33 kref_get()
> Call Trace:
> [<ffffffff8121fa41>] kref_get+0x2f/0x36
> [<ffffffff8121ec3f>] kobject_get+0x12/0x17
> [<ffffffff8121edad>] kobject_shadow_add+0x7f/0x1a2
> [<ffffffff812beaa4>] device_add+0xb7/0x631
> [<ffffffff81040607>] msleep+0x14/0x1e
> [<ffffffff8149f95f>] wiphy_register+0x29/0x80
> [<ffffffff814a4a9b>] ieee80211_register_hw+0x11/0x208
> [<ffffffff812e1a64>] rtl8187_probe+0x544/0x624
I had this problem as well. It has to do with mac80211, cfg80211 and
the rate control algorithm not initializing early enough in the boot
process. These two patches should fix it:
[PATCH] mac80211: fix initialisation when built-in
http://article.gmane.org/gmane.linux.kernel.wireless.general/5710/match=patch+mac80211+initialisation
[PATCH] cfg80211: fix initialisation if built-in
http://article.gmane.org/gmane.linux.network/71326/match=patch+cfg80211+initialisation
Regards,
Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/