Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › Leopard 10.5 › Strange "CODE SIGNING" errors in the console.
9,070 reads · 2008-03-11 – 2008-03-21
Report Leopard 10.5

Strange "CODE SIGNING" errors in the console.

"AM kernel CODE SIGNING: cs_invalid_page: p=2684[ATSServer] clearing CS_VALID "AM kernel CODE SIGNING: cs_invalid_page: p=4816[lssave] clearing CS_VALID " Those "code signing" errors fills my logs, anyone got an idea of what it is? Been…

Primary Author
@timtux Published 2008-03-11
Collection
Leopard 10.5
Archival Footprint
9,070 historical reads · 21 curated field notes (from 27 dispatches) · 2008-03-11 – 2008-03-21
Credited Voices (10)
@bhast2 (8)@agrafuese (7)@eMatoS (3)@crencom (2)@R0GUE (2)@timtux@Voyn1x@WinLinMac01@Ianxxx@Snow

"AM kernel CODE SIGNING: cs_invalid_page: p=2684[ATSServer] clearing CS_VALID
"AM kernel CODE SIGNING: cs_invalid_page: p=4816[lssave] clearing CS_VALID "

Those "code signing" errors fills my logs, anyone got an idea of what it is? Been asking
and googling all night long without any results.

Everything works OK by the way, I'm just a curious perfectionist.

Synthesized Community Field Notes

21 technical responses curated from 27 original dispatches

Field Note #1 @Voyn1x 2008-03-11

I get the same here in my logs. I've come to the conclusion that it's normal on a leopard hackintosh.

Though i'm happy to be proved wrong...

Field Note #2 @crencom 2008-03-11

I have also wondered this. If there is a way to clean these errors up, that would be nice. Im starting to think it is normal though.

Field Note #3 @WinLinMac01 2008-03-12

Which release is this? Can you be a little more specific?

Field Note #4 @eMatoS 2008-03-12

I'm running the first Zephyroth 10.5.2 but had that problem since 10.5.1. So I'm kind of used to that, but if there's a way to avoid that message I'll go for it.

Field Note #5 @crencom 2008-03-12

eMatoS
"I'm running the first Zephyroth 10.5.2 but had that problem since 10.5.1. So I kind of used to that, but if there's a way to avoid that message I'll go for it."

Same w/ me. There does not appear to be anything wrong w/the workings of the systm. However, if clearing those errors improves performance, i'm for that.

Field Note #6 @agrafuese 2008-03-20

I want to revive this thread and say that I'm plagued by these messages as well. I tried doing a LaunchServices rebuild as suggested at <a href="discussions.apple.com/thread.jspa?threadID=1201327&tstart=60#6080118">this apple discussion thread</a>, as I believe it is related to a "-10810" error, jerking mouse problems, and other performance issues that I and others are having. However, this didn't help the problems. Zeph, if you're listening, what's your take on this one? There are many of us suffering from these issues and others like it. You can see all of our stories, trials, errors, and more here at <a href="osx.kb ot.de/comments.php?DiscussionID=753">this thread</a>.

Field Note #7 @bhast2 2008-03-20

you can try this
This is a general OS issue, not just an OSx86 (hackintosh) issue. here is your fix:

CODE

sudo nano /System/Library/LaunchDaemons/com.apple.syslogd.plist

after line #23 add two additional strings (these make sure that the syslogd logger only write emergency errors to the system log.

CODE

#23 <string>/usr/sbin/syslogd</string>
#24 <string>-c</string>
#25 <string>0</string>

Optionally you can also cap the log file to a certain file size using:

CODE

#23 <string>/usr/sbin/syslogd</string>
#24 <string>-c</string>
#25 <string>0</string>
#26 <string>-db_max 2500000</string>

Field Note #8 @agrafuese 2008-03-20

this is nice, but will turning off reporting actually do anything performance-wise? it seems the general concern is not necessarily that the messages are showing up, but what is actually causing them to show up in the first place. at one point, i thought little snitch was causing many of these code signing messages to occur, but after many hours of running without it, it seems that they just happen whenever i open/close a program or when OSX performs any sort of automatic maintenance/action. so at this point, i don't think it's anything to worry about, and i'm pretty sure the problems i am having (mouse movement, slowdowns, -10810s) are not related. but who knows? i have yet to find the solution to those things :\

Field Note #9 @bhast2 2008-03-20

they say it will
because your system spends less time reporting errors so it frees the system up

Field Note #10 @agrafuese 2008-03-20

hell, it's worth a try. i'll let you know how it goes. it'll take a while though, because i need to have the system up for many hours before i know whether the problem will recur or not. thank you very much for this info. wish me (and all of us) luck

Field Note #11 @bhast2 2008-03-20

Mar 20 03:35:03 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=836[lssave] clearing CS_VALID
Mar 20 03:36:01 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=840[Console] clearing CS_VALID
Mar 20 03:36:01 bill-hasts-macpro31 fseventsd[43]: scan_old: bailing out because device mounted @ /Volumes/Untitled has dls 0x0 and dls->fci 0x0

im still getting them too

Field Note #12 @bhast2 2008-03-20

guess that didn't work
i wish someone could explain this error

Field Note #13 @Snow 2008-03-20

Here's another one:

kernel CODE SIGNING: cs_invalid_page: p=268[mdworker] clearing CS_VALID

Field Note #14 @bhast2 2008-03-20

here is a few more
Mar 20 05:25:24 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=710[Console] clearing CS_VALID
Mar 20 05:25:44 bill-hasts-macpro31 Finder[413]: NSOpenGLAutoscaleBounds=NO
Mar 20 05:30:18 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=716[mdworker] clearing CS_VALID
Mar 20 05:32:56 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=722[lssave] clearing CS_VALID
Mar 20 05:33:02 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=723[Console] clearing CS_VALID
Mar 20 05:34:11 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=726[lssave] clearing CS_VALID
Mar 20 05:38:56 bill-hasts-macpro31 mDNSResponder[38]: mDNSPlatformRawTime: last_mach_absolute_time A7579E16000003DF
Mar 20 05:38:56 bill-hasts-macpro31 mDNSResponder[38]: mDNSPlatformRawTime: this_mach_absolute_time A7573680000003DF
Mar 20 05:38:58 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=728[lssave] clearing CS_VALID
Mar 20 05:46:17 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=733[mdworker] clearing CS_VALID
Mar 20 05:46:18 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=735[lssave] clearing CS_VALID
Mar 20 06:03:26 bill-hasts-macpro31 mDNSResponder[38]: mDNSPlatformRawTime: last_mach_absolute_time EB3FFD3900000535
Mar 20 06:03:26 bill-hasts-macpro31 mDNSResponder[38]: mDNSPlatformRawTime: this_mach_absolute_time EB3E5EF600000535
Mar 20 06:03:28 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=742[lssave] clearing CS_VALID
Mar 20 06:03:28 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=743[mdworker] clearing CS_VALID
Mar 20 06:10:52 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=746[Console] clearing CS_VALID
Mar 20 06:10:54 bill-hasts-macpro31 kernel[0]: CODE SIGNING: cs_invalid_page: p=748[lssave] clearing CS_VALID

guess these are emergency errors

Field Note #15 @eMatoS 2008-03-20

I've seen too many of thoes, but in my system it seems fine, no slowdowns or hd activity and the messages still appears even when it's idle.

Field Note #16 @bhast2 2008-03-20

yes i think everyone is having these error but the question is why are they showing up what is causing them

Field Note #17 @R0GUE 2008-03-21

I used to receive those messages sometime ago, but after updating to the latest kernel from the #10.5 channel on irc.osx86.hu and the latest AppleSMBios from Macdotnub (my.macd otnub.info/content/view/19/26), they have since disappeared. It's definitely worth a shot.

Field Note #18 @agrafuese 2008-03-21

Interesting, because I am also running latest kernel (9.2.0 w/ shutdown fix) and AppleSMBios-27 from macdotnub. Oh, but which AppleSMBios exactly? There are many different ones for different RAM types and Mac identities. I am using the "default" one. Also, what are your specs?

Field Note #19 @R0GUE 2008-03-21

Actually yesterday I upgraded AppleSMBios to the new version from netkas ↗. The previous version I had installed was the hardcoded 667Mhz version. I'm also running the latest 9.2.0 with shutdown fix.

Field Note #20 @agrafuese 2008-03-21

Ah, good to know. Haven't tried that one yet. I'll give it a spin right now.

Field Note #21 @agrafuese 2008-03-21

Running the new AppleSMBIOS right now. Reported RAM speed is wrong of course, but that is always the case for me and Netkas' versions of the file. No biggie. Runs good. Can't say that it did anything for these "code signing" messages, but I think it did cut down on the number of mDNSresponder messages I'm getting, which would be a plus. I could be mistaken though.

Corroborated & Participated: @eMatoS @bhast2 @agrafuese @Ianxxx
Sources & Contributor Provenance (10 credited usernames · Thread #658)
UsernameDossier ContributionDispatchesActive Window
@bhast2Core Contributor82008-03-20
@agrafueseCore Contributor72008-03-20 → 2008-03-21
@eMatoSCore Contributor32008-03-12 → 2008-03-20
@crencomContributor22008-03-11 → 2008-03-12
@R0GUEContributor22008-03-21
@timtuxPrimary Author12008-03-11
@Voyn1xContributor12008-03-11
@WinLinMac01Contributor12008-03-12
@IanxxxContributor12008-03-20
@SnowContributor12008-03-20