sleeping function called from invalid context include/linux/rwsem.h:43

From: Hmamouche, Youssef
Date: Wed Aug 20 2003 - 01:43:21 EST



Hi,

I get this debug message right before the oops(Oops linux-2.6.0-test3
sound) that I sent earlier to the list. When this Debug message happens
before the oops, the system freezes. All of this is related to the
Maestro3.c sound card. I've ran 2.4{16, 20, 21, 22-pre8} without a
problem. I searched through the list archive for a similar problem, in
vain. Can someone please tell what's causing this?

Thanks

Debug: sleeping function called from invalid context at
include/linux/rwsem.h:43
Aug 19 23:59:34 darkstar kernel: Debug: sleeping function called from
invalid context at include/linux/rwsem.h:43

Call Trace:
[<c012722e>] __might_sleep+0x5e/0x70
[<c0127b20>] autoremove_wake_function+0x0/0x50
[<c0122869>] do_page_fault+0x79/0x4dc
[<c01c71ad>] ext2_get_inode+0xdd/0x140
[<c022973c>] avc_has_perm+0x6c/0x7b
[<c01227f0>] do_page_fault+0x0/0x4dc
[<c010b1b9>] error_code+0x2d/0x38
[<c03dabe1>] m3_open+0x131/0x390
[<c0159b94>] check_poison_obj+0x54/0x1d0
[<c03d4d25>] soundcore_open+0x1e5/0x4e0
[<c0186c90>] exact_match+0x0/0x10
[<c0186696>] chrdev_open+0x156/0x3e0
[<c017a388>] get_empty_filp+0x98/0x100
[<c017823c>] dentry_open+0x12c/0x1c0
[<c0178106>] filp_open+0x66/0x70
[<c0178855>] sys_open+0x55/0x90
[<c010b00f>] syscall_call+0x7/0xb


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