Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2018 08:10:12 -0700
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Michael Tuexen <Michael.Tuexen@macmic.franken.de>
Cc:        freebsd-ppc@freebsd.org, Warner Losh <imp@bsdimp.com>
Subject:   Re: FreeBSD 12.0-ALPHA4 fails to boot on POWER9/KVM
Message-ID:  <ff249f1e-9c2d-013a-1a37-cc79a261fbac@freebsd.org>
In-Reply-To: <E610CDE0-7BEE-4E79-BB15-9FB023690BA5@macmic.franken.de>
References:  <5d84652d-8b54-19f9-1396-e7c9acbe6c03@neo-zeon.de> <CAHSQbTAgow0yESJo-oV83Oq9ePzwoOL_viUxNirYmeOXy_2zmg@mail.gmail.com> <a9aed989-9ea0-4e34-0619-7d54ddc28ea6@neo-zeon.de> <5f44c6d6-7eec-6732-6fef-123e7e0d3292@freebsd.org> <E610CDE0-7BEE-4E79-BB15-9FB023690BA5@macmic.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
The 32 and 64-bit loaders are identical binaries, so the issue is
probably universal.
-Nathan

On 9/4/18 12:18 AM, Michael Tuexen wrote:
>> On 4. Sep 2018, at 07:13, Nathan Whitehorn <nwhitehorn@freebsd.org> wrote:
>>
>> Maybe this is Lua loader fallout? The problem seems to be entirely in
>> the boot loader.
> At least the problem I reported earlier to this list regarding booting
> a G4 system is related to the lua loader.
>
> When installing the fourth loader, booting works, when installing
> the lua loader, booting fails with the output given.
>
> However, this is on a 32-bit PPC machine. Can't test on a 64-bit PPC
> machine.
>
> Best regards
> Michael
>> -Nathan
>>
>> On 9/3/18 9:54 PM, Cameron Berkenpas wrote:
>>> Hello,
>>>
>>> Argh. I went out of my way to select the right ISO image and then
>>> apparently still grabbed the wrong one without noticing the name.
>>>
>>> I went and tried this image:
>>> FreeBSD-12.0-ALPHA4-powerpc-powerpc64-20180831-r338410-disc1.iso
>>>
>>> Still the same issue though.
>>>
>>> Thanks!
>>>
>>> On 09/03/2018 07:42 PM, Justin Hibbits wrote:
>>>> Hello Cameron,
>>>>
>>>> On Sun, Sep 2, 2018 at 11:15 PM Cameron Berkenpas <cam@neo-zeon.de>
>>>> wrote:
>>>>> Hello,
>>>>>
>>>>> It seems that FreeBSD 12.0-ALPHA4 is having trouble booting on KVM on
>>>>> POWER9 (Talos II).
>>>>>
>>>>> Here's the image I've tried:
>>>>> FreeBSD-12.0-ALPHA4-powerpc-powerpcspe-20180831-r338410-disc1.iso
>>>>>
>>>> The powerpcspe ISO won't work on a Talos.  I don't even expect that
>>>> particular ISO to work at all, given the nature of the architecture.
>>>> For Talos, and IBM POWER* in general, you need the powerpc64 ISO.
>>>>
>>>> I don't know if that will solve your problem, given the errors printed
>>>> below, but it's at least a first step.
>>>>
>>>> - Justin
>>>>
>>>>
>>>>> It fails regardless of whether I run kvm from the console or through
>>>>> virt-manager.
>>>>>
>>>>> Seems to be disk related... I get the messages below regardless of
>>>>> whether I try to boot from CD-ROM or disk. I've tried all disk types
>>>>> for
>>>>> both (usb, scsi, sata, virtio, etc).
>>>>>
>>>>> It's important to note that this worked on an older snapshot of
>>>>> 12.0-CURRENT, though I don't know the last specific working revision I
>>>>> tried.
>>>>>
>>>>> Here's the output:
>>>>>
>>>>> SLOF
>>>>> **********************************************************************
>>>>> QEMU Starting
>>>>>    Build Date = Sep 24 2017 12:23:07
>>>>>    FW Version = buildd@ release 20170724
>>>>>    Press "s" to enter Open Firmware.
>>>>>
>>>>> Populating /vdevice methods
>>>>> Populating /vdevice/vty@71000000
>>>>> Populating /vdevice/nvram@71000001
>>>>> Populating /vdevice/v-scsi@71000002
>>>>>          SCSI: Looking for devices
>>>>>             8200000000000000 CD-ROM   : "QEMU     QEMU CD-ROM 2.5+"
>>>>> Populating /pci@800000020000000
>>>>>                        00 0000 (D) : 8086 100e    e1000 [ net ]
>>>>> No NVRAM common partition, re-initializing...
>>>>> Scanning USB
>>>>> Using default console: /vdevice/vty@71000000
>>>>>
>>>>>
>>>>>
>>>>>     Welcome to Open Firmware
>>>>>
>>>>>     Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
>>>>>     This program and the accompanying materials are made available
>>>>>     under the terms of the BSD License available at
>>>>>     http://www.opensource.org/licenses/bsd-license.php
>>>>>
>>>>>
>>>>> Trying to load:  from: /vdevice/v-scsi@71000002/disk@8200000000000000
>>>>> ...   Successfully loaded
>>>>> Consoles: Open Firmware console
>>>>>
>>>>> FreeBSD/powerpcspe Open Firmware loader, Revision 0.1
>>>>> (Fri Aug 31 17:53:54 UTC 2018 root@releng3.nyi.freebsd.org)
>>>>> Memory: 33554432KB
>>>>> Booted from: /vdevice/v-scsi@71000002/disk@8200000000000000
>>>>>
>>>>>
>>>>> block-size NOT FOUND
>>>>> #blocks NOT FOUNDSCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> /
>>>>> block-size NOT FOUND
>>>>> #blocks NOT FOUNDSCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> SCSI-DISK: Access beyond end of device !
>>>>> \
>>>>> block-size NOT FOUND
>>>>> #blocks NOT FOUND
>>>>>
>>>>> ( 700 ) Program Exception [ 0 ]
>>>>>
>>>>>
>>>>>       R0 .. R7           R8 .. R15         R16 .. R23         R24 ..
>>>>> R31
>>>>> 000000000000000b   000000000345ddd4   ffffffffffffffff 0000000002c50dd8
>>>>> 0000000002c559e0   0000000028686561   0000000002c57c50 0000000002c51d10
>>>>> 0000000000000000   0000000002c68540   0000000002c57c48 0000000002c52594
>>>>> 000000000345e900   0000000002c68280   0000000002c63300 0000000000000000
>>>>> 0000000002c682c0   0000000020000048   0000000000000000 000000000345e900
>>>>> 0000000000000000   0000000000000000   0000000000000000 0000000000000000
>>>>> 0000000000000040   0000000000000000   0000000002c6eb00 0000000000000000
>>>>> 0000000000000008   000000007fffffff   0000000002c5cb04 000000000345e900
>>>>>
>>>>>       CR / XER           LR / CTR          SRR0 / SRR1        DAR /
>>>>> DSISR
>>>>>           80000044   0000000002c029f0   0000000028686560
>>>>> 0000000000000000
>>>>> 0000000020040000   0000000028686561   0000000000083000 00000000
>>> _______________________________________________
>>> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff249f1e-9c2d-013a-1a37-cc79a261fbac>