From: Takashi Iwai Subject: Re: snd-ctxfi Date: Mon, 01 Jun 2009 11:10:18 +0200 Message-ID: References: <4A20A683.9010102@gmail.com> <4A215D56.7080601@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 3B9702434E for ; Mon, 1 Jun 2009 11:10:18 +0200 (CEST) In-Reply-To: <4A215D56.7080601@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: The Source Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 30 May 2009 20:22:46 +0400, The Source wrote: > > On 30.05.2009 11:00, Takashi Iwai wrote: > > At Sat, 30 May 2009 07:22:43 +0400, > > The Source wrote: > > > >> Hello. I tested the snd-ctxfi driver and found no problems (except no > >> support for 5.1 and external console, but original ctxfi does not > >> support them either). A minor problem: kernel oops reporter periodically > >> pops up with message about using a timer in a wrong place. > >> > > Oh, that's bad. > > > > > >> I'll post > >> here this message when I get it next time. > >> > > Yes, please, that'll be helpful. > > > > > > thanks, > > > > Takashi > > > > > Here's the message: > > BUG: sleeping function called from invalid context at mm/slub.c:1599 > in_atomic(): 0, irqs_disabled(): 1, pid: 32065, name: xine > Pid: 32065, comm: xine Tainted: P 2.6.29.4-75.fc10.x86_64 #1 > Call Trace: > [] __might_sleep+0x105/0x10a > [] kmem_cache_alloc+0x32/0xe2 > [] ct_vm_map+0xfa/0x19e [snd_ctxfi] > [] ct_map_audio_buffer+0x4c/0x76 [snd_ctxfi] > [] atc_pcm_playback_prepare+0x1d7/0x2a8 [snd_ctxfi] > [] ? up_read+0x9/0xb > [] ? __up_read+0x7c/0x87 > [] ct_pcm_playback_prepare+0x39/0x60 [snd_ctxfi] > [] snd_pcm_do_prepare+0x16/0x28 [snd_pcm] > [] snd_pcm_action_single+0x2d/0x5b [snd_pcm] > [] snd_pcm_action_nonatomic+0x52/0x6a [snd_pcm] > [] snd_pcm_common_ioctl1+0x404/0xc79 [snd_pcm] > [] ? alloc_pages_current+0xb9/0xc2 > [] ? new_slab+0x1a5/0x1cb > [] ? vma_prio_tree_insert+0x23/0xc1 > [] snd_pcm_playback_ioctl1+0x213/0x230 [snd_pcm] > [] ? mmap_region+0x397/0x4c9 > [] snd_pcm_playback_ioctl+0x2e/0x36 [snd_pcm] > [] vfs_ioctl+0x2a/0x78 > [] do_vfs_ioctl+0x462/0x4a2 > [] ? default_spin_lock_flags+0x9/0xe > [] ? trace_hardirqs_off_thunk+0x3a/0x6c > [] sys_ioctl+0x55/0x77 > [] system_call_fastpath+0x16/0x1b Thanks. So, something wrong in the mmap handling. I'll take a look later in this week. Takashi