Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引导Big Sur提示"OCB: StartImage failed - Aborted" #74

Open
GlowsSama opened this issue Nov 16, 2020 · 86 comments
Open

引导Big Sur提示"OCB: StartImage failed - Aborted" #74

GlowsSama opened this issue Nov 16, 2020 · 86 comments

Comments

@GlowsSama
Copy link

刷新率已注入48hz 点击install MacOS big sur后会黑屏几秒钟然后左上角提示"OCB: StartImage failed - Aborted"之后会返回OC主界面

@xxxzc
Copy link
Owner

xxxzc commented Nov 16, 2020

用的是release哪一个包?

请上传下现在在用的,估计是我之前注入的方法有问题,导致配置错了

@zycer
Copy link

zycer commented Nov 16, 2020

使用最新的201116-2的OC引导,依然会报"OCB: StartImage failed - Aborted"错误,使用CLOVER引导也是报错,我的是i7,1080P屏幕的9550,请问有什么解决办法吗

@xxxzc
Copy link
Owner

xxxzc commented Nov 16, 2020

请上传下 config.plist,我先确定下 config 有无问题

@zycer
Copy link

zycer commented Nov 16, 2020

请上传下 config.plist,我先确定下 config 有无问题

是这样吗
config.zip

@zycer
Copy link

zycer commented Nov 16, 2020

请上传下 config.plist,我先确定下 config 有无问题

麻烦大佬了~

@xxxzc
Copy link
Owner

xxxzc commented Nov 16, 2020

config 没发现问题,你们启动是通过 Boot 还是直接通过 OpenCore.efi?

@zycer
Copy link

zycer commented Nov 16, 2020

config 没发现问题,你们启动是通过 Boot 还是直接通过 OpenCore.efi?

直接通过OpenCore.efi启动的,就是在UEFI设置界面,添加启动项,这样做是有什么问题嘛

@xxxzc
Copy link
Owner

xxxzc commented Nov 16, 2020

没有,我也是这样做的

@zycer
Copy link

zycer commented Nov 16, 2020

没有,我也是这样做的

那会是什么导致的问题,我看有一些论坛有提及这个报错,说是加载了不兼容的kexts造成的,但是我把除了必要的驱动以外的都删除了,还是会报同样的错。也有的说是镜像问题,我测试了完整版镜像和基础版镜像,都会引起这个报错,我没办法了。

@xxxzc
Copy link
Owner

xxxzc commented Nov 16, 2020

你用的硬盘型号是什么?

@zycer
Copy link

zycer commented Nov 16, 2020

你用的硬盘型号是什么?

三星970evoplus

@zycer
Copy link

zycer commented Nov 16, 2020

你用的硬盘型号是什么?

三星970evoplus

我换回了原带的东芝SSD,同样会报这个错误,应该不是硬盘的问题。

@GlowsSama
Copy link
Author

你用的硬盘型号是什么?

我是海力士的5510aSSD

@xxxzc
Copy link
Owner

xxxzc commented Nov 17, 2020

今天试了下载 XPS15-9550-OC-BRCM-201116.zip,只把 device properties 和三码改成 9570 的,还是能正常进 big sur,emm...我不知道怎么解决。。

@zycer
Copy link

zycer commented Nov 17, 2020

今天试了下载 XPS15-9550-OC-BRCM-201116.zip,只把 device properties 和三码改成 9570 的,还是能正常进 big sur,emm...我不知道怎么解决。。

我再研究研究

@ReginaldZZZ
Copy link

我也是遇到了这个问题

@ReginaldZZZ
Copy link

WechatIMG156
clover会卡在这

@ReginaldZZZ
Copy link

WechatIMG135
oc就卡在和楼上一样的问题

@nmhendriks75
Copy link

I get the same error "OCB: StartImage failed - Aborted"

@ReginaldZZZ
Copy link

我怀疑是内存的问题,大家的内存都是多少的,几根?几加几?

@GlowsSama
Copy link
Author

我怀疑是内存的问题,大家的内存都是多少的,几根?几加几?

我也在怀疑这个问题 但是我还没复测 8+8 两家不同牌子的

@ReginaldZZZ
Copy link

4371605693838_ pic
我勾选了这个选项就可以跑代码了,但是会卡在这
4201605693028_ pic_hd
@而这个选项在oc官方文档的解释是跟内存相关的,所以我怀疑内存问题

@gujiangjiang
Copy link

@ReginaldZZZ 跟你一模一样,我是从beta10开始挂的。。。。一直挂到现在都不行,现在停留在beta9了

@zhanglong5460
Copy link

http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1874726&highlight=StartImage%2Bfailed
有人分享了解决方法,大家可以试试

@ReginaldZZZ
Copy link

试过了

@ReginaldZZZ
Copy link

不行

@gujiangjiang
Copy link

@zhanglong5460 不行,之前试过了
不打开这个选项就是黑屏5s回OpenCore界面
打开这个选项就是禁行

十有八九还是内存分配的问题,也就是以前俗称的卡++++++++

@ReginaldZZZ
Copy link

Catalina装着没问题,无论是升级Big Sur还是进Big Sur的安装镜像就出现那第一行的代码

@zycer
Copy link

zycer commented Nov 19, 2020

我怀疑是内存的问题,大家的内存都是多少的,几根?几加几?

我是12G的,8+4. 4+4试过了,也不行。

@gujiangjiang
Copy link

@ReginaldZZZ 我8+8 16G,也不行

@golimpio
Copy link

I'm not 100% sure, but I don't think this is a SSD issue. If I try to run the Install from a USB flash drive, it will give me the same error. It seems more likely that this is a memory related issue IMHO.
By adding DevirtualiseMmio=true, I was able to bypass the "OCB: StartImage failed-Aborted" error but it gave me a Kernel Panic instead (see attached image).
In the KP screenshot bellow you can see that the cause seems to be the "Fault CR2" (see the green rectangle).
To fix it, I've extracted the address from there and added it to the MmioWhitelist, and then I was able to boot the Big Sur 11.0.1 Installer from a USB flash drive.
It's still a work in progress and I'd appreciate if anyone is willing to help testing this and give some feedback.

	<key>Booter</key>
	<dict>
		<key>MmioWhitelist</key>
		<array>
			<dict>
				<key>Address</key>
				<integer>3758096384</integer>
				<key>Comment</key>
				<string>MMIO devirt 0xE0000000 (0x10000 pages, 0x800000000000100D)</string>
				<key>Enabled</key>
				<false/>
			</dict>
			<dict>
				<key>Address</key>
				<integer>4261412864</integer>
				<key>Comment</key>
				<string>MMIO devirt 0xFE000000 (0x11 pages, 0x8000000000000001)</string>
				<key>Enabled</key>
				<false/>
			</dict>
			<dict>
				<key>Address</key>
				<integer>4273995776</integer>
				<key>Comment</key>
				<string>MMIO devirt 0xFEC00000 (0x1 pages, 0x8000000000000001)</string>
				<key>Enabled</key>
				<false/>
			</dict>
			<dict>
				<key>Address</key>
				<integer>4276092928</integer>
				<key>Comment</key>
				<string>MMIO devirt 0xFEE00000 (0x1 pages, 0x800000000000100D)</string>
				<key>Enabled</key>
				<false/>
			</dict>
			<dict>
				<key>Address</key>
				<integer>4278190080</integer>
				<key>Comment</key>
				<string>MMIO devirt 0xFF000000 (0x1000 pages, 0x800000000000100D)</string>
				<key>Enabled</key>
				<false/>
			</dict>
			<dict>
				<key>Address</key>
				<integer>4285530144</integer>
				<key>Comment</key>
				<string>Fault CR2: 0X00000000ff700020, Error code: 0X0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1</string>
				<key>Enabled</key>
				<true/>
			</dict>
		</array>
		<key>Quirks</key>
		<dict>
			<key>AvoidRuntimeDefrag</key>
			<true/>
			<key>DevirtualiseMmio</key>
			<true/>
			<key>DisableSingleUser</key>
			<false/>
			<key>DisableVariableWrite</key>
			<false/>
			<key>DiscardHibernateMap</key>
			<false/>
			<key>EnableSafeModeSlide</key>
			<true/>
			<key>EnableWriteUnprotector</key>
			<true/>
			<key>ForceExitBootServices</key>
			<false/>
			<key>ProtectSecureBoot</key>
			<false/>
			<key>ProtectMemoryRegions</key>
			<false/>
			<key>ProtectUefiServices</key>
			<false/>
			<key>ProvideMaxSlide</key>
			<integer>0</integer>
			<key>ProvideCustomSlide</key>
			<true/>
			<key>RebuildAppleMemoryMap</key>
			<false/>
			<key>SetupVirtualMap</key>
			<true/>
			<key>SignalAppleOS</key>
			<false/>
			<key>SyncRuntimePermissions</key>
			<false/>
		</dict>
	</dict>

IMG_2651 copy

Can you share the EFI to get this error? I can't do it, thanks

I no longer have the EFI, but if you remove the MmioWhitelist block and set DevirtualiseMmio to true, you should get this error.

@gujiangjiang
Copy link

@golimpio Thanks for your work. it works for me.
But i still cant boot into installESD and show this.
No port micro restart

If you still can't boot into installESD, try to start the install again from the beginning (I downloaded the installation file again and redid the whole process).

Then from the OpenCore boot menu, I had to run the install around 4 times until it was completed (the Install will disappear from the OpenCore boot list when it's done). And then it booted twice before I have it fulled installed.

@golimpio thanks for helping me slove the problem with redownload the big sur and installed perfectly.
Thanks again for your work in MmioWhitelist.

QQ20201124-183401@2x

@ReginaldZZZ
Copy link

It also worked for me!!!!!!!

@duc-td
Copy link

duc-td commented Nov 24, 2020

Big Sur 4k 48hz.zip

Thank you it works with my dell 9550 i7 4k, but 48hz is not very smooth, wait for the future will fix this problem

@azeezsker
Copy link

Thanks for "Big Sur 4k 48hz.zip", works smoothly.
except 48Hz refresh rate, no problem so far.

@baaaaatu
Copy link

Big Sur 4k 48hz.zip

It works for me! Thank you~

@fangshihyuan
Copy link

Big Sur 4k 48hz.zip

thanks, it works for me (dell 9550 i7 4k).

@isme111
Copy link

isme111 commented Dec 2, 2020

https://github.com/RehabMan/patch-nvme

com.apple.iokit.IONVMeFamily

hey bro,I used your efi file, and I can run through the code ,but ,then without popping up the Apple logo.
also with Catalina,is oc config wrong?

@golimpio
Copy link

golimpio commented Dec 2, 2020

https://github.com/RehabMan/patch-nvme
com.apple.iokit.IONVMeFamily

hey bro,I used your efi file, and I can run through the code ,but ,then without popping up the Apple logo.
also with Catalina,is oc config wrong?

I think that if you provide a screenshot of the error you're experiencing, maybe some people will be able to help you.

@lamhoangtung
Copy link

One small question here guys. Does 1080p version of XPS 15 9550 have to set to 48hz to run ? I saw 4k version had to do this

@xxxzc
Copy link
Owner

xxxzc commented Dec 11, 2020

@lamhoangtung not need

@lamhoangtung
Copy link

Thanks @xxxzc for the quick reply. So this would mean the last night release was BigSur ready right ?

@laisangbum
Copy link

laisangbum commented Jan 30, 2021

I can install Bigsur for the first time, but after reboot it show ocb: startimage failed - abort. and I cannot boot to mac. I reinstall many time but it not workIMG_20210131_011037.jpg

@vandocb2
Copy link

vandocb2 commented Feb 2, 2021

@golimpio i dont know why start image failed still appear when i try to boot into bigsur usb, but when i try your fix with catalina usb ,its work :D

@golimpio
Copy link

golimpio commented Feb 2, 2021

@golimpio i dont know why start image failed still appear when i try to boot into bigsur usb, but when i try your fix with catalina usb ,its work :D

I'm still using that fix for Big Sur, I'm now running macOS 11.2. I guess some minor differences between laptops models and BIOS might cause issues for some of us.

@8atm4n
Copy link

8atm4n commented Feb 7, 2021

I can install Bigsur for the first time, but after reboot it show ocb: startimage failed - abort. and I cannot boot to mac. I reinstall many time but it not workIMG_20210131_011037.jpg

I have the same problem as you.I have tried many ways, but they didn't work. Have you solved this problem?
7c037083604ba1758f15001fbc9a887

@laisangbum
Copy link

I can install Bigsur for the first time, but after reboot it show ocb: startimage failed - abort. and I cannot boot to mac. I reinstall many time but it not workIMG_20210131_011037.jpg

I have the same problem as you.I have tried many ways, but they didn't work. Have you solved this problem?
7c037083604ba1758f15001fbc9a887

I still haven't solved the problem. I can install mac, and boot to it for the first time. And i installed xcode to install iOS app. After completing the job, I reboot and still got the problem.
My SSD is Western Digital Blue 3D-NAND M.2 2280 SATA III. I read the comment above, it seem change the ssd can solve the problem

@vandocb2
Copy link

vandocb2 commented Mar 1, 2021

@golimpio when i tried to boot bigsur installation, my CR2 fault show like that
155307789_812746912649165_458326855813750338_n
@golimpio its show CR2 0x00000000ff7a0020 not 0x0000000070020 like you, so its difference ?

@golimpio
Copy link

golimpio commented Mar 1, 2021

@golimpio when i tried to boot bigsur installation, my CR2 fault show like that
155307789_812746912649165_458326855813750338_n
@golimpio its show CR2 0x00000000ff7a0020 not 0x0000000070020 like you, so its difference ?

I think that CR2 will just hold the linear address that caused a page fault (as per Intel's manual). So it makes sense that people will have different values on that register.

Have you tried to add the address you're getting to the MmioWhitelist ?

E.g.:

	<dict>
		<key>Address</key>
		<integer>4286185504</integer>
		<key>Comment</key>
		<string>Fault CR2: 0x000000ff7a0020, Error code: 0X0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1</string>
		<key>Enabled</key>
		<true/>
	</dict>

@pcuzn
Copy link

pcuzn commented Mar 10, 2021

Found a working big sur installation guide for pm961 from here: (https://www.tonymacx86.com/threads/guide-dell-xps-9560-big-sur-opencore.307163/). My laptop has i7-7700HQ and 512gb pm961 ssd. The specs of my device is very similar to xps 9560 so I decided to borrow some of the settings from the 9560 thread.

My laptop is currently running catalina 10.15.7 with opencore 0.6.0. While I was updating opencore, my laptop got the error message "OCB: StartImage failed - Aborted". I saw a comment from this link: (http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1874450&page=1#pid50727540), this guy says the ocb error has to do with the quirks configuration under booter. So I just copied everything from the quirks section to my config.plist and it worked.

		<key>AllowRelocationBlock</key>
		<false/>
		<key>AvoidRuntimeDefrag</key>
		<true/>
		<key>DevirtualiseMmio</key>
		<false/>
		<key>DisableSingleUser</key>
		<false/>
		<key>DisableVariableWrite</key>
		<false/>
		<key>DiscardHibernateMap</key>
		<false/>
		<key>EnableSafeModeSlide</key>
		<true/>
		<key>EnableWriteUnprotector</key>
		<true/>
		<key>ForceExitBootServices</key>
		<false/>
		<key>ProtectMemoryRegions</key>
		<false/>
		<key>ProtectSecureBoot</key>
		<false/>
		<key>ProtectUefiServices</key>
		<false/>
		<key>ProvideCustomSlide</key>
		<true/>
		<key>ProvideMaxSlide</key>
		<integer>0</integer>
		<key>RebuildAppleMemoryMap</key>
		<false/>
		<key>SetupVirtualMap</key>
		<true/>
		<key>SignalAppleOS</key>
		<false/>
		<key>SyncRuntimePermissions</key>
		<false/>

The configurations might be different on various devices. In my case I cannot set DevirtualiseMmio to true because it will cause bootloop on my device.

如果你们的设备带有pm961,升级opencore到较新的版本,比如0.6.5,然后把booter下面的quirks那部分好好改一改应该就可以装big sur了。有的机器只要把DevirtualiseMmio改成true就行,但是有的机子不能改,会无限重启。不过基本上就是改这部分的设定。

@laodaaa
Copy link

laodaaa commented Dec 29, 2022

刷新率已注入48hz 点击安装 MacOS big sur后会黑屏几秒钟然后左上角提示“OCB: StartImage failed - Aborted”之后会返回OC主界面

大哥你好,请问你的问题解决了吗?

@laodaaa
Copy link

laodaaa commented Dec 29, 2022

我收到相同的错误“OCB:启动映像失败 - 中止”

解决了吗

@RoberRaf
Copy link

RoberRaf commented Aug 1, 2023

@golimpio when i tried to boot bigsur installation, my CR2 fault show like that
155307789_812746912649165_458326855813750338_n
@golimpio its show CR2 0x00000000ff7a0020 not 0x0000000070020 like you, so its difference ?

I think that CR2 will just hold the linear address that caused a page fault (as per Intel's manual). So it makes sense that people will have different values on that register.

Have you tried to add the address you're getting to the MmioWhitelist ?

E.g.:

	<dict>
		<key>Address</key>
		<integer>4286185504</integer>
		<key>Comment</key>
		<string>Fault CR2: 0x000000ff7a0020, Error code: 0X0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1</string>
		<key>Enabled</key>
		<true/>
	</dict>

I have the same problem ...
But, where is the address to pick it?

@golimpio
Copy link

golimpio commented Aug 1, 2023

@golimpio when i tried to boot bigsur installation, my CR2 fault show like that
155307789_812746912649165_458326855813750338_n
@golimpio its show CR2 0x00000000ff7a0020 not 0x0000000070020 like you, so its difference ?

I think that CR2 will just hold the linear address that caused a page fault (as per Intel's manual). So it makes sense that people will have different values on that register.
Have you tried to add the address you're getting to the MmioWhitelist ?
E.g.:

	<dict>
		<key>Address</key>
		<integer>4286185504</integer>
		<key>Comment</key>
		<string>Fault CR2: 0x000000ff7a0020, Error code: 0X0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1</string>
		<key>Enabled</key>
		<true/>
	</dict>

I have the same problem ... But, where is the address to pick it?

Sorry @RoberRaf I haven't looked at this project for years, I don't remember much of it. I also no longer have my laptop setup to test it.

@sonvirgo
Copy link

sonvirgo commented Nov 3, 2023

dell m6600 2670qm
same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests