hvc console sleep under spinlock

Anton Blanchard anton at samba.org
Tue Oct 28 22:43:07 EST 2003


Hi,

HVC console is calling copy_from_user inside a spinlock. Anyone want to
have a stab at fixing it?

Anton

Debug: sleeping function called from invalid context at include/asm/uaccess.h:225
in_atomic():1, irqs_disabled():1
Call Trace:
[c000000000052bc0] .__might_sleep+0xd8/0x120
[c000000000214f14] .hvc_write+0x10c/0x21c
[c00000000020180c] .write_chan+0x2e8/0x320
[c0000000001f9934] .tty_write+0x378/0x450
[c0000000000acedc] .vfs_write+0x10c/0x170
[c0000000000ad030] .sys_write+0x50/0xa0
[c000000000011894] .ret_from_syscall_1+0x0/0xa4

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list