Jump to content

DarwinDumper

Bootloader BIOS IOReg Device Properties LSPCI Dump VBIOS SMC ACPI NVRAM

  • Please log in to reply
233 replies to this topic

#101
sir mac alot

sir mac alot

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Interests:Photography, F1, Japan, Making music
hi blackosx,

the computer is running 10.6.8
this is the results of running the command in terminal.

darwindumper -d diskUtilLoaders,diskVolumeXuid -r
Copying empty DarwinDumperReports folder with icon to /Applications/
Initiating dumps...
Encountered unexpected EOF
Encountered unexpected EOF
Completed DiskUtil & Boot Loaders


i also tried to move the app to the desktop, but dump was still empty.

so the reason for the

duSliceinfo.plist error is it saves it for each partition and since it is ext4 it cannot read or write the drive?



#102
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
I've seen this once before with a report from kyndder which turned out to be an issue with some EXT2/3/4 filesystem driver. With the driver loaded, diskutil would produce truncated output. Can you test this please?

Open Terminal app, run the following command and post the result to see if it's the same issue.
diskutil list -plist > ~/Desktop/du.plist

kyndder found the diskutil tool completed only when he unloaded the driver.
For reference, here's the previous discussion with kyndder.

#103
sir mac alot

sir mac alot

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Interests:Photography, F1, Japan, Making music
this is the output.

<key>AllDisks</key>
<array>
  <string>disk0</string>
  <string>disk0s1</string>
  <string>disk0s2</string>
  <string>disk0s3</string>
  <string>disk0s4</string>
  <string>disk0s5</string>
  <string>disk0s6</string>
  <string>disk1</string>
  <string>disk1s1</string>
  <string>disk1s2</string>
</array>
<key>VolumesFromDisks</key>
<array>
  <string>Mac</string>
  <string>Music</string>
  <string>Linux


#104
sir mac alot

sir mac alot

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Interests:Photography, F1, Japan, Making music
removing paragon extfs solved the empty bootloaders file issue.

it would be great if there was a way to set the save location.

thanks again blackosx.

#105
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
Thanks for reporting back sir mac alot.

I've since installed Paragon ExtFS v9.0.0 trial here on my iMac running 10.8.3 to see if I can re-create the issues. I don't have any EXT4 devices handy so I've formatted a 2GB flash drive (using Disk Utility) as EXT4 and executing the diskutil list -plist command shows no error and it completed fine... hmmm what can I do to recreate the issue ?

Did the command fail without a device connected?

it would be great if there was a way to set the save location.

For the command line option this should be relatively straightforward. However, for the user interface it's not as easy. I have an idea for an implementing fixed paths choices, for example the users' Home, Desktop or Documents folder. Otherwise I'll have to include another app like CocoaDialog or Pashua to present the user with the interface which I am hesitant to do right now.. maybe I can implement it via HTML5 / Javascript - I'll have to check?

#106
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
v2.6.8 -> 2.6.9

- Set ownership/permission of dumps folder to user and group ID when launched and not assume user ID of 501.
- Minor internal code cleanups.
- Don't show error in command line when attempting to read non-existent efi vars.
- Revise reading user settings from prefs to avoid non-existent items being reported in system.log.
- Revise archiving to only archive dump folder and not full path in some cases.
- Fix issue creating dump folders when app is in a folder containing spaces.
- More fixes for when app is in a folder containing spaces.

Download available on bitbucket but DarwinDumper v2.6.8 should notify you an update is available.

#107
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
Request to users of Ivy Bridge CPU's

I have an idea for adding to DarwinDumper a check for 100Mhz sequential increments of the CPU performance states from I/O Registry. I have a script which works for ACPI_SMC_PlatformPlugin but I need to examine a few dumps when OS X loads X86PlatformPlugin, which happens when using an Ivy Bridge CPU.

If possible, could anyone using an Ivy Bridge CPU please run the following command in terminal and post the result?
ioreg -lw0 | grep CPUPStates

Thanks in advance.

#108
fau7i

fau7i

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Malaysia
Here is for i5-3570K stock clock.


Spoiler


BTW, I use custom SSDT and drop the OEM one in config.plist. I don't know if it does really a matter.

#109
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,127 posts
  • Gender:Male

Here is for i5-3570K stock clock.




BTW, I use custom SSDT and drop the OEM one in config.plist. I don't know if it does really a matter.


could you supply that SSDT, thanks

#110
fau7i

fau7i

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Malaysia

could you supply that SSDT, thanks


Of course... :)

Although this SSDT is OCed to 4.2, my CPU runs on stock clock currently. At any time, I can set it back.

http://dl.dropbox.co...0K_OC42.aml.zip

#111
blackosx

blackosx

    InsanelyMacaholic

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

Here is for i5-3570K stock clock.

BTW, I use custom SSDT and drop the OEM one in config.plist. I don't know if it does really a matter.

Thanks fau71.

Thinking about this out loud, anyone using a custom SSDT created will RevoGirl's ssdtPRGen script will have 100Mhz incremental steps correctly set so maybe this check could be pointless? hmmm..

#112
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
v2.6.9 -> 2.7.0

- Fix bug introduced in 2.6.9 where running one of the preconfigured 'p' options from the command line would not execute the archive option.
- Better handling of non-numeric characters in version number when checking for updates.
- Moved all temporary working files to own folder /tmp/DarwinDumper.
- Add check for root UID and if true assign UID and GID using contents of $HOME environment variable.
- Admin password entered in to UI for symlink of running dumps is now validated and handled accordingly.
- User cancellation of the UI password window now resets the dump status bars back to idle.
- UI checkFeedback timer now only initialises after a run button has been pressed.
- Changed UI dump title from Bootloader Config Files to Bootloader Configs & Drivers
- Added note about the Clover driver files dumped in the associated info page.
- Added Clover RC scripts dump option.
- Update JQueryUI and add theme to the macgap user interface for dialog box.
- Added handling of a non-writable reports folder to both the UI and command line.
- Fix full path for dumped loader config & driver files read from ESP after mounting. (Thanks Droplets).

v2.6.8 onwards should notify about the update. For older versions the download is available at Bitbucket from link on first page

#113
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,995 posts
  • Gender:Male
  • Location:Moscow
I have no CPUPStates
MacBook:1 slice$ ioreg -lw0 | grep CPUPStates
MacBook:1 slice$
But my speedstep works fine
Attached File  Снимок экрана 2013-04-08 в 15.07.24.png   53.82KB   56 downloads Attached File  Снимок экрана 2013-04-08 в 15.07.48.png   76.6KB   59 downloads

#114
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
Hi Slice

CPUStates are only present in ioreg when X86PlatformPlugin is loaded. I believe this only happens when using IvyBridge or newer CPU. In your sig I see i3-2120 which is SandyBridge so you will have ACPI_SMC_PlatformPlugin loaded in which case you'll have PerformanceStateArray.

#115
.::Fabio::.

.::Fabio::.

    InsanelyMac Legend

  • Moderators
  • 7,560 posts
  • Gender:Male
  • Location:Italy
V.2.7.0
Lspci does not extract
possible Error

Fabio

#116
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
Hi Fabio71

I have not seen any problems with the LSPCi dump here.
Can you please provide me with terminal output of the LSPCI dump process?

Here's what to do:
1 - Load DarwinDumper
2 - Click the Symlink option in the left menu.
3 - In the window that slides down, Does the Status read 'Installed'? If not, click the 'Create Symlink' button, then once installed, Close the window and quit DarwinDumper.
4 - Load Terminal and type the following:
darwindumper -rd lspci

Please report back any errors.

#117
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
v2.7.0 -> 2.7.1

- Fix report css for warning sections.
- All dumps, HTML report and .zip archive options are now ticked by default when user prefs file does not exist.
- Adjust HTML report script to allow for when gEfiAppleNvramGuid variables are not used.
- Add detection for IODeviceTree/RevoEFI as an indicator for the RevoBoot loader.
- Renamed Clover RC scripts to RC Startup and Shutdown Scripts.
- Added UI dialog box to notify user that it's waiting for admin authentification.
- Added disabling/enabling of UI buttons to help control what user can and can't click.
- Update macgap UI to use jqueryUI 1.10.2 and replace smoothness theme for dark-hive.
- Update macgap UI to use jquery 1.9.1.
- Set recursive ownership of indexed, time stamped folder to user who began the dumps.
- Add revised /EFI/Clover search path for bootloader dump.
- Clover drivers dump now creates a single file listing all files. No files are copied.
- Re-arrange the user interface so that dumps are now split in to two groups; those which require root privileges and those that do not.
- Remove the run-as-root button, so there's now only a single run button. The user is asked for their password if required.
- Add detection for revised boot0 and boot0hfs. See http://sourceforge.n...boot/code/1560/ for further info.
- Change UI option description from 'Select No Dumps' to read 'Deselect All Dumps'.
- Revise descriptive names of MBR loader (Stage 0) codes.
- Add bdisk script to scan and interpret a disks partition tables.
- Add disk partition table view to html report.

Please report any issues.
  • p.H likes this

#118
.::Fabio::.

.::Fabio::.

    InsanelyMac Legend

  • Moderators
  • 7,560 posts
  • Gender:Male
  • Location:Italy
Hello blackosx

Sorry for the late reply (I was out for work)

Tested version DarwinDumper 2.7.1
Mountain Lion 10.8.3
everything ok
thanks

Fabio

#119
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,097 posts
  • Gender:Male
  • Location:UK
v2.7.1 -> 2.7.2

- Improve/Correct the disk partition scan output with help from JrCs.
- Added option to html report I/O Registry dump sub title bar for user to view Registry dump in separate browser tab.
- IORegistry viewer is now initiated on opening of the html report IORegistry outer header (green bar) rather than onload of the file. Alert message is now more informative about the local XMLHttpRequest issue. The error message when loading the file in Safari should no longer appear.
- Include disk partition dump in logfile.
- Update command line pre-configured options to work with changed practice of some dumps requiring and not requiring root privileges.
- Update faceless build to work with latest revisions.

Download Link

The disk partition view in the HTML report has been improved and in the case of a GPT and GPT/MBR setup, it now shows a more complete MBR partition Map along side the GPT partition Map . Here's a pic of my time machine disk.

Posted Image

Tested version DarwinDumper 2.7.1
Mountain Lion 10.8.3
everything ok

Thanks for coming back and confirming Fabio71.
  • p.H likes this

#120
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,628 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
I have an idea.
How would you like to do video bios dumps with DarwinDumper?
I'm going to rewrite RadeonPCI so it can work on Lion and better.
RadeonDump can then dump the vbios of ATI, NVidia and Intel cards.
In case of ATI card detected it can then decode the vbios dump with radeon bios decoder.
Keep you posted when I am done with it ;)





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


1 user(s) are reading this topic

0 members, 1 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