Contribute
Register

[Guide] HP Elite 8300 & 6300 Pro (all form factors) using Clover UEFI hotpatch

Status
Not open for further replies.
All of my 8300s are i5 machines with HD2500 graphics, so I defeat the onboard graphics
in BIOS. I can run two monitors off the RX560 or the GT 730. I am currently running a 1080p
HDMI TV and a 1280 x 1024 SXGA display on the GT 730.

For me, the Kepler works OOB without any Nvidia injection.
 
I've been having problems with hard drives disappearing when either plugged into the back usb 3 ports or via the usb 2 ports in the front since upgrading to Mojave. It was stable under Sierra (using trs' guide). I woke up this morning and my computer had restarted saying it shut down due to a problem. Any ideas?

* Panic Report *
panic(cpu 2 caller 0xffffff802d4d87bd): Kernel trap at 0xffffff802da22f38, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000008, CR3: 0x00000001fcb1401f, CR4: 0x00000000001626e0
RAX: 0x0000000000000000, RBX: 0x0000000000000001, RCX: 0xffffff821d983a40, RDX: 0x0000000000000001
RSP: 0xffffff821d983930, RBP: 0xffffff821d983980, RSI: 0xffffff805332cdc0, RDI: 0xffffff8056426000
R8: 0x0000000000000000, R9: 0xffffff802dc9db08, R10: 0xffffff802dc9db38, R11: 0x0000000000000002
R12: 0x504d537448697374, R13: 0xffffff805332cdc0, R14: 0xffffff805332cdd8, R15: 0xffffff8056426000
RFL: 0x0000000000010246, RIP: 0xffffff802da22f38, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000008, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Backtrace (CPU 2), Frame : Return Address
0xffffff821d983400 : 0xffffff802d3aca1d
0xffffff821d983450 : 0xffffff802d4e6b13
0xffffff821d983490 : 0xffffff802d4d859a
0xffffff821d983500 : 0xffffff802d359ca0
0xffffff821d983520 : 0xffffff802d3ac437
0xffffff821d983640 : 0xffffff802d3ac283
0xffffff821d9836b0 : 0xffffff802d4d87bd
0xffffff821d983820 : 0xffffff802d359ca0
0xffffff821d983840 : 0xffffff802da22f38
0xffffff821d983980 : 0xffffff7faee2b834
0xffffff821d983a00 : 0xffffff7faee2c4bf
0xffffff821d983aa0 : 0xffffff7faee2bf5b
0xffffff821d983ae0 : 0xffffff802da85178
0xffffff821d983b30 : 0xffffff802da8e5ff
0xffffff821d983c70 : 0xffffff802d4931f4
0xffffff821d983d80 : 0xffffff802d3b210d
0xffffff821d983dd0 : 0xffffff802d38cad5
0xffffff821d983e50 : 0xffffff802d3a148e
0xffffff821d983ef0 : 0xffffff802d4bfceb
0xffffff821d983fa0 : 0xffffff802d35a486
Kernel Extensions in backtrace:
com.apple.iokit.IOReportFamily(47.0)[EA2822EA-DACE-34D1-80D1-8EBF65889EBC]@0xffffff7faee2b000->0xffffff7faee31fff

BSD process name corresponding to current thread: pmset
Boot args: dart=0

Mac OS version:
18A391

Kernel version:
Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64
Kernel UUID: DF83AD37-501E-3B4F-B1F0-04F3AC90FE35
Kernel slide: 0x000000002d000000
Kernel text base: 0xffffff802d200000
__HIB text base: 0xffffff802d100000
System model name: Macmini6,2 (Mac-F65AE981FFA204ED)

System uptime in nanoseconds: 1788316902537
last loaded kext at 246404311181: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fb230d000, size 69632)
last unloaded kext at 308086298184: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fb230d000, size 61440)
loaded kexts:
(none)

EOF
Model: Macmini6,2, BootROM MM61.F000.B00, 4 processors, Intel Core i7, 3.39 GHz, 16 GB, SMC 2.8f1
Graphics: Radeon RX 560, Radeon RX 560, PCIe
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, Crucial Technology, BLS4G3D1609DS1S00.
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, Crucial Technology, BLS4G3D1609DS1S00.
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1600 MHz, Crucial Technology, BLS4G3D1609DS1S00.
Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1600 MHz, SK Hynix, HMT451U6AFR8A-PBN0
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.8f6, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Micron_1100_MTFDDAK2T0TBN, 2.05 TB
Serial ATA Device: Samsung SSD 850 EVO 500GB, 500.11 GB
Serial ATA Device: hp DVD-RAM SW820
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB Receiver
USB Device: Gaming Keyboard G213
USB Device: BLUE USB Audio 2.0
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: easystore 25FC
USB Device: easystore 25FA
Thunderbolt Bus:
 
I've been having problems with hard drives disappearing when either plugged into the back usb 3 ports or via the usb 2 ports in the front since upgrading to Mojave. It was stable under Sierra (using trs' guide). I woke up this morning and my computer had restarted saying it shut down due to a problem. Any ideas?

* Panic Report *
panic(cpu 2 caller 0xffffff802d4d87bd): Kernel trap at 0xffffff802da22f38, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000008, CR3: 0x00000001fcb1401f, CR4: 0x00000000001626e0
RAX: 0x0000000000000000, RBX: 0x0000000000000001, RCX: 0xffffff821d983a40, RDX: 0x0000000000000001
RSP: 0xffffff821d983930, RBP: 0xffffff821d983980, RSI: 0xffffff805332cdc0, RDI: 0xffffff8056426000
R8: 0x0000000000000000, R9: 0xffffff802dc9db08, R10: 0xffffff802dc9db38, R11: 0x0000000000000002
R12: 0x504d537448697374, R13: 0xffffff805332cdc0, R14: 0xffffff805332cdd8, R15: 0xffffff8056426000
RFL: 0x0000000000010246, RIP: 0xffffff802da22f38, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000008, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Backtrace (CPU 2), Frame : Return Address
0xffffff821d983400 : 0xffffff802d3aca1d
0xffffff821d983450 : 0xffffff802d4e6b13
0xffffff821d983490 : 0xffffff802d4d859a
0xffffff821d983500 : 0xffffff802d359ca0
0xffffff821d983520 : 0xffffff802d3ac437
0xffffff821d983640 : 0xffffff802d3ac283
0xffffff821d9836b0 : 0xffffff802d4d87bd
0xffffff821d983820 : 0xffffff802d359ca0
0xffffff821d983840 : 0xffffff802da22f38
0xffffff821d983980 : 0xffffff7faee2b834
0xffffff821d983a00 : 0xffffff7faee2c4bf
0xffffff821d983aa0 : 0xffffff7faee2bf5b
0xffffff821d983ae0 : 0xffffff802da85178
0xffffff821d983b30 : 0xffffff802da8e5ff
0xffffff821d983c70 : 0xffffff802d4931f4
0xffffff821d983d80 : 0xffffff802d3b210d
0xffffff821d983dd0 : 0xffffff802d38cad5
0xffffff821d983e50 : 0xffffff802d3a148e
0xffffff821d983ef0 : 0xffffff802d4bfceb
0xffffff821d983fa0 : 0xffffff802d35a486
Kernel Extensions in backtrace:
com.apple.iokit.IOReportFamily(47.0)[EA2822EA-DACE-34D1-80D1-8EBF65889EBC]@0xffffff7faee2b000->0xffffff7faee31fff

BSD process name corresponding to current thread: pmset
Boot args: dart=0

Mac OS version:
18A391

Kernel version:
Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64
Kernel UUID: DF83AD37-501E-3B4F-B1F0-04F3AC90FE35
Kernel slide: 0x000000002d000000
Kernel text base: 0xffffff802d200000
__HIB text base: 0xffffff802d100000
System model name: Macmini6,2 (Mac-F65AE981FFA204ED)

System uptime in nanoseconds: 1788316902537
last loaded kext at 246404311181: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fb230d000, size 69632)
last unloaded kext at 308086298184: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fb230d000, size 61440)
loaded kexts:
(none)

EOF
Model: Macmini6,2, BootROM MM61.F000.B00, 4 processors, Intel Core i7, 3.39 GHz, 16 GB, SMC 2.8f1
Graphics: Radeon RX 560, Radeon RX 560, PCIe
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, Crucial Technology, BLS4G3D1609DS1S00.
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, Crucial Technology, BLS4G3D1609DS1S00.
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1600 MHz, Crucial Technology, BLS4G3D1609DS1S00.
Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1600 MHz, SK Hynix, HMT451U6AFR8A-PBN0
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.8f6, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Micron_1100_MTFDDAK2T0TBN, 2.05 TB
Serial ATA Device: Samsung SSD 850 EVO 500GB, 500.11 GB
Serial ATA Device: hp DVD-RAM SW820
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB Receiver
USB Device: Gaming Keyboard G213
USB Device: BLUE USB Audio 2.0
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: easystore 25FC
USB Device: easystore 25FA
Thunderbolt Bus:

Hi Secretmak,

I'm not at all qualified to dig deeply into your debug, and I don't think you give enough
problem reporting to really track this down. So i can only give very limited help, and I am
certainly not an expert on the many postings concerning USB configuration in Mojave.

You say that you upgraded to Mojave from Sierra (or High Sierra) set up using Trs96's guide.
The approach to USB configuration here is very different from that guide. Sniki recommends
following Rehabman's hotpatch recipe, provides his SSDT-USB.dsl to define the various USB
ports and hubs incorporated in the SSDT.aml APIC patch, and recommends installing Rehabman's
USBInjectAll.kext.

I think Trs96's guide merely recommends installing "7/8/9 Series USB Support" as provided in
Multibeast 11.0.1-1. As noted there, it installs FakePCIID.kext and FakePCIID_XCHImux.kext.
Trs96 warns against mixing the methods of the two guides, and you may want to recheck which
USB kexts you have installed in S/L/E, L/E, and clover/kexts/other. Rehabman has some discussion
of FakePCIIID.kext here:


In addition, your panic mentions the process pmset, which controls power management settings
and things like sleep, hibernation, and standby mode. You can see your settings in Terminal by
typing "pmset -g".

Sniki and Rehabman make some recommendations about defeating hibernation with pmset adjustments
and /var/vm/sleepimage. See Step 4 in post #1. I don't see similar recommendations in Trs96's guide,
but he is the expert on his guides and there are a couple online here. You may want to check your BIOS
under Power - Hardware Power Management and disable S5 Maximum Power Savings. Under the Clover/Boot
menu in your config.plist you might want NeverHibernate = Yes. I think both guides recommend renaming
EHCx to EHOx in ACPI patches. In System Preferences, you might want to defeat Wake for Ethernet Network
Access. In iCloud, you may want to defeat Find My Mac.

I'm not sure that I can be of much help beyond that. I have noticed that there are several new patches for
port limits with different versions of Mojave, and I'm not sure what applies to the 8300. I have noticed
with my machine and one of my backup USB3 drives that I have difficulty completing a large backup
on the USB 3 port but it finishes ok on the USB 2 port. I have verified that all my external ports are working
as expected for USB2 and USB3 using Sniki's methods, and am not sure of the source of the backup problem.
It does not cause kernel panics.

I also noticed that you seem to be using internal USB ports that I haven't used. I notice that Sniki defines
more than 15 ports and you might want to consider port limit patches.

Good luck,
Lisa
 
Sniki,

I was taking a second look at your SSDT-USB.dsl and noticed that the
description was incomplete, in that it is missing definitions of ports HP15
and HP17.

I obtained a card reader as described in the HP 8300 service manual, and
plugged it into each of the motherboard Media headers for testing. The card
reader supports 6 kinds of cards and has a USB2 port. Using your SSDT-HP.aml,
the USB2 port does not work. The USB2 device appears on the HP15 port (when
the card reader is plugged into Media1) or HP17 (when plugged into Media2).

I reconstructed an SSDT-HP.dsl with the two ports and additional comments, and
recompiled a new SSDT-HP.aml. The media card reader now works as expected.

There are 6 dedicated USB2 ports on the case, the 4 additional USB2 ports in the
media headers, the 4 USB3 ports on the case, and the 4 additional USB2 ports
for a USB2 device plugged into one of the USB3 ports. Although the total number
of defined ports exceeds 15, all ports appear to be working properly.

I'm not positive if the port types are correct in the revised SSDT-HP.dsl, if a port
limit patch is desirable, or if I risk exceeding memory bounds with all these ports.
Comments are appreciated.

Attached are the revised SSDT-USB.dsl and SSDT-HP.aml.

Thanks for your help.
Lisa
 

Attachments

  • SSDT-HP.aml
    2.1 KB · Views: 83
  • SSDT-USB.dsl
    5.8 KB · Views: 62
Last edited:
I ran into a few problems on the way.

I wanted it to work on vga because I only have that monitor right now,
I noticed that it gives vga output if I add verbose and safeboot option as args in clover bootloader. but in that mode there's no audio output ..etc as expected

Please let me know if you will be providing a fix for vga.
 
EDIT: see trs96's answer below
 
Last edited:
I ran into a few problems on the way.

I wanted it to work on vga because I only have that monitor right now,
I noticed that it gives vga output if I add verbose and safeboot option as args in clover bootloader. but in that mode there's no audio output ..etc as expected

Please let me know if you will be providing a fix for vga.
DisplayPort to VGA adapters or cables are very inexpensive and usually work. Try one.
 
Dont want to speak for others who may have the ability to get vga working on a mac
@Sniki has mentioned working on this but he's never proven yet that it can work. Where is he anyway ? Haven't heard from him in months now.
 
Where is he anyway ? Haven't heard from him in months now.

391564
 
Last edited:
Status
Not open for further replies.
Back
Top