From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 26 17:38:21 2014 Return-Path: Delivered-To: freebsd-powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9315A554 for ; Sat, 26 Jul 2014 17:38:21 +0000 (UTC) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (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 58C602FD8 for ; Sat, 26 Jul 2014 17:38:21 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id h136so4442919oig.25 for ; Sat, 26 Jul 2014 10:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d9UzNiTtYabrqHDH3ZvQNc88FNklfa1FWdkZ73DfZ20=; b=M21DPvop7B+RH4mLBPNw2DK0Cw2BxdPFQkjlZJguiYtZ7VYx3JX5BaR7Gu36U9fSD9 93B5UXDrPSAPbxJXHjfFrqPZqL1GQOYXMRHT+n2yZhFMCnJmihxk/zU3iBPhqIm7ld4W E3jAwyRTkUqgEgX23iH1ZiaoU9PlMfWrvXvsPSvVpnXij4bND2IKPIs8b9+HZF1hZlPj sOtKjDfydY8s0YRPZRac/a1QL7Ql2XhdXn2d027UFzo+f9nvVApj1jUlbwjTg8WoveYz trKlqhTBFBijvWsjUELy4GRD2uZD9dwN5Hy90uWrQVkZxeoqYpsysQkqsX37RSpRntCs +2YQ== MIME-Version: 1.0 X-Received: by 10.182.121.170 with SMTP id ll10mr34051846obb.58.1406396300452; Sat, 26 Jul 2014 10:38:20 -0700 (PDT) Received: by 10.182.53.170 with HTTP; Sat, 26 Jul 2014 10:38:20 -0700 (PDT) In-Reply-To: <486EFD03-4770-466B-83E8-3E3D61D9B793@gmail.com> References: <53D24103.3090603@ilande.co.uk> <486EFD03-4770-466B-83E8-3E3D61D9B793@gmail.com> Date: Sat, 26 Jul 2014 13:38:20 -0400 Message-ID: Subject: Re: Running FreeBSD-ppc/ppc64 on emulators? From: Joe Nosay To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-powerpc@freebsd.org" , "qemu-ppc@nongnu.org" , Mark Cave-Ayland X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 17:38:21 -0000 On Friday, July 25, 2014, Garrett Cooper wrote: > > > On Jul 25, 2014, at 4:35, Mark Cave-Ayland < > mark.cave-ayland@ilande.co.uk > wrote: > > > >> On 23/07/14 00:24, Joe Nosay wrote: > >> > >> On Tuesday, July 22, 2014, Garrett Cooper > >> ');>> > wrote: > >> > >> Hi all, > >> I tried getting FreeBSD-ppc/-ppc64 to run on qemu recently with > >> the 9/10/11 release media and I ran into boot issues (or probably > user > >> error in booting up qemu with the images) -- the image would hang > >> right around mountroot. > >> I was wondering if anyone has a working recipe for how I would > >> start up qemu with powerpc, or if there was an alternative piece of > >> software available for emulating powerpc that could be used in > general > >> purpose automation? > >> Thank you :)! > >> -Garrett > >> _______________________________________________ > >> freebsd-ppc@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > >> To unsubscribe, send any mail to " > freebsd-ppc-unsubscribe@freebsd.org " > >> > >> > >> You need to send these types of queries to the qemu-ppc lists. On the > >> qemu-ppc list, please check the original email and forward the answers > >> to Mr Cooper. > > > > Hi Garrett, > > > > I'm not strictly a PPC developer, however I do spend a lot of time > developing and testing OpenBIOS for SPARC and as part of this tend to test > various PPC images to ensure that no regressions are introduced. > > > > As you noted FreeBSD-ppc gets fairly far these days; I can imagine that > you're either seeing an issue with properties on PCI devices or possibly a > bug in machine emulation. Can you share the command line you are using to > launch QEMU? > > > > While I don't have the ability to look at this myself, I suspect anyone > with a debug PPC kernel setup would be able to find the issue fairly > easily. I tend to be around on the qemu-ppc list so if anyone is interested > enough to participate, please start a thread there and I'll pick it up > there. > > Hi Mark, > Nathan Whitehorn from FreeBSD replied to me earlier on this week and > provided some hints for getting qemu working with ppc64. I'll try booting > FreeBSD again this weekend with qemu to see whether or not his hints work. > If I run into any issues I'll be sure to email the list :). > Thanks! > -Garrett Thanks, for helping out Mr Cooper.