启用 TRIM 并从 Time Machine 恢复后出现 Beachball 和短暂冻结(Mac OS X)

启用 TRIM 并从 Time Machine 恢复后出现 Beachball 和短暂冻结(Mac OS X)

我决定根据以下建议为我的 SSD 启用 TRIM:这个 SU 答案

出现了一些错误,我无法启动,最终不得不从 Time Machine 恢复。

编辑:

我手动替换了二进制文件

IOAHCIFamily.kext/内容/插件/IOAHCIBlockStorage.kext/内容/MacOS/IOAHCIBlockStorage

其中之一已被编辑并修复了权限。 我错过了关于第一次启动可能需要很长时间的部分(机器的正常启动时间是 8 秒) 我只花了几分钟并尝试重新启动了几次。

我尝试通过终端恢复我对二进制文件的备份来手动修复它,但仍然无法启动。

在恢复并重置 PRAM、验证磁盘和修复权限后,我也成功启用了 TRIM。

第二次我只是使用了Trim Support Enabler

现在我遇到了弹窗和短暂冻结。这通常发生在 Chrome 中,但也发生在 TextMate 中。我以前没有遇到过这些问题。

我如何确定问题是源于启用 TRIM 还是源于 Time Machine 还原?

这是几分钟前刚刚发生错误时的错误日志。

    <Error>: kCGErrorIllegalArgument: CGSShapeWindow
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x3c03c].com.apple.mail[409]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Mail[409] <Error>: kCGErrorIllegalArgument: CGSShapeWindow
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x7a07a].com.datacolor.spyder3utility[708]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Spyder3Utility[708] <Error>: kCGErrorIllegalArgument: CGSShapeWindow
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro Google Chrome Helper[416]: unknown error code: invalid context
May 21 19:24:43: --- last message repeated 12 times ---
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x23023].com.google.Chrome[290]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Google Chrome Helper[416] <Error>: unknown error code: invalid context
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro Google Chrome Helper[416]: unknown error code: invalid context
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x23023].com.google.Chrome[290]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Google Chrome Helper[416] <Error>: unknown error code: invalid context
May 21 19:24:43: --- last message repeated 2 times ---
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro Google Chrome Helper[416]: unknown error code: invalid context
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x23023].com.google.Chrome[290]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Google Chrome Helper[416] <Error>: unknown error code: invalid context
May 21 19:24:43: --- last message repeated 1 time ---
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro Google Chrome Helper[416]: unknown error code: invalid context
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x23023].com.google.Chrome[290]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Google Chrome Helper[416] <Error>: unknown error code: invalid context
May 21 19:24:43: --- last message repeated 1 time ---
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro Google Chrome Helper[416]: unknown error code: invalid context
May 21 19:24:43: --- last message repeated 3 times ---
May 21 19:24:43 Chris-Olbeksons-MacBook-Pro [0x0-0x23023].com.google.Chrome[290]: Sat May 21 19:24:43 Chris-Olbeksons-MacBook-Pro.local Google Chrome Helper[416] <Error>: unknown error code: invalid context

在我发布此内容后,Google Chrome 416 错误重复了大约 30 次。

这是崩溃报告的开头

Process:         Console [658]
Path:            /Applications/Utilities/Console.app/Contents/MacOS/Console
Identifier:      com.apple.Console
Version:         10.6.3 (224)
Build Info:      ConsoleX-2240000~2
Code Type:       X86-64 (Native)
Parent Process:  launchd [198]

Date/Time:       2011-05-21 17:29:49.043 -0500
OS Version:      Mac OS X 10.6.7 (10J4138)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000002000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
objc_msgSend() selector name: outlineView:objectValueForTableColumn:byItem:

这是冻结时的内核日志:

May 21 19:24:53 Chris-Olbeksons-MacBook-Pro kernel[0]: USBF:    19130. 19   AppleUSBEHCI[0xffffff8013bb0000]::Found a transaction which hasn't moved in 5 seconds on bus 0xfd, timing out! (Addr: 0, EP: 0)
May 21 19:24:53 Chris-Olbeksons-MacBook-Pro kernel[0]: USBF:    19130. 51   [0xffffff8017148c00] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd120000)
May 21 19:25:00 Chris-Olbeksons-MacBook-Pro kernel[0]: USBF:    19137. 20   AppleUSBEHCI[0xffffff8013bb0000]::Found a transaction which hasn't moved in 5 seconds on bus 0xfd, timing out! (Addr: 0, EP: 0)
May 21 19:25:06 Chris-Olbeksons-MacBook-Pro kernel[0]: USBF:    19143. 21   AppleUSBEHCI[0xffffff8013bb0000]::Found a transaction which hasn't moved in 5 seconds on bus 0xfd, timing out! (Addr: 0, EP: 0)
May 21 19:25:12 Chris-Olbeksons-MacBook-Pro kernel[0]: USBF:    19149. 22   AppleUSBEHCI[0xffffff8013bb0000]::Found a transaction which hasn't moved in 5 seconds on bus 0xfd, timing out! (Addr: 0, EP: 0)
May 21 19:25:18 Chris-Olbeksons-MacBook-Pro kernel[0]: USBF:    19155. 23   AppleUSBEHCI[0xffffff8013bb0000]::Found a transaction which hasn't moved in 5 seconds on bus 0xfd, timing out! (Addr: 0, EP: 0)

答案1

导致问题的原因是启用了 TRIM。我从备份中恢复了内核扩展,所有问题立即消失。

为了确保这不是侥幸,我遵循了所有步骤并重新启用了 TRIM,但问题又出现了。

结论:不要破解内核来为不需要 TRIM 的驱动器启用 TRIM。

答案2

您应该做的第一件事是使用磁盘工具验证磁盘,并在必要时修复磁盘。

相关内容