Contribute
Register

HP ProBook Installer 6.1: 4x30s and 4x40s support

HP ProBook Installer 6.1 (beta): Ivy bridge support

I remember this patch was used to fix an issue with AirPortAtheros40.kext in Lion and I left it in all ML options as well, just in case. You say it can be removed from all ML options?

I've run without it in all ML versions. I have also run without it in SL 10.6.8 and Lion 10.7.5. I think maybe it is not necessary at all...

Edit: FYI... I could be wrong about the SL one. It's patch looks completely different, although I think I did try restoring from backup. I'll let you know in a bit when I do an SL fresh install using b12.
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

I've run without it in all ML versions. I have also run without it in SL 10.6.8 and Lion 10.7.5. I think maybe it is not necessary at all...

Edit: FYI... I could be wrong about the SL one. It's patch looks completely different, although I think I did try restoring from backup. I'll let you know in a bit when I do an SL fresh install using b12.

Don't bother, the patch in SL is really different, its purpose is to remove the HW IDs from the wrong Atheros kext and add them to the right Atheros kext, in short, to ensure that the right kext for this hardware is loaded.
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

Don't bother, the patch in SL is really different, its purpose is to remove the HW IDs from the wrong Atheros kext and add them to the right Atheros kext, in short, to ensure that the right kext for this hardware is loaded.

Yes, I see that, and understand exactly what it is doing. Still, the patch is not needed.

If we map 9285 WiFi device-id to 0x30 instead of 0x2a, it works on unmodified IO80211Family.kext on all systems. I have updated the patch repo to reflect this.

Less patched kexts is better, right?
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

Yes, I see that, and understand exactly what it is doing. Still, the patch is not needed.

If we map 9285 WiFi device-id to 0x30 instead of 0x2a, it works on unmodified IO80211Family.kext on all systems. I have updated the patch repo to reflect this.

Less patched kexts is better, right?

Have you tested this yet?
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

Have you tested this yet?

Yes. Tested on ML 10.8.4, Lion 10.7.5, and SL 10.6.8. I don't know why it wasn't done as 0x30 originally.

Desired outcome: For 168c,2b (AR9285), load AirPortAtheros40.kext on Lion/M; load AirPortAthers9388.kext on SL.

Current strategy:
- map native 168c,2b to 168c,2a which is supported by the kext in Lion/ML (also natively handles 168c,30)
- remove 168c,2a from SL's AirPortAtheros21.kext because it doesn't work if that driver is loaded
- add 168c,2a to SL's AirPortAtheros9388.kext because it does work (natively handles 168c,30)

New strategy:
- map native 168c,2b to 168c,30 which is supported by all stock kext in Lion/ML/SL
(loads AirPortAtheros9388.kext on SL)
(loads AirPortAtheros40.kext on Lion/ML)
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

Yes. Tested on ML 10.8.4, Lion 10.7.5, and SL 10.6.8. I don't know why it wasn't done as 0x30 originally.

Desired outcome: For 168c,2b (AR9285), load AirPortAtheros40.kext on Lion/M; load AirPortAthers9388.kext on SL.

Current strategy:
- map native 168c,2b to 168c,2a which is supported by the kext in Lion/ML (also natively handles 168c,30)
- remove 168c,2a from SL's AirPortAtheros21.kext because it doesn't work if that driver is loaded
- add 168c,2a to SL's AirPortAtheros9388.kext because it does work (natively handles 168c,30)

New strategy:
- map native 168c,2b to 168c,30 which is supported by all stock kext in Lion/ML/SL
(loads AirPortAtheros9388.kext on SL)
(loads AirPortAtheros40.kext on Lion/ML)

And since this kext will not be modified anymore, I'll remove it from the list of kexts for backup as well. Nice work!

Edit: wow, the postinstall scripts of all 4x30s support options are so clean now:

Code:
#!/bin/bash#
disabling Software Update schedule.
softwareupdate --schedule off
# triggering kext cache rebuilding
/usr/libexec/PlistBuddy -c "Set :KextCacheRebuild yes" /tmp/PBI.plist

BTW I noticed this yesterday:

  • Version 1.1.0 (2013-06-08):
  • - Support for TCP/IPv6 and UDP/IPv6 checksum offload added (can be disabled in Info.plist).
  • - Maximum size of the scatter-gather-list has been increased from 24 to 40 segments to resolve performance issues with TSO4 when offloading large packets which are highly fragmented.
  • - TSO4 can be disabled in Info.plist without rebuild.
  • - Statistics gathering has been improved to deliver more detailed information (resource shortages, transmitter resets, transmitter interrupt count).
  • - The interrupt mitigate settings has been changed to improve performance with SMB and to reduce CPU load.
  • - Configuration option added to allow for user defined interrupt mitigate settings without rebuild.
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

And since this kext will not be modified anymore, I'll remove it from the list of kexts for backup as well. Nice work!

Edit: wow, the postinstall scripts of all 4x30s support options are so clean now:

Code:
#!/bin/bash#
disabling Software Update schedule.
softwareupdate --schedule off
# triggering kext cache rebuilding
/usr/libexec/PlistBuddy -c "Set :KextCacheRebuild yes" /tmp/PBI.plist

Great. I just like having one less kext to deal with after updates...

BTW I noticed this yesterday:

  • Version 1.1.0 (2013-06-08):
  • - Support for TCP/IPv6 and UDP/IPv6 checksum offload added (can be disabled in Info.plist).
  • - Maximum size of the scatter-gather-list has been increased from 24 to 40 segments to resolve performance issues with TSO4 when offloading large packets which are highly fragmented.
  • - TSO4 can be disabled in Info.plist without rebuild.
  • - Statistics gathering has been improved to deliver more detailed information (resource shortages, transmitter resets, transmitter interrupt count).
  • - The interrupt mitigate settings has been changed to improve performance with SMB and to reduce CPU load.
  • - Configuration option added to allow for user defined interrupt mitigate settings without rebuild.

Yes, and... I'm still working with that kext. The change Mieze made for IntrMitigate didn't help me on my 4530s with my poor SMB performance. It will require code change. I've been trying so solve the performance problem on SMB. I've got a "fix" in the works for it... you can see my post about it in the same thread where you see the update notice from Mieze above... But I also have slice's RealtekR1000SL.kext driver working too (some bug fixes there too), so now I'm trying to decide which one is the best to move forward with. Probably sometime next week I'll know which one I prefer.
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

ProBook Installer v6.1b12, report for SL 10.6.8 fresh install.

Everything working fine except RealtekRTL8111.kext... so no wired ethernet.

Cause: ProBook Installer is not removing /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL8169Ethernet.kext

After removing RTL8169, reboot, RTL8111.kext then working properly.
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

ProBook Installer v6.1b12, report for SL 10.6.8 fresh install.

Everything working fine except RealtekRTL8111.kext... so no wired ethernet.

Cause: ProBook Installer is not removing /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL8169Ethernet.kext

After removing RTL8169, reboot, RTL8111.kext then working properly.

This should do the job:

postinstall:
Code:
#!/bin/bash
RightNowIs=`/usr/libexec/PlistBuddy -c "Print :CurrentDateTime" /tmp/PBI.plist`
BackupDir="$HOME/Desktop/Installer Backups/Backup $RightNowIs"
kextdir="$DSTVOLUME/System/Library/Extensions"
# removing AppleRTL8169Ethernet.kext in favor of RealtekRTL8111.kext
if [ -e "$kextdir/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL8169Ethernet.kext" ]
then
    cp -Rf "$kextdir/IONetworkingFamily.kext" "$BackupDir"
    rm -Rf "$kextdir/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL8169Ethernet.kext"
fi
# disabling Software Update schedule.
softwareupdate --schedule off
# triggering kext cache rebuilding
/usr/libexec/PlistBuddy -c "Set :KextCacheRebuild yes" /tmp/PBI.plist

Fixed!
 
Back
Top