Re: 2.5.41-ac1: Debug: sleeping function called from illegal context at include/asm/semaphore.h:145

From: Petr Konecny (pekon@fi.muni.cz)
Date: Wed Oct 09 2002 - 13:29:08 EST


>>>>> Martin Dahl (Martin) said:

 Martin> On my thinkpad a20m i get the following debug messages during boot:
 Martin> At IDE initialization:

 Martin> Debug: sleeping function called from illegal context at mm/slab.c:1374
 Martin> Call Trace:
 Martin> [__kmem_cache_alloc+202/208] __kmem_cache_alloc+0xca/0xd0
 Martin> [blk_init_free_list+101/224] blk_init_free_list+0x65/0xe0
 Martin> [blk_init_queue+23/256] blk_init_queue+0x17/0x100
 Martin> [ide_init_queue+57/160] ide_init_queue+0x39/0xa0
 Martin> [do_ide_request+0/48] do_ide_request+0x0/0x30
 Martin> [init_irq+462/912] init_irq+0x1ce/0x390
 Martin> [ide_intr+0/384] ide_intr+0x0/0x180
 Martin> [hwif_init+216/608] hwif_init+0xd8/0x260
 Martin> [probe_hwif_init+36/112] probe_hwif_init+0x24/0x70
 Martin> [ide_setup_pci_device+80/128] ide_setup_pci_device+0x50/0x80
 Martin> [piix_init_one+54/64] piix_init_one+0x36/0x40
 Martin> [init+53/352] init+0x35/0x160
 Martin> [init+0/352] init+0x0/0x160
 Martin> [kernel_thread_helper+5/16] kernel_thread_helper+0x5/0x10
Same here on Dell Inspiron 5000.

Happens with CONFIG_PREEMPT=y. Disappears with CONFIG_PREEMPT=n.

                                                Petr

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:32 EST