Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGz7p-00060T-ST for qemu-devel@nongnu.org; Fri, 03 Aug 2007 11:31:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGz7h-000608-HH for qemu-devel@nongnu.org; Fri, 03 Aug 2007 11:31:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGz7h-000605-BE for qemu-devel@nongnu.org; Fri, 03 Aug 2007 11:31:29 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGz7f-0005jv-56 for qemu-devel@nongnu.org; Fri, 03 Aug 2007 11:31:27 -0400 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 76C0B93EEBB5 for ; Fri, 3 Aug 2007 17:31:11 +0200 (CEST) Received: from [91.18.79.117] (helo=[10.0.1.1]) by smtp07.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IGz7P-0000co-00 for qemu-devel@nongnu.org; Fri, 03 Aug 2007 17:31:11 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <46B341BD.1050105@aurel32.net> References: <46B2EB20.4080501@bandsman.co.uk> <46B316FB.30001@aurel32.net> <56A2CC80-861E-41D5-8341-0889A374A383@web.de> <46B3389E.8000803@aurel32.net> <46B341BD.1050105@aurel32.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6D163EC7-3397-49FA-B0A5-C448E5628AB5@web.de> Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Andreas_F=E4rber?= Subject: Re: [Qemu-devel] Sparc guest - SCSI Date: Fri, 3 Aug 2007 17:31:10 +0200 Sender: andreas.faerber@web.de Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Am 03.08.2007 um 16:54 schrieb Aurelien Jarno: >>> I suggest to read the description of the problem from last time: >>> http://www.mail-archive.com/qemu-devel%40nongnu.org/msg08828.html >>> >>> I guess there is still one case when this can happen. The only >>> solution >>> I see to avoid that is to fix the bug (the problem doesn't occurs on >>> real hardware, so the emulation is buggy). >> >> I tried that patch before ever posting to this list. Like I reported >> earlier, if applied I don't get a kernel panic any more but instead >> qemu crashes and is "gone". So sadly it didn't fix the issue for me >> as is. > > Which version are you using? At the time both 0.9.0 and CVS HEAD, today CVS HEAD. > This patch is supposed to be in the CVS > already. Negative, this is the excerpt from today's hw/slavio_intctl.c around line 293: static void slavio_set_irq(void *opaque, int irq, int level) { SLAVIO_INTCTLState *s = opaque; uint32_t mask = 1 << irq; uint32_t pil = s->intbit_to_level[irq]; DPRINTF("Set cpu %d irq %d -> pil %d level %d\n", s->target_cpu, irq, pil, level); if (pil > 0) { if (level) { s->intregm_pending |= mask; s->intreg_pending[s->target_cpu] |= 1 << pil; } else { s->intregm_pending &= ~mask; s->intreg_pending[s->target_cpu] &= ~(1 << pil); } slavio_check_interrupts(s); } } Your referenced patch moves slavio_check_interrupts(s); four lines up so is not in CVS. Andreas