How can you make a kernal panic?

JetwingX

iWork for Apple <3
you heard me right. i need to make a kernal panic happen to demonstrate first thing in the morning. I have been told that it is related to to hardware, so if i pull out some RAM while it's running would that work?
 
In Mac OS X 10.2 or later, the older style kernel panic message is replaced with an alert that says you need to restart your computer. You won't get the old style kernel screen.
 
I seem to recall that there's some way to manually tell the kernel to panic via a C function call, but that's about all I can remember. If it's true, you would almost certainly need to be root to do that. :)

Just for kicks, try this:
shutdown -r now

That used to mess things up good back in the Public Beta and 10.0 days. I've never checked if they fixed it.

I've also had Samba browsing from the Finder cause more than its fair share of panics, but the problem appears to have subsided for now...
 
Go to see your previous panic.log and see what has previously caused your panics. Repeat the mistake. :)

I know 2 ways ... Safari (I don't want to go to find again how did it do it) and a faulty logic card.
 
At least, pulling RAM while it's on is only a good idea if you want to toast your motherboard ;)
 
If you are running 10.2.2 or earlier, you could do the 'mv' bug to make a panic.

Code:
$ mkdir foo
$ cd foo; touch foo
$ mv foo ../

And watch it go down. This was fixed in 10.2.3 though.
 
Originally posted by LordOphidian
If you are running 10.2.2 or earlier, you could do the 'mv' bug to make a panic.

Code:
$ mkdir foo
$ cd foo; touch foo
$ mv foo ../

And watch it go down. This was fixed in 10.2.3 though.

I think it was only 10.2.2, actually :)
 
how do you make a kernel panic?

put it in the microwave.

wakka wakka wakka! thank you, i'll be here all week!
 
Back
Top