FS#59990 - [linux] 4.18+ USB tv tuner causes general protection fault

Attached to Project: Arch Linux
Opened by Dan Ziemba (zman0900) - Sunday, 09 September 2018, 00:29 GMT
Last edited by freswa (frederik) - Thursday, 10 September 2020, 20:58 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Starting with linux 4.18, system crashes shortly after boot when USB tv tuner is connected. This can be fixed by reverting commit 1a0c10ed7bb1.

I have reported bug upstream, more details there: https://bugzilla.kernel.org/show_bug.cgi?id=201055

Additional info:
* package version(s)
4.18 - 4.19-rc2

Steps to reproduce:
1. Set up USB tv tuner and software to use it, such as tvheadend.
2. Update system to current arch kernel 4.18.6.
3. Reboot
4. Wait a few seconds for system to become unusable.
This task depends upon

Closed by  freswa (frederik)
Thursday, 10 September 2020, 20:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 4.20.1.arch1-1 linux-lts 4.19.14-1
Comment by patrick (potomac) - Sunday, 30 September 2018, 15:49 GMT
Does the bug occur with all USB DVB-T/ATSC tv tuner devices ?
Or only with a specific model ?

more details about this faulty commit :
https://patchwork.kernel.org/patch/10268719/
Comment by Dan Ziemba (zman0900) - Tuesday, 09 October 2018, 16:25 GMT
I only have the one hardware to test with, so I can't say for sure. It is in what seems like a general part of the dvb code, so I would guess there is probably other hardware affected too. I have found that the bug only becomes apparent when you actually try to stream from the device. The error was happening on boot for me because I had tvheadend starting at boot.

More details on the mailing list:
https://www.mail-archive.com/linux-media%40vger.kernel.org/msg135161.html
Comment by Dan Ziemba (zman0900) - Sunday, 06 January 2019, 01:59 GMT
Now that linux-lts has moved to 4.19, I have no working pre-built kernel available. The patch available at https://www.spinics.net/lists/linux-media/msg143589.html fixes the problem. Please apply it to the linux and linux-lts packages. I have tested building both packages with the patch and it fixes the bug (linux-lts 4.19.13-1 and linux 4.20.arch1-1), at least with my device that uses the mxl111sf modules.
Comment by Dan Ziemba (zman0900) - Tuesday, 08 January 2019, 02:49 GMT
Looks like the patch is now queued up for 4.19.14, 4.20.1, and 5.0.
Comment by loqs (loqs) - Thursday, 10 September 2020, 17:41 GMT

Loading...