Contribute
Register

disk1 privilege violation, tx_flush failed, unmount failed, some errors during shutdown

Joined
Apr 7, 2021
Messages
2
Motherboard
S210H (NUC alike)
CPU
i7-9850H
Graphics
Intel UHD Graphics 630
Hi, I made MacOS Big Sur manually by following opencore documentation.
I am using FileVault option. (I think it made the MacOS partition as a APFS encrypted filesystem. By checking diskutil list, it's kinda complicated.)
The system is working fine. With -v in boot-args, I can see many text outputs in the display screen during startup and shutdown process.
There are some failure messages during shutdown and I would like to confirm they are OK or not and whether they should be fixed or ignored with experts.
I have attached a photo of those text outputs during shutdown. You can check the photo for the detail log. (Sorry that I have no ideas how to export the log to a text file. I tried to look at log show, /var/log/*, dmesg, console.app and none of them record these messages).


The failure messages that I paid most attentions are:

Code:
...
Unmount of /System/Volumes/Data/home failed
...
triming 100 blocks from trim_list failed w/:13
...
disk1: privilege violation.
...
tx_flush:955: disk1 xid 146308 sync/barrier failed: 13
tx_flush_thread:1496: disk1 tx_flush failed
apfs_vfsop_unmount: disk1s5: failed to finish all transactions before unmount!
...
disk1: privilege violation.
tx_flush_thread:1476: disk1 tx_flush failed
disk1: privilege violation.
tx_flush_thread:1476: disk1 tx_flush failed
disk1: privilege violation.
tx_flush_thread:1476: disk1 tx_flush failed

Even with the above failure outputs, I think the SSD drive shutdown properly. Because when I check the ssd disk with sudo smartctl -a /dev/disk0, the "Unsafe Shutdowns" number is not increased at all.

My disk partition layout:

Code:
$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         1000.0 GB  disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk1
                                 Physical Store disk0s2
   1:                APFS Volume MacOS - Data            48.3 GB    disk1s1
   2:                APFS Volume Preboot                 290.7 MB   disk1s2
   3:                APFS Volume Recovery                613.8 MB   disk1s3
   4:                APFS Volume VM                      1.1 MB     disk1s4
   5:                APFS Volume MacOS                   15.1 GB    disk1s5
   6:              APFS Snapshot com.apple.os.update-... 15.1 GB    disk1s5s1

Thank you very much for your help.
 

Attachments

  • IMG_20210409_185955_m.jpg
    IMG_20210409_185955_m.jpg
    1.6 MB · Views: 12
Top