BUG: scheduling while atomic

Johannes Berg johannes at sipsolutions.net
Mon Mar 17 11:14:03 EDT 2008


That's pretty obvious:

On Mon, 2008-03-17 at 16:00 +0100, Holger Schurig wrote:
> I have a bug that I don't have enought knowledge to debug it myself.
> It happens with wireless-testing, v2.6.25-rc5-2623-g7556b76. I've no
> additional patch from me on top of this.

> kernel:  [<f8ab71dd>] __lbs_cmd+0xd5/0x175 [libertas]

does
wait_event_interruptible(cmdnode->cmdwait_q, cmdnode->cmdwaitqwoken);

but

> kernel:  [<f8aafdfc>] lbs_set_multicast_list+0x263/0x2ab [libertas]
> kernel:  [<c02c8bd5>] ? __dev_addr_add+0x5e/0xb2
> kernel:  [<c02c83d6>] __dev_set_rx_mode+0x72/0x75
> kernel:  [<c02cc984>] dev_mc_add+0x4b/0x6e

that is running under a spinlock, namely the device's tx lock.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/libertas-dev/attachments/20080317/f11f304c/attachment.bin 


More information about the libertas-dev mailing list