Jump to content

BadAxe2 kernel panic


compaqdrew
 Share

24 posts in this topic

Recommended Posts

I'm working on a Badaxe2 SL install. Anyone have any ideas about this KP?

badfiaaci.jpg

 

  • Chameleon 1.0.12 with new boot file
  • NullCPUPowerDisabler.kext
  • fakesmc.kext
  • AppleIntelPIIXATA.kext from here - this one's new to SL, but I installed it to fix a previous KP
  • no dsdt.aml (yet. Leo booted without it...)

 

Edit:Fixed, remove appleIntelPIIXata.kext or (untested, suggested) use netkas AppleIntelPIIXATA.kext in 32-bit mode (NOT DEFAULT)

Link to comment
Share on other sites

you should do this: boot with -x32 -s

 

and then type:

 

/sbin/fsck -fy

 

/sbin/mnt -uw /

 

kextcache -v 1 -t -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions/

 

same with  /Extra/Stored_Kexts

 

and reboot

Link to comment
Share on other sites

Hey, same great BadAxe2, and same KP here

 

I tried to boot with kernel flags -32 -s as johan told, but didn't work either.

 

I haven't any PATA device so I removed AppleIntelPIIXATA from S/L/E/IOATAFamily.kext/Contents/PlugIns/ and also removed Netkas AppleIntelPIIXATA from Extras...

 

and SL has booteed fine.

 

I´ll try to boot with Netkas AppleIntelPIIXATA in some minutes

 

Now working on audio fix.

Link to comment
Share on other sites

Well, I tried to boot with Netkas AppleIntelPIIXATA kext in extras (and removed the original) and booted OK, but when I was configuring my user, I got a KP.

 

Removed Netkas AppleIntelPIIXATA and again booted fine, but KP in 30-40 secs.

 

So it's nothing AppleIntelPIIXATA kext related.

 

Ithink it's while it attemps to build Extensions.mkext at S/L and/or at Extras Folder.

 

I'm going to boot with -32 -s flags as Johan said, and build kextcaches from there.

 

Compaqdrew, can you repeat my results?

Link to comment
Share on other sites

excited to see this board working. still running same setup from my nearly 2 year old build. 10.5.5

I'm still getting KPs immediately on boot (not even -s -x32 mode).

 

I need -f to avoid getting an ACPI kernelpanic. Not immediately clear why, maybe fakesmc-related (fakesmc isn't cached)? I'm using Chameleon 1.0.12, which avoids most of the -f related KPs, so I should be OK there.

With -f, (regardless of -x32 -s) I'm getting the KP in the OP.

Without netkas AppleIntelPIIXATA I'm getting a slightly modified KP that only references IOATAFamily (*not* IOPCIFamily). No part of this is booting even to -s.

Link to comment
Share on other sites

I'm still getting KPs immediately on boot (not even -s -x32 mode).

 

I need -f to avoid getting an ACPI kernelpanic. Not immediately clear why, maybe fakesmc-related (fakesmc isn't cached)? I'm using Chameleon 1.0.12, which avoids most of the -f related KPs, so I should be OK there.

With -f, (regardless of -x32 -s) I'm getting the KP in the OP.

Without netkas AppleIntelPIIXATA I'm getting a slightly modified KP that only references IOATAFamily (*not* IOPCIFamily). No part of this is booting even to -s.

 

I've confirmed my KP is not a permissions issue, but might be related to either bios config or the bootloader.

 

Ugusio, can you post more config info? Bios/AHCI settings, dsdt.aml, bootloader? You're farther along than I am...

 

EDIT lots of people are having this problem.

Link to comment
Share on other sites

Ugusio, can you post more config info? Bios/AHCI settings, dsdt.aml, bootloader? You're farther along than I am...

 

Well, some config must be different, because now, I have been about 40 min without KP.

 

First I'll resume what I've done.

 

From Working Leo:

 

- Format disk for SL with GUID partition in DiskUtilities

 

- Make partion active With fdisk in Terminal

 

- Install Chameleon RC1 (pay attention on version, because it isn't last one)

 

- Overwrite boot file with Netkas boot from PC EFI v10.1 (pay attention on version again)

 

- Copy NullCPUPowerManagement.kext PlatformUUID.kext and fakesmc.kext from lord_webi post to the Extra/Extensions/ folder (you can find it here: http://www.insanelymac.com/forum/index.php?showtopic=181191 ). I think fakesmc.kext it's last one from Netkas.

 

- Copy smbios.plist and com.apple.boot.plist from my working Leo to Extra/ (com.apple.boot.plist is standart one only with my GFX Card EFI string added)

 

- Add dsdt.aml extracted with DSDTPatcherGUI without any patch (only marqued DarwinOS option)

 

- Mount SL DVD Image and start installer from Terminal and Install SL.

 

- Remove AppleIntelPIIXATA from S/L/E/IOATAFamily.kext/Contents/PlugIns/

 

- Reboot to SL with kernel Flags -32 -s

 

- Activate write permissions and then build mkextcaches as told johan (you need to correct some file permissions before build Extra/ folder kextcache)

 

- Reboot to SL without flags, configure user and run (over and over) Kext Utility until no 2nd attempt apperars as lord_webi says.

 

- Reboot again and you're on SL, but there is no sound yet. (I don't want to fix it via VodooHDA or patched AppleHDA, Iwant fix it via DSDT or com.apple.boot.plist)

 

If you need some bios config please, ask me for which parameters. I haven't modiffied nothing from my working Leo, so I have to check it for you, because Leo was long time working and I'm not sure what changed in bios a year ago.

 

If you can setup your BadAxe2 SL, perhaps We could convert this post to a more detailed guide for other users.

 

Good luck!!

Link to comment
Share on other sites

I've been running snow leopard on the bad axe 2 for some weeks now and it works really good, booth on the 64 and the 32 bit kernel. No kp:s yet :D . However, to get it working I had to make a dsdt file with the hpet option (I'm no expert in this field, maybe I need this because I'm using a q6600?) enabled and switch to AHCI in bios. I'm using Chameleon RC1 with the PC EFI v10.1 boot file. The installation method I used was to clone my macbook with ccc and just add the kexts and the bootloader. I'm thinking of using an USB with the kexts on to be able to sync the macbook with my bad axe, so that I always have the same setup, even when I leave home :D .

 

The kexts I'm using except for the dsdt patch are:

dsmos.kext (will update to fakesmc)

NullCPUPowerManagement.kext

SleepEnabler.kext (in order to get sleep working)

Link to comment
Share on other sites

Thanks for all your help Ugucio. After updating to Chameleon 2.0-RC1 with modified EFI 10.1 bootfile following your instructions, I'm getting the following sparse panic:

 

I think I also got that error before I enabled hpet in the dsdt file. Just, to be clear, I don't use the dsdt file in leopard, only in snow leo.

 

I can add that the network card works great, but at boot it is reported as half duplex 10 Mbit for some reason. I easily get speeds over 80 MB/s from my server over the gigabit router though. Firewire audio works both in 64 and 32 bit kernel.

Link to comment
Share on other sites

- Reboot again and you're on SL, but there is no sound yet. (I don't want to fix it via VodooHDA or patched AppleHDA, Iwant fix it via DSDT or com.apple.boot.plist)

 

Good luck!!

 

 

Thank you, my badaxe2 can boot now!

Can anyone put online an DSDT file for badxe2 with audio support or post the audio string.

 

Also I got poor performance with xbench compare to LEO.

 

Thank You

Link to comment
Share on other sites

I think I also got that error before I enabled hpet in the dsdt file. Just, to be clear, I don't use the dsdt file in leopard, only in snow leo.

 

HPET is enabled in the DSDT. It's in the root of the drive, not in /Extras/. Basically all I did was run the DSDT Patcher GUI with the HPET and point it to the right drive. Did I miss a step?

Link to comment
Share on other sites

Thank you, my badaxe2 can boot now!

Can anyone put online an DSDT file for badxe2 with audio support or post the audio string.

Thank You

 

Happy to hear someone has found usefull my post and has his BadAxe working with SL.

 

Unfortunately I haven't been sucessfull with audio in DSDT or string ¿someone did it?

 

Benchmarks with 64bits kernel can be a little slower, but you can try to repeat benchmark booting with -32 flag to force kernel work in 32bis as Leo.

 

 

 

It's in the root of the drive, not in /Extras/.

 

Remember the bootloader is PCEFI v10.1 and not Chameleon (we have overwrited boot file) so DSDT must be in Extras Folder.

 

I've it there and my system is working.

Link to comment
Share on other sites

Remember the bootloader is PCEFI v10.1 and not Chameleon (we have overwrited boot file) so DSDT must be in Extras Folder.

 

I've it there and my system is working.

 

I moved it to /Extras (just dragged in Finder) and I've got no difference, still sparse KP. What bios rev are you using? Am I missing permissions or something?

Link to comment
Share on other sites

My bios rev is

 

BX97520J.86A.2813.2008.0114.2256.

 

If I'm OK you see Chameleon Bootloader menu, and then select HD from wich boot then KP ¿is this OK?

 

Do you have some kextcaches in Extras/ or /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext? remove it.

 

Are you Sure version of Fakesmc?

 

My DSDT has no HPET patch, have you tried that?

 

Good Luck!

Link to comment
Share on other sites

My bios rev is

 

BX97520J.86A.2813.2008.0114.2256.

 

I'm almost the same as you, last eight are 0423.2112. I'm running bios 2831, are you running 2813 or is that a typo? Someone in IRC pointed out that the KP shows it's using the 64-bit kernel in spite of -x32. That strikes me as really weird. Bootup showed graphical Chameleon with RC1 version number.

 

I tried again with Chameleon RC2 (no EFIv10.1) as suggested in IRC and got a similar sparse KP in 32-bit mode when I use arch=i386. I've attached the img for the 32-bit KP if it helps.

 

In summary: Chameleon RC1, Chameleon RC1 + EFI 10.1, Chameleon RC2 all sparse KP

Doesn't matter about DSDT.aml, whether HPET on or off or DSDT.aml doesn't exist

Only "success" I've had has been chameleon 1.0.12 with a modified boot, got KPs releated to ioATA and/or ioPCI but they got past sparse kp.

I'm aware of the permissions issue and have been chmodding -R 755 / chown -R 0:0 /E/E

 

Many of these harebrained configs that sparse kp SL will start vanilla 10.5.8 just fine

 

EDIT: Fixed. This sparse KP is related to the Chameleon 2.0 -f issue. Chameleon *MUST* use an mkext with SL, it can't read individual kext files. Solved by building the mkext from SL on a real mac.

post-177613-1251427878_thumb.jpg

Link to comment
Share on other sites

To provide my trials:

My Hardware Info.:

Bad Axe 2 + ATI HD 2600XT (0x9588)

 

EFI Partition:

Chameleon 2.0 RC2 with EFI 10.2 Beta

Rename "/Extra/Extensions" to "/Extra/AdditionalExtensions"

Remove "/Extra/Extensions.mkext"

Place "/Extra/DSDT.aml"

Kernel Flags in "/Extra/com.apple.Boot.plist" ==> -v arch=i386

 

Before the First Snow Leopard Boot-on: (This step is very important to me)

1. Used ATY_Init "Installer" to install ATY_Init.kext (To use Installer to prevent permission/owner:group error)

2. Remove "/System/Library/Extensions/ATIRadeonX2000.kext"

3. Remove "/System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleIntelPIIXATA.kext"

4. Place "/System/Library/Extensions/fakesmc.kext" (have to repair permission/owner:group, including it's "Contents' folder")

 

And then FIRST REBOOT:

P.S. Highly Recommended "Kext Utility"!!! After Login into Snow Leopard, remember to launch "Kext Utility" once modified "/System/Library/Extensions/"

Link to comment
Share on other sites

Right, so thanks everybody for your help. Here's my new setup:

 

Working: All except reboot, audio (taruga 1.16 is broken), IDE (appleintelpiixata)

 

 

First, get an external disk (HD, preferably). Make an empty partition that's at least 5-10gb in size. Command-info on the drive in finder and make sure "Ignore permissions" is NOT checked

Install chameleon 2.0-rc2 to the fake partition. I used the installer. This will "fail", mumble mumble.

Install the OS with the Open mpkg method. Remember to Customize and remove everything, otherwise it won't work

mv the Extras/Extensions to Extras/AdditionalExtensions

remove the Extras/Extensions.mkext if it exists

remove [volume]/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

Install netkas's fakesmc, whatever elese in the AdditionalExtras folder. chown -R 0:0, chmod -R 755

remote the evil IOATAFamily.kext/Contents/PlugIns/AppleIntelPIIXATA.kext or whatever

From a SNOW LEOPARD INSTALL, run something like this:

kextcache -v 1 -t -m /Volumes/Temp/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /Volumes/Temp/System/Library/Extensions /Volumes/Temp/Extra/AdditionalExtensions

Unfortunately, you can't swap these because they know the path of the kexts (like what drive, etc.)

Copy the dsdt.aml (dunno if this is actually necessary or not)

 

Everything should kinda work, prolly run with -v just to be sure, never use -f

 

To get graphics, use the proper boot.plist and put it in /Extra

Link to comment
Share on other sites

I finally had success when following the posts in this thread:

  1. Ugucio (as guide for which bootloaders and extensions to use)
  2. olav (AHCI must be chosen as BIOS setting!)
  3. johan (updating Extensions.mkext before first real boot, I had to use '-f -s -32' to boot in safe mode without panic)

 

So thank you all (including the creators of the bootloaders/extensions) :(

 

  • I have not yet tried sleep, or rebooting or shutting down, I guess I need SleepEnabler and OpenHaltRestart.
  • I tried the 'AppleHDAPatcher_v1.16', but sound is still not working.
  • My Geforce 7900 GS is not OpenCL compatible (note the C in CL).

Link to comment
Share on other sites

  • I have not yet tried sleep, or rebooting or shutting down, I guess I need SleepEnabler and OpenHaltRestart.

OpenHaltRestart didn't fix reboot for me.

 

Sound isn't working for me, Taruga 1.16 seems to corrupt the kext (kextcache complains about a plist parse failure?). I looked at the plist, and it looks fine to me, but I might not be looking at the right one (error msg is ambiguous and I didn't feel like walking the plist tree...)

VoodooHDA causes a KP.

Haven't tried any other Taruga version. If anyone gets this working, please update the thread. In the meantime I've got a USB soundcard I use.

 

Removing AppleIntelPIIXATA.kext killed my IDE DVD drive (but allowed boot). Netkas AppleIntelPIIXATA.kext is rumored to fix it in 32-bit (not tested), and is known to KP in 64-bit (confirmed).

Link to comment
Share on other sites

Followed this stuff loosely, and I'm booted and working. I actually let it run the migration assistant to give it a workout, and that worked.

 

I need to do the kext utility now, and then work on

 

the audio, ATA, the Marvel controller and the 7900 GS 512M card.

 

Way back when I did the bios edit on the 7900 GS, so I don't know if thats gonna come back and byte me in the arse or not..

Link to comment
Share on other sites

For compaqdrew:

 

Sorry for that hours I've been out working.

 

A lot of questions in your post, but I can see in your edit you are working: great!!.

 

It's very important ketxcahes rebuilded, and I was getting a KP in a few minutes (seconds in some cases) until done... but I was booting at all until KP, and finally I rebuild then from newly installed SL.

 

Rebuild from Leo didn't work, and also didn't work from DVD.

 

Well, I expect your experience will hepl another users.

 

I finally had success when following the posts in this thread:

 

 

 

For Tader:

 

great if succesfull!!

 

[*]olav (AHCI must be chosen as BIOS setting!

 

It was part of my working Leo Install, so Ididn't said but It's a real ***MUST***

 

[*]johan (updating Extensions.mkext before first real boot, I had to use '-f -s -32' to boot in safe mode without panic)

 

-f was not necessary for my, but in my guide it was necessary rebuild Kext caches for new installed SL booting with -32 -s flags. Compaqdrew has said in other reply It's working rebuild ketxcaches from another working SL (I've testet from Leo and It didn't work)

 

Let's go for perfect Bad Axe solution!!

 

 

For CuriousMac:

 

To do kextutility as soon as you can boot in SL is very important.

 

For the Marvel controller there is a floating arroud driver, but haven't tested in 64 bits. We will try in some time...

 

 

 

FOR ALL OF YOU (sorry for voice level):

 

 

Chameleon boots by default 64 bits kernel so:

 

there are am lot of Kext that are NOT working. This includes:

 

32 bits VoodooHDA (there is a 64bit version)

Taruga's patchet AppleHDA

92xxdhda

 

and some others Kext (these include my printer and scanner drivers, what :) ).

 

If you want to use these kext boot with kernel falag -32 and get a try.

 

Please if someone has a working 64bits sound solution post it.

 

Reboot and Shutdow not fully working is a question to solve, but I didn't want to put a lot of effort on it until more people has a working SL. Now we're in the way...

 

 

P.D.: This threaded post suck!!. This post is for all of you, not only for compaqdrew.

Link to comment
Share on other sites

To provide my trials:

My Hardware Info.:

Bad Axe 2 + ATI HD 2600XT (0x9588)

 

EFI Partition:

Chameleon 2.0 RC2 with EFI 10.2 Beta

Rename "/Extra/Extensions" to "/Extra/AdditionalExtensions"

Remove "/Extra/Extensions.mkext"

Place "/Extra/DSDT.aml"

Kernel Flags in "/Extra/com.apple.Boot.plist" ==> -v arch=i386

 

Before the First Snow Leopard Boot-on: (This step is very important to me)

1. Used ATY_Init "Installer" to install ATY_Init.kext (To use Installer to prevent permission/owner:group error)

2. Remove "/System/Library/Extensions/ATIRadeonX2000.kext"

3. Remove "/System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleIntelPIIXATA.kext"

4. Place "/System/Library/Extensions/fakesmc.kext" (have to repair permission/owner:group, including it's "Contents' folder")

 

And then FIRST REBOOT:

P.S. Highly Recommended "Kext Utility"!!! After Login into Snow Leopard, remember to launch "Kext Utility" once modified "/System/Library/Extensions/"

 

Trials?

 

Does this work or not?

Link to comment
Share on other sites

 Share

×
×
  • Create New...