I still get this error with 2.5.40. This is with the workqueue patch
applied, however, I get it even with a vanilla 2.5.40. It should be noted
that since kernel.org has been down, I used a patch, instead of the full
kernel source, so perhaps something is wrong with the patch instead.
-alan at cotse
alan@aries:~$ uname -a
Linux aries 2.5.40 #4 Tue Oct 1 05:32:10 PDT 2002 i686 GenuineIntel
Debug: sleeping function called from illegal context at slab.c:1374
c12bdea4 c01125c4 c0279ac0 c027ddb0 0000055e 00000000 c012c023 c027ddb0
0000055e c038cecc c038ce94 cfd45380 00000000 c01fde40 cfe72ec0
000001d0 c038ce94 c038ce84 cfd45380 00000000 00000000 c01fded1 c038ce94
c038ce94Call Trace:
[<c01125c4>]__might_sleep+0x54/0x60
[<c012c023>]kmem_cache_alloc+0x23/0xf4
[<c01fde40>]blk_init_free_list+0x4c/0xd0
[<c01fded1>]blk_init_queue+0xd/0xe8
[<c020b430>]ide_init_queue+0x28/0x68
[<c0211834>]do_ide_request+0x0/0x18
[<c020b708>]init_irq+0x298/0x354
[<c020ba86>]hwif_init+0x112/0x258
[<c020b35c>]probe_hwif_init+0x1c/0x6c
[<c021b4b1>]ide_setup_pci_device+0x61/0x68
[<c0105086>]init+0x2e/0x188
[<c0105058>]init+0x0/0x188
[<c01054c9>]kernel_thread_helper+0x5/0xc