Jump to content

DarwinDumper

Bootloader BIOS IOReg Device Properties LSPCI Dump VBIOS SMC ACPI NVRAM

  • Please log in to reply
237 replies to this topic

#81
blackosx

blackosx

    InsanelyMacaholic

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

Nik , sorry what is " run as root "

Carmine,

The previous versions of DarwinDumper asked for root privileges before dumping anything, even though many dumps don't require root privileges. That caused problems if, for example, the user wanted to run it on a machine where they didn't know the password.

The app has now been re-worked to run either with or without root privileges, though any dumps that require them will be skipped, or performed the best they can. That's why there are two run options. The 'Run' option does not ask for a password where as the 'Run as Root' option does.

The next release, hopefully tomorrow, will include information about each dump.
  • p.H likes this

#82
magnifico

magnifico

    The Special One

  • Donators
  • 2,568 posts
  • Gender:Male
Nik , i love you ....good explanation

#83
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
Revised version 2.6.5 attached to the opening post.

Changes from 2.6.4 -> 2.6.5

Script Changes:
- Fixed a bug that stopped Chameleon's bdmesg dump from completing.
- Fixed a bug where a blank Volume UUID would not be shown correctly in UIDs.txt.
- Amended description of GUID to the more accurate unique partition GUID in UIDs.txt.

UI Changes:
- Added information about each option in the UI. User can click the 'i' button.
- CSS tweaks to the UI.
- Added a couple of dividers in the left sidebar of the UI.
- Amended help page as the archive dropdown option is no longer in the sidebar.
- Added an asterisk beside the 'Run as Root' button to help tie in the other asterisks beside the dumps.
- Changed the select-all button to highlight blue to match the checkboxes.

This could possibly be my last update for now, as I'm happy everything is working. Please report any bugs.

#84
magnifico

magnifico

    The Special One

  • Donators
  • 2,568 posts
  • Gender:Male
Great news for asterisks Run as root , good idea

#85
friscos

friscos

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 540 posts
  • Gender:Male
  • Location:Roma
I have a problem
This program, which at times seems to work by releasing a regular html report, in most cases sends the block pc disproportionately overloading the CPU.
Doing various tests, I found that starts the process of sysctl system with a cpu usage of 100% up to speed.
The thing itself could also be resolved with a forced shutdown by monitoring resources, but alas it is unstoppable.
The CPU load becomes unsustainable, then the inevitable reset the system.

I also tried to start the process sysctl-a from the terminal as well as once you enter them if they do not quit.
Someone else has the same problem?
Does anyone have a logical explanation?

In the web there is nothing about, or rather of sysctl is full of pages but nothing that refers to the crash

#86
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
Hi friscos

DarwinDumper initiates the dumps in three stages of child processes, with each stage completing before the next stage is started, in an attempt not to completely render a system inoperable. When performing all dumps, I tried many different permutations to find which to run at the same time and which to run separately from another.

If choosing to run a complete dump then yes, the system takes a big hit in performance but it should not cause a reset as OS X should manage the processes. Can you confirm your machine reset from running DarwinDumper or did you reset it yourself?

Here's a screenshot of when it's running here. You can see the UI (aka MacGap) itself has a high CPU load.
Attached File  darwindumper_running.jpg   151.08KB   20 downloads

If you run a full set of dumps and leave it, does the process complete?

For reference though, If you do ever have trouble and a DarwinDumper process appears to be hung, you can run top in Terminal while DarwinDumper is running you will see the individual processes running - they'll be from the COMMAND sh. If you want to kill any of these they you can look up the PID of the process and run the kill command followed by that PID. But be sure it's the correct PID otherwise you could kill another process.

#87
friscos

friscos

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 540 posts
  • Gender:Male
  • Location:Roma
this is the image after you close and reopen DarwinDumper 3 times with a single dump execute bit.....The fact is that the program does not end the procedure and remains locked

impossible to stop the process sysctl also forcefully
Posted Image

#88
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
I missed this from your earlier post. So is your problem with sysctl?

I also tried to start the process sysctl-a from the terminal as well as once you enter them if they do not quit.
Someone else has the same problem?
Does anyone have a logical explanation?

If that does not complete then I guess you have a problem with your system somehow. Have you tried repairing disk permissions from within Disk Utility?

As for DarwinDumper, the only time sysctl is run is to perform the Kernel Information dump when it runs:
sysctl -a | grep cpu
sysctl -a | grep hw

Can you try a test for me please?
Launch DarwinDumper, untick Kernel Information and then click run. Do the scripts and process complete now?

#89
magnifico

magnifico

    The Special One

  • Donators
  • 2,568 posts
  • Gender:Male
:tomato:

Hi Nik..how are you?
Nik listen me
Why in Misc have this
Spoiler


#90
friscos

friscos

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 540 posts
  • Gender:Male
  • Location:Roma

If that does not complete then I guess you have a problem with your system somehow. Have you tried repairing disk permissions from within Disk Utility?

As for DarwinDumper, the only time sysctl is run is to perform the Kernel Information dump when it runs:

sysctl -a | grep cpu
sysctl -a | grep hw

Can you try a test for me please?
Launch DarwinDumper, untick Kernel Information and then click run. Do the scripts and process complete now?

now works I think the problem is the port configuration usb3 in bios, thanks for your interest

sysctl -a | grep cpu
Spoiler


sysctl - un | grep hw

Spoiler


Kernel Boot Messages

Spoiler


#91
blackosx

blackosx

    InsanelyMacaholic

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

:tomato:

Hi Nik..how are you?
Nik listen me
Why in Misc have this

Spoiler

Hi Carmine

These are some of your efivars. For example, MLB & ROM which you'll be familiar with now as they're used for the Messages app. They were added to DarwinDumper for curiosity to find what real Mac's used. You can find more about efivars here and if you search the Clover thread and dmazar's UEFI booting thread at projectosx you'll find more conversation about them.

You can see a complete list of the efivars on your system by booting in to Clover, clicking the shell icon from the GUI and then running the dmpstore command.

now works I think the problem is the port configuration usb3 in bios, thanks for your interest

Thanks for reporting back. So did you disable USB3 in UEFI for now?

#92
Blame73

Blame73

    InsanelyMac Protégé

  • Donators
  • 80 posts
  • Gender:Male
  • Location:Italy
Great work blackosx, really appreciate it!

#93
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
I've added DarwinDumper to a Git repository and started using BitBucket as it allows hosting downloads as opposed to GitHub which does not.
Repo: https://bitbucket.or...sx/darwindumper

Please note, that although you can checkout the source files, it still needs to be wrapped in to an application bundle with Platypus. Therefore, I have added a link to download the latest Platypus wrapped application, version 2.6.8, to the opening post.


The good news is, as of v2.6.8, the DarwinDumper user interface will now notify you when an update is available.


Changes from 2.6.5 -> 2.6.6

- Added detection for MBR code - Debian for ARM - used on Raspberry Pi.
- Added detection for PBR code - Linux FAT32.
- Privatise option now masks efivar MLB and ioreg serial-number.
- Privatise option now masks serial and custom UUID numbers from all Chameleon, Clover and XPC bootloader .plist files it finds.
- Startup and shutdown scripts (/etc/rc.local & /etc/rc.local.shutdown) are now saved without .txt extension. Removed hyperlink to view files from the HTML report.
- User selections made in the UI are now saved and restored on next run.
- The DarwinDumperReports folder is now saved to directly instead of using /tmp.
- The dump folder, for example: DarwinDumper_2.6.6_Apple_X64_ML_JonDoe is now written inside an enclosing indexed, time stamped folder with the Mac model name. For example, 000_2013-03-05_15-08-28_MacPro5,1. This removes the need to move and archive previous dumps at the end of the script.
- Improved command line feedback and usage info.
- Added option to create/update/delete symlink from the user interface.
- Added simple check for version updates with download link for newer version shown in user interface.

UI Changes.
- Window now has Animation - Alert Style.
- Disabled the top/bottom rubber band scrolling.
- Fixed issue where window contents could be scrolled left with magic mouse.
- Unselected options now appear in grey, selected options now appear in a highlighted colour.
- Options now have hover attribute so it's easier to identify which option to click.
- Archive options re-arranged with 'Don't Archive' at the top.
- Added Symlink option to left side menu.

Changes from 2.6.6 -> 2.6.7

- Revise server path and search term used when checking for updates.

Changes from 2.6.7 -> 2.6.8

- Fix previous change in 2.6.7 that did not work and was flawed. Script now checks the BitBucket Downloads section for newer version updates.

Please report any bugs.

#94
magnifico

magnifico

    The Special One

  • Donators
  • 2,568 posts
  • Gender:Male
mhmm...Nik listen me...when open HTLM report ...Opens everything before was better, I just select and open the settings

unterstand ???

#95
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
Hi Carmine

Sorry no, I don't understand. Do you see a problem when you view the HTML report?

#96
magnifico

magnifico

    The Special One

  • Donators
  • 2,568 posts
  • Gender:Male
look here
before was :

http://cl.ly/image/1y0q0N093g3h

now all open

http://cl.ly/image/1f1H3f2z0D0t

unterstand now ??

#97
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
Ah. Thanks for showing me with images, I understand now.

Did you tick the collapse checkbox?
Posted Image

DarwinDumper now writes your chosen options to ~/Library/Preferences/org.tom.DarwinDumper.plist and then reads it back next time you run the app to restore your settings. If you did tick the collapse checkbox, then maybe on the first run the setting wasn't saved correctly?

Can you test by running the app again first with the option unticked, then again with it ticked to see if the state is remembered correctly?

#98
magnifico

magnifico

    The Special One

  • Donators
  • 2,568 posts
  • Gender:Male

Ah. Thanks for showing me with images, I understand now.

Did you tick the collapse checkbox?
Posted Image

DarwinDumper now writes your chosen options to ~/Library/Preferences/org.tom.DarwinDumper.plist and then reads it back next time you run the app to restore your settings. If you did tick the collapse checkbox, then maybe on the first run the setting wasn't saved correctly?

Can you test by running the app again first with the option unticked, then again with it ticked to see if the state is remembered correctly?


ok...now work Nik... :smoke:

#99
sir mac alot

sir mac alot

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Interests:Photography, F1, Japan, Making music
great tool, thanks for all your hard work.

i first tried v2.1.3 and it made the dump and I was most interested in the bootloader section.
I am trying to track down a Error parsing plist file issue. The dump showed Error Reading File: /tmp/duSliceinfo.plist for the linux partition.
So i checked linux, but no plist file. Ran DarwinDumper 2.1.3 again a week later and nothing in the bootloader section. So I updated to 2.58 and then 2.68, but still Bootloaders.txt and UIDs.txt are empty.
i ran as root and not, but no difference. Any ideas?

also, 2.13 saved the dump to desktop but 2.68 is saving to the app location. any way to change the save location?

thanks.

#100
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,174 posts
  • Gender:Male
  • Location:UK
hi sir mac alot

/tmp/duSliceinfo.plist is a temporary file the script creates while it scans your disks. This file is then read back for producing the disk and bootloader dumps and deleted so you should not be able to find it later.

It's strange your Bootloaders.txt and UIDs.txt files are empty. What version of OS X are you running?

Can you try running the dumps from the command line to see if you see any errors? The easiest was to do this will be to run DarwinDumper in the Finder, click the Symlink option from the left side menu and make sure the status reads 'Correctly Installed' (if not, then click either the Create Symlink or Update Symlink button).

Once the symlink is installed, load Terminal app and type:
darwindumper -d diskUtilLoaders,diskVolumeXuid -r

Can you tell me if you see any errors?





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