Jump to content

Kernel Panic on Boot VooDooPS2Keyboard


lcronos
 Share

7 posts in this topic

Recommended Posts

Hi, I'm working on getting macOS Sierra on my hackintosh and have run into a small snag.  I created a USB installer using the standard method from the installer, and was able to boot said installer and get everything to install.  For the USB I used the latest Clover on Source forge, R3969.  While the installer is able to boot, the OS itself always fails due to a kernel panic.  From what I can tell, it's related to voodoops2keyboard, however I cannot seem to stop that kext from loading.  I went into /EFI/CLOVER/kexts/other and moved everything except for fakesmc to another folder, and tried booting again but it still fails to boot for the same reason.  Previously the installer and partition I installed to were running Yosemite (though I had the installer wipe that partition).  The Clover on my laptop is out of date which is why I'm still using the USB.  I installed the latest Clover over top the previous one on the USB itself.  I have a picture of the kernel panic, but not immediately available on my PC so I will type as much of it as I can read off the picture (didn't have enough time on boot to line up a nice shot).

VoodooPS2SynapticsTouchPad Version 1.8.15 loaded...
panic(cpu 0 caller 0xffffff80003029a8): "Attempting to lookup/free the middle of a kalloc'ed element! (map: [seems unnecessary to type, will add if needed], addr: [same])\n"
@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.24/osfmk/kern/kalloc.c:460
Debugger called: <panic>
Backtrace (CPU 0), Frame : Return Address
[series of error codes]
    Kernel Extensions in Backtrace:
      org.rehabman.voodoo.driver.PS2Keyboard(1.8.15)[string of memory addresses I assume]
          dependency: com.apple.iokit.IOHIDFamily(2.0.0)
          dependency: com.apple.iokit.IOReportFamily(2.0.0)
          dependency: org.rehabman.voodoo.driver.PS2Controller(1.8.15)
 
BSD prcoess name corresponding to current thread: kernel_task
Boot args: kext-dev-mode=1 -v
 
Mac OS version:
Not yet set
 
Kernel version
Darwin Kernel Version 16.0.0

I left out some stuff that seemed unhelpful (you can see I didn't type up most of the hex codes).  If that info ends up being needed I'm more than willing to add it.

 

What has me most confused is that it's trying to load the Voodoo PS2keyboard kext, seeing as how I haven't even done a setup on it yet.  That has me wondering if Sierra never actually installed (I ran the installer twice, but never actually watched the whole thing so I never saw if it failed), as I can't think of any other reason that kext would try to load.  I've tried booting into safe mode but get the same result.  That kext isn't in the kexts folder in Clover, but even if it was I moved it since Fakesmc is the only kext there right now.  I've done a little research, but nothing seemed to lead my in quite the right direction.  This system is a multiboot with Linux as an option.  I also have systemrescuecd on a USB which includes a driver for hfs+ so I can access the filesystem from in Linux if necessary.  Thanks for any insight someone may have.

Link to comment
Share on other sites

Seems you have an older VoodooPS2Controller kext and that is known to cause issues since El Capitan 10.11.4. Rehabman's latest VoodooPS2Controller doesn't trigger KP in Sierra but it does not always support TrackPad (well it does not on Dell Latitude laptops any more). Failing that, good old ApplePS2Controller works Ok, there just isn't any support for multitouch or scrolling.

 

What you can do is copy the correct PS2 kext to the root of your USB installer and boot it as if you were doing a fresh install. Once you're at the main installer screen, go to Tools and open up Terminal. Then type:

cp -Rf <name of PS2 kext placed on USB key> /Volumes/<name of installed OS X partition>/System/Library/Extensions/
chmod -Rf 755 /Volumes/<name of installed OS X partition>/S*/L*/E*
chown -Rf 0:0 /Volumes/<name of installed OS X partition>/S*/L*/E*

for instance, to copy ApplePS2Controller kext to a partition called "Sierra":

cp -Rf ApplePS2Controller.kext /Volumes/Sierra/System/Library/Extensions/
chmod -Rf 755 /Volumes/Sierra/S*/L*/E*
chown -Rf 0:0 /Volumes/Sierra/S*/L*/E*

You should then be able to boot your OS X partition without cache.

Alright, thanks for the suggestion I'll give it a go when I have an opportunity and will let you know how it goes.

 

@artur_pt

I give that a run earlier and it had the same result :/ thanks for the suggestion though :)

Link to comment
Share on other sites

Seems you have an older VoodooPS2Controller kext and that is known to cause issues since El Capitan 10.11.4. Rehabman's latest VoodooPS2Controller doesn't trigger KP in Sierra but it does not always support TrackPad (well it does not on Dell Latitude laptops any more). Failing that, good old ApplePS2Controller works Ok, there just isn't any support for multitouch or scrolling.

 

What you can do is copy the correct PS2 kext to the root of your USB installer and boot it as if you were doing a fresh install. Once you're at the main installer screen, go to Tools and open up Terminal. Then type:

cp -Rf <name of PS2 kext placed on USB key> /Volumes/<name of installed OS X partition>/System/Library/Extensions/
chmod -Rf 755 /Volumes/<name of installed OS X partition>/S*/L*/E*
chown -Rf 0:0 /Volumes/<name of installed OS X partition>/S*/L*/E*

for instance, to copy ApplePS2Controller kext to a partition called "Sierra":

cp -Rf ApplePS2Controller.kext /Volumes/Sierra/System/Library/Extensions/
chmod -Rf 755 /Volumes/Sierra/S*/L*/E*
chown -Rf 0:0 /Volumes/Sierra/S*/L*/E*

You should then be able to boot your OS X partition without cache.

So I gave it a shot, but the problem is that my keyboard doesn't work at all in the installer, so I can't actually type anything into the installer.  I'll give it a shot from systemrescuecd later.

Link to comment
Share on other sites

Built in.  I could give a usb one a shot too.  Didn't think about the usb one on my desktop lol.  Do you think adding Rehabman's latest voodoo controller into the kexts folder in Clover would work?  I'm not sure what order kexts are loaded in.  My laptop is an HP Pavilion 15t-p000 with a synaptics clickpad, do you think his latest one would work with that, or do you need more information on it?

Link to comment
Share on other sites

Sorry for spamming posts but I think I fixed it.  Putting those kexts I moved back into the correct folder fixed my keyboard (it was using ApplePS2) and wiping the partition and re-installing cleared out the old kexts.  Thanks for the help :) Now to just redo my DSDT and SSDT edits, and add in missing kexts.

 

 

EDIT: Okay, so in the past to get my touchpad to behave (read not click everywhere as I type, and move at a reasonable speed) I would install the synaptics kext from the Hackintosh Vietnam AIO Tool, however that version is the one that was causing the Kernel Panic I suspect, as the tool hasn't been updated in almost a year.  I downloaded the VooDooPS2 controller from the link you gave me and placed it in /EFI/CLOVER/kexts/other on my installer USB (since I haven't updated clover on my HDD yet) however it doesn't seem to load.  If ApplePS2 is there then it behaves like before I downloaded it, and if ApplePS2 isn't there, then my keyboard and mouse don't work.   Any ideas?

 

EDIT 2: So interesting change of events.  I had clover working just fine, then added the SSDT tables I patched and found they caused a similar KP, just on a different kext.  Booting back in with my installer and removing the SSDTs from CLOVER/ACPI/patched fixed it.  Now to figure out why they caused it to KP and see how to get around it.

Link to comment
Share on other sites

 Share

×
×
  • Create New...