From owner-freebsd-mips@FreeBSD.ORG Sun Oct 19 22:34:56 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 132E61BD; Sun, 19 Oct 2014 22:34:56 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id DA6E8105; Sun, 19 Oct 2014 22:34:55 +0000 (UTC) Received: from anubis.morrow.me.uk (unknown [93.89.81.46]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id D028445089; Sun, 19 Oct 2014 22:34:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk D028445089 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1413758093; bh=QzsSMVJXybb14qJRxQpL17C5lKnWzDUkYWq7336Bo9s=; h=Date:From:To:Subject:References:In-Reply-To; b=Dzaqt/ibdKtGBF+6+hU8Fio0nGfQ48IgigVuGmiQ0r4tdXjV/AcjRfmV2L9XFR9Vn apn1vOJcgZlsLIE8ZArNZbbywbFEqqh1kumS8ZX636zGpFA1/WxLC2w1UfqIiD+TTB zADnLfr78H+epoY8k8ZlePdeY9+mHUXTWm6Ey1GI= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id BBFB115EC7; Sun, 19 Oct 2014 23:34:47 +0100 (BST) Date: Sun, 19 Oct 2014 23:34:47 +0100 From: Ben Morrow To: Adrian Chadd , freebsd-mips@freebsd.org Subject: Re: Trying to get MALTA64 running under qemu Message-ID: <20141019223447.GB12023@anubis.morrow.me.uk> References: <20141018225950.GA12023@anubis.morrow.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 22:34:56 -0000 Adrian Chadd wrote: > On 18 October 2014 15:59, Ben Morrow wrote: > > I'm considering buying an ERL to use as a local router, but before I did > > I thought I'd make sure the ports I want to run work properly with MIPS, > > so I'm trying to bring up a qemu-system-mips64 instance. I've built > > world and kernel (using MALTA64) for mips.mips64, and built a disk image > > following the instructions on the MipsEmulation page on the wiki. The > > source I am using is a slightly patched 10-STABLE from 2014-09-09; the > > patches have nothing to do with MIPS. > > > > However, when I try to bring qemu up, the system appears to hang after > > probing the ata devices. Over the course of about 30 seconds the qemu > > process goes up to 100% of one CPU, and no more output appears on the > > console. This appears to happen regardless of the disk images I pass to > > qemu; I've tried passing a UFS image, a file full of zeros, no disks at > > all, and (just in case) both -hda and -hdc. I've included the boot log > > below; I'd appreciate any advice. > > can you try qemu-devel? Thank you, that works. (Good God, it's slow... I wonder how hard it would be to replace cc with something that runs a cross-compiler on the host? Maybe I can do something with distcc...) Ben