Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Receiving the following information about an error encountered during system startup in dmesg. It wouldn't be a big deal, except it keeps triggering my log monitoring script! :)

[ 1.919823] PM: Error -22 checking image file
[ 1.919826] PM: Resume from disk failed.

Internet searching yields information suggesting it is related to 'hibernation/suspend' and 'apci' but this is server installation and 'hibernation/suspend' features were not included. (at least not deliberately included).

So, does something need to be blacklisted? The only real solution I've found on the web involves remaking the swap partition...which seems strange. Ideas?

Notes:
- I've installed Debian Squeeze with the minimal package set (expert install)
- I've seen this on multiple systems with different hardware.
- One a system with similar hardware but using the squeeze-backports kernel (2.6.39-bpo.2-amd64), does not produce this error
- I've seen this on i386 and amd64 targets

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Every time kernel starts it tries to use swap partition to load its saved state (from suspend to disk). If there was no state saved, then it will produce such error. It's normal and harmless.

I'd suggesting to make your monitoring script to ignore this specific message (don't know if you're using a custom solution or a ready product, but you'll have much more messages to add to ignore list, so this will be a good exercise either way).

share|improve this answer
    
With that in mind, i then followed the instructions i alluded to earlier which recommend remaking the swap (mkswap) and the error disappeared. If it comes back, i can always filter it using Logwatch's ignore.conf as you suggested. –  Aquadisco Jan 4 '12 at 14:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.