Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issues with NetBSD 8.1 macppc



On 30/10/2019 14:07, Joerg Sonnenberger wrote:

> On Tue, Oct 08, 2019 at 05:03:30AM +0100, Mark Cave-Ayland wrote:
>> 2) Can you see any error messages booting with -nographic (this redirects the screen
>> device to a serial TTY which is output to the console)?
> 
> Hello Mark,
> I run into the same issues while trying to get the automated testing with
> Anita to work. After some suggestions from Michael, I tracked it down to 
>   https://anonhg.netbsd.org/src/file/ccc87740ba45/sys/arch/powerpc/oea/ofw_autoconf.c#l140
> 
> Commenting out that OF_finddevice call fixes the boot. While booting
> from CD-ROM, it tries to lookup:
>   /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0/netbsd
> in qemu 4.1.0. Any further ideas on how to trace this down?

Hi Joerg,

So just to confirm that this is cause of the XXXX error message that you see? If I
load qemu-system-ppc and try and list the contents of the various partitions on the
NetBSD 8.1 CDROM then I see this:

$ ./qemu-system-ppc -cdrom /home/build/src/qemu/image/ppc/NetBSD-8.1-macppc.iso
-nographic -M mac99 -boot d

>> =============================================================
>> OpenBIOS 1.1 [Oct 28 2019 17:09]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
Welcome to OpenBIOS v1.1 built on Oct 28 2019 17:09
Trying cd:,\\:tbxi...
No valid state has been set by load or init-program

0 > dir /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0,\ mac-parts: Unable to determine
filesystem
 ok
0 > dir /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:1,\ mac-parts: Unable to determine
filesystem
 ok
0 > dir /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:2,\ mac-parts: Unable to determine
filesystem
 ok
0 > dir /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:3,\
     24576 2019-10-08 12:49:44 Desktop DB
         0 2019-10-08 12:49:44 Desktop DF
    327680 2019-10-08 12:49:44 macppc\
     63762 2019-10-08 12:49:42 ofwboot
    349998 2019-10-08 12:49:41 ofwboot.xcf
    131072 2019-10-08 12:49:44 shared\
 ok
0 >

Certainly we can see that trying to open
"/pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0/netbsd" via the firmware will fail here
as partition 0 isn't recognised.

Is there actually a partition 0 present on the 8.1 ISO, and if so does it contain a
netbsd file in its root directory and do you know what filesystem type it is?


ATB,

Mark.


Home | Main Index | Thread Index | Old Index