You are not logged in.
Pages: 1
I'm running x86_64 latest with slim/openbox & native systemd. Recently I find that sudo systemctl hibernate hangs. I see this in the journal
Jan 26 10:02:43 bunyip systemd[1]: Starting Sleep.
Jan 26 10:02:43 bunyip systemd[1]: Reached target Sleep.
Jan 26 10:02:43 bunyip systemd[1]: Starting Hibernate...
Jan 26 10:02:43 bunyip kernel: PM: Hibernation mode set to 'platform'
Jan 26 10:02:43 bunyip systemd-sleep[17817]: Hibernating system...
Jan 26 10:02:44 bunyip kernel: PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
Jan 26 10:02:44 bunyip kernel: PM: Marking nosave pages: [mem 0x70000000-0x7fffffff]
after a several minutes waiting with nothing happening I have to power off forcibly. I don't have any extra scripts set up for suspend.
Any ideas how to go about fixing this?
Offline
It seems that the hang is related to my PCTV 290e stick. If I boot without it then I can hibernate normally and the resume works fine.
The device works fine when hot-plugged and the relevant journal entries appear to be
Jan 26 18:52:47 bunyip kernel: usb 1-2: new high-speed USB device number 5 using ehci_hcd
Jan 26 18:52:47 bunyip mtp-probe[2526]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:04.1/usb1/1-2"
Jan 26 18:52:47 bunyip mtp-probe[2526]: bus: 1, device: 5 was not an MTP device
Jan 26 18:52:47 bunyip kernel: media: Linux media interface: v0.10
Jan 26 18:52:47 bunyip kernel: Linux video capture interface: v2.00
Jan 26 18:52:47 bunyip kernel: em28xx: New device PCTV Systems PCTV 290e @ 480 Mbps (2013:024f, interface 0, class 0)
Jan 26 18:52:47 bunyip kernel: em28xx: DVB interface 0 found
Jan 26 18:52:47 bunyip kernel: em28xx #0: chip ID is em28174
Jan 26 18:52:47 bunyip dbus-daemon[2059]: dbus[2059]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
Jan 26 18:52:47 bunyip dbus[2059]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
Jan 26 18:52:47 bunyip systemd[1]: Starting Disk Manager...
Jan 26 18:52:48 bunyip udisksd[2546]: udisks daemon version 2.0.1 starting
Jan 26 18:52:48 bunyip kernel: em28xx #0: Identified as PCTV nanoStick T2 290e (card=78)
Jan 26 18:52:48 bunyip kernel: em28xx #0: v4l2 driver version 0.1.3
Jan 26 18:52:48 bunyip kernel: em28xx #0: V4L2 video device registered as video0
Jan 26 18:52:48 bunyip kernel: usbcore: registered new interface driver em28xx
Jan 26 18:52:48 bunyip kernel: tda18271 5-0060: creating new instance
Jan 26 18:52:48 bunyip kernel: TDA18271HD/C2 detected @ 5-0060
Jan 26 18:52:48 bunyip dbus-daemon[2059]: dbus[2059]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Jan 26 18:52:48 bunyip dbus[2059]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Jan 26 18:52:48 bunyip udisksd[2546]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Jan 26 18:52:48 bunyip systemd[1]: Started Disk Manager.
Jan 26 18:52:48 bunyip slim[2081]: thunar-volman: Unsupported USB device type.
Jan 26 18:52:48 bunyip kernel: DVB: registering new adapter (em28xx #0)
Jan 26 18:52:48 bunyip kernel: usb 1-2: DVB: registering adapter 0 frontend 0 (Sony CXD2820R)...
Jan 26 18:52:48 bunyip kernel: em28xx #0: Successfully loaded em28xx-dvb
Jan 26 18:52:48 bunyip kernel: Em28xx: Initialized (Em28xx dvb Extension) extension
Jan 26 18:52:48 bunyip kernel: Registered IR keymap rc-pinnacle-pctv-hd
Jan 26 18:52:48 bunyip kernel: input: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:04.1/usb1/1-2/rc/rc0/input7
Jan 26 18:52:48 bunyip kernel: rc0: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:04.1/usb1/1-2/rc/rc0
Jan 26 18:52:48 bunyip kernel: Em28xx: Initialized (Em28xx Input Extension) extension
Jan 26 18:52:48 bunyip slim[2081]: thunar-volman: Unsupported USB device type.
Jan 26 18:52:48 bunyip slim[2081]: thunar-volman: Unsupported input device type.
Jan 26 18:52:48 bunyip slim[2081]: thunar-volman: Unsupported input device type.
lsusb shows
Bus 001 Device 005: ID 2013:024f PCTV Systems nanoStick T2 290e
Bus 002 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 002 Device 003: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 002 Device 004: ID 9e88:9e8f
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 413c:2003 Dell Computer Corp. Keyboard
and by inspection with the unplugged state the loaded modules appear to be
rc_pinnacle_pctv_hd 1102 0
em28xx_rc 6498 0
rc_core 16737 3 em28xx_rc,rc_pinnacle_pctv_hd
tda18271 35969 1
cxd2820r 24719 1
em28xx_dvb 16378 11
dvb_core 99650 2 em28xx_dvb,cxd2820r
em28xx 89691 2 em28xx_dvb,em28xx_rc
videobuf_vmalloc 4352 1 em28xx
tveeprom 13778 1 em28xx
videobuf_core 16008 2 videobuf_vmalloc,em28xx
v4l2_common 7431 1 em28xx
videodev 104777 2 em28xx,v4l2_common
media 10438 1 videodev
is there anything obvious from the above as to why this device hangs hibernate/suspend. I do know that if I remove it then shutdown also hangs at the DM messages.
Offline
Seems I need to unload the em28xx modules prior to hibernation. I used a script like this
modprobe -r em28xx_dvb
modprobe -r em28xx_rc
modprobe -r rc_pinnacle_pctv_hd
modprobe -r rc_core
modprobe -r tda18271
modprobe -r cxd2820r
modprobe -r dvb_core
modprobe -r videobuf_vmalloc
modprobe -r tveeprom
modprobe -r videobuf_core
modprobe -r v4l2_common
modprobe -r videodev
modprobe -r media
and that seemed to work at hibernate/suspend time. I used modprobe em28xx_dvb at resume.
Offline
Pages: 1