overdue-scratch

Author Topic: Hazard Distro, Booter Options, SMB, DSDT, the works  (Read 22048 times)

0 Members and 1 Guest are viewing this topic.

bozon42

  • Entrant
  • Posts: 0
Hazard Distro, Booter Options, SMB, DSDT, the works
« on: April 04, 2010, 11:40:38 PM »
hi,
I ve done update of my Hazard distro (10.6.2) with 10.6.3 dmg file (not the combo),
but after reboot got error:

efi_inject_get_devprop_string NULL trying stringdata
Patched DMI Table.
No DSDT replacement found. Leaving ACPI data as is
Starting Darwin x86.

This is strange since I haven't used DSDT in 10.6.2 Hazard.
Note: it uses Chameleon RC3 PCEFI_10.5.
I have triple system on Acer5220 on one disk:
 (p1_Win7,p2_Leo 10.5.8, p3_Hazard10.6.2+ non working 10.6.3 update)
Will it solve my problem if I rename /SnowLeo/Extra to /SnowLeo/old_Extra so Chameleon won't find it an goes to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist?
What should be the content of this file if I want to use 32bit mode?

Regards,
bozon42


Acer Extensa 5220, 2GB RAM
p1 Win7
p2 Leopard XxX.10.5.6.Final2+iDeneb.KIT-10.5.7+10.5.8
p3 Snow Leopard 10.6.1-10.6.2 SSE2/SSE3 Intel AMD by_Hazard

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #1 on: April 05, 2010, 12:08:33 AM »
I can't tell what your problem is.
but after reboot got error:

No DSDT replacement found. Leaving ACPI data as is

This is strange since I haven't used DSDT in 10.6.2 Hazard.
It's not strange. The message says it can't find a DSDT.aml, so if you don't have any DSDT.aml that's the expected behavior.

Patched DMI table - this means your information in /extra/smbios.plist was added to the DMI table, and the devprop message means that you don't have any device properties string(s) in com.apple.Boot.plist.

To boot in 32-bit mode add arch=i386 if you're using Chameleon, or -x32 if you're using Netkas' PCI_EFI (it's not clear from your post which one you're using) to your kernel flags in com.apple.Boot.plist.
« Last Edit: April 05, 2010, 12:15:06 AM by Gringo Vermelho »
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

bozon42

  • Entrant
  • Posts: 0
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #2 on: April 05, 2010, 01:14:18 AM »
Hello Gringo,

/Extra/com.apple.Boot.plist contains the following:

ore com.apple.Boot.plist
<?xml version="1.0" encoding="UTF-8"?>
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Kernel</key>
        <string>mach_kernel</string>
        <key>Timeout</key>
        <string>5</string>
        <key>Kernel Flags</key>
        <string>arch=i386</string>
        <key>EthernetBuiltIn</key>
    <string>y</string>
        <key>GraphicsEnabler</key>
        <string>y</string>
</dict>
</plist>

/Library/Preferences/SystemConfiguration/com.apple.smb.server.plist contains this:

<?xml version="1.0" encoding="UTF-8"?>
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Kernel</key>
        <string>mach_kernel</string>
        <key>Kernel Flags</key>
        <string></string>
</dict>

I have created DSDT.aml in Leo and copied to /Extra but did not help.
Tried also options -v -f -x32/ -v -f arch=i386/-v -f arch=i386 cpus=1/ -v -f arch=i386 cpus=1 rd=disk0s3 but no help.

what is strange that when I copy back 10.6.2 mach_kernel (that I backuped), it starts up. So
for old kernel no DSDT.aml is needed.

Why does the system tries to read DSDT.aml?

Hmm, you are writing that /extra/smbios.plist info was added to DMI table. I am going to read what is inside.
Note: once it was renamed so at that time system couldn't read it - but the error remained.
Is there a way to "reset" the system or to change DMI table?

what is the order of reading com.apple.Boot.plist from directories? if there is no /Extra dir it should read
/Library/Preferences/SystemConfiguration/com.apple.smb.server.plist?
What about *.mkext files or Extension dir  - in different subdirectories ? do they have impact on loading/booting?

Regards,

boon42

Note: I have also error Intel VGA Controller [8086:2a02] :: PciRoot(0x0)/Pci(0x2,0x0) currently NOT SUPPORTED

I know I had problem to use video drivers for X3100 for 10.6.2.
For this I have used Hactrix2006 kexts :

cd /Volumes/Snowleo/System/Library/Extensions
sudo chown -R root:wheel AppleIntelGMAX3100FB.kext
sudo chown -R root:wheel AppleIntelIntegratedFramebuffer.kext
sudo chown -R root:wheel Natit.kext
sudo chmod -R 755 AppleIntelGMAX3100FB.kext
sudo chmod -R 755 AppleIntelIntegratedFramebuffer.kext
sudo chmod -R 755 Natit.kext

and was able to boot into 10.6.2 via option: boot: -v -x32 arch=i386
After update to 10.6.3 I tried again this method but did not help.
Acer Extensa 5220, 2GB RAM
p1 Win7
p2 Leopard XxX.10.5.6.Final2+iDeneb.KIT-10.5.7+10.5.8
p3 Snow Leopard 10.6.1-10.6.2 SSE2/SSE3 Intel AMD by_Hazard

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #3 on: April 05, 2010, 07:06:56 AM »
Something is wrong. Your com.apple.smb.server.plist should look something like this:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DOSCodePage</key>
<string>437</string>
<key>EnabledServices</key>
<array>
<string>disk</string>
</array>
<key>LocalKerberosRealm</key>
<string>LKDC:SHA1.long_ass_number</string>
<key>NetBIOSName</key>
<string>Gringos-iMac</string>
<key>ServerDescription</key>
<string>Gringo’s iMac</string>
<key>Workgroup</key>
<string>WORKGROUP</string>
</dict>
</plist>
Rename yours to com.apple.Boot.plist. Opening the Sharing preferences panel should generate a clean com.apple.smb.server.plist for you.
An unmodified com.apple.Boot.plist looks like this:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
</dict>
</plist>
Why does the system tries to read DSDT.aml?
The messages you see come from the Chameleon bootloader. I don't think you can completely turn off DSDT parsing without modifying the source code. And there really is no reason to.
Hmm, you are writing that /extra/smbios.plist info was added to DMI table. I am going to read what is inside.
Note: once it was renamed so at that time system couldn't read it - but the error remained.
Is there a way to "reset" the system or to change DMI table?
That's because Chameleon patches the DMI table even without /extra/smbios.plist. And that's the reason why your hackintosh ends up as an iMac8,1 if you don't use an smbios.plist specifying another model identifier.
There's a boot flag that tells Chameleon to leave the DMI tables alone, I can't remember what it is but you can find it in boothelp.txt that comes with the official Chameleon 2.0 RC4 download.
what is the order of reading com.apple.Boot.plist from directories? if there is no /Extra dir it should read
/Library/Preferences/SystemConfiguration/com.apple.smb.server.plist?
What about *.mkext files or Extension dir  - in different subdirectories ? do they have impact on loading/booting?
Chameleon doesn't look at the contents of com.apple.smb.server.plist, I don't know why you have those files mixed up. It reads the com.apple.Boot.plist in /Extra first, if there is none, it then looks for one in Library/Preferences/SystemConfiguration.
I don't understand your question about the mkext and the extensions folder, please be more specific.
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

bozon42

  • Entrant
  • Posts: 0
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #4 on: April 05, 2010, 11:14:56 AM »
Hello Gringo,
thanks for the explanation. I have to confess that I made a wrong Ctrl-C+Ctrl-V and that's why
wrongly com.apple.smb.server.plist appeared instead of com.apple.Boot.plist in
Library/Preferences/SystemConfiguration.

When I boot with 10.2.0 mach_kernel and check my /Extra/com.apple.Boot.plist
it is like yours:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Kernel</key>
   <string>mach_kernel</string>
   <key>Kernel Flags</key>
   <string>arch=i386</string>
   <key>EthernetBuiltIn</key>
   <string>y</string>
   <key>GraphicsEnabler</key>
  <string>y</string>
</dict>
</plist>


/Library/Preferences/SystemConfiguration/com.apple.Boot.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Kernel</key>
   <string>mach_kernel</string>
   <key>Kernel Flags</key>
   <string></string>
</dict>
</plist>

/Library/Preferences/SystemConfiguration/com.apple.smb.server.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>DOSCodePage</key>
   <string>437</string>
   <key>NetBIOSName</key>
   <string>IMAC-0DBAAD</string>
   <key>ServerDescription</key>
   <string>bozon42’s iMac</string>
</dict>
</plist>

1.
Now the order in which Chameleon check com.apple.Boot.plist is clear. Thanks for explanation.
2.
There are different files and dirs in /Extra dir:
Extensions dir (AppleIntelPIIXATA.kext,AppleIntelPIIXATA2.kext)
Extensions.mkext
Mini9Ext dir (empty)
UpdateExtra.app
com.apple.Boot.plist (I already described)
smbios.plist
     (tried to change <key>SMproductname</key> to <string>iMac9,1</string> from <string>MacPro4,1</string> as appears in AboutThis Mac,More Info,Hardware Model Identifier)

but after changing back to 10.6.3 mach_kernel and booting with -v -x32 arch=i386/-v -x32/-v arch=i386/-v cpus=1 different options I got always error as before.

3 .
I checked the parameter for not checking DMI Table and tried to boot with this parameter.

I have downloaded Chameleon RC4 (Chameleon-2.0-RC4-r684-bin.tar.gz) but there is no option to turn off DMI Table. The only option is - according to /docs/BootHelp.txt:

  DropSSDT=Yes              Skip the SSDT tables while relocating the ACPI tables. (tried but no help ...)

Regards,
bozon42


Acer Extensa 5220, 2GB RAM
p1 Win7
p2 Leopard XxX.10.5.6.Final2+iDeneb.KIT-10.5.7+10.5.8
p3 Snow Leopard 10.6.1-10.6.2 SSE2/SSE3 Intel AMD by_Hazard

bozon42

  • Entrant
  • Posts: 0
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #5 on: April 05, 2010, 09:14:05 PM »
Hello,

legacy_kernel-10.3.0.pkg.zip pack helped me to get 10.3.0 kernel - thanks for the creator of this pack.

10.3.0 Darwin Kernel Version 10.3.0: Fri Apr 2 13:26:19 EDT 2010; annappirtrvh v3 :xnu-1504.3.12/BUILD/obj/RELEASE_I386 i386


The first problem I found is that I cannot boot into Leo disk0s2.

Regards,

bozon42

PS: rewritten /Volumes/SnowLeo/legacy_kernel -->mach_kernel
in :
/Extra/com.apple.Boot.plist
/Library/Preferences/SystemConfiguration//com.apple.Boot.plist
rewritten:
legacy_kernel -->mach_kernel

and OK!!!
p2: Leo -v -f arch=i386 cpus=1
p3: SnowLeo -v -f

Regards,

bozon42
« Last Edit: April 05, 2010, 10:49:07 PM by bozon42 »
Acer Extensa 5220, 2GB RAM
p1 Win7
p2 Leopard XxX.10.5.6.Final2+iDeneb.KIT-10.5.7+10.5.8
p3 Snow Leopard 10.6.1-10.6.2 SSE2/SSE3 Intel AMD by_Hazard

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #6 on: April 06, 2010, 05:46:17 AM »
Well done, good job on cleaning up!  ;)
« Last Edit: October 27, 2010, 07:17:26 PM by Gringo Vermelho »
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

crazyhorsea29

  • Entrant
  • Posts: 0
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #7 on: September 20, 2013, 09:25:17 AM »
hi,
I ve done update of my Hazard distro (10.6.2) with 10.6.3 dmg file (not the combo),
but after reboot got error:

efi_inject_get_devprop_string NULL trying stringdata
Patched DMI Table.
No DSDT replacement found. Leaving ACPI data as is
Starting Darwin x86.

This is strange since I haven't used DSDT in 10.6.2 Hazard.
Note: it uses Chameleon RC3 PCEFI_10.5.
I have triple system on Acer5220 on one disk:
 (p1_Win7,p2_Leo 10.5.8, p3_Hazard10.6.2+ non working 10.6.3 update)
Will it solve my problem if I rename /SnowLeo/Extra to /SnowLeo/old_Extra so Chameleon won't find it an goes to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist?
What should be the content of this file if I want to use 32bit mode?

Regards,
bozon42




hi. i noticed that i have the same -v output when i'm trying to boot into the installation. i'm using snow leopard hazard distro with option 10.6.2 and 10.6.3 update, chameleon and appleRTC(not sure if it's needed). Does it help if i don't choose 10.6.3? or i have some other problem. i'm using Samsung rv409.

Processors Information
-------------------------------------------------------------------------

Processor 1         ID = 0
   Number of cores      2 (max 8)
   Number of threads   2 (max 16)
   Name         Intel Pentium
   Codename      Arrandale
   Specification      Intel(R) Pentium(R) CPU        P6300  @ 2.27GHz
   Package (platform ID)   Socket 989 rPGA (0x4)
   CPUID         6.5.5
   Extended CPUID      6.25
   Core Stepping      K0
   Technology      32 nm
   TDP Limit      25 Watts
   Core Speed      2394.5 MHz
   Multiplier x Bus Speed   18.0 x 133.0 MHz
   Rated Bus speed      2394.5 MHz
   Stock frequency      2266 MHz
   Instructions sets   MMX, SSE, SSE2, SSE3, SSSE3, EM64T
   L1 Data cache      2 x 32 KBytes, 8-way set associative, 64-byte line size
   L1 Instruction cache   2 x 32 KBytes, 4-way set associative, 64-byte line size
   L2 cache      2 x 256 KBytes, 8-way set associative, 64-byte line size
   L3 cache      3 MBytes, 12-way set associative, 64-byte line size
   FID/VID Control      yes


   Turbo Mode      not supported
   Max turbo frequency   2266 MHz
   Max non-turbo ratio   17x
   Max turbo ratio      17x
   Max efficiency ratio   7x
   TDC Limit      25 Amps
   Core TDP      25 Watts
Max bus number      63
   Attached device      PCI device at bus 63, device 2, function 1

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: Hazard Distro, Booter Options, SMB, DSDT, the works
« Reply #8 on: September 22, 2013, 02:45:55 AM »
This is the Black Hole, where we place posts that are against the forum rules.

We can't support non-retail installations here, too many unknowns. Post on InsanelyMac.

Please read my first reply where I explained to the OP how those messages are perfectly normal.
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131