Jump to content
519 posts in this topic

Recommended Posts

6 minutes ago, blackosx said:

Cool. So you have a signed version of DirectHW.kext for sharing or just personal use? :)

Yes. DirectHW.kext works here.

Does the version of DirectHW.kext in DarwinDumper_3.0.6b1 work for you?

And while here, did DarwinDumper_3.0.6b1 successfully dump system BIOS? or at least did it run?

No,

iMac2017:pciutils sergey$ sudo kextutil -v /Users/sergey/Downloads/DarwinDumper.app/Contents/Resources/public/drivers/DirectHW.kext 
Defaulting to kernel file '/System/Library/Kernels/kernel'
Kext rejected due to presence on exclude list: <OSKext 0x7fada3430230 [0x7fff881c98e0]> { URL = "file:///Users/sergey/Downloads/DarwinDumper.app/Contents/Resources/public/drivers/DirectHW.kext/", ID = "com.coresystems.driver.DirectHW" }
Code Signing Failure: not code signed
Diagnostics for /Users/sergey/Downloads/DarwinDumper.app/Contents/Resources/public/drivers/DirectHW.kext:

Take my version

 

DirectHW.kext.zip

lspci.zip

Link to comment
Share on other sites

Thanks. Kext load fine.. but for lspci

dyld: Library not loaded: /System/Library/Frameworks/DirectHW.framework/Versions/A/DirectHW
  Referenced from: /Users/blackosx/Downloads/lspci
  Reason: image not found
Abort trap: 6

I built my DirectHW to load the framework from /private/tmp/ due to restrictions in Catalina.

 

Edit: changed pciutils to DirectHW

 

Adding DirectHW.framework to the /System/Library/Frameworks and then running your lspci works

$ sudo ./lspci
Password:
00:00.0 Class 0600: Device 8086:0100 (rev 09)
00:01.0 Class 0604: Device 8086:0101 (rev 09)
00:02.0 Class 0380: Device 8086:0102 (rev 09)
00:19.0 Class 0200: Device 8086:1503 (rev 05)
00:1a.0 Class 0c03: Device 8086:1c2d (rev 05)
00:1b.0 Class 0403: Device 8086:1c20 (rev 05)
00:1d.0 Class 0c03: Device 8086:1c26 (rev 05)
00:1f.0 Class 0601: Device 8086:1c44 (rev 05)
00:1f.2 Class 0106: Device 8086:1c02 (rev 05)
00:1f.3 Class 0c05: Device 8086:1c22 (rev 05)
01:00.0 Class 0300: Device 1002:68b8
01:00.1 Class 0403: Device 1002:aa58

 

Edited by blackosx
Link to comment
Share on other sites

Thanks but I have a version here I built yesterday

 

Any chance you could try this version of DarwinDumper as a test for DirectHW.kext, lspci, flashrom etc?

 

41 minutes ago, Slice said:

Take my version

 

DirectHW.kext.zip

lspci.zip

 

I prefer your identifier com.darwin.driver.DirectHW :)

Edited by blackosx
Removed test version of DarwinDumper_3.0.6b3
Link to comment
Share on other sites

12 minutes ago, Slice said:

flashrom is not working.

Thanks for testing. Do you get any errors in terminal?

 

Here I see

$ cd /Volumes/MainSystem/Users/blackosx/DarwinDumper/306b3/DarwinDumper.app/Contents/Resources/public/Tools 
iMacHomeHS:Tools blackosx$ sudo ./flashromNew -p internal
flashrom v1.2-27-ga25c13c-dirty on Darwin 17.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found chipset "Intel Z68".
Enabling flash write... SPI Configuration is locked down.
OK.
Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000.
No operations were specified.

Maybe it's down to me having dependencies in my local system and they're not present on other machines?

 

BTW: I added your version of DirecHW.text to Opencore's kext dir and injected at boot time. Works great :)

 

 

12 minutes ago, Slice said:

Now I am trying to compile x86info for 64bit.

 

Good luck :)

Edited by blackosx
Link to comment
Share on other sites

I successfully compile it but it provide too few information. It looks like version is old.

iMac2017:x86info-2014-07-31 sergey$ sudo ./x86info
x86info v1.31pre
enumerate_cpus(): /dev/mem: No such file or directory
Found 4 identical CPUs (but found 4294967295 CPUs in MPTable!)
Extended Family: 0 Extended Model: 5 Family: 6 Model: 94 Stepping: 3
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Unknown model. 
Processor name string (BIOS programmed): Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz

Total processor threads: 4
This system has 1 dual-core processor with hyper-threading (2 threads per core) running at an estimated 2.75GHz
iMac2017:x86info-2014-07-31 sergey$ 

 

x86info.zip

  • Like 1
Link to comment
Share on other sites

Wow! Top Man :D

 

But I need the framework again.. which will cause issue in 10.15

dyld: Library not loaded: /System/Library/Frameworks/DirectHW.framework/Versions/A/DirectHW
  Referenced from: /Users/blackosx/Downloads/x86info
  Reason: image not found
Abort trap: 6

but once added 

iMacHomeHS:~ blackosx$ /Users/blackosx/Downloads/x86info ; exit;
x86info v1.31pre
enumerate_cpus(): /dev/mem: No such file or directory
Found 8 identical CPUs (but found 4294967295 CPUs in MPTable!)
Extended Family: 0 Extended Model: 2 Family: 6 Model: 42 Stepping: 7
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Core i7 (SandyBridge)
Processor name string (BIOS programmed): Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz

Total processor threads: 8
This system has 1 quad-core processor with hyper-threading (2 threads per core) running at an estimated 3.40GHz
logout

I see what you mean about missing content though..

 

55 minutes ago, Slice said:

Why not?

 

Sorry. Was this a yes to me including it in DarwinDumper?

Link to comment
Share on other sites

1 hour ago, blackosx said:

Thanks for testing. Do you get any errors in terminal?

 

Here I see


$ cd /Volumes/MainSystem/Users/blackosx/DarwinDumper/306b3/DarwinDumper.app/Contents/Resources/public/Tools 
iMacHomeHS:Tools blackosx$ sudo ./flashromNew -p internal
flashrom v1.2-27-ga25c13c-dirty on Darwin 17.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found chipset "Intel Z68".
Enabling flash write... SPI Configuration is locked down.
OK.
Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000.
No operations were specified.

Maybe it's down to me having dependencies in my local system and they're not present on other machines?

 

BTW: I added your version of DirecHW.text to Opencore's kext dir and injected at boot time. Works great :)

 

 

 

Good luck :)

iMac2017:Tools sergey$ sudo ./flashromNew -p internal

Password:

dyld: Library not loaded: /usr/local/opt/libftdi0/lib/libftdi.1.dylib

  Referenced from: /Users/sergey/Downloads/DarwinDumper_3.0.6b3/DarwinDumper.app/Contents/Resources/public/Tools/./flashromNew

  Reason: image not found

Abort trap: 6

iMac2017:Tools sergey$

Link to comment
Share on other sites

1 minute ago, blackosx said:

Ah! Thank you.

What to choose?

iMac2017:Tools sergey$ sudo port list | grep ftdi

Password:

libftdi                        @0.20           devel/libftdi

libftdi0                       @0.20           devel/libftdi

libftdi1                       @1.4            devel/libftdi

iMac2017:Tools sergey$

 

Link to comment
Share on other sites

I made all all libraries and then i got the follow

iMac2017:Tools sergey$ sudo ./flashromNew -p internal

flashrom v1.2-27-ga25c13c-dirty on Darwin 18.7.0 (x86_64)

flashrom is free software, get the source code at https://flashrom.org

 

Calibrating delay loop... OK.

pcilib: Cannot open AppleACPIPlatformExpert (add boot arg debug=0x144 & run as root)

pcilib: Cannot find any working access method.

Link to comment
Share on other sites

Enabling debug=0x144 I got next result

iMac2017:Tools sergey$ sudo ./flashromNew -p internal
flashrom v1.2-27-ga25c13c-dirty on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
No DMI table found.
Found chipset "Intel Z170".
This chipset is marked as untested. If you are using an up-to-date version
of flashrom *and* were (not) able to successfully update your firmware with it,
then please email a report to flashrom@flashrom.org including a verbose (-V) log.
Thank you!
Enabling flash write... pcilib: This access method is not supported.
iMac2017:Tools sergey$ 

In  DarwinDumper_v3.0.6b1 I have the same result with different version string.

  • Like 1
Link to comment
Share on other sites

Good work Slice and thanks for the sources.

 

5 hours ago, Slice said:

And better version (detect Skylake as well)

x86info.zip

 

Just need to copy DirectHW.framework to ~/Library/Frameworks at it works just fine.

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MacMini:~ $ /Users/s/Desktop/test_on_macMini/x86info ; exit;
x86info v1.31pre
display_mptable(): /dev/mem: No such file or directory
enumerate_cpus(): /dev/mem: No such file or directory
Found 8 identical CPUs (but found 4294967295 CPUs in MPTable!)
Extended Family: 0 Extended Model: 3 Family: 6 Model: 58 Stepping: 9
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Core i7 3520M [IvyBridge]
Processor name string (BIOS programmed): Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz

eax in: 0x00000000, eax = 0000000d ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 0x00000001, eax = 000306a9 ebx = 02100800 ecx = 7fbae3bf edx = bfebfbff
eax in: 0x00000002, eax = 76035a01 ebx = 00f0b2ff ecx = 00000000 edx = 00ca0000
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000004, eax = 1c004121 ebx = 01c0003f ecx = 0000003f edx = 00000000
eax in: 0x00000005, eax = 00000040 ebx = 00000040 ecx = 00000003 edx = 00021120
eax in: 0x00000006, eax = 00000077 ebx = 00000002 ecx = 00000009 edx = 00000000
eax in: 0x00000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000008, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000009, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x0000000a, eax = 07300403 ebx = 00000000 ecx = 00000000 edx = 00000603
eax in: 0x0000000b, eax = 00000001 ebx = 00000002 ecx = 00000100 edx = 00000002
eax in: 0x0000000c, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x0000000d, eax = 00000007 ebx = 00000340 ecx = 00000340 edx = 00000000

eax in: 0x80000000, eax = 80000008 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000001 edx = 28100800
eax in: 0x80000002, eax = 20202020 ebx = 6e492020 ecx = 286c6574 edx = 43202952
eax in: 0x80000003, eax = 2865726f ebx = 20294d54 ecx = 332d3769 edx = 51353136
eax in: 0x80000004, eax = 5043204d ebx = 20402055 ecx = 30332e32 edx = 007a4847
eax in: 0x80000005, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000006, eax = 00000000 ebx = 00000000 ecx = 01006040 edx = 00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000100
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx = 00000000

Cache info
 L1 Data Cache: 32KB, 8-way associative, 64 byte line size
TLB info
 Instruction TLB: 2M/4M pages, fully associative, 8 entries
 Instruction TLB: 4K pages, 4-way associative, 64 entries.
 Data TLB0: 2MB or 4MB pages, 4-way set associative, 32 entries
 Data TLB: 4KB pages, 4-way associative, 64 entries
 Shared L2 TLB: 4KB pages, 4-way associative, 512 entries
 64 byte prefetching.
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 pclmuldq dtes64 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc-deadline aes xsave osxsave avx f16c rdrnd
Extended feature flags:
 SYSCALL xd rdtscp em64t lahf_lm dts ida arat pln ecmd ptm fsgsbase smep erms nonstop_tsc
Long NOPs supported: yes

Address sizes : 36 bits physical, 48 bits virtual
2.30GHz processor (estimate).

Total processor threads: 8
This system has 1 quad-core processor with hyper-threading (2 threads per core) running at an estimated 2.30GHz

 

Great JOB :)

Edited by blackosx
Change my original comment about cannot load framework from /System/Library/Frameworks on 10.5 as it's read-only
  • Like 1
Link to comment
Share on other sites

I've removed the previous 3.0.6b1 beta and am now supplying the next beta here for testing.

 

Please note:

- The privatise option has not been checked yet so any new data captured may not be masked.

 

Previous beta included (Changes from 3.0.4 -> 3.0.6b1)

- Update RadeonDump and RadeonPCI.kext to 64bit version
- Update ioregwv to 64bit version
- Update nvram to 64bit version and include more vars to check
- Update gfxutil binary to latest v1.80b from acidanthera repo
- Update dmidecode binary to latest v3.2b from acidanthera repo
- Update Sparkle framework to v1.23.0
- Update lzma to v15.14
- Replace SMC_util3 with 64bit SMC_util_FansOnly for decoding fans
- Update iasl to version 20200110 and re-work ACPI dump process
- Update list of ACPI table descriptions for HTML report
- Add AppleIntelInfo.kext as a separate option
- Updated pci.ids.gz to version as of 9th April 2020
- Include extra version of smcutil for listing keys, not fans
- Add Mojave and Catalina detection
- Included Opencore files in bootloader config files & drivers dump
- Fixed config files & drivers dump bug when ESP is already mounted
- Update flashrom to v1.2-25 ** Note: Needs work.. **

 

This new beta includes (Changes from 3.0.6b1 -> 3.1b2)

- Changed date format in dump folder name (Thanks IronManJFF)
- Revert flashrom back to version 0.97 from previous DarwinDumper
- Replace DirectHW.kext with signed version from Slice
- Removed older drivers for pre 10.9
- Updated VoodooHDA.kext to version 292
- Updated getdump to version 109
- Added 64bit version of x86info (Thanks Slice)
- Moved CPU dump to section not requiring root privileges
- DirectHW.framework will be copied to ~/Library/Frameworks (if required)
- Updated info pages and html report sub titles and links
- Fix incorrect reporting of SIP protected dtrace restriction in html report
- Version bump to 3.1

 

 

 

Please test and report any issues.

Edited by blackosx
Removed DarwinDumper_v3.1.0b2.zip
  • Like 4
  • Thanks 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...