Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69702 - [linux][linux-zen] 5.11, dell_wmi_sysman causes unbootable system

Attached to Project: Arch Linux
Opened by Borislav Gerassimov (slimmer) - Friday, 19 February 2021, 08:32 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 20 February 2021, 10:19 GMT
Task Type Bug Report
Category Packages: Testing
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
With both of the above kernels at version 5.11 the system won't boot unless the dell_wmi_sysman is blacklisted somehow. Otherwise it boots and works fine. Tested on a Dell Latitude E5570 with the latest updates (including the latest firmware from fwupd).

Additional info:
Affected kernels:
linux 5.11.arch2-1
linux-zen 5.11.zen2-2
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. Install linux/linux-zen from testing (5.11)
2. Reboot.
3. Enjoy a general protection fault :)
This task depends upon

Comment by Borislav Gerassimov (slimmer) - Friday, 19 February 2021, 08:37 GMT
The failed boot.
Comment by Borislav Gerassimov (slimmer) - Friday, 19 February 2021, 08:58 GMT
Looking at another bugreport, I decided to test with linux-mainline-5.11-1 from the miffe unofficial repository. The system boots fine. BUT there is no module dell_wmi_sysmain, which probably is not enabled in the config file.
Unfortunately I've got no time to investigate this further at the moment.
Comment by loqs (loqs) - Friday, 19 February 2021, 20:32 GMT Comment by Borislav Gerassimov (slimmer) - Saturday, 20 February 2021, 20:00 GMT
@loqs - Isn't this merged just before 5.11rc6 according to this:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=215164bfb7144c5890dd8021ff06e486939862d4
or I'm reading somethong wrong? :)
Comment by loqs (loqs) - Saturday, 20 February 2021, 20:26 GMT
No you are right I should have double checked. There is [1] but it does not mention a null pointer deference.
Perhaps your bug has not been reported upstream yet?

[1] https://lore.kernel.org/platform-driver-x86/20210218191723.20030-1-mario.limonciello%40dell.com/
Comment by Borislav Gerassimov (slimmer) - Saturday, 20 February 2021, 20:33 GMT
Maybe. I saw that patch yesterday too. There is also some activity around Dell drivers in the linux-next as far as I saw.
The problem is... I haven't compiled a kernel since... my slackware times (2000) and this patching stuff is a bit "distant". If I have time on monday, I will try to build the arch kernel with this patch and see if it makes any difference.
Comment by Borislav Gerassimov (slimmer) - Monday, 22 February 2021, 12:55 GMT
I've just built linux-next-git 20210222 and tried booting it but the exact same problem persists...

So I created this: https://bugzilla.kernel.org/show_bug.cgi?id=211895
Comment by loqs (loqs) - Monday, 22 February 2021, 20:27 GMT
If you do not hear anything in a few weeks you could try the platform-driver-x86@vger.kernel.org mailing list mentioned in the output below:

perl scripts/get_maintainer.pl drivers/platform/x86/dell-wmi-sysman/sysman.c
Divya Bharathi <divya.bharathi@dell.com> (maintainer:DELL WMI SYSMAN DRIVER)
Mario Limonciello <mario.limonciello@dell.com> (maintainer:DELL WMI SYSMAN DRIVER)
Prasanth Ksr <prasanth.ksr@dell.com> (maintainer:DELL WMI SYSMAN DRIVER)
Hans de Goede <hdegoede@redhat.com> (maintainer:X86 PLATFORM DRIVERS)
Mark Gross <mgross@linux.intel.com> (maintainer:X86 PLATFORM DRIVERS)
platform-driver-x86@vger.kernel.org (open list:DELL WMI SYSMAN DRIVER)
linux-kernel@vger.kernel.org (open list)

Loading...