bionic snapdragon 4.15 snap failed Certification testing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
snap certification testing failed with bionic/
https:/
After investigations by Kleber, failure was found to be from a drm driver which is compiled when CONFIG_DRM_MSM is set.
Information reported from Paul Larson [1]:
We have a cold reboot test in checkbox that seems to be failing with this kernel. The test runs the following commands to try to trigger a cold reboot:
rtcwake --mode no -s 120
sleep 5
rtcwake -m show
sleep 5
dbus-send --system --print-reply --dest=
However, the system never fully reboots. On the serial console, I just see:
...
Press enter to configure.
[ 137.402465] systemd-
[ 137.406163] systemd-
I do have the ability to remotely remove power from the device and restore it, however after doing that, I get an oops on the serial console and the system never comes up.
[1] https:/
[Test]
Run Certification Testing
The tests are ran only with UC18, so a kernel snap is needed to either build a new image or promote it to edge.
[Fix]
The affected drm driver is set by CONFIG_DRM_MSM which is also set on bionic/linux
Revert upstream commits on Bionic/linux:
0519bad6f34f drm/msm: Use the correct dma_sync calls in msm_gem
7318c5ef642b drm/msm: stop abusing dma_map/unmap for cache
[Risk of Regression]
Alternative solutions would need to be found for dma_sync calls in msm_gem and to avoid abusing dma_map/unmap for cache. The commits both came from upstream stable.
CVE References
no longer affects: | kernel-sru-workflow |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
status: | New → Won't Fix |
status: | Won't Fix → Invalid |
no longer affects: | ubuntu |
no longer affects: | Ubuntu Bionic |
Changed in linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → High |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- bionic' to 'verification- done-bionic' . If the problem still exists, change the tag 'verification- needed- bionic' to 'verification- failed- bionic' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!