From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 18 23:15:17 2013 Return-Path: Delivered-To: freebsd-ppc@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 ESMTP id CBEBE200 for ; Wed, 18 Sep 2013 23:15:17 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99B812C4F for ; Wed, 18 Sep 2013 23:15:17 +0000 (UTC) MIME-version: 1.0 Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MTC00H00FLXOG00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 18 Sep 2013 18:15:15 -0500 (CDT) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.9.18.230501, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-67-251.dsl.mdsnwi.sbcglobal.net [76.208.67.251]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MTC00D8AGLEQM30@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 18 Sep 2013 18:15:15 -0500 (CDT) Date: Wed, 18 Sep 2013 18:15:12 -0500 From: Nathan Whitehorn Subject: Re: Merge of projects/pseries branch In-reply-to: To: Joe Nosay Message-id: <523A3400.2030407@freebsd.org> References: <5239A855.4020405@freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130907 Thunderbird/17.0.8 Content-Type: text/plain; CHARSET=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2013 23:15:18 -0000 On 09/18/13 17:13, Joe Nosay wrote: > What's the status of virtualization on Power(64) for FreeBSD? > Did you test this out on your PS3? > No hardware yet, but am hoping soon. > This stuff is designed to work on unvirtualized or paravirtualized POWER systems using the standard IBM hypervisor. Note that this is a different hypervisor than the one running on the PS3, although the same PV infrastructure is useful for both. In principle, the support matrix looks like this -- though bear in mind that this is theoretical and not actually tested in almost all cases: CPU Bare Metal LPAR (Under hypervisor) <= POWER3 Yes (ppc32 only) No POWER4 Yes ppc64 only 970 Yes ppc64 only POWER5-6 No* ppc64 only POWER7-8 No ppc64 only * POWER5 and 6 systems run *only* under the hypervisor, no matter the operating system QEMU's "pseries" target emulates a POWER7 LPAR. On POWER7 and up, as well as on non-Apple 970 and POWER4 systems, it is possible to run KVM on Linux that should just work with 10.0-ALPHA2 at native hardware speed. -Nathan > On Wed, Sep 18, 2013 at 9:19 AM, Nathan Whitehorn > > wrote: > > Yesterday, I merged projects/pseries into HEAD (r255643). To quote > the commit message: > > Log: > Merge in support for PAPR-compliant (Power Architecture Platform > Requirements) systems from the projects/pseries branch. This in > principle > includes all IBM POWER hardware released in the last 15 years > with the > exception of POWER3-based systems when run in 64-bit mode. The main > development target, however, has been the PAPR logical partition > support > that is the default target in KVM on POWER and QEMU -- mileage > may vary > on actual hardware at present. Much of the heavy lifting here > was done > by Andreas Tobler. > > If you want to run this in QEMU (emulators/qemu-devel from ports > works), do something like this: > > cd /usr/src > make buildworld buildkernel TARGET=powerpc TARGET_ARCH=powerpc64 > cd /usr/src/release > make release TARGET=powerpc TARGET_ARCH=powerpc64 > make install DESTDIR=~/pseries > (the above will be the steps re@ takes in the next ALPHA/BETA > release (probably) after ALPHA2) > > qemu-system-ppc64 -m 512 -cdrom ~/pseries/release.iso -monitor > stdio -drive id=root,if=none,file=~/pseries/release.iso -device > usb-storage,drive=root -vga none -usb -net nic,model=e1000,vlan=0 > -net user,vlan=0 > > and switch to the serial port display. You may or may not need to > enter this at the mountroot prompt: > cd9660:/dev/da0 ro > > As you can tell from the length of the QEMU command, we are still > missing a few drivers to run out of the box: > - PAPR LPAR virtualized SCSI > - PAPR LPAR virtualized Ethernet > - QEMU framebuffer > > It is also possible that the CD image you make above will work on > actual IBM hardware. If you happen to have any compatible > hardware, test results would be very interesting! > -Nathan > _______________________________________________ > 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 > " > >