For a few weeks, every time I shutdown my laptop, It immediately reboots and displays a kernel panic error. I haven't been able to cleanly shut down for some time. The machine is a 15" Retina Macbook Pro running 10.8.2
I have no peripherals attached. I have repaired the disk and disk permissions. I have been trying to run the Apple Hardware Test, but it will not run with a firmware password enabled. When I disable the firmware password from the recovery partition and reboot, the same kernel panic occurs, and the change of setting does not take effect, i.e. the firmware password remains intact, I cannot disable it. This is frustrating to say the least.
Here is one of the kernel panic logs: http://pastebin.com/waAmUYV7
Edit: I have reset the SMC and uninstalled all programs that were using non-apple kexts. The problem persists. Here is an updated error log http://pastebin.com/q23pmK91