[Bug 1827042] Re: ThunderBolt "flaps" on laptop with 32G RAM

2020-11-28 Thread Dejan Prokić
I had this issue with ThinkPad X1 Extreme 3rd gen with Ubuntu 20.04 and
Thunderbolt 3 Dock gen 2. It got resolved when I plugged second power
adapter into the laptop directly. I have 135W adapters for both laptop
and the dock and thunderbolt cable for connecting them. There is
different type of the same dock called Thunderbold 3 Workstation Dock
and the difference is in cables and adapter only. It has stronger
adapters and the cable for connecting laptop and the dock has additional
power wire in it. I contacted Lenovo support in order to replace them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827042

Title:
  ThunderBolt "flaps" on laptop with 32G RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1827042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1827042] Re: ThunderBolt "flaps" on laptop with 32G RAM

2020-01-14 Thread Neal Gamradt
I appear to be having a very similar issue which started for me in
December of 2019.  I am running Ubuntu 19.10 and my system will no
longer come out of suspend correctly.  It hangs and kern.log shows the
following:

Jan 14 08:30:04 tank-7530 kernel: [   94.776836] pci :04:01.0:   bridge 
window [mem 0x8410-0x9b1f]
Jan 14 08:30:04 tank-7530 kernel: [   94.776842] pci :04:01.0:   bridge 
window [mem 0x400010-0x40250f 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.776852] pci :3a:00.0: BAR 0: 
assigned [mem 0x9b20-0x9b20]
Jan 14 08:30:04 tank-7530 kernel: [   94.776860] pci :04:02.0: PCI bridge 
to [bus 3a]
Jan 14 08:30:04 tank-7530 kernel: [   94.776867] pci :04:02.0:   bridge 
window [mem 0x9b20-0x9b2f]
Jan 14 08:30:04 tank-7530 kernel: [   94.776873] pci :04:02.0:   bridge 
window [mem 0x402510-0x40251f 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.776882] pci :04:04.0: PCI bridge 
to [bus 3b-6d]
Jan 14 08:30:04 tank-7530 kernel: [   94.776889] pci :04:04.0:   bridge 
window [mem 0x9b30-0xb20f]
Jan 14 08:30:04 tank-7530 kernel: [   94.776894] pci :04:04.0:   bridge 
window [mem 0x402520-0x4049ff 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.776904] pci :03:00.0: PCI bridge 
to [bus 04-6d]
Jan 14 08:30:04 tank-7530 kernel: [   94.776911] pci :03:00.0:   bridge 
window [mem 0x8400-0xb20f]
Jan 14 08:30:04 tank-7530 kernel: [   94.776916] pci :03:00.0:   bridge 
window [mem 0x40-0x4049ff 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.776926] pcieport :00:1c.0: PCI 
bridge to [bus 03-6d]
Jan 14 08:30:04 tank-7530 kernel: [   94.776929] pcieport :00:1c.0:   
bridge window [io  0x5000-0x5fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776935] pcieport :00:1c.0:   
bridge window [mem 0x8400-0xb20f]
Jan 14 08:30:04 tank-7530 kernel: [   94.776939] pcieport :00:1c.0:   
bridge window [mem 0x40-0x4049ff 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.776946] PCI: No. 2 try to assign 
unassigned res
Jan 14 08:30:04 tank-7530 kernel: [   94.776950] pcieport :00:1c.0: 
resource 13 [io  0x5000-0x5fff] released
Jan 14 08:30:04 tank-7530 kernel: [   94.776951] pcieport :00:1c.0: PCI 
bridge to [bus 03-6d]
Jan 14 08:30:04 tank-7530 kernel: [   94.776964] pcieport :00:1c.0: BAR 13: 
assigned [io  0x5000-0x8fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776966] pci :03:00.0: BAR 13: 
assigned [io  0x5000-0x8fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776968] pci :04:00.0: BAR 13: 
assigned [io  0x5000-0x5fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776969] pci :04:01.0: BAR 13: 
assigned [io  0x6000-0x6fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776970] pci :04:02.0: BAR 13: 
assigned [io  0x7000-0x7fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776971] pci :04:04.0: BAR 13: 
assigned [io  0x8000-0x8fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776973] pci :04:00.0: PCI bridge 
to [bus 05]
Jan 14 08:30:04 tank-7530 kernel: [   94.776979] pci :04:00.0:   bridge 
window [io  0x5000-0x5fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.776986] pci :04:00.0:   bridge 
window [mem 0x8400-0x840f]
Jan 14 08:30:04 tank-7530 kernel: [   94.776991] pci :04:00.0:   bridge 
window [mem 0x40-0x4f 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.776999] pci :04:01.0: PCI bridge 
to [bus 06-39]
Jan 14 08:30:04 tank-7530 kernel: [   94.777002] pci :04:01.0:   bridge 
window [io  0x6000-0x6fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.777009] pci :04:01.0:   bridge 
window [mem 0x8410-0x9b1f]
Jan 14 08:30:04 tank-7530 kernel: [   94.777013] pci :04:01.0:   bridge 
window [mem 0x400010-0x40250f 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.777022] pci :04:02.0: PCI bridge 
to [bus 3a]
Jan 14 08:30:04 tank-7530 kernel: [   94.777025] pci :04:02.0:   bridge 
window [io  0x7000-0x7fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.777031] pci :04:02.0:   bridge 
window [mem 0x9b20-0x9b2f]
Jan 14 08:30:04 tank-7530 kernel: [   94.777036] pci :04:02.0:   bridge 
window [mem 0x402510-0x40251f 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.777045] pci :04:04.0: PCI bridge 
to [bus 3b-6d]
Jan 14 08:30:04 tank-7530 kernel: [   94.777047] pci :04:04.0:   bridge 
window [io  0x8000-0x8fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.777054] pci :04:04.0:   bridge 
window [mem 0x9b30-0xb20f]
Jan 14 08:30:04 tank-7530 kernel: [   94.777059] pci :04:04.0:   bridge 
window [mem 0x402520-0x4049ff 64bit pref]
Jan 14 08:30:04 tank-7530 kernel: [   94.777068] pci :03:00.0: PCI bridge 
to [bus 04-6d]
Jan 14 08:30:04 tank-7530 kernel: [   94.777071] pci :03:00.0:   bridge 
window [io  0x5000-0x8fff]
Jan 14 08:30:04 tank-7530 kernel: [   94.777078] pci :03:00.0:   bridge 
window [mem 0x8400-

[Bug 1827042] Re: ThunderBolt "flaps" on laptop with 32G RAM

2020-01-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-signed-hwe (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827042

Title:
  ThunderBolt "flaps" on laptop with 32G RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1827042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1827042] Re: ThunderBolt "flaps" on laptop with 32G RAM

2020-01-07 Thread leonardo salvatore
Similar here, issue with power management.
While dell 7530 with 35gb and 18.04.
Most of the time doesn't boot for powermanagement issue. Most of the time I 
have to powercycle again, sometimes boots but i2c devices aren't enabled 
(touchpad), 15% everything works.


[  106.412564] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 5.00
[  106.412565] usb usb3: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  106.412566] usb usb3: Product: xHCI Host Controller
[  106.412567] usb usb3: Manufacturer: Linux 5.0.0-37-generic xhci-hcd
[  106.412567] usb usb3: SerialNumber: :3a:00.0
[  106.412661] hub 3-0:1.0: USB hub found
[  106.412670] hub 3-0:1.0: 2 ports detected
[  106.413110] xhci_hcd :3a:00.0: xHCI Host Controller
[  106.413112] xhci_hcd :3a:00.0: new USB bus registered, assigned bus 
number 4
[  106.413115] xhci_hcd :3a:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[  106.413140] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, 
bcdDevice= 5.00
[  106.413141] usb usb4: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  106.413141] usb usb4: Product: xHCI Host Controller
[  106.413142] usb usb4: Manufacturer: Linux 5.0.0-37-generic xhci-hcd
[  106.413142] usb usb4: SerialNumber: :3a:00.0
[  106.413225] hub 4-0:1.0: USB hub found
[  106.413233] hub 4-0:1.0: 2 ports detected
[  107.693926] pcieport :00:1c.0: PCI bridge to [bus 03-6d]
[  107.693929] pcieport :00:1c.0:   bridge window [io  0x5000-0x8fff]
[  107.693934] pcieport :00:1c.0:   bridge window [mem 
0x8400-0xb20f]
[  107.693938] pcieport :00:1c.0:   bridge window [mem 
0x40-0x4049ff 64bit pref]
[  146.485226] pciehp :00:1c.0:pcie004: Slot(4): Link Down
[  146.485227] pciehp :00:1c.0:pcie004: Slot(4): Card not present
[  146.485236] pcieport :04:04.0: Refused to change power state, currently 
in D3
[  146.485715] pcieport :04:02.0: Refused to change power state, currently 
in D3
[  146.485908] xhci_hcd :3a:00.0: Refused to change power state, currently 
in D3
[  146.565607] xhci_hcd :3a:00.0: Refused to change power state, currently 
in D3
[  146.565645] xhci_hcd :3a:00.0: Controller not ready at resume -19
[  146.565646] xhci_hcd :3a:00.0: PCI post-resume error -19!
[  146.565648] xhci_hcd :3a:00.0: HC died; cleaning up
[  146.565658] xhci_hcd :3a:00.0: remove, state 4
[  146.565660] usb usb4: USB disconnect, device number 1
[  146.565848] xhci_hcd :3a:00.0: USB bus 4 deregistered
[  146.565851] xhci_hcd :3a:00.0: remove, state 4
[  146.565854] usb usb3: USB disconnect, device number 1
[  146.566001] xhci_hcd :3a:00.0: Host halt failed, -19
[  146.566003] xhci_hcd :3a:00.0: Host not accessible, reset failed.
[  146.566061] xhci_hcd :3a:00.0: USB bus 3 deregistered
[  146.566206] pcieport :04:01.0: Refused to change power state, currently 
in D3
[  147.066833] pci_bus :05: busn_res: [bus 05] is released
[  147.066878] pci_bus :06: busn_res: [bus 06-39] is released
[  147.081632] pci_bus :3a: busn_res: [bus 3a] is released
[  147.081679] pci_bus :3b: busn_res: [bus 3b-6d] is released
[  147.081706] pci_bus :04: busn_res: [bus 04-6d] is released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827042

Title:
  ThunderBolt "flaps" on laptop with 32G RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1827042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1827042] Re: ThunderBolt "flaps" on laptop with 32G RAM

2019-11-18 Thread Jerome Boisvert-Chouinard
I had a very similar issue on a Thinkpad T480s with a Lenovo Thunderbolt
3 docking station, 24GB of RAM. I did not test if removing RAM fixes the
issue.

When it happened I had these same dmesg messages:

[ 151.538361] pciehp :02:01.0:pcie204: Slot(1): Link Down
[ 151.538370] pciehp :02:01.0:pcie204: Slot(1): Card not present
[ 151.538400] pcieport :05:04.0: Refused to change power state, currently 
in D3
[ 151.539915] pcieport :05:03.0: Refused to change power state, currently 
in D3

Etc.

However in my case it was resolved by upgrading the laptop's firmware
and changing the Thunderbolt Bios Assist setting to "Enabled".

Be careful though, changing this setting is known to brick some Lenovo
laptops:

https://www.reddit.com/r/thinkpad/comments/9qreoj/psa_do_not_enable_bios_support_for_thunderbolt/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827042

Title:
  ThunderBolt "flaps" on laptop with 32G RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1827042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1827042] Re: ThunderBolt "flaps" on laptop with 32G RAM

2019-07-19 Thread Andreas Hohenegger
I think, I am seeing a similar or the same bug with the same Ubuntu
version. I tried a fresh installation as well. Another commonalty is
that my laptop also features 32GB of RAM (cannot test with less RAM
unfortunately). The hardware (notebook and dock) will be different
though. I am appending the dmesg output which is a bit longer (it begins
with the connection of the dock to the thunderbolt port):


[  153.275489] thunderbolt :03:00.0: stopping RX ring 0
[  153.275502] thunderbolt :03:00.0: disabling interrupt at register 
0x38200 bit 12 (0x1001 -> 0x1)
[  153.275518] thunderbolt :03:00.0: stopping TX ring 0
[  153.275528] thunderbolt :03:00.0: disabling interrupt at register 
0x38200 bit 0 (0x1 -> 0x0)
[  153.275536] thunderbolt :03:00.0: control channel stopped
[  159.781142] thunderbolt :03:00.0: control channel starting...
[  159.781147] thunderbolt :03:00.0: starting TX ring 0
[  159.781159] thunderbolt :03:00.0: enabling interrupt at register 0x38200 
bit 0 (0x0 -> 0x1)
[  159.781162] thunderbolt :03:00.0: starting RX ring 0
[  159.781172] thunderbolt :03:00.0: enabling interrupt at register 0x38200 
bit 12 (0x1 -> 0x1001)
[  160.007417] pciehp :02:01.0:pcie204: Slot(1): Card present
[  160.007537] pciehp :02:01.0:pcie204: Slot(1): Link Up
[  160.133063] pci :04:00.0: [8086:1578] type 01 class 0x060400
[  160.133188] pci :04:00.0: enabling Extended Tags
[  160.133414] pci :04:00.0: supports D1 D2
[  160.133418] pci :04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  160.144582] pci :04:00.0: bridge configuration invalid ([bus 00-00]), 
reconfiguring
[  160.144803] pci :05:00.0: [8086:1578] type 01 class 0x060400
[  160.144933] pci :05:00.0: enabling Extended Tags
[  160.145181] pci :05:00.0: supports D1 D2
[  160.145187] pci :05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  160.145512] pci :05:01.0: [8086:1578] type 01 class 0x060400
[  160.145669] pci :05:01.0: enabling Extended Tags
[  160.145911] pci :05:01.0: supports D1 D2
[  160.145916] pci :05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  160.146249] pci :05:02.0: [8086:1578] type 01 class 0x060400
[  160.146400] pci :05:02.0: enabling Extended Tags
[  160.146639] pci :05:02.0: supports D1 D2
[  160.146645] pci :05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  160.146966] pci :05:03.0: [8086:1578] type 01 class 0x060400
[  160.147112] pci :05:03.0: enabling Extended Tags
[  160.147333] pci :05:03.0: supports D1 D2
[  160.147338] pci :05:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[  160.147642] pci :05:04.0: [8086:1578] type 01 class 0x060400
[  160.147790] pci :05:04.0: enabling Extended Tags
[  160.147990] pci :05:04.0: supports D1 D2
[  160.147993] pci :05:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  160.148314] pci :04:00.0: PCI bridge to [bus 05-37]
[  160.148335] pci :04:00.0:   bridge window [io  0x-0x0fff]
[  160.148346] pci :04:00.0:   bridge window [mem 0x-0x000f]
[  160.148364] pci :04:00.0:   bridge window [mem 0x-0x000f 
64bit pref]
[  160.148374] pci :05:00.0: bridge configuration invalid ([bus 00-00]), 
reconfiguring
[  160.148396] pci :05:01.0: bridge configuration invalid ([bus 00-00]), 
reconfiguring
[  160.148418] pci :05:02.0: bridge configuration invalid ([bus 00-00]), 
reconfiguring
[  160.148479] pci :05:03.0: bridge configuration invalid ([bus 00-00]), 
reconfiguring
[  160.148501] pci :05:04.0: bridge configuration invalid ([bus 00-00]), 
reconfiguring
[  160.149237] pci :06:00.0: [1b21:1142] type 00 class 0x0c0330
[  160.149315] pci :06:00.0: reg 0x10: [mem 0x-0x7fff 64bit]
[  160.149621] pci :06:00.0: PME# supported from D3cold
[  160.160876] pci :05:00.0: PCI bridge to [bus 06-37]
[  160.160893] pci :05:00.0:   bridge window [io  0x-0x0fff]
[  160.160900] pci :05:00.0:   bridge window [mem 0x-0x000f]
[  160.160912] pci :05:00.0:   bridge window [mem 0x-0x000f 
64bit pref]
[  160.160916] pci_bus :06: busn_res: [bus 06-37] end is updated to 06
[  160.161098] pci :07:00.0: [14e4:1682] type 00 class 0x02
[  160.161192] pci :07:00.0: reg 0x10: [mem 0x-0x 64bit 
pref]
[  160.161230] pci :07:00.0: reg 0x18: [mem 0x-0x 64bit 
pref]
[  160.161590] pci :07:00.0: PME# supported from D0 D3hot D3cold
[  160.172515] pci :05:01.0: PCI bridge to [bus 07-37]
[  160.172530] pci :05:01.0:   bridge window [io  0x-0x0fff]
[  160.172537] pci :05:01.0:   bridge window [mem 0x-0x000f]
[  160.172549] pci :05:01.0:   bridge window [mem 0x-0x000f 
64bit pref]
[  160.172553] pci_bus :07: busn_res: [bus 07-37] end is updated to 07
[  160.172684] pci :05:02.0: PCI bridge to [bus 08-37]
[  160.172696] pci :05:02.0:   bridge window [