linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Benoit <benoit-lists@fb12.de>
To: linux-kernel@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Subject: error "sleeping function called from illegal context" (in 2.5.40)
Date: Wed, 2 Oct 2002 20:22:49 +0200	[thread overview]
Message-ID: <20021002202249.A16934@turing.fb12.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 6131 bytes --]

I get the following errors when playing audio.

loaded ALSA modules are 

 snd-ens1371            15172   1
 snd-ac97-codec         30960   0 [snd-ens1371]
 snd-rawmidi            18208   0 [snd-ens1371]

kernel 2.5.40 with PREEMPT
.config is attached.

Oct  2 15:03:02 ronja kernel: Debug: sleeping function called from illegal context at slab.c:1374
Oct  2 15:03:02 ronja kernel: d5b0bf4c c01148b6 c02d9940 c02db8a2 0000055e 000001d0 c012f7e1 c02db8a2 
Oct  2 15:03:02 ronja kernel:        0000055e d7ffa228 d5b08f24 d5b0a000 d6d67064 c012974e d6d67064 d5b08f24 
Oct  2 15:03:02 ronja kernel:        d5b6ece4 00000000 00000400 00000001 d6dbf660 c010b833 00000080 000001d0 
Oct  2 15:03:02 ronja kernel: Call Trace:
Oct  2 15:03:02 ronja kernel:  [<c01148b6>]__might_sleep+0x56/0x60
Oct  2 15:03:02 ronja kernel:  [<c012f7e1>]kmalloc+0x61/0x220
Oct  2 15:03:02 ronja kernel:  [<c012974e>]do_munmap+0x10e/0x120
Oct  2 15:03:02 ronja kernel:  [<c010b833>]sys_ioperm+0x83/0x120
Oct  2 15:03:02 ronja kernel:  [<c01071df>]syscall_call+0x7/0xb
Oct  2 15:03:02 ronja kernel: 
Oct  2 15:03:04 ronja kernel: MTRR: setting reg 3
Oct  2 15:03:06 ronja last message repeated 6 times
Oct  2 15:09:06 ronja kernel: Debug: sleeping function called from illegal context at /opt/home/benoit/src/kernel/linux-2.5.40/include/asm/semaphore.h:119
Oct  2 15:09:06 ronja kernel: d1659c3c c01148b6 c02d9940 c02d3a80 00000077 d76ca7ac c0267ed8 c02d3a80 
Oct  2 15:09:06 ronja kernel:        00000077 00000000 d6f0be00 d1658000 00000000 d76ca7ac d75186fc c0269d11 
Oct  2 15:09:06 ronja kernel:        d76ca7ac d1658000 00000000 c026a124 d76ca7ac 00004140 00000000 00000000 
Oct  2 15:09:06 ronja kernel: Call Trace:
Oct  2 15:09:06 ronja kernel:  [<c01148b6>]__might_sleep+0x56/0x60
Oct  2 15:09:06 ronja kernel:  [<c0267ed8>]snd_pcm_prepare+0x28/0x200
Oct  2 15:09:06 ronja kernel:  [<c0269d11>]snd_pcm_common_ioctl1+0x1d1/0x2a0
Oct  2 15:09:06 ronja kernel:  [<c026a124>]snd_pcm_playback_ioctl1+0x344/0x360
Oct  2 15:09:06 ronja kernel:  [<c025e59c>]snd_pcm_oss_get_formats+0x1c/0xd0
Oct  2 15:09:06 ronja kernel:  [<c0112cf4>]try_to_wake_up+0x144/0x150
Oct  2 15:09:06 ronja kernel:  [<c01135b1>]default_wake_function+0x21/0x40
Oct  2 15:09:06 ronja kernel:  [<c012f7e1>]kmalloc+0x61/0x220
Oct  2 15:09:06 ronja kernel:  [<c0112cf4>]try_to_wake_up+0x144/0x150
Oct  2 15:09:06 ronja kernel:  [<c01135b1>]default_wake_function+0x21/0x40
Oct  2 15:09:06 ronja kernel:  [<c012ad2e>]find_get_page+0x1e/0x40
Oct  2 15:09:06 ronja kernel:  [<c012ba02>]filemap_nopage+0xf2/0x250
Oct  2 15:09:06 ronja kernel:  [<c013a347>]page_add_rmap+0xb7/0x130
Oct  2 15:09:06 ronja kernel:  [<c0128338>]do_no_page+0x238/0x2b0
Oct  2 15:09:06 ronja kernel:  [<c012841e>]handle_mm_fault+0x6e/0x110
Oct  2 15:09:06 ronja kernel:  [<c026a4f7>]snd_pcm_kernel_playback_ioctl+0x27/0x30
Oct  2 15:09:06 ronja kernel:  [<c025dab5>]snd_pcm_oss_prepare+0x15/0x30
Oct  2 15:09:07 ronja kernel:  [<c025db08>]snd_pcm_oss_make_ready+0x38/0x50
Oct  2 15:09:07 ronja kernel:  [<c025e2ab>]snd_pcm_oss_sync+0x1b/0x1a0
Oct  2 15:09:07 ronja kernel:  [<c025f54b>]snd_pcm_oss_release+0x1b/0x90
Oct  2 15:09:07 ronja kernel:  [<c013dc6b>]__fput+0x2b/0xe0
Oct  2 15:09:07 ronja kernel:  [<c014cb02>]sys_select+0x492/0x4a0
Oct  2 15:09:07 ronja kernel:  [<c013c318>]filp_close+0x98/0xb0
Oct  2 15:09:07 ronja kernel:  [<c013c389>]sys_close+0x59/0x80
Oct  2 15:09:07 ronja kernel:  [<c01071df>]syscall_call+0x7/0xb
Oct  2 15:09:07 ronja kernel: 
Oct  2 15:09:40 ronja kernel: Debug: sleeping function called from illegal context at page_alloc.c:325
Oct  2 15:09:40 ronja kernel: d0ffbe98 c01148b6 c02d9940 c02db955 00000145 00000000 c0132633 c02db955 
Oct  2 15:09:40 ronja kernel:        00000145 00000000 00000000 000001d0 00000000 00000000 000001d0 d17f3218 
Oct  2 15:09:40 ronja kernel:        d6643ca8 c013287a 00000000 d0ffbf54 c014c293 d76ca7ac d6643c00 00000000 
Oct  2 15:09:40 ronja kernel: Call Trace:
Oct  2 15:09:40 ronja kernel:  [<c01148b6>]__might_sleep+0x56/0x60
Oct  2 15:09:40 ronja kernel:  [<c0132633>]__alloc_pages+0x23/0x240
Oct  2 15:09:40 ronja kernel:  [<c013287a>]__get_free_pages+0x2a/0x70
Oct  2 15:09:40 ronja kernel:  [<c014c293>]__pollwait+0x33/0xa0
Oct  2 15:09:40 ronja kernel:  [<c025fe96>]snd_pcm_oss_poll+0x46/0x100
Oct  2 15:09:40 ronja kernel:  [<c014c519>]do_select+0x139/0x260
Oct  2 15:09:40 ronja kernel:  [<c014c9a9>]sys_select+0x339/0x4a0
Oct  2 15:09:40 ronja kernel:  [<c014b449>]sys_fcntl64+0x89/0x90
Oct  2 15:09:40 ronja kernel:  [<c01071df>]syscall_call+0x7/0xb
Oct  2 15:09:40 ronja kernel: 
Oct  2 15:09:41 ronja kernel: Debug: sleeping function called from illegal context at page_alloc.c:325
Oct  2 15:09:41 ronja kernel: d0fc5e98 c01148b6 c02d9940 c02db955 00000145 00000000 c0132633 c02db955 
Oct  2 15:09:41 ronja kernel:        00000145 4216c008 00000000 000001d0 c0000000 00000000 000001d0 d17f3218 
Oct  2 15:09:41 ronja kernel:        d6643ca8 c013287a 00000000 d0fc5f54 c014c293 d76ca7ac d6643c00 00000000 
Oct  2 15:09:41 ronja kernel: Call Trace:
Oct  2 15:09:41 ronja kernel:  [<c01148b6>]__might_sleep+0x56/0x60
Oct  2 15:09:41 ronja kernel:  [<c0132633>]__alloc_pages+0x23/0x240
Oct  2 15:09:41 ronja kernel:  [<c013287a>]__get_free_pages+0x2a/0x70
Oct  2 15:09:41 ronja kernel:  [<c014c293>]__pollwait+0x33/0xa0
Oct  2 15:09:41 ronja kernel:  [<c025fe96>]snd_pcm_oss_poll+0x46/0x100
Oct  2 15:09:41 ronja kernel:  [<c014c519>]do_select+0x139/0x260
Oct  2 15:09:41 ronja kernel:  [<c014c9a9>]sys_select+0x339/0x4a0
Oct  2 15:09:41 ronja kernel:  [<c01071df>]syscall_call+0x7/0xb
Oct  2 15:09:41 ronja kernel: 

and so on until playing stops ...
a little bit annoying because the rhythm of the logfile being written is not
in sync with the music :-)

/B.
-- 
Sebastian Benoit <benoit-lists@fb12.de>
My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/
GnuPG 0x5BA22F00 2001-07-31 2999 9839 6C9E E4BF B540  C44B 4EC4 E1BE 5BA2 2F00

"I have no respect for a man who can only spell a word one way!" -- Mark Twain

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

             reply	other threads:[~2002-10-02 18:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 18:22 Sebastian Benoit [this message]
2002-10-02 22:42 ` error "sleeping function called from illegal context" (in 2.5.40) Sebastian Benoit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021002202249.A16934@turing.fb12.de \
    --to=benoit-lists@fb12.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).