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

Kernel panic at boot #1

Open
francesco-ratti opened this issue Jun 7, 2021 · 14 comments
Open

Kernel panic at boot #1

francesco-ratti opened this issue Jun 7, 2021 · 14 comments

Comments

@francesco-ratti
Copy link

francesco-ratti commented Jun 7, 2021

Hello, thank you for your job!
Unfortunately when I start the installer i get a kernel panic.
Bios configured as yours, same laptop:
Lenovo Yoga 720
i5 7200u (yours is 8th gen Coffee Lake, mine is Kaby Lake)
Intel hd 620
8gb ram
Samsung NVME (to be changed… I’ll do when I’ll get to boot the installer, otherwise if I can’t succeed it will be useless).
I removed driver and kexts related to Broadcom network device since mine is different (I will install the same when I’ll manage to boot the system) and I disabled network adapter from bios, so I would exclude this could cause any problem.

Right before the kernel panic:
IMG_1960

The kernel panic log:
IMG_1962

MacOs Big Sur.
I already tried to disable devirtualize MMIO. No difference.
I think I will try asap to build a new installer from scratch, maybe we could solve the installer problem you reported in the second step.
Thanks.
Best regards

@francesco-ratti
Copy link
Author

francesco-ratti commented Jun 8, 2021

I managed to boot succesfully the installer with a new configuration. But I have no clue about what was the source of the kernel panic with your configuration. I will refine and post it when I’ll continue to work on this, maybe it fixes the bootloop during the installation you mentioned in the readme, then switch or integrate your patches and kexts. Idk whether i5 KL vs i7 CL will make our configs not interchangeable.

@MisterFMagic
Copy link
Owner

MisterFMagic commented Jun 8, 2021

Hello! Thanks for your message. I am going to update to OC 0.70 soon and update the files in the repo accordingly.
I'm curious if you are experiencing the same issue with the installer. I did not investiage further, the updates to macOS 11.3 went through smoothly without any problems.

Regarding the Wifi-Card: if you are running macOS as the only operating system you may consider the DW1560 as well. It works a bit more stable in my environment I think. I sticked to the DW1820A due to dualbooting to Arch Linux (the drivers for the DW1560 for Linux caused a lot of trouble, the DW1820A is supported natively and runs fine)

@francesco-ratti
Copy link
Author

francesco-ratti commented Jun 11, 2021

Hello! Thank you for your reply. I succesfully installed Big Sur (on an external drive, when everything will be ready and data backupped I’ll do in my internal hard drive in a multiboot setup) with my EFI folder I attach now with no bootloop. I had one (picture attached) but it was due to the disk formatted in HFS and not in APFS. Formatting in APFS solved the issue. Now Big Sur is up and working.
IMG_1998
My EFI folder is “dirty” since is a configuration which comes from a user with a different computer but with a similar hardware setup, I started from it and adapted. I will try your new config ASAP and, in case, build mine from scratch, looking at yours and the one I attached, which I know it’s working. Thank you for WiFi suggestions! I was thinking of getting the BCM94360NG from Fenvi since our laptop should have no whitelist for network cards and it seems completely compatible with macOS.
yoga.zip

@francesco-ratti
Copy link
Author

francesco-ratti commented Jun 11, 2021

Hello! I tried your new config and everything is working fine! I set up my own smbios and serial using MacBookPro14,2, which is similar to my Yoga 720. Moreover I enabled AvoidRunTimeDefrag which I see is true by default in OpenCore. I noticed an interesting thing: my system works just fine with DevirtualiseMMIO and ProtectUEFIServices off as in default config. Do you suggest to leave them on and use you whitelist map or should I leave them off? It’s strange that they are needed for your Yoga. Maybe is it due to 8th gen cpu in yours?
Thank you very much for your work! Only problem is external monitor is always at 30hz, no way to go to 60hz on 4k, it works in windows and linux distros, even adding -igfxmpc boot arg. Edit: working fine now.

@MisterFMagic
Copy link
Owner

Hello again! I'm glad to hear that the new config is working for your system!

I personally would leave DevirtualiseMMIO off if not needed. I have no clue why it is needed on my yoga and not needed on yours. The only thing I know is that the 8th gen Kaby Lake Refresh is special in some cases. It is not a real 8th gen Coffee Lake nor the classic 7th gen Kaby Lake.

@ozalboher
Copy link

hey MisterFMagic, sorry to be a total noob here but I just can't get the installer to boot. What am I missing ?

  1. I downloaded Monterey from python.
  2. I downloaded the EFI folder you provided, I have the exact same computer so do I still need to modify this or just drag & drop to the USB stick?
  3. Why is your EFI folder missing the BOOT folder that goes along with the OC folder ? And what if I will just download it from the OC website? and do I need the BOOT from the exact version that you used? (0.76 ? ) Or I can just download the latest OC version? and what type - DEBUG or RELEASE ?
    4)I have the DEFAULT hardware that shipped with my laptop. (Lenovo Yoga 720 15-IKB).

much appreciated!!!

@MisterFMagic
Copy link
Owner

MisterFMagic commented Mar 8, 2022

Hello ozalboher,

a good starting point in every case is the Dortania Guide https://dortania.github.io/OpenCore-Install-Guide/prerequisites.html#prerequisites.

Your questions:

  1. looks good
  2. You can't use it without adding "Platform Info" in the config.plist file. I removed mine because the serials provided inside should not be used by others. The guide above should help you generating the missing entries.
  3. The BOOT folder is missing because I am dualbooting a linux distro - I replaced the OpenCore BOOT folder with another bootloader (rEFInd). I would recommend to put the same OC version inside your BOOT folder that matches the one used for the OC folder. Use the debug versions to get more information printed. The one in the repo is the debug one!
  4. A hint from my side: check your wireless card and your solid state drive. The ones that got shipped with my yoga caused problems (intel wifi and Samsung SSD) when I started with Catalina two years ago. (maybe the situation changed in the meantime..)

Let me know if it works!

@ozalboher
Copy link

THANKS for replying !!!!!!!!
I will try again.

So if I understood you correctly -

  1. I need to download the 0.76 DEBUG (BOOT folder only)

  2. I need to add platform info by installing smbios and enter " MacBookPro14,2 " as mentioned by the guy above me.

  3. the samsung ssd and wi-fi are stuff I can deal with after installing the macOS, Or will they kernel pack before I even start?

  4. I have from a different laptop that I can use : * hynix nvme 256gb * & * intel 9560NGW wifi * maybe this other intel chip would work better? and no idea about the hynix...prayers to god at this point.

@ozalboher
Copy link

UPDATE: I managed to get to the installation screen.
Now it demands internet connection in order to install !!!
???
I don't see any wifi options & yoga doesn't have a ethernet port.

@MisterFMagic
Copy link
Owner

Sorry for the late response and congrats reaching the installation screen!

Internet connection is required if you use the "recovery" install image. Try to create a full install media or use your stick in combination with a USB-C to Ethernet adapter to get internet access.

regarding your "new" hardware: just give the SSD a try, most of them should just work. Maybe you find some kexts for the wifi-card to get it running. Be sure to adapt the configuration and kexts from the initial settings that are needed for the DW1820A.

@ozalboher
Copy link

thanks the macOS works now im so glad!
few things:

  1. touchscreen doesn't work (do I need a certain ssdt to make it work? what is the ssdt that youve included for the touchscreen, how did you named it? )
  2. the mousepad is working but the buttons are behaving weird.
  3. the system overall is running well, but animations are not so much "buttery smooth", is it because of the intel 630 is not powerful enough?
    too bad there is no support for the gtx 1050.

@MisterFMagic
Copy link
Owner

good to hear that you got it installed!

  1. I don't know - it worked out of the box with my yoga
  2. there is no "right-click" available. tip with two fingers in the middle of the pad to achieve that. If you find a better solution, please let me know ;-)
  3. There is something wrong with your setup. The UHD620 runs the desktop super smooth, even better than with Arch Linux (especially when opening youtube with Firefox). I think you should invest some time to configure WhateverGreen to your yoga. I made some specific changes in DeviceProperties to get the 620 running fine. A good indicator if something is wrong is the "about this mac"-window: if the graphics memory is only about 64MBytes or something like that there is a problem. On my yoga this was always combined with stuttering animations.

@ozalboher
Copy link

“About this mac” says it is 2048MB.
the animations overall are good but when im opening a new tab in safari or opening a folder inside launch pad there is a bit of a stutter.

@MisterFMagic
Copy link
Owner

2048MB looks fine - I checked the animations on my setup, safari has no stutterig, opening a launchpad-folder leads to a minimum stutter-effect. Maybe you run some benchmarks to check the performance and to get a "second opinion"?

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

3 participants