Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256AbWCKABb (ORCPT ); Fri, 10 Mar 2006 19:01:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752257AbWCKABb (ORCPT ); Fri, 10 Mar 2006 19:01:31 -0500 Received: from smtp108.mail.mud.yahoo.com ([209.191.85.218]:45204 "HELO smtp108.mail.mud.yahoo.com") by vger.kernel.org with SMTP id S1752255AbWCKABb (ORCPT ); Fri, 10 Mar 2006 19:01:31 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=WLF/lvCQtfusJBLOb5lFSI2XjN7pkK3yYwx3ssvuhIMdtd6UauC13t8/NrABLnVQ6C/hFweE4jyvlZyFJuT9DPudVceVq9l/95iqNe01kERjCAm5f+hk4NmBrLxDzTJ7O0HbkSJNvdAplvxUvWFV81CIla0H+kFJVhFZpx9sHUk= ; Message-ID: <44121351.2050703@yahoo.com.au> Date: Sat, 11 Mar 2006 11:01:21 +1100 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 X-Accept-Language: en MIME-Version: 1.0 To: Fernando Lopez-Lezcano CC: alsa-devel@lists.sourceforge.net, Ingo Molnar , Heiko Carstens , Steven Rostedt , Linux Kernel Mailing List Subject: Re: [Alsa-devel] Re: 2.6.15-rt20, "bad page state", jackd References: <1141846564.5262.20.camel@cmn3.stanford.edu> <20060309084746.GB9408@osiris.boeblingen.de.ibm.com> <1141938488.22708.28.camel@cmn3.stanford.edu> <4410B2D7.4090806@yahoo.com.au> <1141958866.22708.69.camel@cmn3.stanford.edu> <441109BC.9070705@yahoo.com.au> <1142016627.6124.33.camel@cmn3.stanford.edu> In-Reply-To: <1142016627.6124.33.camel@cmn3.stanford.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2070 Lines: 58 Fernando Lopez-Lezcano wrote: > Takashi and other gurus in alsa-devel, any comments on this? The > original problem - not quoted in this email - is that when I stop jackd > in the affected configurations I get errors similar to this one: > > >>Bad page state at __free_pages_ok (in process 'jackd', page c1013ce0) >>flags:0x00000414 mapping:00000000 mapcount:0 count:0 >>Backtrace: >> [] bad_page+0x7d/0xc0 (8) >> [] __free_pages_ok+0x9d/0x180 (36) >> [] __pagevec_free+0x3c/0x50 (40) >> [] release_pages+0x127/0x1a0 (16) >> [] free_pages_and_swap_cache+0x7d/0xc0 (80) >> [] unmap_region+0x13e/0x160 (28) >> [] do_munmap+0xe1/0x120 (48) >> [] sys_munmap+0x3f/0x60 (32) >> [] syscall_call+0x7/0xb (16) >>Trying to fix it up, but a reboot is needed > FWIW, this is a PageReserved page being freed. PageReserved does anything, and you instead need to ensure the page count is incremented in your ->nopage handler (ie. via get_page()). > > One other thing occurred to me (not tested yet) > > - userspace regression in the module load code (so that in the end > modules from the in kernel tree get mixed with modules coming from the > externally compiled alsa tree). Very unlikely, I think, I could test for > this by removing the in kernel modules temporarily. > > I have problems in both: > snd-ice1712 (midiman delta 66) > snd-hdsp (rme hdsp) > but this seems to work fine: > snd-echo3g (gina3g) > > The interesting thing is that the one that works (snd-echo3g) has no > counterpat in the in kernel alsa tree - that is, only exists in the > add-on modules compiled externally. Coincidence? > > -- Fernando > > > -- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/