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

poweroff issue with stripping i915 from linux 5.12 #86

Closed
oech3 opened this issue May 29, 2021 · 3 comments
Closed

poweroff issue with stripping i915 from linux 5.12 #86

oech3 opened this issue May 29, 2021 · 3 comments

Comments

@oech3
Copy link
Contributor

oech3 commented May 29, 2021

I can't poweroff a PC with i915 chip at the same time as https://bugs.archlinux.org/task/70773?project=1&string=linux was reported(but it is about suspend).
It occur if *bug_table is stripped from i915.ko.Stripping other is OK.
Some people reports FS#70773 is solved with 5.12.7 .But I can't solve with upgrading.

I can't understand why stripping *bug_table is bad.

If it is not bug of i915,booster shouldn't *bug_table for early KMS.

@anatol
Copy link
Owner

anatol commented Jun 1, 2021

Just to confirm - do you see this problem with 5.12.8 if and only if strip option is enabled?

@oech3
Copy link
Contributor Author

oech3 commented Jun 1, 2021

Yes.
Poweroff fails with modules: -*,btrfs,i915 strip: true,
success with modules: -*,btrfs,i915,
success with modules: -*,btrfs strip: true,
fails if /lib/modules/5.12.8-arch1-1/kernel/drivers/gpu/drm/i915/i915.ko.xz is replaced with i915.ko.xz which doesn't have *bug_table. Other section is OK.

@anatol
Copy link
Owner

anatol commented Jun 1, 2021

Interesting.. I am not aware of any reason why bug_table affects shutdown functionality.

For now we can just drop *__bug_table from the strip list.

@anatol anatol closed this as completed in 284ed16 Jun 3, 2021
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