From owner-freebsd-ppc@FreeBSD.ORG Thu Dec 13 06:22:53 2007 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBC8116A41A for ; Thu, 13 Dec 2007 06:22:53 +0000 (UTC) (envelope-from dsteklof@cisco.com) Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by mx1.freebsd.org (Postfix) with ESMTP id C0E6313C442 for ; Thu, 13 Dec 2007 06:22:53 +0000 (UTC) (envelope-from dsteklof@cisco.com) Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-5.cisco.com with ESMTP; 12 Dec 2007 22:22:51 -0800 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id lBD6MpGF006293; Wed, 12 Dec 2007 22:22:51 -0800 Received: from [10.25.62.2] (sjc-dsteklof-vpn1.cisco.com [10.25.62.2]) by sj-core-1.cisco.com (8.12.10/8.12.6) with SMTP id lBD6MoCD026971; Thu, 13 Dec 2007 06:22:50 GMT Message-ID: <4760CFB8.2030703@cisco.com> Date: Wed, 12 Dec 2007 22:22:48 -0800 From: Daniel Stekloff User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: grehan@freebsd.org References: <47607390.4080108@cisco.com> <47609F89.9080107@freebsd.org> In-Reply-To: <47609F89.9080107@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1392; t=1197526971; x=1198390971; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dsteklof@cisco.com; z=From:=20Daniel=20Stekloff=20 |Subject:=20Re=3A=20QEMU? |Sender:=20; bh=ccKaWia9bBcCRVbo8IFgRzi538LUdvbpSw76xzeM1Eg=; b=ewtgR7p8q6B2qcnSasAOoW+ln8B+SndRSfn5TKUC7msQkVSUwQfyAyIDi3 SlqHI/gcN1UEkEyUtX0jHcbAdsj4JRk8eIm6x698RaczH9g8IHFAXM1bRsVE cXas11UivN; Authentication-Results: sj-dkim-4; header.From=dsteklof@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); Cc: freebsd-ppc@freebsd.org Subject: Re: QEMU? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 06:22:53 -0000 Hi Peter, Peter Grehan wrote: > Hi Daniel, > >> Partition: 2 'CDROM' 'Apple_HFS' st 10 size c88c > ... >> HFS volume > > A rough guess is that the OFW emulation thinks that the filesystem is > HFS. Apple ISO images use a 'hybrid HFS/ISO9660' format: > http://developer.apple.com/technotes/fl/fl_36.html > > See the 'makehybrid' option at > http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html > > > ... and the "-hfs" option to mkisofs: > http://cdrecord.berlios.de/old/private/man/cdrecord/mkisofs.8.html > > FreeBSD/ppc CD's are built in src/release/powerpc/mkisoimages.sh with > the following options: > > mkisofs $bootable -r -hfs -part -no-desktop -hfs-volid $LABEL -l -J -L > -o $NAME $* > > You may want to look at Debian and see if there are any differences > there. Hmmm, maybe we should be using the "-apple" option. Another > unpleasant job would be to dig into QEMU's OFW emulation code > (http://perso.magic.fr/l_indien/OpenHackWare/index.htm) and try and > work out what is going on. The Debian seems to have a couple other options: --iso-level 2 --netatalk --chrp-boot -hfs-parms MAX_XTCSIZE=$newsize Besides chrp-boot, which I need to look into, I don't think there's a lot there that makes a huge difference. Thanks for the pointers. I'll look further. Cheers, Dan