On Sat, 15 Aug 2015, Donovan Watteau wrote: > Hi, > > I saw some new PowerMac11,2 support in plus58.html. It mentions a > Quad G5, while I have a Dual Core G5 (and an NVIDIA...), so here's > what happens. > > I'm booting cd58.iso, with "boot cd:,ofwboot /5.8/macppc/bsd.rd" on > OpenFirmware. > > However, it panics quickly, and the screen gets a bit corrupted > (I have pictures if it helps, this one is copied by hand). > > Copyright (c) 1982, 1986, 1989, 1991, 19[corrupted] > The Regents of the University of[corrupted] > Copyright (c) 1995-2015 OpenBSD. All rig[corrupted]org > > OpenBSD 5.8 (RAMDISK) #644: Thu Aug 6 1[corrupted] > dera...@macppc.openbsd.org:/usr/src/[corrupted]mpile/RAMDISK > real mem = 3758096384 (3584MB) > avail mem = 2019610624 (1926MB) > mainbus0 at root: model PowerMac11,2 > cpu0 at mainbus0: 970MP (Revision 0x101)[corrupted] MHz > cpu at mainbus0 not configured > mem at mainbus0 not configured > memc0 at mainbus0: u4 rev 0x42 > kiic0 at memc0 offset 0xf8001000 > iic0 at kiic0 > "ds1775" at iic0 addr 0x4a not configured > [other corrupted line, but has similarities with the previous line] > "max6690" at iic0 addr 0x4c not configured > "max6690" at iic0 addr 0x4e not configured > "dart" at memc0 offset 0xf8033000 not configured > openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE > mpcpcibr0 at mainbus0 pci: u4-pcie > pci0 at mpcpcibr0 bus 0 > vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio > vgafb0: aperture needed > wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) > ht0 at mainbus0: u3-ht, 10 devices > pci1 at ht0 bus0 > ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 > pci2 at ppb0 bus 4 > ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 > pci3 at ppb1 bus 5 > bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 > (0x8003)panic: trap type 400 at 7000000 (0+0x7000000) lr 333dd8 > halted > ok > 0> > > Then it goes back to OpenFirmware and I can't type anything. > > I have another macppc I can use to compile kernels, if that helps. > > ...
I did some more testing, and it looks like this issue only shows up with bsd.rd. bsd.mp works fine once the system is installed. I had to disable bge(4) with "boot -c" in order to work around this. Here's bsd.rd dmesg, after disabling bge: User Kernel Config UKC> disable bge 76 bge* disabled UKC> quit Continuing... console out [NVDA,Display-A] console in [keyboard], using USB using parent NVDA,Parent:: memaddr 98000000, size 8000000 : consaddr 98020000 : ioaddr 92000000, size 1000000: width 1920 linebytes 2048 height 1080 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.8 (RAMDISK) #644: Thu Aug 6 13:59:43 MDT 2015 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/RAMDISK real mem = 3758096384 (3584MB) avail mem = 2019610624 (1926MB) mainbus0 at root: model PowerMac11,2 cpu0 at mainbus0: 970MP (Revision 0x101): 2000 MHz cpu at mainbus0 not configured mem at mainbus0 not configured memc0 at mainbus0: u4 rev 0x42 kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 "ds1775" at iic0 addr 0x4a not configured "ds1631" at iic0 addr 0x4b not configured "max6690" at iic0 addr 0x4c not configured "max6690" at iic0 addr 0x4e not configured "dart" at memc0 offset 0xf8033000 not configured openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE mpcpcibr0 at mainbus0 pci: u4-pcie pci0 at mpcpcibr0 bus 0 vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio vgafb0: aperture needed wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) ht0 at mainbus0: u3-ht, 10 devices pci1 at ht0 bus 0 ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 pci2 at ppb0 bus 4 ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 pci3 at ppb1 bus 5 "Broadcom BCM5780" rev 0x03 at pci3 dev 4 function 0 not configured "Broadcom BCM5780" rev 0x03 at pci3 dev 4 function 1 not configured ppb2 at pci1 dev 3 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci4 at ppb2 bus 6 ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci5 at ppb3 bus 7 ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci6 at ppb4 bus 8 ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci7 at ppb5 bus 9 hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources pci8 at hpb0 bus 2 ppb6 at pci1 dev 8 function 0 "Apple Shasta PCI" rev 0x00 pci9 at ppb6 bus 1 macobio0 at pci9 dev 7 function 0 "Apple Shasta" rev 0x00 macgpio0 at macobio0 offset 0x50 "smu-doorbell" at macgpio0 offset 0x12 not configured "smu-interrupt" at macgpio0 offset 0xd not configured "programmer-switch" at macgpio0 offset 0xc not configured "chip-fault" at macgpio0 offset 0xe not configured "slewing-done" at macgpio0 offset 0x38 not configured "mlb-good" at macgpio0 offset 0x13 not configured "vdnap0" at macgpio0 offset 0x14 not configured "timebase-enable" at macgpio0 offset 0x26 not configured "amp-mute" at macgpio0 offset 0x30 not configured "dig-hw-reset-c" at macgpio0 offset 0x9 not configured "codec-error-irq" at macgpio0 offset 0x32 not configured "codec-clock-mux" at macgpio0 offset 0x31 not configured "headphone-detect" at macgpio0 offset 0x2c not configured "headphone-mute" at macgpio0 offset 0x2f not configured "hw-reset" at macgpio0 offset 0xa not configured "lineout-detect" at macgpio0 offset 0x28 not configured "linein-detect" at macgpio0 offset 0x2a not configured "lineout-mute" at macgpio0 offset 0x2e not configured "escc-legacy" at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 23,24 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 "i2c" at macobio0 offset 0x18000 not configured "i2s" at macobio0 offset 0x0 not configured "timer" at macobio0 offset 0x15000 not configured ohci0 at pci9 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0 ohci1 at pci9 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0 ehci0 at pci9 dev 11 function 2 "NEC USB" rev 0x04: irq 70 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1 ppb7 at pci1 dev 9 function 0 "Apple Shasta PCI" rev 0x00 pci10 at ppb7 bus 3 pciide0 at pci10 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA pciide0: using irq 10 for native-PCI interrupt pciide0: port 0: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: <HDS722516VLSA80> wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: port 1: PHY offline kauaiata0 at pci10 dev 13 function 0 "Apple Shasta ATA" rev 0x00 wdc0 at kauaiata0 irq 38: DMA atapiscsi0 at wdc0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, C006> ATAPI 5/cdrom removable cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 "Apple Shasta Firewire" rev 0x00 at pci10 dev 14 function 0 not configured smu0 at mainbus0 uhidev0 at uhub1 port 2 configuration 1 interface 0 "vendor 0x04f3 product 0x0103" rev 1.10/1.07 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub1 port 2 configuration 1 interface 1 "vendor 0x04f3 product 0x0103" rev 1.10/1.07 addr 2 uhidev1: iclass 3/0, 2 report ids uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 softraid0 at root scsibus1 at softraid0: 256 targets bootpath: /ht/pci@9/ata-6/disk@0:/5.8/macppc/bsd.rd root on rd0a swap on rd0b dump on rd0b WARNING: unable to get date/time -- CHECK AND RESET THE DATE! And here's bsd.mp dmesg: [ using 551356 bytes of bsd ELF symbol table ] console out [NVDA,Display-A] console in [keyboard], using USB using parent NVDA,Parent:: memaddr 98000000, size 8000000 : consaddr 98020000 : ioaddr 92000000, size 1000000: width 1920 linebytes 2048 height 1080 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.8 (GENERIC.MP) #728: Sun Aug 16 05:05:32 MDT 2015 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC.MP real mem = 3758096384 (3584MB) avail mem = 2019983360 (1926MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: model PowerMac11,2 cpu0 at mainbus0: 970MP (Revision 0x101): 2000 MHz cpu1 at mainbus0: 970MP (Revision 0x101): 2000 MHz mem0 at mainbus0 spdmem0 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5 spdmem1 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5 spdmem2 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5 spdmem3 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5 spdmem4 at mem0: 256MB DDR2 SDRAM non-parity PC2-4200CL4 spdmem5 at mem0: 256MB DDR2 SDRAM non-parity PC2-4200CL4 memc0 at mainbus0: u4 rev 0x42 kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 lmtemp0 at iic0 addr 0x4a: ds1775 maxds0 at iic0 addr 0x4b: ds1631 maxtmp0 at iic0 addr 0x4c: max6690 maxtmp1 at iic0 addr 0x4e: max6690 "dart" at memc0 offset 0xf8033000 not configured openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE mpcpcibr0 at mainbus0 pci: u4-pcie pci0 at mpcpcibr0 bus 0 vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) ht0 at mainbus0: u3-ht, 10 devices pci1 at ht0 bus 0 ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 pci2 at ppb0 bus 4 ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 pci3 at ppb1 bus 5 bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 66, address XXX brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0 bge1 at pci3 dev 4 function 1 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 67, address XXX brgphy1 at bge1 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0 ppb2 at pci1 dev 3 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci4 at ppb2 bus 6 ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci5 at ppb3 bus 7 ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci6 at ppb4 bus 8 ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 pci7 at ppb5 bus 9 hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources pci8 at hpb0 bus 2 ppb6 at pci1 dev 8 function 0 "Apple Shasta PCI" rev 0x00 pci9 at ppb6 bus 1 macobio0 at pci9 dev 7 function 0 "Apple Shasta" rev 0x00 macgpio0 at macobio0 offset 0x50 "smu-doorbell" at macgpio0 offset 0x12 not configured "smu-interrupt" at macgpio0 offset 0xd not configured "programmer-switch" at macgpio0 offset 0xc not configured "chip-fault" at macgpio0 offset 0xe not configured "slewing-done" at macgpio0 offset 0x38 not configured "mlb-good" at macgpio0 offset 0x13 not configured "vdnap0" at macgpio0 offset 0x14 not configured "timebase-enable" at macgpio0 offset 0x26 not configured "amp-mute" at macgpio0 offset 0x30 not configured "dig-hw-reset-c" at macgpio0 offset 0x9 not configured "codec-error-irq" at macgpio0 offset 0x32 not configured "codec-clock-mux" at macgpio0 offset 0x31 not configured "headphone-detect" at macgpio0 offset 0x2c not configured "headphone-mute" at macgpio0 offset 0x2f not configured "hw-reset" at macgpio0 offset 0xa not configured "lineout-detect" at macgpio0 offset 0x28 not configured "linein-detect" at macgpio0 offset 0x2a not configured "lineout-mute" at macgpio0 offset 0x2e not configured "escc-legacy" at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 23,24 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 kiic1 at macobio0 offset 0x18000 iic1 at kiic1 "pcm3052" at iic1 addr 0x46 not configured "cs8416" at iic1 addr 0x12 not configured onyx0 at macobio0 offset 0x0: irq 28,11,12 "timer" at macobio0 offset 0x15000 not configured audio0 at onyx0 ohci0 at pci9 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0 ohci1 at pci9 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0 ehci0 at pci9 dev 11 function 2 "NEC USB" rev 0x04: irq 70 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1 ppb7 at pci1 dev 9 function 0 "Apple Shasta PCI" rev 0x00 pci10 at ppb7 bus 3 pciide0 at pci10 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA pciide0: using irq 10 for native-PCI interrupt pciide0: port 0: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: <HDS722516VLSA80> wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: port 1: PHY offline kauaiata0 at pci10 dev 13 function 0 "Apple Shasta ATA" rev 0x00 wdc0 at kauaiata0 irq 38: DMA atapiscsi0 at wdc0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, C006> ATAPI 5/cdrom removable cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 "Apple Shasta Firewire" rev 0x00 at pci10 dev 14 function 0 not configured smu0 at mainbus0 iic2 at smu0 "smu-sat" at iic2 addr 0x58 not configured "smu-pulsar" at iic2 addr 0x6a not configured uhidev0 at uhub1 port 2 configuration 1 interface 0 "Elan product 0x0103" rev 1.10/1.07 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub1 port 2 configuration 1 interface 1 "Elan product 0x0103" rev 1.10/1.07 addr 2 uhidev1: iclass 3/0, 2 report ids uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets bootpath: /ht/pci@9/k2-sata-root/k2-sata@0/disk@0:/bsd root on wd0a (a1631327f82d6e92.a) swap on wd0b dump on wd0b WARNING: unable to get date/time -- CHECK AND RESET THE DATE! Except for this bsd.rd bug, it works great (well, X doesn't like the NVIDIA videocard, but I'll find an ATI). Thanks to Martin and whoever helped making this possible.