From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261436AbVF1WT0 (ORCPT ); Tue, 28 Jun 2005 18:19:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262182AbVF1WSr (ORCPT ); Tue, 28 Jun 2005 18:18:47 -0400 Received: from smtp-1.llnl.gov ([128.115.250.81]:2945 "EHLO smtp-1.llnl.gov") by vger.kernel.org with ESMTP id S261436AbVF1WQh (ORCPT ); Tue, 28 Jun 2005 18:16:37 -0400 Date: Tue, 28 Jun 2005 15:16:33 -0700 (PDT) From: Chuck Harding Subject: Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24 In-reply-to: <20050628091222.GA30629@elte.hu> To: Ingo Molnar Cc: Linux Kernel Discussion List Message-id: Organization: Lawrence Livermore National Laboratory MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT User-Agent: Pine/4.62 (X11; U; Linux i686; en-US; rv:2.6.11-rc2-mm1) References: <20050608112801.GA31084@elte.hu> <20050625091215.GC27073@elte.hu> <200506250919.52640.gene.heskett@verizon.net> <200506251039.14746.gene.heskett@verizon.net> <1119902991.4794.5.camel@dhcp153.mvista.com> <20050628081843.GA16455@elte.hu> <20050628091222.GA30629@elte.hu> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Jun 2005, Ingo Molnar wrote: > > * Ingo Molnar wrote: > >> * Steven Rostedt wrote: >> >>> Although turning off apm works, this is a fix to the symptom and not a >>> cure. Has someone already taken a look at this code? Since >>> apm_bios_call_simple calls local_save_flags and afterwards >>> raw_lock_irq_restore is then called. Shouldn't that have been >>> raw_local_save_flags? >> >> ah, indeed. I fixed this bug and have uploaded the -50-26 patch. >> Chuck, does this fix the APM problems for you? > > i've also uploaded -50-27 in which i've improved the irq-flags debugging > code. They are activated if CONFIG_DEBUG_PREEMPT is enabled, and can > come in two variants of kernel messages: > > BUG: bad raw irq-flag value 80000000, test/3810! > BUG: bad soft irq-flag value 00000202, test/3810! > > so we should now be able to detect mismatches of irq flags right where > they occur. > > Ingo Ack!! I didn't have that enabled so I am rebuilding again. One thing I've noticed is that sox seems to be hanging when it is trying to play a .wav file (for system beeps) and there aren't any error messages about what might be going on. -- Charles D. (Chuck) Harding Voice: 925-423-8879 Senior Computer Associate ICCD Fax: 925-423-6961 Lawrence Livermore National Laboratory Computation Directorate Livermore, CA USA http://www.llnl.gov GPG Public Key ID: B9EB6601 ------------------ http://tinyurl.com/5w5ey ----------------------- -- If I knew what I was doing...I'd be dangerous... --