Re: 2.5.39 problem in slab.c

From: Thomas Molina (tmolina@cox.net)
Date: Sun Sep 29 2002 - 17:30:34 EST


On Sun, 29 Sep 2002, Banai Zoltan wrote:

> Hi!
>
> I noticed a problem with 2.5.39 in slab.c:
> I got a bounch of messages:
>
> Sleeping function called from illegal context at slab.c:1374
> c1571f20 c0114e74 c03751c0 c037993b 0000055e 000001d0 c012eed0 c037993b
> 0000055e e0800000 00000246 00001000 00001000 c012df1d 0000001c 000001d0
> c1570000 00000246 00001000 000001d2 dfc37288 c012e1ce 00001000 00000002
> Call Trace:
> [<c0114e74>]__might_sleep+0x54/0x60
> [<c012eed0>]kmalloc+0x4c/0x130
> [<c012df1d>]get_vm_area+0x29/0x104
> [<c012e1ce>]__vmalloc+0x32/0x10c
> [<c012e2bd>]vmalloc+0x15/0x1c
> [<c02accac>]sg_init+0x80/0x100
> [<c0284555>]scsi_register_device+0x71/0x114
> [<c010508b>]init+0x33/0x188
> [<c0105058>]init+0x0/0x188
> [<c01054c9>]kernel_thread_helper+0x5/0xc

Known problem.

sg_init() is performing vmalloc() inside
write_lock_irqsave(&sg_dev_arr_lock);

See:

http://marc.theaimsgroup.com/?l=linux-kernel&m=103327490712028&w=2

-
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 : Mon Sep 30 2002 - 22:00:43 EST