Re: Dell WD15 dock causes system freezes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



More info:
After the system came up with no eth0 device, I disconnected and
connected again the dock. This time eth0 device appeared and the
connection came up automaticaly - and all the other usb devices like
initialized properly.
So the bad news is that these problems are quite random ;)

Piotr
PIOTR KOŁACZKOWSKI

Lead Software Engineer, DSE Analytics | pkolaczk@xxxxxxxxxxxx






2017-09-17 12:31 GMT+02:00 Piotr Kołaczkowski <pkolaczk@xxxxxxxxxxxx>:
> Hi Greg,
>
> Thanks for the answer.
> I'm running recent BIOS 1.5.0 and I updated dock firmware 3 days ago
> (from Windows 10 installed on an USB stick that I did specially for
> that purpose).
> Unfortunately freezes occurred on kernels 4.12.13 and 4.13.2 since
> then, but I found no stacktrace in the syslog after it happened, only
> some unreadable characters.
>
> Here an example of a freeze that after hotplugging usb dock short
> after wakeup (that was on kernel 4.12.13):
>
> Sep 17 09:45:53 p5520 kernel: [39346.261669] PM: Finishing wakeup.
> Sep 17 09:45:53 p5520 kernel: [39346.261671] OOM killer enabled.
> Sep 17 09:45:53 p5520 kernel: [39346.261672] Restarting tasks ...
> Sep 17 09:45:53 p5520 kernel: [39346.266968] [drm] RC6 on
> Sep 17 09:45:53 p5520 kernel: [39346.266990] done.
> ...
> Sep 17 09:47:03 p5520 kernel: [39416.053204] usb 3-1.5: New USB device
> found, idVendor=0bda, idProduct=4014
> Sep 17 09:47:03 p5520 kernel: [39416.053207] usb 3-1.5: New USB device
> strings: Mfr=3, Product=1, SerialNumber=2
> Sep 17 09:47:03 p5520 kernel: [39416.053209] usb 3-1.5: Product: USB Audio
> Sep 17 09:47:03 p5520 kernel: [39416.053210] usb 3-1.5: Manufacturer: Generic
> Sep 17 09:47:03 p5520 kernel: [39416.053211] usb 3-1.5: SerialNumber:
> 200901010001
> Sep 17 09:47:03 p5520 kernel: [39416.058948]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.069446]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:03 p5520 NetworkManager[1144]: <info>  [1505634423.3802]
> devices added (path:
> /sys/devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
> iface: eth0)
> Sep 17 09:47:03 p5520 NetworkManager[1144]: <info>  [1505634423.3802]
> device added (path:
> /sys/devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
> iface: eth0): no ifupdown configuration found.
> Sep 17 09:47:03 p5520 NetworkManager[1144]: <info>  [1505634423.3809]
> device (eth0): state change: unmanaged -> unavailable (reason
> 'managed') [10 20 2]
> Sep 17 09:47:03 p5520 kernel: [39416.077108] IPv6:
> ADDRCONF(NETDEV_UP): eth0: link is not ready
> Sep 17 09:47:03 p5520 kernel: [39416.103626] IPv6:
> ADDRCONF(NETDEV_UP): eth0: link is not ready
> Sep 17 09:47:03 p5520 kernel: [39416.153620]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.165799]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:03 p5520 kernel: [39416.250568]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.261377]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:03 p5520 kernel: [39416.347047]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.357795]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:03 p5520 kernel: [39416.443458]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.454161]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:03 p5520 kernel: [39416.539454]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.630736]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:03 p5520 kernel: [39416.638258]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39416.723015]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39416.733841]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39416.826464]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39416.837269]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39416.923122]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39416.934312]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39417.025500]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39417.097409] usb 3-1.7: new low-speed
> USB device number 4 using xhci_hcd
> Sep 17 09:47:04 p5520 kernel: [39417.114708]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39417.122193]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39417.205751] usb 3-1.7: New USB device
> found, idVendor=046d, idProduct=c31f
> Sep 17 09:47:04 p5520 kernel: [39417.205755] usb 3-1.7: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> Sep 17 09:47:04 p5520 kernel: [39417.205758] usb 3-1.7: Product: USB Keyboard
> Sep 17 09:47:04 p5520 kernel: [39417.205761] usb 3-1.7: Manufacturer: Logitech
> Sep 17 09:47:04 p5520 kernel: [39417.206842]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39417.212743] input: Logitech USB
> Keyboard as /devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1/3-1.7/3-1.7:1.0/0003:046D:C31F.0008/input/input44
> Sep 17 09:47:04 p5520 kernel: [39417.217474]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39417.269836] hid-generic
> 0003:046D:C31F.0008: input,hidraw3: USB HID v1.10 Keyboard [Logitech
> USB Keyboard] on usb-0000:3e:00.0-1.7/input0
> Sep 17 09:47:04 p5520 kernel: [39417.274513] input: Logitech USB
> Keyboard as /devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1/3-1.7/3-1.7:1.1/0003:046D:C31F.0009/input/input45
> Sep 17 09:47:04 p5520 kernel: [39417.302992]
> [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out waiting
> for DP idle patterns
> Sep 17 09:47:04 p5520 kernel: [39417.313816]
> [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting for DDI
> BUF B idle bit
> Sep 17 09:47:04 p5520 kernel: [39417.333881] hid-generic
> 0003:046D:C31F.0009: input,hiddev1,hidraw4: USB HID v1.10 Device
> [Logitech USB Keyboard] on usb-0000:3e:00.0-1.7/input1
> Sep 17 09:47:05 p5520 mtp-probe: checking bus 3, device 3:
> "/sys/devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1/3-1.5"
> Sep 17 09:47:05 p5520 mtp-probe: checking bus 3, device 4:
> "/sys/devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1/3-1.7"
> Sep 17 09:47:05 p5520 mtp-probe: bus: 3, device: 3 was not an MTP device
> Sep 17 09:47:05 p5520 mtp-probe: bus: 3, device: 4 was not an MTP device
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Sep
> 17 09:48:02 p5520 rsyslogd: [origin software="rsyslogd"
> swVersion="8.16.0" x-pid="1146" x-info="http://www.rsyslog.com";] start
> Sep 17 09:48:02 p5520 rsyslogd: rsyslogd's groupid changed to 108
> Sep 17 09:48:02 p5520 rsyslogd: rsyslogd's userid changed to 104
> Sep 17 09:48:02 p5520 kernel: [    0.000000] Linux version
> 4.12.13-041213-generic (kernel@tangerine) (gcc version 7.2.0 (Ubuntu
> 7.2.0-3ubuntu1) ) #201709132217 SMP Thu Sep 14 02:19:19 UTC 2017
> Sep 17 09:48:02 p5520 kernel: [    0.000000] Command line:
> BOOT_IMAGE=/boot/vmlinuz-4.12.13-041213-generic
> root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override
> quiet splash i915.enable_fbc=1 iwlwifi.power_save=Y
> iwlwifi.power_level=3 crashkernel=384M-:128M vt.handoff=7
> Sep 17 09:48:02 p5520 kernel: [    0.000000] KERNEL supported cpus:
> Sep 17 09:48:02 p5520 kernel: [    0.000000]   Intel GenuineIntel
> Sep 17 09:48:02 p5520 kernel: [    0.000000]   AMD AuthenticAMD
> Sep 17 09:48:02 p5520 kernel: [    0.000000]   Centaur CentaurHauls
> Sep 17 09:48:02 p5520 kernel: [    0.000000] x86/fpu: Supporting XSAVE
> feature 0x001: 'x87 floating point registers'
> Sep 17 09:48:02 p5520 kernel: [    0.000000] x86/fpu: Supporting XSAVE
> feature 0x002: 'SSE registers'
> ...
>
>
> Today I upgraded to kernel 4.14.rc1.
> So far booted 3 times in a row and no freeze, but I noticed ethernet
> connection over usb doesn't come up automatically on this kernel by
> default. It is also not possible to connect through ethernet before
> getting to the desktop session, during displaying the login screen.
> After logging to the desktop, I have to click manually in the
> NetworkManager to connect and then it works.
> Is it expected? Wifi connects automatically, though, and also works
> before logging into the desktop.
>
> I found this in the syslog, which tells me that it "almost" connected,
> but for some reason it failed at the end... This sequence repeats 3 or
> 4 times:
>
> Sep 17 11:43:17 p5520 kernel: [   12.053069] usbcore: registered new
> interface driver r8152
> Sep 17 11:43:17 p5520 kernel: [   12.055853] usbcore: registered new
> interface driver cdc_ether
> Sep 17 11:43:17 p5520 tlp[1907]: Applying power save settings...done.
> Sep 17 11:43:17 p5520 tlp[1907]: Setting battery charge thresholds...done.
> Sep 17 11:43:17 p5520 systemd[1]: Started TLP system startup/shutdown.
> Sep 17 11:43:17 p5520 systemd[1]: Startup finished in 10.048s (kernel)
> + 2.022s (userspace) = 30.839s.
> Sep 17 11:43:17 p5520 set-cpufreq[1209]: Setting powersave scheduler
> for all CPUs
> Sep 17 11:43:17 p5520 kernel: [   12.136372] usb 4-1.2: reset
> SuperSpeed USB device number 3 using xhci_hcd
> Sep 17 11:43:17 p5520 kernel: [   12.265293] r8152 4-1.2:1.0 (unnamed
> net_device) (uninitialized): Using pass-thru MAC addr
> d4:81:d7:35:8c:11
> Sep 17 11:43:17 p5520 NetworkManager[1189]: <info>  [1505641397.3556]
> manager: (eth0): new Ethernet device
> (/org/freedesktop/NetworkManager/Devices/2)
> Sep 17 11:43:17 p5520 kernel: [   12.297452] r8152 4-1.2:1.0 eth0: v1.09.9
> ...
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7031]
> device (eth0): link connected
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7043]
> device (eth0): state change: unavailable -> disconnected (reason
> 'carrier-changed') [20 30 40]
> Sep 17 11:43:20 p5520 kernel: [   15.645145] r8152 4-1.2:1.0 eth0: carrier on
> Sep 17 11:43:20 p5520 kernel: [   15.645217] IPv6:
> ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7056]
> policy: auto-activating connection 'Połączenie ethernetowe 1'
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7078]
> device (eth0): Activation: starting connection 'Połączenie ethernetowe
> 1' (e6a365af-c48e-4b8f-abd0-1ee3ea9f1a7b)
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7081]
> device (eth0): state change: disconnected -> prepare (reason 'none')
> [30 40 0]
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7089]
> device (eth0): state change: prepare -> config (reason 'none') [40 50
> 0]
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7095]
> device (eth0): state change: config -> ip-config (reason 'none') [50
> 70 0]
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7101]
> dhcp4 (eth0): activation: beginning transaction (timeout in 45
> seconds)
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7157]
> dhcp4 (eth0): dhclient started with pid 2669
> Sep 17 11:43:20 p5520 dbus[1128]: [system] Activating service
> name='com.canonical.Unity.Greeter.Broadcast' (using servicehelper)
> Sep 17 11:43:20 p5520 dbus[1128]: [system] Successfully activated
> service 'com.canonical.Unity.Greeter.Broadcast'
> Sep 17 11:43:20 p5520 dhclient[2669]: DHCPREQUEST of 192.168.0.2 on
> eth0 to 255.255.255.255 port 67 (xid=0x11807b5)
> Sep 17 11:43:20 p5520 dhclient[2669]: DHCPACK of 192.168.0.2 from 192.168.0.1
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   address 192.168.0.2
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   plen 24 (255.255.255.0)
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   gateway 192.168.0.1
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   server identifier 192.168.0.1
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   lease time 3600
> Sep 17 11:43:20 p5520 avahi-daemon[1194]: Joining mDNS multicast group
> on interface eth0.IPv4 with address 192.168.0.2.
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   hostname 'p5520'
> Sep 17 11:43:20 p5520 avahi-daemon[1194]: New relevant interface
> eth0.IPv4 for mDNS.
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   nameserver '62.179.1.60'
> Sep 17 11:43:20 p5520 avahi-daemon[1194]: Registering new address
> record for 192.168.0.2 on eth0.IPv4.
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   nameserver '62.179.1.61'
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0):   domain name 'home'
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7799]
> dhcp4 (eth0): state changed unknown -> bound
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7810]
> device (eth0): state change: ip-config -> ip-check (reason 'none') [70
> 80 0]
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7813]
> device (eth0): state change: ip-check -> secondaries (reason 'none')
> [80 90 0]
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7814]
> manager: NetworkManager state is now CONNECTING
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7816]
> policy: set 'Połączenie ethernetowe 1' (eth0) as default for IPv4
> routing and DNS
> Sep 17 11:43:20 p5520 nm-dispatcher: req:9 'connectivity-change': new
> request (2 scripts)
> Sep 17 11:43:20 p5520 systemd-resolved[1325]: Switching to DNS server
> 62.179.1.60 for interface eth0.
> Sep 17 11:43:20 p5520 whoopsie[1589]: [11:43:20] offline
> Sep 17 11:43:20 p5520 dhclient[2669]: bound to 192.168.0.2 -- renewal
> in 1439 seconds.
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7855]
> vpn-connection[0x56338e488110,1a43441b-6b26-4e0c-8343-976afcf790fd,"DataStax
> VPN",0]: Started the VPN service, PID 2684
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7950]
> vpn-connection[0x56338e488110,1a43441b-6b26-4e0c-8343-976afcf790fd,"DataStax
> VPN",0]: Saw the service appear; activating connection
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <error> [1505641400.7995]
> vpn-connection[0x56338e488110,1a43441b-6b26-4e0c-8343-976afcf790fd,"DataStax
> VPN",0]: Failed to request VPN secrets #3: No agents were
> available for this request.
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7995]
> device (eth0): state change: secondaries -> failed (reason
> 'secondary-connection-failed') [90 120 54]
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <info>  [1505641400.7997]
> manager: NetworkManager state is now CONNECTED_LOCAL
> Sep 17 11:43:20 p5520 NetworkManager[1189]: <warn>  [1505641400.7999]
> device (eth0): Activation: failed for connection 'Połączenie
> ethernetowe 1'
>
> Then I rebooted for another time, and this time the system came up
> with no ethernet connection at all (not even visible in ifconfig -a).
>
> kern.log shows some problems for usb device 4-1.2 (eth0):
> Sep 17 12:11:44 p5520 kernel: [   11.540599] usbcore: registered new
> interface driver uvcvideo
> Sep 17 12:11:44 p5520 kernel: [   11.540600] USB Video Class driver (1.1.1)
> Sep 17 12:11:44 p5520 kernel: [   11.568146] IPv6:
> ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
> Sep 17 12:11:46 p5520 kernel: [   13.020087] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:11:46 p5520 kernel: [   13.380107] [drm] Reducing the
> compressed framebuffer size. This may lead to less power savings than
> a non-reduced-size. Try to increase stolen memory size if available in
> BIOS.
> Sep 17 12:11:47 p5520 kernel: [   14.584561] Bluetooth: RFCOMM TTY
> layer initialized
> Sep 17 12:11:47 p5520 kernel: [   14.584565] Bluetooth: RFCOMM socket
> layer initialized
> Sep 17 12:11:47 p5520 kernel: [   14.584569] Bluetooth: RFCOMM ver 1.11
> Sep 17 12:11:47 p5520 kernel: [   14.928675] IPv6:
> ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
> Sep 17 12:11:48 p5520 kernel: [   15.012966] wlp2s0: authenticate with
> 90:5c:44:98:88:43
> Sep 17 12:11:48 p5520 kernel: [   15.022045] wlp2s0: send auth to
> 90:5c:44:98:88:43 (try 1/3)
> Sep 17 12:11:48 p5520 kernel: [   15.047010] wlp2s0: authenticated
> Sep 17 12:11:48 p5520 kernel: [   15.047203] wlp2s0: associating with
> AP with corrupt probe response
> Sep 17 12:11:48 p5520 kernel: [   15.048039] wlp2s0: associate with
> 90:5c:44:98:88:43 (try 1/3)
> Sep 17 12:11:48 p5520 kernel: [   15.086158] wlp2s0: RX AssocResp from
> 90:5c:44:98:88:43 (capab=0x511 status=0 aid=2)
> Sep 17 12:11:48 p5520 kernel: [   15.096117] wlp2s0: associated
> Sep 17 12:11:48 p5520 kernel: [   15.096240] IPv6:
> ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
> Sep 17 12:11:51 p5520 kernel: [   18.396080] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:11:51 p5520 kernel: [   18.604009] usb 4-1.2: device not
> accepting address 3, error -62
> Sep 17 12:11:51 p5520 kernel: [   18.692023] usb 3-1.5: new high-speed
> USB device number 4 using xhci_hcd
> Sep 17 12:11:51 p5520 kernel: [   18.863593] usb 3-1.5: New USB device
> found, idVendor=0bda, idProduct=4014
> Sep 17 12:11:51 p5520 kernel: [   18.863594] usb 3-1.5: New USB device
> strings: Mfr=3, Product=1, SerialNumber=2
> Sep 17 12:11:51 p5520 kernel: [   18.863595] usb 3-1.5: Product: USB Audio
> Sep 17 12:11:51 p5520 kernel: [   18.863595] usb 3-1.5: Manufacturer: Generic
> Sep 17 12:11:51 p5520 kernel: [   18.863596] usb 3-1.5: SerialNumber:
> 200901010001
> Sep 17 12:11:57 p5520 kernel: [   24.284292] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:12:02 p5520 kernel: [   29.660255] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:12:02 p5520 kernel: [   29.868184] usb 4-1.2: device not
> accepting address 4, error -62
> Sep 17 12:12:02 p5520 kernel: [   29.949806] usb 3-1.7: new low-speed
> USB device number 5 using xhci_hcd
> Sep 17 12:12:03 p5520 kernel: [   30.056613] usb 3-1.7: New USB device
> found, idVendor=046d, idProduct=c31f
> Sep 17 12:12:03 p5520 kernel: [   30.056616] usb 3-1.7: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> Sep 17 12:12:03 p5520 kernel: [   30.056618] usb 3-1.7: Product: USB Keyboard
> Sep 17 12:12:03 p5520 kernel: [   30.056619] usb 3-1.7: Manufacturer: Logitech
> Sep 17 12:12:03 p5520 kernel: [   30.064131] input: Logitech USB
> Keyboard as /devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1/3-1.7/3-1.7:1.0/0003:046D:C31F.0004/input/input26
> Sep 17 12:12:03 p5520 kernel: [   30.125005] hid-generic
> 0003:046D:C31F.0004: input,hidraw3: USB HID v1.10 Keyboard [Logitech
> USB Keyboard] on usb-0000:3e:00.0-1.7/input0
> Sep 17 12:12:03 p5520 kernel: [   30.130174] input: Logitech USB
> Keyboard as /devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1/3-1.7/3-1.7:1.1/0003:046D:C31F.0005/input/input27
> Sep 17 12:12:03 p5520 kernel: [   30.188237] hid-generic
> 0003:046D:C31F.0005: input,hiddev1,hidraw4: USB HID v1.10 Device
> [Logitech USB Keyboard] on usb-0000:3e:00.0-1.7/input1
> Sep 17 12:12:08 p5520 kernel: [   35.548281] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:12:13 p5520 kernel: [   40.924211] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:12:14 p5520 kernel: [   41.088701] usbcore: registered new
> interface driver snd-usb-audio
> Sep 17 12:12:14 p5520 kernel: [   41.132096] usb 4-1.2: device not
> accepting address 5, error -62
> Sep 17 12:12:19 p5520 kernel: [   46.565679] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:12:24 p5520 kernel: [   51.950109] xhci_hcd 0000:3e:00.0:
> Timeout while waiting for setup device command
> Sep 17 12:12:25 p5520 kernel: [   52.162237] usb 4-1.2: device not
> accepting address 6, error -62
> Sep 17 12:12:25 p5520 kernel: [   52.162268] usb 4-1-port2: unable to
> enumerate USB device
>
>
>
> I can also see some i915 intel_atomic_commit errors in syslog later,
> but I guess they are unrelated to usb subssystem and I should report
> them somewhere else (where?).
>
> Sep 17 11:43:37 p5520 kernel: [   31.971876] pipe B vblank wait timed out
> Sep 17 11:43:37 p5520 kernel: [   31.972076] ------------[ cut here
> ]------------
> Sep 17 11:43:37 p5520 kernel: [   31.972171] WARNING: CPU: 7 PID: 205
> at /home/kernel/COD/linux/drivers/gpu/drm/i915/intel_display.c:12172
> intel_atomic_commit_tail+0xf6e/0xf80 [i915]
> Sep 17 11:43:37 p5520 kernel: [   31.972175] Modules linked in: rfcomm
> ccm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4
> iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4
> xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4
> xt_tcpudp bridge stp llc cdc_ether usbnet r8152 mii snd_usb_audio
> snd_usbmidi_lib ebtable_filter ebtables msr ip6table_filter ip6_tables
> iptable_filter cmac uvcvideo videobuf2_vmalloc videobuf2_memops
> videobuf2_v4l2 videobuf2_core videodev media btusb btrtl ipmi_devintf
> ipmi_msghandler bnep arc4 nls_iso8859_1 snd_hda_codec_hdmi joydev
> hid_multitouch iwlmvm snd_hda_codec_realtek mac80211
> snd_hda_codec_generic dell_rbtn intel_rapl x86_pkg_temp_thermal
> intel_powerclamp coretemp dell_laptop kvm_intel dell_smm_hwmon iwlwifi
> snd_hda_intel kvm snd_hda_codec snd_hda_core snd_hwdep
> Sep 17 11:43:37 p5520 kernel: [   31.972591]  irqbypass
> crct10dif_pclmul crc32_pclmul snd_pcm rtsx_pci_ms cfg80211
> ghash_clmulni_intel memstick pcbc aesni_intel aes_x86_64 snd_seq_midi
> crypto_simd snd_seq_midi_event glue_helper cryptd snd_rawmidi
> intel_cstate intel_rapl_perf snd_seq snd_seq_device snd_timer snd
> input_leds dell_wmi dell_smbios serio_raw dcdbas wmi_bmof soundcore
> hci_uart idma64 mei_me virt_dma btbcm mei shpchp
> processor_thermal_device serdev ie31200_edac intel_soc_dts_iosf btqca
> intel_lpss_pci intel_pch_thermal btintel bluetooth ecdh_generic
> intel_lpss_acpi intel_lpss dell_smo8800 int3400_thermal
> acpi_thermal_rel int3403_thermal intel_hid int340x_thermal_zone
> acpi_pad mac_hid acpi_als sparse_keymap kfifo_buf industrialio
> parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor
> zstd_decompress zstd_compress
> Sep 17 11:43:37 p5520 kernel: [   31.972639]  xxhash raid6_pq
> dm_mirror dm_region_hash dm_log hid_generic usbhid nouveau i915 ttm
> i2c_algo_bit drm_kms_helper syscopyarea sysfillrect nvme
> rtsx_pci_sdmmc mxm_wmi sysimgblt fb_sys_fops drm ahci nvme_core
> rtsx_pci libahci i2c_hid hid wmi pinctrl_sunrisepoint video
> pinctrl_intel
> Sep 17 11:43:37 p5520 kernel: [   31.972662] CPU: 7 PID: 205 Comm:
> kworker/u16:3 Tainted: G     U          4.14.0-041400rc1-generic
> #201709162031
> Sep 17 11:43:37 p5520 kernel: [   31.972663] Hardware name: Dell Inc.
> Precision 5520/06X96V, BIOS 1.5.0 08/30/2017
> Sep 17 11:43:37 p5520 kernel: [   31.972765] Workqueue: events_unbound
> intel_atomic_commit_work [i915]
> Sep 17 11:43:37 p5520 kernel: [   31.972766] task: ffff890be37c4680
> task.stack: ffff9a2dc230c000
> Sep 17 11:43:37 p5520 kernel: [   31.972785] RIP:
> 0010:intel_atomic_commit_tail+0xf6e/0xf80 [i915]
> Sep 17 11:43:37 p5520 kernel: [   31.972787] RSP:
> 0000:ffff9a2dc230fd88 EFLAGS: 00010282
> Sep 17 11:43:37 p5520 kernel: [   31.972788] RAX: 000000000000001c
> RBX: 0000000000000001 RCX: 0000000000000000
> Sep 17 11:43:37 p5520 kernel: [   31.972788] RDX: 0000000000000000
> RSI: ffff890bff5cdc78 RDI: ffff890bff5cdc78
> Sep 17 11:43:37 p5520 kernel: [   31.972789] RBP: ffff9a2dc230fe40
> R08: 0000000000000001 R09: 0000000000000458
> Sep 17 11:43:37 p5520 kernel: [   31.972789] R10: ffff9a2dc230fd88
> R11: 0000000000000000 R12: 0000000000000431
> Sep 17 11:43:37 p5520 kernel: [   31.972790] R13: ffff890be2e58000
> R14: ffff890bec831000 R15: 0000000000000002
> Sep 17 11:43:37 p5520 kernel: [   31.972791] FS:
> 0000000000000000(0000) GS:ffff890bff5c0000(0000)
> knlGS:0000000000000000
> Sep 17 11:43:37 p5520 kernel: [   31.972792] CS:  0010 DS: 0000 ES:
> 0000 CR0: 0000000080050033
> Sep 17 11:43:37 p5520 kernel: [   31.972793] CR2: 00007fd1f6ce49c8
> CR3: 000000042b5b9001 CR4: 00000000003606e0
> Sep 17 11:43:37 p5520 kernel: [   31.972793] DR0: 0000000000000000
> DR1: 0000000000000000 DR2: 0000000000000000
> Sep 17 11:43:37 p5520 kernel: [   31.972794] DR3: 0000000000000000
> DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Sep 17 11:43:37 p5520 kernel: [   31.972795] Call Trace:
> Sep 17 11:43:37 p5520 kernel: [   31.973175]  ? dequeue_task_fair+0x4f8/0x650
> Sep 17 11:43:37 p5520 kernel: [   31.973179]  ? wait_woken+0x80/0x80
> Sep 17 11:43:37 p5520 kernel: [   31.973197]
> intel_atomic_commit_work+0x12/0x20 [i915]
> Sep 17 11:43:37 p5520 kernel: [   31.973201]  process_one_work+0x1e7/0x410
> Sep 17 11:43:37 p5520 kernel: [   31.973202]  worker_thread+0x4a/0x410
> Sep 17 11:43:37 p5520 kernel: [   31.973205]  kthread+0x125/0x140
> Sep 17 11:43:37 p5520 kernel: [   31.973206]  ? process_one_work+0x410/0x410
> Sep 17 11:43:37 p5520 kernel: [   31.973208]  ? kthread_create_on_node+0x70/0x70
> Sep 17 11:43:37 p5520 kernel: [   31.973211]  ret_from_fork+0x25/0x30
> Sep 17 11:43:37 p5520 kernel: [   31.973213] Code: ff ff ff 48 83 c7
> 08 e8 91 68 b9 cc 4c 8b 85 70 ff ff ff 4d 85 c0 0f 85 7b fa ff ff 8d
> 73 41 48 c7 c7 a8 44 3d c0 e8 73 1e bb cc <0f> ff e9 65 fa ff ff 90 66
> 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
> Sep 17 11:43:37 p5520 kernel: [   31.973233] ---[ end trace
> 74831c94e076ba96 ]---
>
>
> How do I send full kernel logs? I tried sending you an email with my
> recent kern.log file, but I guess it was too big and rejected by the
> list.
> Should I upload them somewhere else and just post a link? What is
> established standard for this?
>
> Thanks,
> Piotr
>
>
> 2017-09-17 9:59 GMT+02:00 Piotr Kołaczkowski <pkolaczk@xxxxxxxxxxxx>:
>> Hello Greg,
>>
>> Thanks for the answer.
>> 3 days ago I updated BIOS to latest 1.5.0 (published at the day of
>> updating it!) and the same day I updated the dock firmware. Actually
>> updating the kernel + BIOS + firmware was the first things I tried and
>> I did it many times during the last months that I own this laptop.
>>
>> During the last 3 days, I had maybe two freezes after logging, a few
>> other at resume after plugging the dock (ok, I probably shouldn't do
>> it), and a moment ago after hotplugging the dock - black both screens
>> (builtin + external) and a freeze.
>>
>> Kernel log attached.
>>
>> Thanks for your help,
>> Piotr
>>
>>
>>
>>
>> PIOTR KOŁACZKOWSKI
>>
>> Lead Software Engineer, DSE Analytics | pkolaczk@xxxxxxxxxxxx
>>
>>
>>
>>
>>
>>
>> 2017-09-17 1:23 GMT+02:00 Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>:
>>> On Sat, Sep 16, 2017 at 03:02:58PM +0200, Piotr Kołaczkowski wrote:
>>>> Hello!
>>>>
>>>> TL;DR:
>>>> I'm having troubles with Dell WD15 dock connected to USB-C of Dell
>>>> Precision 5520 laptop.
>>>> I'm seeing very frequent kernel freezes, sometimes panics,
>>>> particularly on logging into the desktop session.
>>>> I first created a ticket on Ubuntu Launchpad, but I have been directed
>>>> to here. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701499
>>>>
>>>> I've tried sending email to the linux-usb list from my private
>>>> address, pkolaczk@xxxxxxxxx, but somehow I didn't get any answer -
>>>> maybe my email didn't get through or just some incompatibility between
>>>> gmail and majordomo (or I don't know how to use it properly). If you
>>>> received a similar email previously, I'm sorry for duplicate.
>>>
>>> html email is rejected by the mailing lists, odds are that is what
>>> happened there.
>>>
>>>> Please at least confirm this email got to the list, because Gmail does
>>>> not display it in the inbox... Thanks.
>>>>
>>>> As for the problems.
>>>>
>>>> Hardware:
>>>> - Dell Precision 5520 Laptop
>>>> - WD15 USB-C Dock
>>>> - External Dell U3011 display connected to the dock
>>>> - Ethernet cable connected to the dock
>>>> - wireless Logitech USB mouse, connected to the laptop directly (nano-receiver)
>>>> - Logitech K290 keyboard connected to USB port of the dock
>>>>
>>>> Software:
>>>> - Linux 4.12.13 / Linux 4.13.2 taken from Ubuntu ppa/mainline - either
>>>> version has this problem(s).
>>>> - Bios version: 1.5.0
>>>> - WD15 firmware: updated yesterday
>>>>
>>>> Problems:
>>>> - If booted with the dock connected, system almost always totally
>>>> freezes right after logging into desktop session, always after
>>>> displaying the desktop and activating the external display, but before
>>>> establishing the ethernet connection. Freeze is total, can't move
>>>> mouse pointer, can't switch to TTY with Ctrl-Alt-F1.
>>>> - Hotplugging the dock after getting to the grahical login screen
>>>> works fine, but attempt to log in ends with freeze just as in the
>>>> previous point.
>>>> - Sometimes the system doesn't freeze, but ethernet connection doesn't come up.
>>>> - Sometimes ethernet connection disconnects and can't be reestablished
>>>> without reboot.
>>>> - System sometimes fails to resume in the following scenarios:
>>>>   -- suspend, disconnect dock, resume
>>>>   -- suspend, connect the dock, resume
>>>>
>>>> What works fine:
>>>> - Suspend/resume without connecting/disconnecting the dock seems to be
>>>> working almost always fine.
>>>> - Hotplugging the dock after starting the desktop session works fine
>>>> (and is the only reliable workaround for the issue).
>>>> - System never freezes before showing LightDM login screen, and at
>>>> this point, external display, keyboard and ethernet connection work
>>>> fine.
>>>> - Laptop alone with no dock connected is perfectly stable.
>>>>
>>>> I didn't spot anything suspicious repeating in the syslog. There have
>>>> been some General Protection Faults logged sometimes, but not every
>>>> freeze causes logging any error information.
>>>> I can send you some recent syslogs, if you wish.
>>>
>>> Having a kernel log for when something goes wrong would be great to have
>>> those faults tell us a lot about what the problem might be.  Care to
>>> send them?
>>>
>>> Also, check to ensure that you have the latest BIOS update from Dell,
>>> they have been fixing a lot of USB/Thunderbolt issues lately in them,
>>> and I know my Dell laptops just resolved a lot of issues like this with
>>> docking stations when I updated the BIOS.
>>>
>>> Also, is this one of the docking stations that needs the firmware
>>> updated?  There are 2 different ones, one a small one the size of a
>>> matchbox, and the other a very large one with a huge power supply.  The
>>> larger one can have its firmware updated and that would also be
>>> something to check that you have the latest version (I don't know if you
>>> can update it from Linux only, sorry, last time I looked I couldn't
>>> figure it out, but that was over a year ago...)
>>>
>>> thanks,
>>>
>>> greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux