Jump to content

DarwinDumper

Bootloader BIOS IOReg Device Properties LSPCI Dump VBIOS SMC ACPI NVRAM

  • Please log in to reply
190 replies to this topic

#141
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
v2.7.5 -> 2.7.6
 
- Fix bug when adding Clover Firmware Log to HTML report.
- Update IORegistryWebViewer to use jquery-1.9.1.
- Update jstreegrid.js to latest version.
- Fix IORegistryWebViewer issue of duplicate tree data being shown after closing and re-opening a node in the right side tree.
- Added hex conversion of EDID.bin to EDIDDump directory.
- Update ioregwv binary to latest version (now much faster). Allowing removal of processIoregDumps shell script.
- Recompile MacGap using OS X Deployment target of 10.5.
 

I have a question about the SMC Keys.

 

Apple uses .smc files to flash it.  The attached file is from apple smc & firmware update site.

 

Do u have a way to produce such output with DarwinDumper?

Hi jalavoui

 

I understand the file you've posted can be extracted from an SMC firmware update from Apple's EFI and SMC firmware updates page. That one (v1.4f12) looks like it's from a MacBook. However, I don't understand the contents of that file and also, if I could get DarwinDumper to produce a file like this, what benefit would it bring?

 

If you can supply more info then I can look in to this further.

 

Thanks



#142
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
v2.7.6 -> 2.7.7
 
- Add 10.9 Mavericks identification and logo to HTML report header.


#143
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK

 

@All - The FirmwareMemoryMap dtrace script is causing a hang on some 10.9 DP1 systems and not others an I don't know why. The script itself is fine, so maybe it's the use of dtrace itself in some situations is causing the problem.

I didn't hear any other reports about system hangs with DP1 with the FirmwareMemoryMap dtrace script.

And I've just noticed with 10.9 DP2 that my system doesn't hang after running the FirmwareMemoryMap dtrace script so I guess this issue can be forgotten.



#144
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 960 posts
  • Gender:Not Telling

No problem running FirmwareMemoryMap on Mavericks DP2 here. Good work blackosx!



#145
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
v2.7.7 -> 2.7.8
 
- Bootloader config file search to now include xpc_patcher.plist and xpc_smbios.plist
- Update privacy routine to mask data in xpc_smbios.plist.
- Update privacy routine to mask data in CurrentCloverBootedConfig.plist.
- Update privacy routine to handles multiple instances of the same string in a file.
- Updated bdmesg tool to modified version by STLVNUB for dumping Clover boot log.
- Remove genconfig tool and adjust the script to find a locally installed version in /usr/local/bin/clover-genconfig which will have been installed by the Clover installer. 
- Removed note from Firmware Memory Map dump about possible system hang in 10.9 DP1.
- Updated the user interface info pages to reflect latest changes. 


#146
alexanderq

alexanderq

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male

Hello blackosx great app.

It does not work under maverick with full options  because it does not display the  tab to insert the password.



#147
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK

Thanks for the report alexanderq but it's working fine here in 10.9 DP4.

Attached File  screenshot.png   177.96KB   0 downloads

The only difference I see is when running certain dumps, we are now prompted to acknowledge loading of the kexts due to Mavericks' new kext procedures.



#148
alexanderq

alexanderq

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male

So then why can't i run it with root privileges? ß(promotes for the password but does not display the panel to put the password

 

Attached File  Screen Shot 2013-07-26 at 9.13.03 AM.png   1.02MB   0 downloads



#149
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK

hmmm...  please can you check the password prompt has not been drawn behind the main window?



#150
alexanderq

alexanderq

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
  • Gender:Male

I have done it because i remember it from some older versions that i had that problem



#151
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK

I can't replicate the problem here but maybe the dialog box is being drawn off screen?

You should still be able to run DarwinDumper from the command line.



#152
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
v2.7.8 -> 2.7.9
 
- Disabled MacGap's Command-Quit keyboard event as this previously left the main DarwinDumper.app and scripts running.
- Add implementation to give the user the option to choose a different path for the DarwinDumperReports directory.
- CSS for disk partition and ioreg sections is only added to the HTML report if the respective dumps have been done.
- Added some initial CSS specifically for IE.
- Fix and adjust the kext list dump in the HTML report.
- Fix info button placement in UI for Mavericks.
- Remove the requirement of plistbuddy and therefore the included SL version.
- Compile and add SL version of Andy Vandijck's getcodecid. It works but has a memory leak (as noted by Slice http://bit.ly/16f8uGp ).
- Fix calling getdump tool when running from a directory with spaces.
- Revised MacGap binary to not spew [WebDynamicScrollBarsView setVerticalScrollElasticity:] errors when run on OS X 10.6.
- Check for existence of video bios file before decoding.
- Updated pci.ids database.


#153
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 947 posts
  • Gender:Male

I was wondering why Audio Codec ID dump ends up being empty with every dump? Is VoodooHDA now obligatory for it to produce a valid (non-empty) result?



#154
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
Hi TimeWalker75a
 
Thanks for reporting this issue.
 
The produced dump file SystemInfo/AudioCodecID.txt is populated using Andy Vandijck's getcodecid binary. Andy states it requires either VoodooHDA / AppleHDA to be present and it works fine here without VoodooHDA.
 
If you have a blank AudioCodecID.txt file, can you please try running the binary by itself to see if it produces a result? Maybe try the binary in DarwinDumper.app/Contents/Resources/Tools/getcodecid and the binary from Andy's thread to see if there's a difference between them?


#155
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 947 posts
  • Gender:Male

Yeah, I do get an empty AudioCodecID.txt here. I'm using AppleHDA for my ALC892 (GA-H87-HD3 Haswell build here). Tried launching the binary from within resources and got the following:

 

g00dman$ sudo -s
bash-3.2# cd /Applications/Utilities/DarwinDumper.app/Contents/Resources/Tools/
bash-3.2# ./getcodecid
Realtek ALC892
Segmentation fault: 11
 
 
Then I got hold of the Any's binary release from the thread you've pointed and ran it, the output it produced was the same:
 
Realtek ALC892
Segmentation fault: 11
 
 Same thing with the no-ARC version.. 
 Guess it just fails to detect the 0x80862807 Haswell HDMI codec, which actually isn't being detected by AppleHDA either.


#156
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK

Thanks for reporting back.

i can ask Andy to take a look, but if your HDMI codec is not being reported by AppleHDA then you may not get any joy.



#157
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 947 posts
  • Gender:Male

It sort of hangs in mid-air, which may indeed cause Andy's tool to fail, since the codec is there and AppleHDA somewhat attaches to it, but yet it remains non-functional and HDAU device lacks DigitalAudioCapabilities property. So, I guess it's a common issue for Haswell platforms as of now, because to this day nobody managed to get HDMI audio going at all.



#158
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
v2.7.9 -> 2.8.0
 
- Revise script to dump efivar boot entries even if entry 0000 does not exist.
- Revise the Bootloader config DriverList.txt file and add detection of versions.
- Add colour to the config plist files section of the HTML report to help identification of which file belongs to which loader.
- Rename UI Audio dump title from 'Audio Codec' to 'Audio Codec ID/Info'.
- Only prepare VoodooHDA.kext and RadeonPCI.kext for loading if needed.
- Search for an increased number of efivar boot options.
- Separated RC Scripts and NVRAM dump options.
- Script attempts to read firmware variables as described in Data/nvram_firmware_variable_calls.txt.
- Renamed dump file gEfiAppleNvramGuid_Vars.txt to uefi_firmware_vars.txt.
- UEFI firmware vars are printed as hex dumps.
 
UEFI firmware variable dump now mimics dmpstore from EFI shell. Though please note, that from the OS I do not know if it's possible to query for a list of non-Apple UEFI firmware vars, so instead the script uses a predefined list of known vars and calls each in turn in the hope of receiving a reply. The list can be added to as and when EFI GUID's and associated variables are made known so please let me know if you have any you want adding. Also, if any dev has the time and want to create a C program to read the NVRAM variable for data and convert to a hexdump then please do so as my bash script is tediously slow. 
 
Anyway, here's an example from my machine: 
------------------------------------------------------------------------------
8BE4DF61-93CA-11D2-AA0D-00E098032B8C:BootOrder 
------------------------------------------------------------------------------
0080,0004,0082,0001,0002,0081
 
------------------------------------------------------------------------------
8BE4DF61-93CA-11D2-AA0D-00E098032B8C:BootCurrent 
------------------------------------------------------------------------------
0004
 
------------------------------------------------------------------------------
8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0001
------------------------------------------------------------------------------
00000000  01 00 00 00 0d 00 43 00  44 00 2f 00 44 00 56 00  |......C.D./.D.V.|
00000010  44 00 20 00 44 00 72 00  69 00 76 00 65 00 20 00  |D. .D.r.i.v.e. .|
00000020  00 00 05 01 09 00 03 00  00 00 00 7f ff 04 00 41  |...............A|
00000030  4d 47 4f 41 4d 4e 4f b7  00 00 00 01 00 00 00 75  |MGOAMNO........u|
00000040  00 4f 00 70 00 74 00 69  00 61 00 72 00 63 00 20  |.O.p.t.i.a.r.c. |
00000050  00 44 00 56 00 44 00 20  00 52 00 57 00 20 00 41  |.D.V.D. .R.W. .A|
00000060  00 44 00 2d 00 37 00 32  00 38 00 30 00 53 00 00  |.D.-.7.2.8.0.S..|
00000070  00 05 01 09 00 03 00 00  00 00 7f ff 04 00 02 01  |................|
00000080  0c 00 d0 41 03 0a 00 00  00 00 01 01 06 00 02 1f  |...A............|
00000090  03 12 0a 00 03 00 ff ff  00 00 7f ff 04 00 01 04  |................|
000000a0  44 00 ef 47 64 2d c9 3b  a0 41 ac 19 4d 51 d0 1b  |D..Gd-.;.A..MQ..|
000000b0  4c e6 4f 00 70 00 74 00  69 00 61 00 72 00 63 00  |L.O.p.t.i.a.r.c.|
000000c0  20 00 44 00 56 00 44 00  20 00 52 00 57 00 20 00  | .D.V.D. .R.W. .|
000000d0  41 00 44 00 2d 00 37 00  32 00 38 00 30 00 53 00  |A.D.-.7.2.8.0.S.|
000000e0  00 00 7f ff 04 00 41 4d  42 4f                    |......AMBO|
000000ea
 
------------------------------------------------------------------------------
8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0002
------------------------------------------------------------------------------
00000000  01 00 00 00 0d 00 48 00  61 00 72 00 64 00 20 00  |......H.a.r.d. .|
00000010  44 00 72 00 69 00 76 00  65 00 20 00 00 00 05 01  |D.r.i.v.e. .....|
00000020  09 00 02 00 00 00 00 7f  ff 04 00 41 4d 47 4f 41  |...........AMGOA|
00000030  4d 4e 4f ad 00 00 00 01  00 00 00 6f 00 57 00 44  |MNO........o.W.D|
00000040  00 43 00 20 00 57 00 44  00 37 00 35 00 30 00 31  |.C. .W.D.7.5.0.1|
00000050  00 41 00 41 00 45 00 53  00 2d 00 32 00 32 00 57  |.A.A.E.S.-.2.2.W|
00000060  00 37 00 41 00 30 00 00  00 05 01 09 00 02 00 00  |.7.A.0..........|
00000070  00 00 7f ff 04 00 02 01  0c 00 d0 41 03 0a 00 00  |...........A....|
00000080  00 00 01 01 06 00 02 1f  03 12 0a 00 02 00 ff ff  |................|
00000090  00 00 7f ff 04 00 01 04  3e 00 ef 47 64 2d c9 3b  |........>..Gd-.;|
000000a0  a0 41 ac 19 4d 51 d0 1b  4c e6 20 00 20 00 20 00  |.A..MQ..L. . . .|
000000b0  20 00 57 00 20 00 2d 00  44 00 43 00 57 00 54 00  | .W. .-.D.C.W.T.|
000000c0  41 00 30 00 52 00 32 00  34 00 38 00 37 00 35 00  |A.0.R.2.4.8.7.5.|
000000d0  36 00 00 00 7f ff 04 00  41 4d 42 4f 41 4d 4e 4f  |6.......AMBOAMNO|
000000e0  9b 00 00 00 01 00 00 00  6f 00 4f 00 43 00 5a 00  |........o.O.C.Z.|
000000f0  2d 00 41 00 47 00 49 00  4c 00 49 00 54 00 59 00  |-.A.G.I.L.I.T.Y.|
00000100  33 00 00 00 05 01 09 00  02 00 00 00 00 7f ff 04  |3...............|
00000110  00 02 01 0c 00 d0 41 03  0a 00 00 00 00 01 01 06  |......A.........|
00000120  00 02 1f 03 12 0a 00 01  00 ff ff 00 00 7f ff 04  |................|
00000130  00 01 04 3e 00 ef 47 64  2d c9 3b a0 41 ac 19 4d  |...>..Gd-.;.A..M|
00000140  51 d0 1b 4c e6 43 00 4f  00 2d 00 5a 00 4e 00 30  |Q..L.C.O.-.Z.N.0|
00000150  00 46 00 33 00 36 00 45  00 45 00 34 00 52 00 49  |.F.3.6.E.E.4.R.I|
00000160  00 38 00 58 00 4f 00 32  00 33 00 38 00 00 00 7f  |.8.X.O.2.3.8....|
00000170  ff 04 00 41 4d 42 4f 41  4d 4e 4f a1 00 00 00 01  |...AMBOAMNO.....|
00000180  00 00 00 6f 00 53 00 41  00 4d 00 53 00 55 00 4e  |...o.S.A.M.S.U.N|
00000190  00 47 00 20 00 48 00 44  00 35 00 30 00 32 00 49  |.G. .H.D.5.0.2.I|
000001a0  00 4a 00 00 00 05 01 09  00 02 00 00 00 00 7f ff  |.J..............|
000001b0  04 00 02 01 0c 00 d0 41  03 0a 00 00 00 00 01 01  |.......A........|
000001c0  06 00 02 1f 03 12 0a 00  04 00 ff ff 00 00 7f ff  |................|
000001d0  04 00 01 04 3e 00 ef 47  64 2d c9 3b a0 41 ac 19  |....>..Gd-.;.A..|
000001e0  4d 51 d0 1b 4c e6 31 00  53 00 54 00 33 00 39 00  |MQ..L.1.S.T.3.9.|
000001f0  4a 00 51 00 30 00 30 00  42 00 30 00 37 00 39 00  |J.Q.0.0.B.0.7.9.|
00000200  30 00 20 00 20 00 20 00  20 00 20 00 20 00 00 00  |0. . . . . . ...|
00000210  7f ff 04 00 41 4d 42 4f  41 4d 4e 4f b5 00 00 00  |....AMBOAMNO....|
00000220  01 00 00 00 75 00 53 00  4b 00 59 00 4d 00 45 00  |....u.S.K.Y.M.E.|
00000230  44 00 49 00 20 00 55 00  53 00 42 00 20 00 44 00  |D.I. .U.S.B. .D.|
00000240  72 00 69 00 76 00 65 00  20 00 31 00 2e 00 30 00  |r.i.v.e. .1...0.|
00000250  30 00 00 00 05 01 09 00  02 00 00 00 00 7f ff 04  |0...............|
00000260  00 02 01 0c 00 d0 41 03  0a 00 00 00 00 01 01 06  |......A.........|
00000270  00 00 1a 03 05 06 00 01  00 03 05 06 00 03 00 7f  |................|
00000280  ff 04 00 01 04 42 00 ef  47 64 2d c9 3b a0 41 ac  |.....B..Gd-.;.A.|
00000290  19 4d 51 d0 1b 4c e6 53  00 4b 00 59 00 4d 00 45  |.MQ..L.S.K.Y.M.E|
000002a0  00 44 00 49 00 20 00 55  00 53 00 42 00 20 00 44  |.D.I. .U.S.B. .D|
000002b0  00 72 00 69 00 76 00 65  00 20 00 31 00 2e 00 30  |.r.i.v.e. .1...0|
000002c0  00 30 00 00 00 7f ff 04  00 41 4d 42 4f           |.0.......AMBO|
000002cd
 
------------------------------------------------------------------------------
8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0004
------------------------------------------------------------------------------
00000000  01 00 00 00 66 00 43 00  6c 00 6f 00 76 00 65 00  |....f.C.l.o.v.e.|
00000010  72 00 20 00 4f 00 53 00  20 00 58 00 20 00 42 00  |r. .O.S. .X. .B.|
00000020  6f 00 6f 00 74 00 00 00  04 01 2a 00 01 00 00 00  |o.o.t.....*.....|
00000030  28 00 00 00 00 00 00 00  00 40 06 00 00 00 00 00  |(........@......|
00000040  54 43 0b 75 57 b9 b2 43  81 2e 2f 30 fa d2 d1 b3  |TC.uW..C../0....|
00000050  02 02 04 04 38 00 5c 00  45 00 46 00 49 00 5c 00  |....8.\.E.F.I.\.|
00000060  43 00 4c 00 4f 00 56 00  45 00 52 00 5c 00 43 00  |C.L.O.V.E.R.\.C.|
00000070  4c 00 4f 00 56 00 45 00  52 00 58 00 36 00 34 00  |L.O.V.E.R.X.6.4.|
00000080  2e 00 45 00 46 00 49 00  00 00 7f ff 04 00        |..E.F.I.......|
0000008e
 
------------------------------------------------------------------------------
8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0080
------------------------------------------------------------------------------
00000000  01 00 00 00 4a 00 4d 00  61 00 63 00 20 00 4f 00  |....J.M.a.c. .O.|
00000010  53 00 20 00 58 00 00 00  02 01 0c 00 d0 41 03 0a  |S. .X........A..|
00000020  00 00 00 00 01 01 06 00  02 1f 03 12 0a 00 01 00  |................|
00000030  00 00 00 00 04 01 2a 00  03 00 00 00 28 40 22 00  |......*.....(@".|
00000040  00 00 00 00 c0 2f c7 06  00 00 00 00 de a5 e2 47  |...../.........G|
00000050  75 b0 93 49 af c1 b7 86  7a 64 4a 5d 02 02 7f ff  |u..I....zdJ]....|
00000060  04 00                                             |..|
00000062


#159
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK
v2.8.0 -> 2.8.1
 
- Replace NVRAM dump script with amended version of Apple's nvram tool (much faster than previous script).
- NVRAM dump option now also saves a hexdump of NVRAM Apple specific vars.
- Update associated UI info page.
- Update HTML report build script.
- Revise Privatise routine to mask NVRAM data.


#160
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,054 posts
  • Gender:Male
  • Location:UK

v2.8.1 -> 2.8.2 (only released for testing)

- Add private mask for serial number in Ozmosis boot log.
- Updated version of amended nvram binary with more hardcoded firmware vars.
- Add check for the string 'Clover' as well as 'rEFIt' in boot-log. Should work with Clover versions r2000 an onwards.
- Add privatise mask for NVRAM ROM var. 

 

--------------------------------------------------------------------------

 

v2.8.2 -> 2.8.3

- Update iasl binary (Compiler version 20130823-32) (Thanks Slice).
- Update nvram binary with 10.6 compatible version (Thanks Slice).
- Tweak privatise function to mask more characters.
- Fix an html report bug where an exclamation mark would cause a table to not collapse by default.







Also tagged with one or more of these keywords: Bootloader, BIOS, IOReg, Device Properties, LSPCI, Dump, VBIOS, SMC, ACPI, NVRAM


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy