System freeze when going into suspend after “rmmod cx23885 cx25840”

Bug #1598450 reported by Uwe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

When the system (Ubuntu 16.04 LTS with Kernel 4.4.0-28) goes into suspend (hybrid-sleep with systemd), I get sometimes (around every fifth time) a system freeze. In the other cases, everything works fine before and after the suspend with the system and DVB-C/T card DVBSky T982.

I using the following configuration to remove both modules for my DVB card, otherwise the card would not work after suspend.

[Unit]
Description=Restart DVB services
Before=sleep.target
StopWhenUnneeded=yes

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/modprobe -r cx23885 cx25840
ExecStop=/sbin/modprobe cx25840 ; /sbin/modprobe cx23885

[Install]
WantedBy=sleep.target

I have nothing installed what are using the modules at the moment (e.g. like tvheadend).
I had the problem also with Ubuntu 14.04 and Vivid Kernel 3.19 a couple of month ago. Only the installation of the closed source driver from DVBSky could fix the problem under Trusty.

May the issue is related to Bug #1532412.

Please find attached the syslog part with the logging and error messages before my system freeze.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-28-generic 4.4.0-28.47
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: server 1401 F.... pulseaudio
Date: Sat Jul 2 17:10:56 2016
HibernationDevice: RESUME=/dev/mapper/vg--ssd-lv--ssdswap
InstallationDate: Installed on 2016-06-11 (21 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420)
IwConfig:
 lo no wireless extensions.

 enp0s25 no wireless extensions.
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=/dev/mapper/vg--ssdroot-lv--ssdroot ro
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-28-generic N/A
 linux-backports-modules-4.4.0-28-generic N/A
 linux-firmware 1.157.1
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/20/2015
dmi.bios.vendor: Intel Corp.
dmi.bios.version: RLH8710H.86A.0330.2015.0720.1750
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DH87RL
dmi.board.vendor: Intel Corporation
dmi.board.version: AAG74240-403
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrRLH8710H.86A.0330.2015.0720.1750:bd07/20/2015:svn:pn:pvr:rvnIntelCorporation:rnDH87RL:rvrAAG74240-403:cvn:ct3:cvr:

Revision history for this message
Uwe (dolly) wrote :
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Uwe, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

Once testing of the latest upstream kernel is complete, please mark this report Status Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-330
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Uwe (dolly)
tags: added: ernel-bug-exists-upstream-4.7-rc7 kernel-bug-exists-upstream
tags: added: kernel-bug-exists-upstream-4.7-rc7
removed: ernel-bug-exists-upstream-4.7-rc7
Revision history for this message
Uwe (dolly) wrote :

Hi Christopher,

during the third test (hybrid-sleep with removing the DVB modules) I got the system freeze again with the upstream kernel (4.7-rc7).

See attached syslog (file: syslog-upstream-4.7-rc7.txt).

Please let me know if you need more information.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Uwe, the issue you are reporting is an upstream one. Could you please report this problem following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel to the appropriate mailing list (TO Steven Toth, and Mauro Carvalho Chehab CC linux-media)?

Please provide a direct URL to your post to the mailing list when it becomes available so that it may be tracked.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Uwe (dolly) wrote :

I wrote to the mailing-list linux-media and also to Mauro Carvolho Chehab (I could not find Stefen Toth).

http://www.spinics.net/lists/linux-media/msg103085.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.