Jump to content
519 posts in this topic

Recommended Posts

@jminrod

 

The password entry is done via an Applescript dialog window. I have tested this on 10.6 thru 10.11.2 and have not had an issue. However, in your situation I don’t know why you cannot see the dialog window and I don’t think either the console or DarwinDumper log will help identify the issue.

 
You should still be able to run DarwinDumper from the Terminal.
/path/to/DarwinDumper.app/Contents/Resources/script -h 
For a complete dump you can use:
/path/to/DarwinDumper.app/Contents/Resources/script -p2
If you want privacy enabled, use:
/path/to/DarwinDumper.app/Contents/Resources/script -p4
 
  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

So I'm trying to get MLB from my dad's iMac 10.6.8. He doesn't ever plan to upgrade past Snow Leopard (he's set in his ways), so I can't use newer tools to get this. I have downloaded the latest DarwinDumper, and it won't work on the GUI, saying it needs Lion or higher. But I can get it to run in the terminal. However, no matter what, MLB serial is set to private and returns a value of 1. I have run sudo ./script -p2, I have even run it straight as root. No matter what, same result. 

 

On my hack, 10.11.3, running it from the terminal gives a very different experience. Just typing ./script isn't valid, it demands some options, and when I give it ./script -p2 it asks for my password so it can run as root. None of these things happen on 10.6.8. Is there an older version that would work better? 

 

I have also tried smbios_toolzip and it returns the same PVT and a value of 1.

Link to comment
Share on other sites

AFAIK, Snow Leopard does not expose the MLB in nvram so you won’t get it that way.

 
Here on my iMac running 10.6.8:
$ nvram 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:MLB
nvram: Error getting variable - '4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:MLB': (iokit/common) data was not found
Where as on 10.11:
$ nvram 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:MLB
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:MLB C***************A
 
Apologies for DarwinDumper v2.9.9.2 not running in 10.6.8. This is a mistake and I’ll fix that in the next release. v2.9.9.1 did work under Snow Leopard so I’ve attached that for you here in case you wanted it still.
 
Instead of using the -p2 option, the simplest command line option to save the system nvram using DarwinDumper would be to just dump the nvram using:
$ ./script -d nvram
You also don’t need to run using sudo. If an item to dump requires sudo, the script will ask you for password.
 
And for ref, running just ./script without any arguments regardless of OS Version will give you the same output:
$ ./script 
usage: [-a zip,lzma,none] [-d acpi,asl,acpiFromMem,audio,biosSystem,biosVideo,codecid,cpuinfo,devprop,diskLoaderConfigs,bootLoaderBootSectors,diskVolumeXuid,diskPartitionInfo,dmi,edid,bootlog,firmmemmap,memIntelGraphics,ioreg,kerneldmesg,kernelinfo,kexts,lspci,rcscripts,nvram,opencl,rtc,sip,smc,sysprof] [-h] [-l] [-o html,private] [-p 1,2,3,4] [-v]
You could try using imessage_debug to get the MLB from OS X 10.6.8 but I haven't tried it myself.
Link to comment
Share on other sites

 

AFAIK, Snow Leopard does not expose the MLB in nvram so you won’t get it that way.

Yes, this is how I came to DarwinDumper in the first place, because iMessage Debug only pulls the values from NVRAM. I was under the impression that DarwinDumper did not, and could therefore get the values from pre-Lion OS X by looking in the DMI tables. Maybe I was mistaken. If that's the case I think I'm left just taking the thing apart and looking for the physical barcode, which is way more trouble than it's worth. 

Link to comment
Share on other sites

Yes a Type 2 DMI table can also show the MLB. Looking at a dump from a MacPro 6,1 running Mavericks I see one of the Type 2 tables shows a Serial number and also 'Location In Chassis: MLB'. A DMI Type 2 table from an iMac running 10.6.8 shows a serial number but the chassis location is not marked as MLB but instead 'Part Component'. You could try that.

Link to comment
Share on other sites

Yes a Type 2 DMI table can also show the MLB. Looking at a dump from a MacPro 6,1 running Mavericks I see one of the Type 2 tables shows a Serial number and also 'Location In Chassis: MLB'. A DMI Type 2 table from an iMac running 10.6.8 shows a serial number but the chassis location is not marked as MLB but instead 'Part Component'. You could try that.

Base Board Information
        Manufacturer: Apple Inc.
        Product Name: Mac-F4238CC8
        Version: PVT
        Serial Number: 1
        Asset Tag: Base Board Asset Tag
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Part Component
        Chassis Handle: 0x0014
        Type: Motherboard
        Contained Object Handles: 0

Now that's from on old version I found, 2.1.3, so maybe it would be different in newer versions? I will try the 2.9.1 you posted and see if that gets any different results.

 

EDIT: Ran 2.9.9.1 and got the same results, both by GUI and by CLI with ./script -p2

Link to comment
Share on other sites

The DMI tables in the Mac are set in hardware so will not change regardless of which version of DarwinDumper you use.

 
That model identifier Mac-F4238CC8 matches an iMac7,1 and checking SMBIOS from an ioreg dump from another iMac7,1 I see the same thing.
 
iMac7,1:
Base Board Information
Manufacturer: Apple Inc.
Product Name: Mac-F4238CC8
Version: PVT
Serial Number: 1
Asset Tag: Base Board Asset Tag
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Part Component
Chassis Handle: 0x0013
Type: Motherboard
Contained Object Handles: 0
 
And on an iMac5,1 there is DVT instead of PVT but again no serial number.
 
iMac5,1:
Base Board Information
Manufacturer: Apple Computer, Inc.
Product Name: Mac-F42786A9
Version: DVT
Serial Number: 1
Asset Tag: Base Board Asset Tag
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Part Component
Chassis Handle: 0x0003
Type: Unknown
Contained Object Handles: 0

So AFAICT, you won't get the information you're looking for from SMBIOS.

Link to comment
Share on other sites

  • 1 month later...

Hi blackosx how are you? ... here all ok  :D

I see something in Chameleon's source code to retrieve pci info, but I'm looking for a easy-portable version. Nothing impossible btw.

I 'll follow your advice, and sorry for the OT question.

Link to comment
Share on other sites

  • 2 months later...

Yeah. This issue lies with MacGap, the app I use for DarwinDumper's interface. I'll try to find a fix when I get more time but otherwise the underlying scripts work fine.

 

For now, I've updated DarwinDumper to recognise Sierra and all works from the command line only.

 

DarwinDumper_v2.9.9.3a.zip

 

Command Line usage:

./DarwinDumper.app/Contents/Resources/script [options]

For help/list of options:

./DarwinDumper.app/Contents/Resources/script -h

Example:

 

- Download attached to desktop.

- Unzip.

- Load up Terminal 

- cd to DarwinDumper_v2.9.9.3a

blackosxs-iMac:DarwinDumper_v2.9.9.3a blackosx$ ./DarwinDumper.app/Contents/Resources/script -p1
---------------------------------------------------------------
------------------------------------------------------------------------
Save path is writeable but DarwinDumperReports directory does not exist.
Attempting to creating DarwinDumperReports directory...
------------------------------------------------------------------------
/Users/blackosx/Desktop/DarwinDumper_v2.9.9.3a/DarwinDumperReports has permissions 755
------------------------------------------------------------------------
Initiating dumps...
Completed Apple System Log
Completed System Profiler
Dumped Apple_X64 boot log.
Completed Device Properties
Completed Boot Log
Completed SMC Keys
Completed RC Scripts
Completed SIP
Completed OpenCL Info
Completed Kernel Info
Completed ACPI Tables
Completed RTC
Completed NVRAM - Apple specific vars
Completed NVRAM - UEFI firmware vars
Completed DMI Tables
Completed EDID
Completed CPU Info
Completed Ioreg
Creating HTML report
Closing CSS
Closing HTML
Appending Javascript to CSS file
Appending HTML to Javascript and CSS file
Renaming CSS file to HTML file
Compressing latest DarwinDumper folder using .zip
  • Like 8
Link to comment
Share on other sites

  • 1 month later...

I'm slowly working on a revision to DarwinDumper and one of the things I've been looking at it extracting the kernel bootlog from Sierra. I'm posting a simple script I've come up with for testing.

 

Can users let me know if it works on their systems?

I'm interested in does it work with different locales also.

 

extractSierraBootlog.sh.zip

 

If anyone has ideas to improve the script then please do.

  • Like 7
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I have updated DarwinDumper to v3.0.0.

 

- Updated to MacGap2

- User Interface updated.
- Updated jQuery to v3.1.0.
- Updated jQuery UI to v1.12.0.
- Save path moved to main window.
- Sparkle framework v1.14 integrated for app updates.
- Updated VoodooHDA to v2.8.9.
- Added Power Settings dump for sleep/hibernate settings and logs.
- Replaced pmem.kext with newer MacPmem.kext.
- Included the previous command-line only Intel Graphics register dump in to main UI.
- Added memory info dump.
- Added support for macOS Sierra.
- Added dump of macOS Sierra kernel boot messages.
- Add detection for APFS in disk partition scan.
- HTML report generation now utilises /usr/bin/textutil for faster conversions.
 
NOTE: Minimum OS version for UI is now 10.9.
 
Please report any issues, questions here and I'll update when I get time.
 
 
Thanks for testing.
 
Note: I'll update opening post when I get time.
 
  • Like 6
Link to comment
Share on other sites

 Share

×
×
  • Create New...