Skip to content

OOPS in latest kernel #2446

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

Closed
dave-p opened this issue Mar 17, 2018 · 8 comments
Closed

OOPS in latest kernel #2446

dave-p opened this issue Mar 17, 2018 · 8 comments

Comments

@dave-p
Copy link

dave-p commented Mar 17, 2018

oops.txt

This is on an original Pi2B running fully up-to-date Arch Linux. The application is TVHeadend which was compiled from source on this machine and which uses a DVB-S2 USB stick. Networking is via Ethernet.

The OOPS is triggered when I stream live TV from TVHeadend to VLC (v3.0) running on a remote Linux machine, then close the session by exiting VLC. TVHeadend becomes unresponsive and cannot be killed.

Reverting the kernel and firmware to the previous version cures the problem.

The same behaviour is seen if the SD card is moved to a Pi3B.

@dave-p
Copy link
Author

dave-p commented Mar 18, 2018

To clarify, the last good kernel (that I can test without building my own) is 4.14.24, commit 80a14a5. The oldest failing kernel is 4.14.26, commit ad350a5.
I know nothing of kernel internals but this commit, introduced in 4.14.25, looks possibly relevant: abb4a8b

@popcornmix
Copy link
Collaborator

Are you able to build a kernel with that commit reverted?
https://www.raspberrypi.org/documentation/linux/kernel/building.md

@dave-p
Copy link
Author

dave-p commented Mar 18, 2018

Working on it now, but I may be some time...

@lategoodbye
Copy link
Contributor

According to netdev this patch should be the fix.

@dave-p
Copy link
Author

dave-p commented Mar 18, 2018

I built a kernel from the head of the rpi-4.14 branch using the Arch packaging system; as expected the Oops occurs.
Reverting commit abb4a8b and rebuilding, the issue is gone.
Reinstating abb4a8b and also applying the patch from https://www.spinics.net/lists/netdev/msg489445.html, the issue is still gone.

@popcornmix
Copy link
Collaborator

Okay, looks like an upstream bug with a pending upstream fix.
Once it is merged we can pull it in here (hopefully it will appear in 4.14.28 or shortly afterwards) but if not we can pull it in earlier.

@dave-p
Copy link
Author

dave-p commented Mar 18, 2018

Thanks.
@lategoodbye, many thanks for spotting the solution. I'll carry on using my homebrewed kernel until the fix comes through the system.

@dave-p dave-p closed this as completed Mar 18, 2018
popcornmix added a commit to raspberrypi/firmware that referenced this issue Mar 28, 2018
See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=209309

kernel: lan78xx: Simple patch to prevent some crashes
See: raspberrypi/linux#2449

kernel: net/tcp: reset the sk_send_head in tcp_write_queue_purge
See: raspberrypi/linux#2446
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Mar 28, 2018
See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=209309

kernel: lan78xx: Simple patch to prevent some crashes
See: raspberrypi/linux#2449

kernel: net/tcp: reset the sk_send_head in tcp_write_queue_purge
See: raspberrypi/linux#2446
@popcornmix
Copy link
Collaborator

The linked patch has been pushed to linux tree and is in latest rpi-update kernel

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

3 participants