-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
sunxi-6.1: switch to tag:v6.1.97, re-extracting the corrected ones #6893
Conversation
Fix: dtb dtbo install, wrong select media sensors Disable incorrectly designed patches. They need to be aligned with the kernel code.
Revert 07b37f227c8daa27e68f57b1c691fab34a06731e commit For the sunxi (armhf) architecture, this commit results in an inability to load the kernel. It's actually a crutch that can break everything tomorrow. Therefore, freeze the kernel version for better times.
Poorly designed patches result in the maintainer having to do extra work.
test work on bananapi-m3:
Poorly designed patches result in the maintainer having to do extra work. I leave this opportunity to the community. |
I use to face kernel loading problems on sunxi when doing kernel bumps as kernel used to get into infinite loop trying to allocate memory during ftrace initialization IIRC. Trying to trace the reason down always used to bring me to a random commit which when reverted used to solve the issue. In reaity it used to be change in the memory size required by ftrace that was solving the issue. To avoid reverting commits I generally used to toggle some random config to change memory size required by ftrace, I believe it used to be CONFIG_RCU_TRACE or something like that. I wonder if its the same issue you faced which led to reverting the commit. |
Discussion on the forum: |
From quick read it seems like the same issue. Its been happening from time to time for more than a year since the introduction of Maple tree in 6.1 kernel. I have faced it in 6.1-6.4 may be 6.5 kernel as well IIRC, but then it stopped happening on 6.6 kernel. I will suggest to test once by removing the revert patch and then toggling the CONFIG_RCU_TRACE. it changes enough of the required memory size for ftrace to get kernel loading again. |
I have not encountered this problem before. And my kernel configuration file is very different from Armbian. I understand everything. But unfortunately, I can allocate 1-2 hours in the morning and donate them to Armbian. With respect. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix: dtb dtbo install, wrong select media sensors
Disable incorrectly designed patches.
They need to be aligned with the kernel code.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.