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

Freezes and crashes on MacBookPro15,2 #20

Open
ronnystandtke opened this issue Nov 23, 2020 · 4 comments
Open

Freezes and crashes on MacBookPro15,2 #20

ronnystandtke opened this issue Nov 23, 2020 · 4 comments

Comments

@ronnystandtke
Copy link

I have a MacBookPro15,2 (a.k.a. A1989) and tried to build and load this module on a Debian Live system with the Linux kernel 5.8 from the official Debian backports. The module builds without any problem but some seconds after loading the module via insmod, the system freezes and a while later just reboots. Attached is the output of "dmesg -w" I captured via ssh from another machine. I hope it helps debugging and fixing the issue.

Another thing I noticed was that after rebooting into macOS, it showed an error message that my computer was rebooted because of a problem. The headline was "Fehlerbericht für bridgeOS" (German for "error report for bridgeOS").

Please tell me if I there is something else I can do to help fixing this issue.
Thank you very much for your work on this driver.

dmesg_output_bce.txt

@networkException
Copy link

In general the 5.8.x kernels have various problems with t2 patches, its hightly recommended to just use 5.7.x

@ronnystandtke
Copy link
Author

Thank you very much for the info. The Debian Live system I am working on needs to support as much hardware as possible (besides MacBooks also all the standard hardware of the Lenovos, HPs, Dells, Acers, etc. of the world). Therefore we need the most current kernel version to keep up with the most current hardware our students bring along.

Then let's hope that the T2 patches and drivers get adopted to newer kernel versions and maybe even upstreamed so that we can just use the default Debian kernel package and everything works out-of-the-box.

@networkException
Copy link

Oh ok. As far as I know it's some init (order) issue in the newer kernel versions. A few weeks ago aunali1, who is working on an arch kernel, actually mentioned a way how get newer versions to work.

@here it seems a temporary workaround to get 5.8.x working is to boot using the recovery ramdisk, so in the grub menu, select additional options and then select the linux-mbp entry with recovery ramdisk.

For further information I'd recommend joining the discord server he wrote it in (link can be found on https://t2linux.org)

@ronnystandtke
Copy link
Author

I tested again with the latest Linux kernel in Debian backports (version 5.9.6) and now the apple_bce driver compiles and loads without crashing the kernel and the keyboard, touchpad and sound output works. The webcam and two finger scrolling on the touchpad doesn't seem to work though.
Unfortunately, the macbook12-spi-driver for the touchbar is not yet compatible with the kernel version 5.9, see
roadrunner2/macbook12-spi-driver#54
The original issue (freezes and crashes) seems to be fixed now. Do you want me to close this issue or leave it open to track the progress with the remaining issues?

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

2 participants