warning: crypto_val: object (oid 0x4): invalid state.key_revision (0)

iMacPro, Mac OS 10.13.2


Diskutil gives this warning when running "first aid": warning: crypto_val: object (oid 0x4): invalid state.major_version (0)


Strange that brand new computer gives warnings, should I be worried about this?


This is whole message list:

Verifying file system.

Volume could not be unmounted.

Using live mode.

Performing fsck_apfs -n -l -x /dev/rdisk1s1

Checking volume.

Checking the container superblock.

Checking the EFI jumpstart record.

Checking the space manager.

Checking the object map.

Checking the APFS volume superblock.

Checking the object map.

Checking the fsroot tree.

warning: crypto_val: object (oid 0x4): invalid state.major_version (0)

warning: crypto_val: object (oid 0x4): invalid state.key_os_version (0x0)

warning: crypto_val: object (oid 0x4): invalid state.key_revision (0)

Checking the snapshot metadata tree.

Checking the extent ref tree.

Checking the snapshots.

Verifying allocated space.

The volume /dev/rdisk1s1 appears to be OK.

File system check exit code is 0.

Restoring the original state found as mounted.

Operation successful.

iMac Pro, macOS High Sierra (10.13.2)

Posted on Jan 4, 2018 11:55 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 31, 2018 7:31 AM

Just an update for anyone who may be helped by my experience.


About 10 days ago I decided to take the extreme measure of erasing the hard drive and reinstalling the OS after trying the other steps suggested including disabling FileVault and installing the OS in recovery mode.


Phase 1: Started iMac Pro in Safe Mode and erased hard drive using Disk Utility. I then did a fresh install of macOS High Sierra. I ran Disk Utility First Aid on the fresh install and all three crypto_val warnings were gone and Disk Utility reported the disk was fine.


Phase 2: Enabled FileVault. Then I ran First Aid and Disk Utility reported the disk was fine with no sign of the crypto_val warnings.


Phase 3: I again booted the iMac Pro in Safe Mode, erased the hard drive and did a full system restore from Time Machine. I then ran Disk Utility First Aid on the fresh Time Machine install and all three crypto_val warnings were gone and Disk Utility reported the disk was fine.


Phase 4: Enabled FileVault again. Then I ran First Aid and Disk Utility reported the disk was fine with no crypto_val warnings.


Phase 5: Partitioned hard drive and installed Windows 10 Home via Bootcamp Assistant. Then booted back to macOS and ran First Aid and Disk Utility which reported the disk was fine, still no crypto_val warnings.


Of note however, ever since the fresh installs if I run Disk Utility First Aid I always have to force relaunch Finder because all my folders / files disappear particularly on my external hard drives and Dropbox. However, force relaunch brings them back... so there seems to be some bugginess remaining although the machine seems to be running fine with no other issues as of now.

129 replies

Mar 29, 2018 11:08 PM in response to chrisgavr

i was waiting for 10.13.4 update to fix this issue and was very happy to find out this morning, that this update is finally here. But... my iMac Pro is dead now. I'm waiting for hour and a half now, but screen is black and nothing is happening. I will wait a little bit longer, but seems like Apple just forced me to erase disk and start from 0. I can't tell how angry i am now!

Mar 30, 2018 2:23 AM in response to StefanKoell

So after long time waiting, i've decided to force shutdown my iMac Pro in a middle of updating process. When it booted again updating process continued as normal. I think. So now i have 10.13.4, but guess what... crypto_val is still there! Files are still disappearing. Non of these issues are solved. I'm going to erase disk and install from scratch one day, but now i just don't have time for that. And its not an hour or so, its a whole dam day!


Steve Jobs, please, if you can read this from somewhere in a "cloud", make some influence on Tim.

Mar 30, 2018 9:47 AM in response to ag_316

Based on the post of ag_316, I've just installed the new macOS too. I was quite near to an heart attach: During installation, my iMac Pro shut down but not came up again. I took some pressings of the power button. It seemed installation was loopng, but it wasn't. Now it is running again as a charm. Should I try to install some widgets to dashboard again? I'll decide during the weekend...

Apr 2, 2018 3:34 PM in response to th10gt

FYI after one full day of use, system worked well for about 12 hours. Then there was just hangups. Reloaded and selected do not open apps, it then immediately hung up again. Had to do a hard reset again to get it working.


I think this is related to MacOS, as I had similar issues with my old computer (high end iMac), which lead me to upgrade. In other words I think it’s just poor coding.


The sad part is I moved from Windows to Mac because of stability issues a long time ago. Mac was more stable until Steve Jobs died. I have seen a steady decline in the quality of their coding and products since then. I’d be surprised if MSFT would be better since they are a corporate for profit behemoth as well.

May 1, 2018 9:47 PM in response to th10gt

Thank you Olaf. I saw your other posts and was wondering if things are still good. Apple has advised me to do the full wipe and restore. Since my situation wasn't as bad as other have reported, I've held off. This is the first I've heard about iStat Pro. I also have that on my machine. What type of problems have you found with it ? I have not noticed any yet ...


thanks

Ken

May 1, 2018 10:54 PM in response to Nevering

I think many of us (including me) did. I'm surprised it took so much time to be "known to the engineering team". I wish I knew someone in that team to bypass all that support bureaucracy. Apple Agility is close to ZERO.


I'm not doing the wipe and reinstall thing, too much time consuming. If it's software, then they can investigate and fix it !

May 7, 2018 2:19 AM in response to 1Ronin

That’s good to know. Out of interest, did the reinstall sort out the screen brightness glitch too (ie after a full reboot, does the screen brightness reset itself to c90% ?)


I’d be tempted to pull the trigger on a reinstall if refreshing the OS sorts this out also.

I’ve never used Time Machine - does this back up all additional 3rd party software, plugins etc too? Reinstalling all of that, passwords, settings, licence servers etc, is what puts me off. Took me nearly three days to manually migrate from my 2012 iMac!

May 7, 2018 7:15 AM in response to 1Ronin

Thanks. Do you know what's lost in the process ? I mean if the migration is different from a restore, there might also be some stuff which is not put back on the new installation ? I might follow that process but I still need some peace of mind.


Side note : when you do the reinstall, the OS is downloaded I presume, therefore if you have a slow internet, will take some more hours.

May 9, 2018 8:54 AM in response to 1Ronin

UPDATE: Yesterday afternoon, when I got home I notice the iMac Pro had rebooted itself. I got the Kernel Panic message again after a system generated reboot. Which is quite irritating. Leads me to believe that there is more to this story than Apple is letting on too. I have not changed any of the applications that I was previously running on a Mac Pro, and I never once got this.


When I ran first aid in the disk utility menu, I DID NOT however get the "Warning: Crypto..." message.


Anybody else out there get a Kernel Panic after a full erase and reinstall?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

warning: crypto_val: object (oid 0x4): invalid state.key_revision (0)

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