PDA

View Full Version : Weird mkext issue, seeking to clarify best placement of specific kexts


spalek83
10-29-2009, 10:50 PM
I'm getting this strange issue where if I make an extensions.mkext for /Extra/Extensions I get a kernel panic at boot. so basically I have to not have one there at all. also it seems to boot significantly faster with no extensions.mkext in /System/Library for /System/Library/Extensions most of the time.. which is backwards to what I thought it was, that the mkext makes things faster

so just to make sure, with Chameleon RC3 and netkas PC EFI 10.5



ALL custom kexts like nullcpu, fasesmc, disabler and so forth go in /Extra/Extensions ? or do some only go in System/Library/Extensions and others go in /Extra/Extensions, and if so, what specifically goes where?



dsdt.aml goes in / (root) and with chameleon rc3 i just place it there, i don't do anything special to make sure it is used.. right?



smbios.plist goes in /Extra and is automatically used just by being there.


am i understanding this correctly?

also, when I had smbios.plist in /Extra/Extensions it booted fine considering the rest was ok, but when i put smbios.plist in /Extra it took damn near forver to load

xXrkidXx
10-29-2009, 11:07 PM
about the smbios, it took forever because it was actually being loaded. not sure about the rest. DSDT is placed in Root.

spalek83
10-29-2009, 11:13 PM
so every time it will take forever to load smbios? i read somewhere that smbios was just cosmetic, is this true? cause if so, it has no real purpose but cosmetic i'm gonna skip it since 4 minutes to boot a joke

thorazine74
10-30-2009, 01:59 PM
I'm getting this strange issue where if I make an extensions.mkext for /Extra/Extensions I get a kernel panic at boot. so basically I have to not have one there at all. also it seems to boot significantly faster with no extensions.mkext in /System/Library for /System/Library/Extensions most of the time.. which is backwards to what I thought it was, that the mkext makes things faster

so just to make sure, with Chameleon RC3 and netkas PC EFI 10.5



ALL custom kexts like nullcpu, fasesmc, disabler and so forth go in /Extra/Extensions ? or do some only go in System/Library/Extensions and others go in /Extra/Extensions, and if so, what specifically goes where?



dsdt.aml goes in / (root) and with chameleon rc3 i just place it there, i don't do anything special to make sure it is used.. right?



smbios.plist goes in /Extra and is automatically used just by being there.


am i understanding this correctly?

also, when I had smbios.plist in /Extra/Extensions it booted fine considering the rest was ok, but when i put smbios.plist in /Extra it took damn near forver to load

First, Snow Leopard's Extensions.mkext is not in /System/Library anymore, if you have one there better remove it. The easiest way to update SL's mkext is doing this:
sudo touch /System/Library/Extensions

There is no hard rule where kexts should be installed, /Extra/Extensions is just another location to install them. All kexts in /E/E should work too if installed to /S/L/E. Not all kexts work from /E/E though, some need to have all its dependency kexts there too (like IONetworkingFamily f.e.). Modded kexts that overlap already existing ones are better to be kept in /E/E, to avoid them being overwritten.
DSDT.aml goes in /Extra by default (you can put it anywhere you want if you put "DSDT=/some/where/mydsdt.aml" in chameleon's boot.plist
smbios.plist is in /Extra too but samely can be put anywhere with "SMBIOS=some/smbios.plist"

spalek83
10-30-2009, 09:48 PM
thanks for explaining that. as for the extensions.mkext, I use kext helper and it makes that.. I also reinstalled snow from snow and everything seems to work, depsite the boot being not as fast as it could be (it pauses at the baby blue screen for like 40 seconds before actually loggin in)

I put dsdt.aml in /Extra and nothing seemed to change
and i removed smbios.plist cause of it being only cosmetic. i could care less what system info says as long as it's doing what it's supposed to be internally

thorazine74
10-30-2009, 11:10 PM
I dont really trust the old kexts installers for sl, anyway I think that mkext in old location is ignored.
If you have a patched dsdt you should def note some difference.
Remember that chameleon always do smbios patching, even w/out a smbios.plist (unless you explicitly disable it).

spalek83
11-01-2009, 02:15 AM
removed the extensions.mkext in /System/Library

do I also remove it from /Extra ?