Re: 2.6.0-test7-mm1

From: Andrew Morton
Date: Wed Oct 15 2003 - 12:26:29 EST


Bradley Chapman <kakadu_croc@xxxxxxxxx> wrote:
>
> You're welcome. Unfortunately I got this non-fatal Oops when I first booted:
>
> ohci1394: $Rev: 1045 $ Ben Collins <bcollins@xxxxxxxxxx>
> ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[e8207000-e82077ff] Max
> Packet=[2048]
> Debug: sleeping function called from invalid context at mm/slab.c:1869
> in_atomic():1, irqs_disabled():0
> Call Trace:
> [<c0123fc6>] __might_sleep+0xa0/0xc2
> [<c0156bc4>] __kmalloc+0x204/0x216
> [<e08a9ed4>] hpsb_create_hostinfo+0x6b/0xe8 [ieee1394]
> [<e08af0e6>] nodemgr_add_host+0x23/0x1d2 [ieee1394]
> [<c0216bd4>] sprintf+0x1f/0x23
> [<e08aa789>] highlevel_add_host+0x6b/0x6f [ieee1394]
> [<e08a9cce>] hpsb_add_host+0x6d/0x95 [ieee1394]

highlevel_add_host() does read_lock() and then proceeds to do things like
starting kernel threads under that lock. The locking is pretty broken
in there :(


-
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/