On Mon, May 17, 2021 at 09:55:01PM -0500, Tony Asleson wrote: > I pulled a G5 I had sitting in a closed and followed the docs for > macppc install. I booted from a CD and did a mbr install. At the end > I see the installer installs a mp kernel as /bsd. The processor is > dual core, so makes sense. Everything went fine and I rebooted to the > Open Firmware ok prompt. When I try to boot /bsd I see the following: > > [ using 1322900 bytes of bsd ELF symbol table ] > console out [NVDA,Display-B] console in [keyboard], using USB > using parent NVDA,Parent:: memaddr a2000000, size 20000 : consaddr > 90020000 : ioaddr a1000000, size 1000000: width 1600 linebytes 2048 > height 1200 depth 8
The addresses that it gets out of openfirmware are beyond the usable memory of OpenBSD/macppc which is at a 2 GB limit. Perhaps this is why. This is the memory ceiling: 2147483648 bytes, and you have a consaddr of 0x90020000 which is at decimal 2416050176 bytes offset, which is beyond this ceiling. Unless you're dual booting with Mac OS X, I'd take some memory out so that you're at exactly 2 GB, perhaps openfirmware will give different offsets then? This is just my guess, with this. I don't know why single user would work though... Best Regards, -peter > and it just sits there, and then after a bit the fans spin up. I > power cycle the box, get to the Open Firmware ok prompt and boot > /bsd.sp and it works. > > Full dmesg output from bsd.sp boot. > > [ using 1320548 bytes of bsd ELF symbol table ] > console out [NVDA,Display-B] console in [keyboard], using USB > using parent NVDA,Parent:: memaddr a2000000, size 20000 : consaddr > 90020000 : ioaddr a1000000, size 1000000: width 1600 linebytes 2048 > height 1200 depth 8 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2021 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 6.9 (GENERIC) #874: Mon Apr 19 02:55:31 MDT 2021 > dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC > real mem = 2147483648 (2048MB) > avail mem = 2045521920 (1950MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root: model PowerMac11,2 > cpu0 at mainbus0: 970MP (Revision 0x101): 2300 MHz > cpu at mainbus0 not configured > mem0 at mainbus0 > spdmem0 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5 > spdmem1 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5 > spdmem2 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5 > spdmem3 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5 > spdmem4 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5 > spdmem5 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5 > 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 > hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources > pci2 at hpb0 bus 2 > ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 > pci3 at ppb0 bus 4 > ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3 > pci4 at ppb1 bus 5 > bge0 at pci4 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 > (0x8003)bge0: nvram lock timed out > : irq 66, address 00:16:cb:39:54:c4 > brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0 > bge1 at pci4 dev 4 function 1 "Broadcom BCM5780" rev 0x03, BCM5714 B3 > (0x8003)bge1: nvram lock timed out > : irq 67, address 00:16:cb:39:54:c5 > 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 > pci5 at ppb2 bus 6 > qle0 at pci5 dev 0 function 0 "QLogic ISP2432" rev 0x02: irq 65 > qle0: firmware rev 4.0.20, attrs 0x2 > scsibus1 at qle0: 2048 targets, WWPN 2100001b321ec356, WWNN 2000001b321ec356 > ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 > pci6 at ppb3 bus 7 > ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 > pci7 at ppb4 bus 8 > ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3 > pci8 at ppb5 bus 9 > 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 > zs0 at macobio0 offset 0x13000: irq 23,24 > zstty0 at zs0 channel 0 > zstty1 at zs0 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 configuration 1 interface 0 "NEC EHCI root hub" rev > 2.00/1.00 addr 1 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev > 1.00/1.00 addr 1 > usb2 at ohci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "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: <WDC WD2500JS-41MVB1> > wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 > 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 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, Q002> 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 > uhub3 at uhub2 port 1 configuration 1 interface 0 "Mitsumi Electric > Hub in Apple Extended USB Keyboard" rev 1.10/4.20 addr 2 > uhidev0 at uhub3 port 1 configuration 1 interface 0 "Fujitsu Component > Apple Optical USB Mouse" rev 1.10/1.01 addr 3 > uhidev0: iclass 3/1 > ums0 at uhidev0: 1 button > wsmouse0 at ums0 mux 0 > uhidev1 at uhub3 port 3 configuration 1 interface 0 "Mitsumi Electric > Apple Extended USB Keyboard" rev 1.10/4.20 addr 4 > uhidev1: iclass 3/1 > ukbd0 at uhidev1: 8 variable keys, 6 key codes > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > uhidev2 at uhub3 port 3 configuration 1 interface 1 "Mitsumi Electric > Apple Extended USB Keyboard" rev 1.10/4.20 addr 4 > uhidev2: iclass 3/0, 3 report ids > uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0 > uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > bootpath: /ht/pci@9/k2-sata-root/k2-sata@0/disk@0:/bsd.sp > root on wd0a (5a778ff7783f5f8b.a) swap on wd0b dump on wd0b > WARNING: bad clock chip time > WARNING: CHECK AND RESET THE DATE! > > It does appear that I need a new battery. I also see this in the log: > reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC/relink.log > > # cat /usr/share/relink/kernel/GENERIC/relink.log > (SHA256) /bsd: OK > make: don't know how to make newbsd > Stop in /usr/share/relink/kernel/GENERIC > > Suggestions? > > Thanks, > Tony >