You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems some change between the 5.4 kernel and the 5.10.23 kernel introduced a regression in MMAL that leads to a kernel oops on a Raspberry Pi Zero W when running yavta or a custom application that obtains data from a TC358743 and encodes it using MMAL.
To reproduce
Make sure you're running a recent 5.10.23 kernel (I obtained it via rpi-update)
This bug is not present in the 5.4.83+ kernel. I confirmed this by backporting the fix for issue #4128 to the 5.4.y branch (otherwise, the other issue could have masked the one I report here).
The text was updated successfully, but these errors were encountered:
Please try disabling /dev/vcsm (change the permissions or similar) under 5.4 and see if the issue occurs there too.
5.10 has changed to using vcsm-cma by default, so it would be useful to be able to check whether it is that change or something else that is causing the issue.
Any news?
Still getting it on 5.10.92 every ~2-3 hours when encoding 20fps 960x720 video stream using ffmpeg's h264_v4l2m2m (with patched to make the output useful).
/dev/vcsm doesn't seem to exist for me, neither it is mentioned in dmesg.
PS:
Is it still possible to get the 5.4.83 kernel in more or less up to date raspbian without compiling it myself?
It seems some change between the 5.4 kernel and the 5.10.23 kernel introduced a regression in MMAL that leads to a kernel oops on a Raspberry Pi Zero W when running yavta or a custom application that obtains data from a TC358743 and encodes it using MMAL.
To reproduce
v4l2-ctl --set-edid=file=1080P50EDID.txt --fix-edid-checksums
./yavta --capture=10000000 -s 1080x720 -n 3 --encode-to=- -m -T /dev/video0 | gst-launch-1.0 -v fdsrc ! tcpserversink port=5001 host=0.0.0.0
Expected behaviour
This should H264-encode the HDMI input and stream it to the client. It should not crash.
Actual behaviour
After only a few minutes, a kernel oops occurs that breaks yavta until the system is rebooted. Exact crash log below.
System
PiZeroW
Newest Raspberry Pi OS Lite from website + newest kernel from rpi-update
vcgencmd version
)?Newest Raspberry Pi OS Lite from website + newest kernel from rpi-update
uname -a
)?Linux raspberrypi 5.10.23+ Add support for Digital Dreamtime Akkordion (using OEM IQAudIO DAC module) #1406 Mon Mar 15 15:37:16 GMT 2021 armv6l GNU/Linux
Logs
Additional context
This bug is not present in the 5.4.83+ kernel. I confirmed this by backporting the fix for issue #4128 to the 5.4.y branch (otherwise, the other issue could have masked the one I report here).
The text was updated successfully, but these errors were encountered: