From owner-freebsd-sparc64@freebsd.org Sun Sep 20 22:31:58 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B889A065C5 for ; Sun, 20 Sep 2015 22:31:58 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from s16892447.onlinehome-server.info (s16892447.onlinehome-server.info [82.165.15.123]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10BD81D62; Sun, 20 Sep 2015 22:31:57 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from [90.219.34.100] (helo=[192.168.1.86]) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1Zdn9B-00087h-Vu; Sun, 20 Sep 2015 23:31:53 +0100 Message-ID: <55FF33CB.90003@ilande.co.uk> Date: Sun, 20 Sep 2015 23:31:39 +0100 From: Mark Cave-Ayland User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Alexey Dokuchaev CC: Marius Strobl , "freebsd-sparc64@freebsd.org" References: <20150913103940.GA60101@FreeBSD.org> <20150913180126.GC7862@alchemy.franken.de> <55F89861.1030107@ilande.co.uk> <20150916031030.GA6711@FreeBSD.org> <55F9C2B8.7030605@ilande.co.uk> <20150916211914.GD18789@alchemy.franken.de> <20150917082817.GA71811@FreeBSD.org> <55FBB662.4080708@ilande.co.uk> <20150919211420.GK18789@alchemy.franken.de> <55FDEA3C.1010804@ilande.co.uk> <20150920043630.GA36162@FreeBSD.org> In-Reply-To: <20150920043630.GA36162@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 90.219.34.100 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: Re: PCI range checking under qemu-system-sparc64 X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: No (on s16892447.onlinehome-server.info); Unknown failure X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 22:31:58 -0000 On 20/09/15 05:36, Alexey Dokuchaev wrote: > On Sun, Sep 20, 2015 at 12:05:32AM +0100, Mark Cave-Ayland wrote: >> [...] >> While I don't have any insight on the CPU tick interrupt yet, my initial >> feeling is that the ATA hang could be related to the PCI interrupt >> clearing issue that I started looking into a while back. Although it >> isn't a complete fix, does the attached patch against QEMU help at all? > > Did not help; putting back "device scbus+da+cd" hangs with patched QEMU. Thanks once again for testing, Alexey. Seems we're at the point now where I need to get myself setup with a full FreeBSD development environment to start digging into what happens with the interrupts under QEMU. The good news is that the hang is consistent, which gives me plenty of scope for fixing the underlying bug(s). ATB, Mark.