Lagging or distorted sound with a Kernel Panic or simply a freeze? It can be one or two issues with your Eees kexts. I had both. This is for you if are running with VoodooPower and VoodooHDA.
There are sometimes issues with sound when you are on battery. This is a known issue and has been addressed earlier here. The solution is about optimizing the VoodooPower kext, (thx to Thireus and others). Change your VoodooPower kext or download Thireus version (at his page) and replace. This fixes the lagging sound and hanging or KP. (You can try it out by run on battery and drag things in and out from your trash bin. If it lags or freezes, then you are affected.) Change the kext and your back…
If your Smbios.plist file defines that your machine is a MacBookAir and not a Macbook, as mine was first, you might have a distorted sound. When I changed that setting to MacBookAir my music was distorted when I played iTunes or what ever. The fix I've found is to remove AppleIntelCPUPowerManagement kext according to the forum at VoodooLabs here and here.. I removed the kext and haven't had any issues ever since with distorted sound running as a MacBookAir.
EDIT: If you are under, lets say, 10.5.6 and want to upgrade to 10.5.8 the AppleIntelCPUPower… kext is necessary for your upgrade, otherwise KP during installation. So re-install it with KextHelper, upgrade and later remove the new AppleIntel…. kext if you think it's needed.
Hope this can be of any help and if anyone knows more pls comment.