From owner-freebsd-mips@FreeBSD.ORG Mon Oct 20 17:01:58 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9B6D6BC for ; Mon, 20 Oct 2014 17:01:58 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42363B05 for ; Mon, 20 Oct 2014 17:01:58 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id h11so7619420wiw.17 for ; Mon, 20 Oct 2014 10:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4PanF1v2Nhw2G7WScwPl6ADJYUTC1RwOLYeZDUWA4Kk=; b=xwHBcB+Y0HhqFNcAnfB/f4X1JzrpaFL7QYPWUHKZ9EDDA0E3WfihgPYS1q3aCIekgK +croeewxFHu1rWOIKpWS4ST2EqLiJBjLBBBNsn7q6vc3n6sElZZMadXntSC9FcaoY0+9 sgZh9sRuxraHuXJGq4cSxieeV2jUXzLtNMN0xkdAKj7jRqmO/G2AQwFRo2c9aSFTQzdy Jl8/1DSla4ZR7BPB8tbyrI4lHvvCeQ1+ydMFWJs9LYWHXVId1vy9RQYyl6RikDiPxqyo klcBYRxbHO2/R8nsKeHKWLCwxurrd96ev7ho2pP6J9VCx7klw/pAVbtjX1oo3Tthw4sx Z9lw== MIME-Version: 1.0 X-Received: by 10.180.74.4 with SMTP id p4mr21945401wiv.20.1413824516242; Mon, 20 Oct 2014 10:01:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Mon, 20 Oct 2014 10:01:56 -0700 (PDT) In-Reply-To: <20141019223447.GB12023@anubis.morrow.me.uk> References: <20141018225950.GA12023@anubis.morrow.me.uk> <20141019223447.GB12023@anubis.morrow.me.uk> Date: Mon, 20 Oct 2014 10:01:56 -0700 X-Google-Sender-Auth: xzLMl6TZlrZpPqK8Bm4kIqjUEiM Message-ID: Subject: Re: Trying to get MALTA64 running under qemu From: Adrian Chadd To: Ben Morrow Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-mips@freebsd.org" 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: Mon, 20 Oct 2014 17:01:58 -0000 Would you please post an updated recipe for what you've done to get freebsd-mips64 up on qemu-devel? I'm about to sit down and help Craig figure out how to integrate emulator testing of the base freebsd system, and I'd like that to include booting and testing on MIPS64. Thanks! -a On 19 October 2014 15:34, Ben Morrow wrote: > 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 >