From owner-freebsd-ppc@freebsd.org Sat Oct 13 20:08:14 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6695110D42F9 for ; Sat, 13 Oct 2018 20:08:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E773D8881A for ; Sat, 13 Oct 2018 20:08:13 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from comporellon.tachypleus.net (cpe-75-82-218-62.socal.res.rr.com [75.82.218.62]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id w9DK85fZ016500 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 13 Oct 2018 13:08:05 -0700 Subject: Re: FreeBSD 12.0-ALPHA4 fails to boot on POWER9/KVM To: freebsd-ppc@freebsd.org References: <5d84652d-8b54-19f9-1396-e7c9acbe6c03@neo-zeon.de> <5f44c6d6-7eec-6732-6fef-123e7e0d3292@freebsd.org> <2b4455f4-37f6-5645-dcba-2cc41c845ae8@neo-zeon.de> <0a970b75-160a-e40e-b360-1b73a753f701@freebsd.org> <573eb381-35f0-5523-3d6a-77a01174bdc8@blastwave.org> From: Nathan Whitehorn Openpgp: preference=signencrypt Autocrypt: addr=nwhitehorn@freebsd.org; keydata= xsFNBFuARN8BEADLKYsG3l1aq/M21R59I/5EsEfvtvd15ZJ9lDHcWPuxzIfGnu2LMpe5PrFP e/Y4bcsPrlB4S3I3ooIUDvoEEsDeqgqlZod3QevOK/RjLqiqx1i/4mKnobJ++3ppyVVIccgN sUrj786OYCFCI/W+uWw7cbKewNeaL//Z/TDKlHLkssiy6qmZb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9xf28hen8vWGtXwq4bWmZT5H8bBqXigA4bUU4nN4X3xEDfTyqkQMuDTnnwT7Y61B4QEqhi4a q4adf/KP0l1UCg4CJ0KS931Han+VbiuUcbadu1ZX37Ef6g/hG+mt59FeXDMU0rers2Bpr8zB 8ywojAsVC92kvOHLsCQtdCsPzC+R6B1bY6/Re9slM1NBd+2k4BUVhYu8Fb8Ir37OmN0aGQzY uRczfrmR/OV5/1+g5XeYSFbq/0Q3KkFWLHfimff8lb9GRWrdvOUpYyGluv49b/G5o9lSxPwX yBfaoVi/WDDfJ/XJw9H90XK68TYxPfEQkeuLEEzg+Bz3Zeduyo2Zx4S5apLqAbv0RzduXgIG YZVPu8R4ya8nQWHeUpot17lt8SL7yFkMJaAXk27QqUAaxjqnGBLn70YMWXFGySfvjgaR1Ftu /S/HSKqH7m8aFYZftqs7ZojXNdqGHZKRrIx6hRUYuZQM8uxHDweF4jF+QIwYIUmtry5h8iti Sjt9KHjpkH3Wz5o1mk6cbFNN+wgpHplDl/iZMZjFskTAJfEsYHVSSm21zcYvvogrbqYvciMT ty65+0A8Gz9tMbcNx9ePaGoM+9jeFehrzTjdaiTiC+umSd/Y29DCW4OBMr1VfufVVKbfAQ== Message-ID: <557519fc-a1f7-4a78-ee77-eae6f96d3a5e@freebsd.org> Date: Sat, 13 Oct 2018 13:08:05 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Sonic-CAuth: UmFuZG9tSVZpqrC9iuosNBU02GcCzYKsVZABAplnvtNvn6qsqYXb4Av2TAWDQaqz1Uiqs3mOCnTi6DFAM5Wyi9LS/irfdB6RkLC68Wc1mcs= X-Sonic-ID: C;jMQfsiPP6BGXNucbDaCztA== M;VHxesiPP6BGXNucbDaCztA== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2018 20:08:14 -0000 On 10/13/18 12:53 PM, Cameron Berkenpas wrote: > Hello, > > Finally had some time to spin up my own ISO from 12-CURRENT. > Unfortunately, it still fails. Looks like there's no real change from > before. > > # This is how I built the cdrom image: > make cdrom TARGET=powerpc TARGET_ARCH=powerpc64 > make cdrom TARGET=powerpc TARGET_ARCH=powerpc64 > > I tried this with revision r339340. [...] > > >> FreeBSD/powerpc Open Firmware boot block >    Boot path:   /pci@800000020000000/scsi@7/disk@100000100000000 >    Boot loader: /boot/loader >    Boot volume:   /pci@800000020000000/scsi@7/disk@100000100000000:2 > Consoles: Open Firmware console > > FreeBSD/powerpc64 Open Firmware loader, Revision 0.1 > (Sun Aug 19 13:30:54 PDT 2018 root@freebsd-ppc) I think you aren't using the loader you think you are using judging by the date above. -Nathan > Memory: 2097152KB > Booted from: /pci@800000020000000/scsi@7/disk@100000100000000 > > > block-size NOT FOUND > #blocks NOT FOUND| > block-size NOT FOUND > #blocks NOT FOUND\ > block-size NOT FOUND > #blocks NOT FOUND > > ( 700 ) Program Exception [ 0 ] > > >     R0 .. R7           R8 .. R15         R16 .. R23         R24 .. R31 > 0000000000000040   000000000345cdc4   ffffffffffffffff 0000000002c50468 > 0000000002c548c0   0000000000000000   0000000002c56ba0 0000000002c513a0 > 0000000000000000   0000000002c67780   0000000002c56b98 0000000002c51c18 > 000000000345d8f0   0000000002c67300   0000000002c62200 000000000345d8f0 > 0000000002c67340   0000000020000048   000000000040e78e 0000000000000000 > 0000000000000000   0000000000000000   0000000001802118 0000000000000000 > 0000000000000040   0000000002c4baec   0000000002c71980 0000000000000000 > 0000000000000040   000000007fffffff   0000000002c5bb84 000000000345d8f0 > >     CR / XER           LR / CTR          SRR0 / SRR1        DAR / DSISR >         80000044   0000000002c02938   0000000000000000 0000000000000000 > 0000000020040000   0000000000000000   0000000000083000 00000000 > > > e > > > Hope this is helpful! > > On 10/11/2018 12:00 PM, Dennis Clarke wrote: >> On 10/11/2018 02:50 PM, Mark Millard wrote: >>> On 2018-Oct-11, at 11:19 AM, Dennis Clarke >> blastwave.org> wrote: >>> >>>> On 10/10/2018 11:59 PM, Nathan Whitehorn wrote: >>>>> The first part of this (all the errors about "NOT FOUND") I just >>>>> fixed >>>>> and the fixes will be included in BETA1 and subsequent builds. The >>>>> remaining issue is that virtio SCSI is not part of the standard >>>>> kernel >>>>> on PPC (there are some endian and DMA bugs), so you will need to >>>>> use an >>>>> alternative storage backend. The default storage backend (VSCSI) is >>>>> fine, as are more PC-ish things like AHCI emulation. >>>>> This command line will work and is otherwise equivalent to the below: >>>>> qemu-system-ppc64 -enable-kvm -m 2048 -nographic -vga none -cdrom >>>>> FreeBSD-12.0-ALPHA9-powerpc-powerpc64-20181009-r339271-disc1.iso >>>>> /var/lib/libvirt/images/freebsd-ppc.qcow2 -mem-prealloc -mem-path >>>>> /dev/hugepages -smp 2 >>>>> -Nathan >>>> >>>> >>>> Has anyone tried this on a PowerMac G5 yet ? >>> >>> "this"? I'm unsure if the following is addressing what you are >>> referring to or not. But it might be. >>> >>> Until the problems with -r334498 's adjustment to VM_MAX_KERNEL_ADDRESS >>> are dealt with, PowerMac G5's have boot problems (and possibly other >>> problems), at least those with multiple sockets (for what I can test). >>> (I've no access to other forms of PowerMac G5's.) >>> >>> See: >>> >>> https://lists.freebsd.org/pipermail/freebsd-ppc/2018-October/009669.html >>> >>> >>> and later in that thread. (Earlier in the thread is likely a waste >>> of time >>> to read, given what is now known.) >>> >>> My G5 contexts are operational by reverting -r334498 . The contexts are >>> otherwise based on -r339076 currently. >>> >>> >>> Note: >>> >>> My boot test on a 8 GiByte, dual-socket, one "CPU" per socket, >>> PowerMac G5 met the conditions of Andreas Tobler's requested test >>> conditions and the machine boot fine (VM_MAX_KERNEL_ADDRESS near >>> the RAM size, on the low side). >>> >>> The G5 so-called "Quad Core"s, 4 cores total in each system but >>> split evenly across 2 sockets in each), one with 12 GiByte and >>> one with 16 GiByte of RAM, booted fine as well. But >>> VM_MAX_KERNEL_ADDRESS was somewhat under 8GiByte and so not near >>> those sizes. >>> >> >> >> OKay ... that is a lot of good information and I'll sum up as "no". >> >> Was merely curious if I should give it a try. >> >> Dennis >> >> >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >