After the feedback about amdgpu being unsupported on the big endian
OpenBSD build, I decided to try a radeondrm supported card, the Radeon
R9 290X ASUS DirectCU II 4GB.

The card works with Debian and a 4k page size on the same workstation.

With OpenBSD, the install procedure detects it requires radeondrm and
bsd.mp kernel

I ran the following commands and it fails badly as you can see below

rcctl enable xenodm
rcctl start xenodm


Notice where it gets to "System checkstop occurred during runtime on
previous boot"

That happened immediately after starting xenodm



[   24.168931] kexec_core: Starting new kernel
>> OpenBSD/powerpc64 BOOT 0.2
probing disks
available root devices: sd0
boot>
booting sd0a:/bsd
Hello, World!
[ using 11659128 bytes of initrd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2022 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 7.2 (GENERIC.MP) #903: Sun Sep 18 08:15:38 MDT 2022

dera...@powerpc64.openbsd.org:/usr/src/sys/arch/powerpc64/compile/GENERIC.MP
real mem  = 137438953472 (131072MB)
avail mem = 130712006656 (124656MB)
random: good seed from bootblocks
mainbus0 at root: T2P9D01 REV 1.01
cpu0 at mainbus0 pir 4: IBM POWER9 2.2, 2700 MHz
cpu0: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu0: 512KB 128b/line 8-way L2 cache
cpu0: 10MB 128b/line 8-way L3 cache
cpu1 at mainbus0 pir c: IBM POWER9 2.2, 2700 MHz
cpu1: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu1: 512KB 128b/line 8-way L2 cache
cpu1: 10MB 128b/line 8-way L3 cache
cpu2 at mainbus0 pir 1c: IBM POWER9 2.2, 2700 MHz
cpu2: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu2: 512KB 128b/line 8-way L2 cache
cpu2: 10MB 128b/line 8-way L3 cache
cpu3 at mainbus0 pir 24: IBM POWER9 2.2, 2700 MHz
cpu3: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu3: 512KB 128b/line 8-way L2 cache
cpu3: 10MB 128b/line 8-way L3 cache
cpu4 at mainbus0 pir 804: IBM POWER9 2.2, 2700 MHz
cpu4: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu4: 512KB 128b/line 8-way L2 cache
cpu4: 10MB 128b/line 8-way L3 cache
cpu5 at mainbus0 pir 80c: IBM POWER9 2.2, 2700 MHz
cpu5: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu5: 512KB 128b/line 8-way L2 cache
cpu5: 10MB 128b/line 8-way L3 cache
cpu6 at mainbus0 pir 81c: IBM POWER9 2.2, 2700 MHz
cpu6: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu6: 512KB 128b/line 8-way L2 cache
cpu6: 10MB 128b/line 8-way L3 cache
cpu7 at mainbus0 pir 824: IBM POWER9 2.2, 2700 MHz
cpu7: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu7: 512KB 128b/line 8-way L2 cache
cpu7: 10MB 128b/line 8-way L3 cache
"bmc" at mainbus0 not configured
"ibm,firmware-versions" at mainbus0 not configured
"ibm,hostboot" at mainbus0 not configured
opal0 at mainbus0: skiboot-9858186
opal0: idle psscr 300332
opalcons0 at opal0
opalsens0 at opal0: "core-temp"
opalsens1 at opal0: "core-temp"
opalsens2 at opal0: "core-temp"
opalsens3 at opal0: "core-temp"
opalsens4 at opal0: "core-temp"
opalsens5 at opal0: "core-temp"
opalsens6 at opal0: "core-temp"
opalsens7 at opal0: "core-temp"
opalsens8 at opal0: "mem-temp"
opalsens9 at opal0: "mem-temp"
opalsens10 at opal0: "mem-temp"
opalsens11 at opal0: "mem-temp"
opalsens12 at opal0: "mem-temp"
opalsens13 at opal0: "mem-temp"
opalsens14 at opal0: "mem-temp"
opalsens15 at opal0: "mem-temp"
opalsens16 at opal0: "mem-temp"
opalsens17 at opal0: "mem-temp"
opalsens18 at opal0: "mem-temp"
opalsens19 at opal0: "mem-temp"
opalsens20 at opal0: "mem-temp"
opalsens21 at opal0: "mem-temp"
opalsens22 at opal0: "mem-temp"
opalsens23 at opal0: "mem-temp"
opalsens24 at opal0: "mem-temp"
opalsens25 at opal0: "mem-temp"
opalsens26 at opal0: "mem-temp"
opalsens27 at opal0: "mem-temp"
opalsens28 at opal0: "mem-temp"
opalsens29 at opal0: "mem-temp"
opalsens30 at opal0: "mem-temp"
opalsens31 at opal0: "mem-temp"
opalsens32 at opal0: "mem-temp"
opalsens33 at opal0: "mem-temp"
opalsens34 at opal0: "mem-temp"
opalsens35 at opal0: "mem-temp"
opalsens36 at opal0: "mem-temp"
opalsens37 at opal0: "mem-temp"
opalsens38 at opal0: "mem-temp"
opalsens39 at opal0: "mem-temp"
opalsens40 at opal0: "proc-energy"
opalsens41 at opal0: "proc-energy"
opalsens42 at opal0: "proc-energy"
opalsens43 at opal0: "proc-energy"
opalsens44 at opal0: "proc-energy"
opalsens45 at opal0: "proc-energy"
opalsens46 at opal0: "proc-in"
opalsens47 at opal0: "proc-in"
opalsens48 at opal0: "proc-in"
opalsens49 at opal0: "proc-in"
opalsens50 at opal0: "proc-power"
opalsens51 at opal0: "proc-power"
opalsens52 at opal0: "proc-power"
opalsens53 at opal0: "proc-power"
opalsens54 at opal0: "proc-power"
opalsens55 at opal0: "proc-power"
opalsens56 at opal0: "proc-temp"
opalsens57 at opal0: "proc-temp"
opalsens58 at opal0: "vrm-curr"
opalsens59 at opal0: "vrm-curr"
opalsens60 at opal0: "vrm-curr"
opalsens61 at opal0: "vrm-curr"
opalsens62 at opal0: "vrm-in"
opalsens63 at opal0: "vrm-in"
opalsens64 at opal0: "vrm-in"
opalsens65 at opal0: "vrm-in"
opalsens66 at opal0: "vrm-temp"
opalsens67 at opal0: "vrm-temp"
ipmi0 at opal0: version 2.0 interface OPAL
"ibm,pcie-slots" at mainbus0 not configured
"ibm,secureboot" at mainbus0 not configured
"imc-counters" at mainbus0 not configured
xics0 at mainbus0
xive0 at mainbus0
"ipl-params" at mainbus0 not configured
"lpcm-opb" at mainbus0 not configured
phb0 at mainbus0: chip 0x0
pci0 at phb0
ppb0 at pci0 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci1 at ppb0 bus 1
phb1 at mainbus0: chip 0x0
pci2 at phb1
ppb1 at pci2 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci3 at ppb1 bus 1
nvme0 at pci3 dev 0 function 0 "Samsung PM9A1 NVMe" rev 0x00: msix, NVMe 1.3
nvme0: SAMSUNG MZVL22T0HBLB-00B00, firmware GXB7401Q, serial S677NX0T204809
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, SAMSUNG MZVL22T0, GXB7>
sd0: 1953514MB, 512 bytes/sector, 4000797360 sectors
phb2 at mainbus0: chip 0x0
pci4 at phb2
ppb2 at pci4 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci5 at ppb2 bus 1
phb3 at mainbus0: chip 0x0
pci6 at phb3
ppb3 at pci6 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci7 at ppb3 bus 1
xhci0 at pci7 dev 0 function 0 "TI xHCI" rev 0x02: msi, xHCI 0.96
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "TI xHCI root hub" rev
3.00/1.00 addr 1
phb4 at mainbus0: chip 0x0
pci8 at phb4
ppb4 at pci8 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci9 at ppb4 bus 1
bge0 at pci9 dev 0 function 0 "Broadcom BCM5719" rev 0x01, BCM5719 A1
(0x5719001), APE firmware NCSI 1.3.12.0: msi, address 2c:09:4d:00:04:63
brgphy0 at bge0 phy 1: BCM5719C 10/100/1000baseT PHY, rev. 0
bge1 at pci9 dev 0 function 1 "Broadcom BCM5719" rev 0x01, BCM5719 A1
(0x5719001), APE firmware NCSI 1.3.12.0: msi, address 2c:09:4d:00:04:64
brgphy1 at bge1 phy 2: BCM5719C 10/100/1000baseT PHY, rev. 0
phb5 at mainbus0: chip 0x0
pci10 at phb5
ppb5 at pci10 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci11 at ppb5 bus 1
ppb6 at pci11 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x04
pci12 at ppb6 bus 2
astfb0 at pci12 dev 0 function 0 "ASPEED Technology AST2000" rev 0x41:
can't map framebuffer
phb6 at mainbus0: chip 0x8
pci13 at phb6
ppb7 at pci13 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci14 at ppb7 bus 1
radeondrm0 at pci14 dev 0 function 0 "ATI Hawaii" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
vendor "ATI", unknown product 0xaac8 (class multimedia subclass hdaudio,
rev 0x00) at pci14 dev 0 function 1 not configured
phb7 at mainbus0: chip 0x8
pci15 at phb7
ppb8 at pci15 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci16 at ppb8 bus 1
phb8 at mainbus0: chip 0x8
pci17 at phb8
ppb9 at pci17 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci18 at ppb9 bus 1
phb9 at mainbus0: chip 0x8
pci19 at phb9
ppb10 at pci19 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci20 at ppb10 bus 1
"psi" at mainbus0 not configured
"psi" at mainbus0 not configured
"vas" at mainbus0 not configured
"vas" at mainbus0 not configured
"vpd" at mainbus0 not configured
"xscom" at mainbus0 not configured
"xscom" at mainbus0 not configured
uhidev0 at uhub0 port 1 configuration 1 interface 0 " USB Keyboard" rev
1.10/4.06 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
uhidev1 at uhub0 port 1 configuration 1 interface 1 " USB Keyboard" rev
1.10/4.06 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
ucc0 at uhidev1 reportid 2: 4 usages, 4 keys, array
wskbd1 at ucc0 mux 1
uhub1 at uhub0 port 3 configuration 1 interface 0 "Aspeed USB Virtual
Hub" rev 2.00/1.00 addr 3
uhidev2 at uhub1 port 1 configuration 1 interface 0 "OpenBMC
virtual_input" rev 2.00/1.00 addr 4
uhidev2: iclass 3/1
ukbd1 at uhidev2: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
uhidev3 at uhub1 port 1 configuration 1 interface 1 "OpenBMC
virtual_input" rev 2.00/1.00 addr 4
uhidev3: iclass 3/1
ums0 at uhidev3: 3 buttons
wsmouse0 at ums0 mux 0
uhub2 at uhub0 port 4 configuration 1 interface 0 "Genesys Logic USB2.0
Hub" rev 2.00/32.98 addr 5
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (60a67625dcd50d84.a) swap on sd0b dump on sd0b
WARNING: /mnt was not properly unmounted
radeondrm0: HAWAII
uhub1: illegal enable change, port 1
[drm] *ERROR* radeon: fence wait timed out.
[drm] *ERROR* radeon: failed testing IB on ring 1 (-60).
[drm] *ERROR* radeon: fence wait timed out.
[drm] *ERROR* radeon: failed testing IB on ring 2 (-60).
[drm] *ERROR* radeon: fence wait timed out.
[drm] *ERROR* radeon: failed testing IB on ring 5 (-60).
radeondrm0: 2560x1440, 32bpp
wsdisplay0 at radeondrm0 mux 1
wskbd0: connecting to wsdisplay0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wsdisplay0: screen 0-5 added (std, vt100 emulation)
Automatic boot in progress: starting file system checks.
/dev/sd0a (60a67625dcd50d84.a): 1899 files, 40978 used, 463733 free (125
frags, 57951 blocks, 0.0% fragmentation)
/dev/sd0a (60a67625dcd50d84.a): MARKING FILE SYSTEM CLEAN
/dev/sd0l (60a67625dcd50d84.l): file system is clean; not checking
/dev/sd0d (60a67625dcd50d84.d): file system is clean; not checking
/dev/sd0f (60a67625dcd50d84.f): file system is clean; not checking
/dev/sd0g (60a67625dcd50d84.g): file system is clean; not checking
/dev/sd0h (60a67625dcd50d84.h): file system is clean; not checking
/dev/sd0k (60a67625dcd50d84.k): file system is clean; not checking
/dev/sd0j (60a67625dcd50d84.j): file system is clean; not checking
/dev/sd0e (60a67625dcd50d84.e): file system is clean; not checking
pf enabled
starting network
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: /bsd: _dumplo not in namelist
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: cron xenodm.
Tue Sep 20 11:17:47 CEST 2022


--== Welcome to Hostboot hostboot-a2ddbf3/hbicore.bin ==--

  3.09971|secure|SecureROM valid - enabling functionality
  5.51335|Booting from SBE side 0 on master proc=00050000
  5.55107|ISTEP  6. 5 - host_init_fsi
  5.73893|ISTEP  6. 6 - host_set_ipl_parms
  6.04397|ISTEP  6. 7 - host_discover_targets
  7.76558|HWAS|PRESENT> DIMM[03]=A0A0A0A000000000
  7.76560|HWAS|PRESENT> Proc[05]=8800000000000000
  7.76561|HWAS|PRESENT> Core[07]=5140005140000000
  7.87796|ISTEP  6. 8 - host_update_master_tpm
  8.38054|SECURE|Security Access Bit> 0x0000000000000000
  8.38055|SECURE|Secure Mode Disable (via Jumper)> 0xC000000000000000
  8.38073|ISTEP  6. 9 - host_gard
  9.85787|================================================
  9.87577|Error reported by prdf (0xE500) EID 0x9000000F
  9.87578|  PRD Signature            : 0x60004 0xC6D10010
  9.89456|  Signature Description    : pu.ex:k0:n0:s0:p00:c4 (L2FIR[16])
Cache line inhibited hit cacheable space
  9.89457|  UserData1   : 0x0006000400000101
  9.89458|  UserData2   : 0xc6d1001000000000
  9.89459|------------------------------------------------
  9.89459|  Callout type             : Hardware Callout
  9.89462|  Target                   : Physical:/Sys0/Node0/Proc0/EQ2/EX0
  9.89463|  Deconfig State           : NO_DECONFIG
  9.89464|  GARD Error Type          : GARD_Fatal
  9.89464|  Priority                 : SRCI_PRIORITY_MED
  9.89465|------------------------------------------------
  9.89466|  System checkstop occurred during runtime on previous boot
  9.89467|------------------------------------------------
  9.89468|  Hostboot Build ID: hostboot-a2ddbf3/hbicore.bin
  9.89469|================================================
 10.36152|HWAS|Applying GARD record for HUID=0x00060004
(Physical:/Sys0/Node0/Proc0/EQ2/EX0) due to 0x9000000F
 10.36165|HWAS|Deconfig HUID 0x00060004, Physical:/Sys0/Node0/Proc0/EQ2/EX0
 10.36983|HWAS|FUNCTIONAL> DIMM[03]=A0A0A0A000000000
 10.36984|HWAS|FUNCTIONAL> Proc[05]=8800000000000000
 10.36986|HWAS|FUNCTIONAL> Core[07]=5100005140000000
 10.38325|ISTEP  6.11 - host_start_occ_xstop_handler
 11.58447|ISTEP  6.12 - host_voltage_config
 11.72830|ISTEP  7. 1 - mss_attr_cleanup
 12.44846|ISTEP  7. 2 - mss_volt
 12.68488|ISTEP  7. 3 - mss_freq
 13.04002|ISTEP  7. 4 - mss_eff_config




Linux/PowerPC load:
Finalizing device tree... flat tree at 0x214590c0
[   99.422134215,3] LPC[000]: Got SYNC no-response error. Error address
reg: 0xd0010080
[   99.422147697,6] IPMI: dropping non severe PEL event
[   99.422203908,7] UART: IRQ functional !
[    4.090083] [drm:radeon_device_init] *ERROR* Unable to find PCI I/O BAR
[    4.315179] [drm:radeon_atombios_init] *ERROR* Unable to find PCI I/O
BAR; using MMIO for ATOM IIO
[    4.327475] cik_cp: Failed to load firmware "radeon/HAWAII_pfp.bin"
[    4.327502] [drm:cik_init] *ERROR* Failed to load firmware!
[    4.327519] radeon 0030:01:00.0: Fatal error during GPU init
[    4.675850] kAFS: failed to register: -97
[  104.405819298,3] PHB#0001[0:1]:                  brdgCtl = 00000002
[  104.405907316,3] PHB#0001[0:1]:             deviceStatus = 00070020
[  104.405986036,3] PHB#0001[0:1]:               slotStatus = 00402000
[  104.406044854,3] PHB#0001[0:1]:               linkStatus = c1010008
[  104.406091545,3] PHB#0001[0:1]:             devCmdStatus = 00100107
[  104.406154706,3] PHB#0001[0:1]:             devSecStatus = 00000000
[  104.406205380,3] PHB#0001[0:1]:          rootErrorStatus = 00000000
[  104.406264077,3] PHB#0001[0:1]:          corrErrorStatus = 00001100
[  104.406314918,3] PHB#0001[0:1]:        uncorrErrorStatus = 00000020
[  104.406377625,3] PHB#0001[0:1]:                   devctl = 00000020
[  104.406433340,3] PHB#0001[0:1]:                  devStat = 00000007
[  104.406496500,3] PHB#0001[0:1]:                  tlpHdr1 = 00000000
[  104.406545299,3] PHB#0001[0:1]:                  tlpHdr2 = 00000000
[  104.406605033,3] PHB#0001[0:1]:                  tlpHdr3 = 00000000
[  104.406659320,3] PHB#0001[0:1]:                  tlpHdr4 = 00000000
[  104.406717062,3] PHB#0001[0:1]:                 sourceId = 00000000
[  104.406774969,3] PHB#0001[0:1]:                     nFir =
0000000000000000
[  104.406835509,3] PHB#0001[0:1]:                 nFirMask =
0030001c00000000
[  104.406896053,3] PHB#0001[0:1]:                  nFirWOF =
0000000000000000
[  104.406956883,3] PHB#0001[0:1]:                 phbPlssr =
0000001c00000000
[  104.407017467,3] PHB#0001[0:1]:                   phbCsr =
0000001c00000000
[  104.407087219,3] PHB#0001[0:1]:                   lemFir =
0000000100000000
[  104.407148183,3] PHB#0001[0:1]:             lemErrorMask =
0000000000000000
[  104.407208636,3] PHB#0001[0:1]:                   lemWOF =
0000000100000000
[  104.407269269,3] PHB#0001[0:1]:           phbErrorStatus =
000001c000000000
[  104.407329835,3] PHB#0001[0:1]:      phbFirstErrorStatus =
0000008000000000
[  104.407390362,3] PHB#0001[0:1]:             phbErrorLog0 =
2148000098000240
[  104.407450909,3] PHB#0001[0:1]:             phbErrorLog1 =
a008400000000000
[  104.407515667,3] PHB#0001[0:1]:        phbTxeErrorStatus =
0000001000000000
[  104.407579961,3] PHB#0001[0:1]:   phbTxeFirstErrorStatus =
0000001000000000
[  104.407640874,3] PHB#0001[0:1]:          phbTxeErrorLog0 =
0000000000000000
[  104.407701540,3] PHB#0001[0:1]:          phbTxeErrorLog1 =
0000000000000000
[  104.407762630,3] PHB#0001[0:1]:     phbRxeArbErrorStatus =
0000000000000000
[  104.407823141,3] PHB#0001[0:1]: phbRxeArbFrstErrorStatus =
0000000000000000
[  104.407883854,3] PHB#0001[0:1]:       phbRxeArbErrorLog0 =
0000000000000000
[  104.407944868,3] PHB#0001[0:1]:       phbRxeArbErrorLog1 =
0000000000000000


-- 
https://danielpocock.com
Follow with RSS: https://danielpocock.com/rss.xml

Reply via email to