I am trying to use a Dell XPS 7590 with a Startech TB3DOCK2DPPD dock and put the laptop to sleep and wake it up. My initial experience with Ubuntu Mate 18.04 LTS is no matter what I did, the best result was the computer will hot sleep as in it did not turn off all the way, making it unwise to say close the lid to put to sleep, stuff away in a laptop bag, and then transport. The worst result was having to hold down the power button for an extended period to force the laptop off. After fooling around with various suggestions I found online, I decided to try out Ubuntu Mate 19.10. I first found the problem was still present with 19.04 with a quick test and then went on to 19.10 where I found I could get the laptop to go into a cold sleep and wake up, no real tricks needed. However I found that the very act of plugging in the Startech dock at some point and then putting the laptop to sleep ended with the laptop not properly waking up, causing me to have to hold the power button for an extended period to force the laptop off. (These tests include leaving the dock plugged in through a whole suspend / resume cycle, suspend, unplug, and then resume, and briefly plug in, unplug, suspend, and resume while still unplugged.) On the plus side after unsecuring the TB3 port on this laptop, the dock works great under Linux. I have plugged up to two 4k displays into it and have plugged a number of other devices into it, used it with a KVM, etc. and perfect function under Linux until at least it comes time to put the computer to sleep and carry it off somewhere. I have also tried this dock under Windows and under Windows everything just works, including suspend / resume.
One of my main goals with this laptop is the ability to opportunistically dock to desktop setups such as my dual 4k monitor setup ergonomically adjusted to me using a single TB3 cable to the laptop and be able to quickly shut down and resume. It seems with experimenting with Ubuntu Mate 19.10 I am pretty close with the laptop suspending / resuming while never docking and tools like mosh and tmux make my terminal sessions act like I never shut off the computer when connecting to a number of different Linux boxes (unfortunately the Solaris boxes lack a key ssh option to allow mosh to work and a lot of places don't seem to allow other solutions for mobile centric terminals), once the dock is thrown into the mix I lose state on the laptop and have to re-establish terminal connections and re-attach to tmux sessions manually.
While there are piles of errors in syslog while trying to resume centered around PCIe errors and video card state change errors, here are some that seemed most pertinent
Code:
Oct 22 15:11:48 Phantom kernel: [13210.665895] pci_raw_set_power_state: 31 callbacks suppressed
Oct 22 15:11:48 Phantom kernel: [13210.665897] nvidia 0000:01:00.0: Refused to change power state, currently in D3
Code:
Oct 22 15:11:48 Phantom kernel: [13297.337003] igb 0000:09:00.0 ens1: PCIe link lost
Oct 22 15:11:48 Phantom kernel: [13297.337004] ------------[ cut here ]------------
Oct 22 15:11:48 Phantom kernel: [13297.337005] igb: Failed to read reg 0x5b50!
Oct 22 15:11:48 Phantom kernel: [13297.337041] WARNING: CPU: 9 PID: 4062 at drivers/net/ethernet/intel/igb/igb_main.c:756 igb_rd32.cold+0x30/0x3a [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337041] Modules linked in: rfcomm typec_displayport cmac bnep snd_hda_codec_hdmi sof_pci_dev snd_sof_intel_hda_common snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_nocodec snd_sof_xtensa_dsp snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc nls_iso8859_1 snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_realtek snd_compress ac97_bus snd_hda_codec_generic snd_pcm_dmaengine snd_hda_intel snd_usb_audio snd_usbmidi_lib snd_hda_codec mc snd_hda_core snd_hwdep snd_pcm snd_seq_midi x86_pkg_temp_thermal intel_powerclamp snd_seq_midi_event coretemp intel_rapl_msr kvm_intel snd_rawmidi iwlmvm mei_hdcp kvm irqbypass mac80211 dell_laptop ledtrig_audio dell_wmi intel_cstate dell_smbios libarc4 snd_seq dcdbas intel_rapl_perf rndis_host cdc_ether usbnet btusb iwlwifi serio_raw mii btrtl snd_seq_device input_leds joydev snd_timer btbcm btintel dell_wmi_descriptor bluetooth wmi_bmof intel_wmi_thunderbolt cfg80211 snd mxm_wmi mei_me
Oct 22 15:11:48 Phantom kernel: [13297.337057] rtsx_pci_ms ecdh_generic memstick soundcore cdc_acm hid_multitouch ecc ucsi_acpi mei idma64 typec_ucsi virt_dma processor_thermal_device intel_rapl_common intel_soc_dts_iosf intel_pch_thermal typec int3403_thermal int340x_thermal_zone mac_hid dell_smo8800 intel_hid sparse_keymap int3400_thermal acpi_pad acpi_thermal_rel nvidia_uvm(O) sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt nvidia_drm(PO) nvidia_modeset(PO) crct10dif_pclmul crc32_pclmul ghash_clmulni_intel hid_cmedia hid_generic usbhid nvidia(PO) rtsx_pci_sdmmc aesni_intel i915 aes_x86_64 crypto_simd cryptd glue_helper nvme psmouse drm_kms_helper thunderbolt nvme_core rtsx_pci i2c_i801 igb syscopyarea sysfillrect sysimgblt dca fb_sys_fops i2c_algo_bit ahci intel_lpss_pci drm libahci intel_lpss ipmi_devintf ipmi_msghandler i2c_hid hid pinctrl_cannonlake wmi video pinctrl_intel
Oct 22 15:11:48 Phantom kernel: [13297.337075] CPU: 9 PID: 4062 Comm: kworker/9:1 Tainted: P O 5.3.0-19-generic #20-Ubuntu
Oct 22 15:11:48 Phantom kernel: [13297.337075] Hardware name: Dell Inc. XPS 15 7590/0VYV0G, BIOS 1.2.3 07/23/2019
Oct 22 15:11:48 Phantom kernel: [13297.337079] Workqueue: events igb_watchdog_task [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337083] RIP: 0010:igb_rd32.cold+0x30/0x3a [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337084] Code: ff 48 c7 c6 e2 f1 66 c0 48 c7 47 08 00 00 00 00 89 45 f4 4c 89 c7 e8 94 e0 29 f8 44 89 e6 48 c7 c7 e8 fe 66 c0 e8 b2 22 a3 f7 <0f> 0b 8b 45 f4 e9 a4 3d fe ff 8b b3 14 18 00 00 49 8d bc 24 b0 00
Oct 22 15:11:48 Phantom kernel: [13297.337084] RSP: 0018:ffffb1a342ecfc78 EFLAGS: 00010286
Oct 22 15:11:48 Phantom kernel: [13297.337085] RAX: 0000000000000000 RBX: 0000000000000801 RCX: 0000000000000006
Oct 22 15:11:48 Phantom kernel: [13297.337085] RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff96526c457440
Oct 22 15:11:48 Phantom kernel: [13297.337086] RBP: ffffb1a342ecfc88 R08: 00000c18070c73ca R09: ffffffffb9b827a4
Oct 22 15:11:48 Phantom kernel: [13297.337086] R10: 0000000000000544 R11: 00000000000224e8 R12: 0000000000005b50
Oct 22 15:11:48 Phantom kernel: [13297.337087] R13: 0000000000000000 R14: 0000000000000800 R15: ffff965258930e08
Oct 22 15:11:48 Phantom kernel: [13297.337088] FS: 0000000000000000(0000) GS:ffff96526c440000(0000) knlGS:0000000000000000
Oct 22 15:11:48 Phantom kernel: [13297.337088] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 22 15:11:48 Phantom kernel: [13297.337089] CR2: 000055908eec70a8 CR3: 000000012740a001 CR4: 00000000003606e0
Oct 22 15:11:48 Phantom kernel: [13297.337089] Call Trace:
Oct 22 15:11:48 Phantom kernel: [13297.337094] igb_get_hw_semaphore_i210+0x34/0x160 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337098] igb_acquire_swfw_sync_i210+0x5a/0xd0 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337101] igb_acquire_phy_82575+0x40/0x50 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337103] igb_read_phy_reg_82580+0x26/0x60 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337106] igb_phy_has_link+0x77/0x170 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337109] ? __switch_to_asm+0x34/0x70
Oct 22 15:11:48 Phantom kernel: [13297.337112] igb_check_for_copper_link+0x5f/0xe0 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337114] ? __switch_to_asm+0x40/0x70
Oct 22 15:11:48 Phantom kernel: [13297.337116] igb_check_for_link_82575+0x84/0xb0 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337117] ? __switch_to_asm+0x40/0x70
Oct 22 15:11:48 Phantom kernel: [13297.337120] igb_has_link+0x33/0xc0 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337123] igb_watchdog_task+0x45/0x410 [igb]
Oct 22 15:11:48 Phantom kernel: [13297.337124] ? __schedule+0x2c1/0x6c0
Oct 22 15:11:48 Phantom kernel: [13297.337126] process_one_work+0x1db/0x380
Oct 22 15:11:48 Phantom kernel: [13297.337126] worker_thread+0x4d/0x400
Oct 22 15:11:48 Phantom kernel: [13297.337128] kthread+0x104/0x140
Oct 22 15:11:48 Phantom kernel: [13297.337129] ? process_one_work+0x380/0x380
Oct 22 15:11:48 Phantom kernel: [13297.337130] ? kthread_park+0x80/0x80
Oct 22 15:11:48 Phantom kernel: [13297.337131] ret_from_fork+0x35/0x40
Oct 22 15:11:48 Phantom kernel: [13297.337132] ---[ end trace a608b08f6c423ff0 ]---
Code:
Oct 22 15:11:48 Phantom kernel: [13297.561088] igb 0000:09:00.0: removed PHC on ens1
Oct 22 15:11:48 Phantom kernel: [13299.437252] xhci_hcd 0000:08:00.0: remove, state 1
Oct 22 15:11:48 Phantom kernel: [13299.437254] usb usb6: USB disconnect, device number 1
Oct 22 15:11:48 Phantom kernel: [13299.437339] xhci_hcd 0000:08:00.0: USB bus 6 deregistered
Oct 22 15:11:48 Phantom kernel: [13299.437347] xhci_hcd 0000:08:00.0: xHCI host controller not responding, assume dead
Oct 22 15:11:48 Phantom kernel: [13299.437350] xhci_hcd 0000:08:00.0: remove, state 1
Oct 22 15:11:48 Phantom kernel: [13299.437352] usb usb5: USB disconnect, device number 1
Oct 22 15:11:48 Phantom kernel: [13299.437352] usb 5-1: USB disconnect, device number 2
Oct 22 15:11:48 Phantom kernel: [13299.437720] usb 5-2: USB disconnect, device number 7
Oct 22 15:11:48 Phantom kernel: [13299.437736] rndis_host 5-2:1.0 ens1u2: unregister 'rndis_host' usb-0000:08:00.0-2, RNDIS device
Oct 22 15:11:48 Phantom kernel: [13299.453154] usb 5-4: USB disconnect, device number 4
Oct 22 15:11:48 Phantom kernel: [13299.453390] xhci_hcd 0000:08:00.0: Host halt failed, -19
Oct 22 15:11:48 Phantom kernel: [13299.453393] xhci_hcd 0000:08:00.0: Host not accessible, reset failed.
Oct 22 15:11:48 Phantom kernel: [13299.453505] xhci_hcd 0000:08:00.0: USB bus 5 deregistered
Oct 22 15:11:48 Phantom kernel: [13299.453570] xhci_hcd 0000:07:00.0: remove, state 1
Oct 22 15:11:48 Phantom kernel: [13299.453572] usb usb4: USB disconnect, device number 1
Oct 22 15:11:48 Phantom kernel: [13299.453647] xhci_hcd 0000:07:00.0: USB bus 4 deregistered
Oct 22 15:11:48 Phantom kernel: [13299.453655] xhci_hcd 0000:07:00.0: xHCI host controller not responding, assume dead
Oct 22 15:11:48 Phantom kernel: [13299.453657] xhci_hcd 0000:07:00.0: remove, state 1
Oct 22 15:11:48 Phantom kernel: [13299.453658] usb usb3: USB disconnect, device number 1
Oct 22 15:11:48 Phantom kernel: [13299.453659] usb 3-1: USB disconnect, device number 2
Oct 22 15:11:48 Phantom kernel: [13299.453985] xhci_hcd 0000:07:00.0: Host halt failed, -19
Oct 22 15:11:48 Phantom kernel: [13299.453988] xhci_hcd 0000:07:00.0: Host not accessible, reset failed.
Oct 22 15:11:48 Phantom kernel: [13299.454096] xhci_hcd 0000:07:00.0: USB bus 3 deregistered
Oct 22 15:11:48 Phantom kernel: [13299.454186] pci_bus 0000:07: busn_res: [bus 07] is released
Oct 22 15:11:48 Phantom kernel: [13299.454269] pci_bus 0000:08: busn_res: [bus 08] is released
Oct 22 15:11:48 Phantom kernel: [13299.454338] pci_bus 0000:09: busn_res: [bus 09] is released
Oct 22 15:11:48 Phantom kernel: [13299.454372] pci_bus 0000:0a: busn_res: [bus 0a-39] is released
Oct 22 15:11:48 Phantom kernel: [13299.454421] pci_bus 0000:06: busn_res: [bus 06-39] is released
Oct 22 15:11:48 Phantom kernel: [13303.333092] OOM killer enabled.
Bookmarks