On Sat, 23 Oct 2021 11:32:13 +0200
Florian Märkl <open...@florianmaerkl.de> wrote:

> Hi,
> 
> I am trying to install OpenBSD 7.0 macppc on a PoweMac7,3, 2x 2.5GHz.
> The install70.iso boots up just fine, but none of my two hard drives, which 
> are connected using SATA, are recognized by the installer.
> ...
> pciide0 at pci8 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
> pciide0: using irq 0 for native-PCI interrupt
> pciide0: port 0: 1.5Gb/s
> pciide0: port 1: 1.5Gb/s
> pciide0: port 2: PHY offline
> pciide0: port 3: PHY offline

I hear that the pciide bus in G5s might fail to detect some recent
SATA III (6Gb/s) drives [1] [2] [3].  I don't know which drives work,
and which drives don't work.  The drive in my G5 PowerMac7,3 happens
to work, but it is an old hard disk from around 2010 (still newer than
Apple's original disk).  My drive probably supports SATA II (3Gb/s),
but pciide is SATA I (1.5Gb/s).  I share my dmesg with wd0 at pciide0.

The fans on my PowerMac7,3 are louder in OpenBSD than in Mac OS,
because OpenBSD doesn't have a fan driver; smu(4) doesn't attach.

--George

[1] https://lowendmac.com/2018/watch-out-for-sata-iii-drives-in-sata-ii-macs/
[2] 
https://forums.macrumors.com/threads/power-mac-g5-cant-see-sata-iii-corsair-force-ssd.1350382/
[3] https://discussions.apple.com/thread/5979233

[ using 1310732 bytes of bsd ELF symbol table ]
console out [NVDA,Display-B] console in [keyboard], using USB
using parent NVDA,Parent:: memaddr a0000000, size 10000000 : consaddr a0020000 
: ioaddr 92000000, size 1000000: width 1600 linebytes 2048 height 900 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 7.0-current (GENERIC.MP) #0: Fri Oct 22 19:59:25 EDT 2021
    kern...@virginia.my.domain:/sys/arch/macppc/compile/GENERIC.MP
real mem = 2147483648 (2048MB)
avail mem = 2051629056 (1956MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: model PowerMac7,3
cpu0 at mainbus0: 970FX (Revision 0x301): 2700 MHz
cpu1 at mainbus0: 970FX (Revision 0x301): 2700 MHz
mem0 at mainbus0
spdmem0 at mem0: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at mem0: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem2 at mem0: 1GB DDR SDRAM non-parity PC3200CL2.5
spdmem3 at mem0: 1GB DDR SDRAM non-parity PC3200CL2.5
spdmem4 at mem0: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem5 at mem0: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem6 at mem0: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem7 at mem0: 512MB DDR SDRAM non-parity PC3200CL3.0
memc0 at mainbus0: u3 rev 0x35
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
"pulsar-legacy-slewing" at iic0 addr 0x6a not configured
lmtemp0 at iic0 addr 0x4a: ds1775
maxtmp0 at iic0 addr 0x4c: max6690
maxds0 at iic0 addr 0x4b: ds1631
fcu0 at iic0 addr 0xaf
"pca9556" at iic0 addr 0x18 not configured
adc0 at iic0 addr 0x2c: ad7417
"24256" at iic0 addr 0x50 not configured
"pca9556" at iic0 addr 0x19 not configured
adc1 at iic0 addr 0x2d: ad7417
"24256" at iic0 addr 0x51 not configured
"dart" at memc0 offset 0xf8033000 not configured
"mpic" at memc0 offset 0xf8040000 not configured
mpcpcibr0 at mainbus0 pci: u3-agp
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple K2 AGP" rev 0x00
appleagp0 at pchb0
agp0 at appleagp0: aperture at 0x0, size 0x10000000
vgafb0 at pci0 dev 16 function 0 vendor "NVIDIA", unknown product 0x0045 rev 
0xa1, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
ht0 at mainbus0: u3-ht, 8 devices
pci1 at ht0 bus 0
hpb0 at pci1 dev 1 function 0 "AMD 8131 PCIX" rev 0x12: 3 sources
hpb0: multiple definition for irq 0
pci2 at hpb0 bus 6
hpb1 at pci1 dev 2 function 0 "AMD 8131 PCIX" rev 0x12: 3 sources
hpb1: multiple definition for irq 0
pci3 at hpb1 bus 7
hpb2 at pci1 dev 3 function 0 "Apple U3" rev 0x00: 85 sources
pci4 at hpb2 bus 1
macobio0 at pci4 dev 7 function 0 "Apple K2 Macio" rev 0x60
openpic0 at macobio0 offset 0x40000: version 0x4614 feature 770302 LE
macgpio0 at macobio0 offset 0x50
"pmu-interrupt" at macgpio0 offset 0x9 not configured
"programmer-switch" at macgpio0 offset 0x11 not configured
"modem-reset" at macgpio0 offset 0x1d not configured
"modem-power" at macgpio0 offset 0x1e not configured
"chip-fault" at macgpio0 offset 0x1c not configured
"fcu-interrupt" at macgpio0 offset 0x15 not configured
"fcu-hw-reset" at macgpio0 offset 0x3a not configured
"slewing-done" at macgpio0 offset 0x23 not configured
"line-input-detect" at macgpio0 offset 0xc not configured
"dig-hw-reset" at macgpio0 offset 0x14 not configured
"line-output-detect" at macgpio0 offset 0x16 not configured
"headphone-detect" at macgpio0 offset 0x17 not configured
"codec-input-data-mux" at macgpio0 offset 0xb not configured
"codec-error-irq" at macgpio0 offset 0xd not configured
"codec-irq" at macgpio0 offset 0x18 not configured
"headphone-mute" at macgpio0 offset 0x1f not configured
"amp-mute" at macgpio0 offset 0x20 not configured
"hw-reset" at macgpio0 offset 0x24 not configured
"line-output-mute" at macgpio0 offset 0x25 not configured
"codec-clock-mux" at macgpio0 offset 0x26 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zs0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
aoa0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000
apm0 at adb0: battery flags 0x9, 0% charged
piic0 at adb0
iic2 at piic0
"fans" at macobio0 offset 0x4c not configured
audio0 at aoa0
ohci0 at pci4 dev 8 function 0 "Apple K2 USB" rev 0x00: irq 27, version 1.0, 
legacy support
ohci1 at pci4 dev 9 function 0 "Apple K2 USB" rev 0x00: irq 28, version 1.0, 
legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00 
addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00 
addr 1
ppb0 at pci1 dev 4 function 0 "Apple U3" rev 0x00
pci5 at ppb0 bus 2
ohci2 at pci5 dev 11 function 0 "NEC USB" rev 0x43: irq 63, version 1.0
ohci3 at pci5 dev 11 function 1 "NEC USB" rev 0x43: irq 63, version 1.0
ehci0 at pci5 dev 11 function 2 "NEC USB" rev 0x04: irq 63
usb2 at ehci0: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 
addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 
addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 
addr 1
ppb1 at pci1 dev 5 function 0 "Apple U3" rev 0x00
pci6 at ppb1 bus 3
kauaiata0 at pci6 dev 13 function 0 "Apple K2 ATA" rev 0x00
wdc0 at kauaiata0 irq 39: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SONY, DVD RW DW-Q28A, KAS7> removable
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
"Apple K2 Firewire" rev 0x00 at pci6 dev 14 function 0 not configured
ppb2 at pci1 dev 6 function 0 "Apple U3" rev 0x00
pci7 at ppb2 bus 4
gem0 at pci7 dev 15 function 0 "Apple K2 GMAC" rev 0x00: irq 41, address 
00:11:24:cb:e4:ae
brgphy0 at gem0 phy 1: BCM54K2 10/100/1000baseT PHY, rev. 0
ppb3 at pci1 dev 7 function 0 "Apple U3" rev 0x00
pci8 at ppb3 bus 5
pciide0 at pci8 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
pciide0: using irq 0 for native-PCI interrupt
pciide0: port 0: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <WDC WD8000AARS-00Y5B1>
wd0: 16-sector PIO, LBA48, 763097MB, 1562824368 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 1: PHY offline
pciide0: port 2: PHY offline
pciide0: port 3: PHY offline
uhub5 at uhub3 port 1 configuration 1 interface 0 "Mitsumi Electric Hub in 
Apple Extended USB Keyboard" rev 1.10/1.22 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Mitsumi Electric Apple 
Extended USB Keyboard" rev 1.10/1.22 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub5 port 1 configuration 1 interface 1 "Mitsumi Electric Apple 
Extended USB Keyboard" rev 1.10/1.22 addr 3
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
ucc0 at uhidev1 reportid 3: 12 usages, 10 keys, enum
wskbd1 at ucc0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub5 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/11.10 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /ht/pci@7/k2-sata-root/k2-sata@0/disk@0:/bsd
root on wd0a (190f7887c49c54f8.a) swap on wd0b dump on wd0b

Reply via email to