Skip to contentSkip to conversation

2.5.40bk4 "bad"!

DISCUSSION Peter L Jones 2 participants 2 messages Oct 5, 2002 – Oct 8, 2002

lore
Share & tools
lore
#0 lore raw

Hi there,

Is this a known problem?

kernel: bad: scheduling while atomic!
kernel: Call Trace:
kernel:  [schedule+61/724] schedule+0x3d/0x2d4
kernel:  [common_interrupt+24/32] common_interrupt+0x18/0x20
kernel:  [interruptible_sleep_on+91/144] interruptible_sleep_on+0x5b/0x90
kernel:  [default_wake_function+0/52] default_wake_function+0x0/0x34
kernel:  [<cb8d5bce>] snd_seq_cell_alloc+0x9a/0x15c [snd-seq]
kernel:  [<cb8d5d09>] snd_seq_event_dup+0x79/0x1e8 [snd-seq]
kernel:  [<cb8d6773>] snd_seq_enqueue_event+0xa3/0xac [snd-seq]
kernel:  [<cb8d2ed8>] snd_seq_client_enqueue_event+0xbc/0xf4 [snd-seq]
kernel:  [<cb8d311d>] snd_seq_write+0x1a9/0x1ec [snd-seq]
kernel:  [vfs_write+177/304] vfs_write+0xb1/0x130
kernel:  [sys_write+42/60] sys_write+0x2a/0x3c
kernel:  [syscall_call+7/11] syscall_call+0x7/0xb

Oh, and also:

kernel: Debug: sleeping function called from illegal context at include/asm/semaphore.h:119

kernel: Call Trace:
kernel:  [__might_sleep+84/96] __might_sleep+0x54/0x60
kernel:  [<cb8d9fa0>] .rodata+0x7e0/0x1ae0 [snd-seq]
kernel:  [<cb8d5be7>] snd_seq_cell_alloc+0xb3/0x15c [snd-seq]
kernel:  [<cb8d9fa0>] .rodata+0x7e0/0x1ae0 [snd-seq]
kernel:  [<cb8d5d09>] snd_seq_event_dup+0x79/0x1e8 [snd-seq]
kernel:  [<cb8d6773>] snd_seq_enqueue_event+0xa3/0xac [snd-seq]
kernel:  [<cb8d2ed8>] snd_seq_client_enqueue_event+0xbc/0xf4 [snd-seq]
kernel:  [<cb8d311d>] snd_seq_write+0x1a9/0x1ec [snd-seq]
kernel:  [vfs_write+177/304] vfs_write+0xb1/0x130
kernel:  [sys_write+42/60] sys_write+0x2a/0x3c
kernel:  [syscall_call+7/11] syscall_call+0x7/0xb

Ta.

-- Peter

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At Sun, 6 Oct 2002 00:56:08 +0100,

Quoted 5 lines · Peter L Jones

Hi there,

Is this a known problem?

Quoted 14 lines
kernel: bad: scheduling while atomic!
kernel: Call Trace:
kernel:  [schedule+61/724] schedule+0x3d/0x2d4
kernel:  [common_interrupt+24/32] common_interrupt+0x18/0x20
kernel:  [interruptible_sleep_on+91/144] interruptible_sleep_on+0x5b/0x90
kernel:  [default_wake_function+0/52] default_wake_function+0x0/0x34
kernel:  [<cb8d5bce>] snd_seq_cell_alloc+0x9a/0x15c [snd-seq]
kernel:  [<cb8d5d09>] snd_seq_event_dup+0x79/0x1e8 [snd-seq]
kernel:  [<cb8d6773>] snd_seq_enqueue_event+0xa3/0xac [snd-seq]
kernel:  [<cb8d2ed8>] snd_seq_client_enqueue_event+0xbc/0xf4 [snd-seq]
kernel:  [<cb8d311d>] snd_seq_write+0x1a9/0x1ec [snd-seq]
kernel:  [vfs_write+177/304] vfs_write+0xb1/0x130
kernel:  [sys_write+42/60] sys_write+0x2a/0x3c
kernel:  [syscall_call+7/11] syscall_call+0x7/0xb

it looks related with the spinlock and preemption. can you try the latest cvs version? i hope it's fixed now.

ciao,

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf