From owner-freebsd-sparc64@FreeBSD.ORG Thu Mar 24 16:35:47 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E84B0106564A; Thu, 24 Mar 2011 16:35:47 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7EC9E8FC13; Thu, 24 Mar 2011 16:35:47 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p2OGZkBl043502; Thu, 24 Mar 2011 17:35:46 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p2OGZjsn043501; Thu, 24 Mar 2011 17:35:45 +0100 (CET) (envelope-from marius) Date: Thu, 24 Mar 2011 17:35:45 +0100 From: Marius Strobl To: Martin Matuska Message-ID: <20110324163545.GA43425@alchemy.franken.de> References: <20110310185423.GA50419@alchemy.franken.de> <20110319152838.GA8594@alchemy.franken.de> <20110321175632.GA19345@darkthrone.kvedulv.de> <20110321175933.GD2086@garage.freebsd.pl> <20110322191117.GH15528@alchemy.franken.de> <20110323232411.GC82490@darkthrone.kvedulv.de> <4D8B08E1.5060008@FreeBSD.org> <20110324111628.GO15528@alchemy.franken.de> <4D8B4930.7080106@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8B4930.7080106@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Roger Hammerstein , pjd@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: sparc64 hang with zfs v28 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 16:35:48 -0000 On Thu, Mar 24, 2011 at 02:37:52PM +0100, Martin Matuska wrote: > I agree to the patch, that is exactly what I was missing in the v15 > compat code. > > Too bad that I don't have a sparc64 to test these things out and get > smarter. I am investigating now if its possible to emulate it with qemu. AFAIK qemu supports some rudimentary sun4u emulation but emulates hardware that doesn't exist/work in reality (like a VGA card with VESA BIOS instead of FCode) or at least not in a combination reflecting a real machine, obviously so they could re-use some existing emulated PC components. Linux likely has some hacks to make this work but I doubt FreeBSD will run as is. If you give this a try your only chance currently would be to configure qemu to use a serial console but I still wouldn't hold my breath. I once used Simics to develop support for Ex000-class machines I hadn't access to myself. This basically worked but wasn't very usable due to bugs in the emulation of the SCSI HBA and the Sun Ethernet controller. Simics also supports emulating some machines like Blade 1500 are equipped with PC-like components like a bge(4) compatible NIC and a ATA controller in the first place, which I'd expect to be less buggy. I haven't tried this my self so far though. Marius