Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

KERN_PROTECTION_FAILURE

Several applications, including the Finder, have been crashing on me lately (not every time I use them, mind you, but often enough to upset my work) with this already notorious Kern Protection message. I did not find anything conclusive in the forum/s so far regarding this problem, however, a lot of advice on Kernel Panics. I don't really see a connection between the two issues although I also get the panic message once in a while.
My Mac seems to be fine as far as RAM so I really don't know what do do. After some of these incidents I have sent a report to Apple, but since I only stay connected while working with Mail or during short search sessions on the Internet, I'm not in a habit of informing Apple. My gut feeling is that they can't do anything about it anyway.
But what suggestions should I follow to solve this protection matter? The crashes are indiscriminate as far as programmes, and as far as I can judge in my humble opinion.
Please help.

iBook PowerPC G4, Mac OS X (10.3.9)

Posted on Oct 10, 2007 4:12 AM

Reply
13 replies

Oct 10, 2007 7:01 AM in response to Sigrid Oliveto

Sigrid.

Kern, Kernel are the same thing and it refers to a protected or reserved area of memory that is at a very base level of the operating system. This is a serious error.

You can get a little bit of useful information as to which application was in use when the crash occurred by looking at the system.log file, available from the Console application, which can be found in the Applications/Utilities folder.

Safe mode is a quick method of getting your computer to do a file directory check, a bit of maintenance if you like.

Oct 10, 2007 7:07 AM in response to Sigrid Oliveto

After reading the two articles, I'm not sure what exactly the Safe Boot would do for my problem. Will it give me any indication at all of where the problem lies, or does it help 'purge' the system somehow, or what is the purpose of it in the context of K-protection failures? Maybe you mean that I should work within Safe Mode after starting that way, but that would restrict my activities. I don't have any problems at all with start-up (well, haven't so far ...). Please elaborate if you will.
Sigrid

Oct 10, 2007 7:20 AM in response to Sigrid Oliveto

After reading the two articles, I'm not sure what exactly the Safe Boot would
do for my problem.

But you don't know what the problem is.

Elaboration:
http://docs.info.apple.com/article.html?artnum=107392
Purpose:
An attempt to rectify a faulty directory structure if that is the problem.
A way of isolating non-apple software that may be causing the problem.

After running in safemode for a bit and it seems OK, you can Restart as normal and see how it behaves.
It is just a first step part diagnostics, part maintenace but it may be all that it needs.

Message was edited by: roam

Oct 10, 2007 7:21 AM in response to Sigrid Oliveto

Roam:
Our last two notes were 'crossed in the mail' ...
Next point: Finding out which applications have experienced/caused a crash, is not a problem (I don't really have to consult Console for that, apart from not being able to interpret the rest of those logs...), plus they don't do it every time I use them - only when I least expect them to.
I do regular disk verifications and repairs and also use the "Non-Tiger maintenance" application at least once a week. How else can I prevent future crashes resp. find out why exactly these happen?
Thanks for clarifying so far, although I am hoping for some more ...

Oct 10, 2007 9:42 AM in response to Sigrid Oliveto

hi my name is james umm my ibook shut down wile i was watching a movie and now every time i turn it on instead of loading it taakes me to a black screen that says master passwd no such directory. i have already gotten the startup disc and it doesnt read them it just ejects them what should i do plz help.


i was wondering if its save to resart it by wiping the harddrive with a magnet?

Oct 10, 2007 12:57 PM in response to Sigrid Oliveto

Hi roam!
I went through the Safe Boot performance and worked for a while in Safe Mode with everything going as quick and smooth as it should. After re-starting in normal mode a couple or three hours ago, there hasn't appeared a snitch yet. I am saying "yet", because I haven't had a chance to be at the computer for longer hours so far; but then the crashes never happened in short succession anyway: I can sometimes work for a couple of days without getting one.

Could there possibly be a problem with preference files? I often find now that certain preferences as set by myself are being re-set (to default, I assume) e.g. when opening an application again. Example: I change my desktop pictures a lot and ALWAYS use items from iPhoto, never from the available Apple choices. When opening Desktop preferences, I am usually right with my iPhoto collection and only have to pick from there; however, lately I find that I am often (but not most of the time) led directly to the Apple backgrounds. Also, my view options for windows (icon size, sort by, etc.) are constantly changed by the system when my own preferential settings should be staying in place, shouldn't they? I am forced to re-set my view options almost everywhere these days, which is tedious and should be unnecessary. This, again, could have to do with flaws in Finder?

What would happen if I trashed all .plist files in the Library Preferences folder? Apart from the system or myself having to re-set them all on the go, would there be any "damage" involved in starting these from scratch?
Oh, and another thing which may be related or not to all of the above: when looking at logs after a maintenance job, the same permissions seem to be changed to the same new codes every time.

The more I look, the more I find odd... I just hope this good friend (my one and only iBook here) isn't going to go berserk and leave me for good any moment now.
One more thing - I use this laptop exclusively, for everything, and 99 % of the time power-connected. When not needed for a while, it is shut off and disconnected, which also applies for night-time.

Please let me know what other diagnostics I could perform, or have you some other advice I could follow to enjoy this Mac without further disturbances ... thanks in advance!
Sigrid

Oct 11, 2007 3:45 AM in response to Sigrid Oliveto

Hi Sigrid,

What has caused the problem? Few would know, as computers are incredibly complex. What other everyday appliances generate their own web sites to discuss their usage? Whilst Apple owns this site, the answers and suggestions provided, are from fellow users like you, not software or electronic engineers or Apple employees.
The emphasis is on finding a solution rather than understanding the cause.

Kernel panics and allocated memory dysfunction is the end result of any number of causes, predominately hardware related, but also sometime software. What is usually a given is that these are mostly non-Apple ware that has not competently tied in with the Mac architecture. However in some cases it can also be the computer hardware itself such as the logic board. Therefore, it is too broad a condition to pinpoint.

I tend to stay away from third party software as a lot of the shareware is just beta, meaning it works but has not been extensively tested. Also I don't use any maintenance software as the Mac keeps things running pretty well itself.
One thing worth impressing is that OS X does like a lot of free disk space to use for temporary file space, swap files and occasional optimisations so keep approx. 5 to10% of your total disk space empty if you can. A lot of problems can arise from an overful hard drive.

What would happen if I trashed all .plist files in the Library Preferences folder?

They would all be recreated next time you opened an application. The only problem you would find doing that would be your Mail account would have to be set up from scratch again, so don't trash that one. Once again, consider how much Hard Disk free space you have before you trash them which in this case, I don't think will achieve anything. Whatever is causing them to be altered will not be fixed by trashing what is altered.

the same permissions seem to be changed to the same new codes every time.

This is normal. See this article by Michael Conniff for a detailed explanation.
http://discussions.apple.com/thread.jspa?threadID=121686

When not needed for a while, it is shut off and disconnected, which also applies for night-time.

This will prevent the automatic maintenance from being carried out on your 10.3 Panther machine as it is done normally overnight.
In response you can do this manually with a command in Terminal.
In your Admin account, open Terminal, found In Application/Utilities and copy and paste the command typed below in the grey box, into it.
Press Return, and type in your Admin password which will *not be echoed* and will just appear blank as you type it.
After entering the password, press return and be patient as it works until the prompt returns. If no maintenance has been done for a while it may take a couple of minutes. It may appear as if nothing is happening, but it is working invisibly in the background. Don't interrupt it.

sudo periodic daily weekly monthly



When the prompt returns, type exit and quit Terminal.

Just keep an eye on things and the next time an application crashes try and figure out what occurred just beforehand and try and reproduce the event in order to isolate and avoid that condition in future. With the maintenance you have now done, I hope it now runs well for you.

regards roam

Oct 11, 2007 3:27 PM in response to Sigrid Oliveto

Hello roam,
It was good to read your latest comments and advice, for which I thank you a lot! I will venture into Terminal then, something I had avoided so far because it somehow reminds me of my frustrating initiation period to computers with the grey screens of DOS.
One last question then, please: if I schedule Panther maintenance through Terminal, could this possibly be working with the lid closed? This may sound like a silly one to you, and I hope my naïveté doesn't exasperate you, but I never use energy saving settings nor do I time display or HD sleep - just shut off when I'm not busy with the machine. Logic should tell me that closing the cover will put everything to sleep, but is that really the case? Oh, and since we tend to have sudden power cuts in this area, would it be all right to keep it on battery for the (surely low-consumption) maintenance operation at night?
As a matter of interest: I have 12GB of the 27 on my HD available, and RAM of 640MB.
Well, this is the tail-end of my query. Thanks in advance for one more response.
Sigrid

Oct 11, 2007 6:47 PM in response to Sigrid Oliveto

With the lid closed and sleeping it may be wrestling a giant gigabyte but it will be just a dream. No work is done when sleeping.
If you don't like Terminal, MacJanitor is a small application to do this job for you.

http://personalpages.tds.net/~brian_hill/macjanitor.html

Reading that page sounds like it was written for you, and by using that, you will not need to keep it on overnight , so that will save a bit of CO2.

You have no problem with free space. Good luck.

regards roam

KERN_PROTECTION_FAILURE

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.