thunderbolt-nvm-linux icon indicating copy to clipboard operation
thunderbolt-nvm-linux copied to clipboard

Thunderbolt controller unresponsive after firmware update (26) on 9360 0x82A

Open baybal opened this issue 5 years ago • 3 comments

Situation:

lspci not showing the thunderbolt controller, forcing power does not work. I managed to make it to show in lspci after cold boot after 4 second shutdown button press and having a USB device connected to it at boot. But it is still unresponsive even after forcing power to on.

dmesg |grep -i tbt
[    0.003785] ACPI: SSDT 0x0000000064F9B6D0 0000DB (v02 INTEL  TbtTypeC 00000000 INTL 20160422)
dmesg |grep -i thunder
(nothing)
lspci 
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
39:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
3a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
3c:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116
myuser@xps ~ $ sudo fwupdmgr --allow-reinstall --allow-older --show-all-devices get-devices
XPS 13 9360 System Firmware
  DeviceId:             3f0ecc7823ee99c718693e8ecca38f54e8738dc5
  Guid:                 5ffdbc0d-f340-441c-a803-8439c8c0ae10
  Plugin:               uefi
  Flags:                internal|require-ac|supported|registered|needs-reboot
  Version:              0.2.10.0
  VersionLowest:        0.2.10.0
  Icon:                 computer
  Created:              2019-03-15
  UpdateError:          Unable to determine EFI system partition location, override using OverrideESPMountPoint in uefi.conf

UHD Graphics 620
  DeviceId:             bbbf1ce3d1cf15550c3760b354592040292415bb
  Guid:                 fed2efa4-7045-55a1-b4fc-b29283d59fe5 <- PCI\VEN_8086&DEV_5917&REV_07
  Guid:                 8b72a10c-1279-5f8e-a28a-34fb11a58240 <- PCI\VEN_8086&DEV_5917
  Guid:                 afb8c4ec-b9a5-5cd3-aaef-cc976ce37eb8 <- PCI\VEN_8086
  Plugin:               udev
  Flags:                internal|registered
  Vendor:               Intel Corporation
  VendorId:             PCI:0x8086
  Version:              07
  Icon:                 audio-card
  Created:              2019-03-15

KXG50ZNV256G NVMe TOSHIBA 256GB
  DeviceId:             e11623b2caa18fee292058a5c09ca4e6152f7ecf
  Guid:                 4d0aed03-a30c-52c6-99e7-a8977797c3d9 <- NVME\VEN_1179&DEV_0116
  Guid:                 ad9fe8f7-cdc4-52c9-9fea-31b6f4988ffa <- NVME\VEN_1179
  Guid:                 e67bb8f0-4e33-53f7-9f43-249a203b67fb <- KXG50ZNV256G NVMe TOSHIBA 256GB
  Serial:               18BF206VFQ9S
  Summary:              NVM Express Solid State Drive
  Plugin:               nvme
  Flags:                internal|updatable|require-ac|registered|needs-reboot
  Vendor:               Toshiba America Info Systems
  VendorId:             NVME:0x1179
  Version:              AADA4106
  Icon:                 drive-harddisk
  Created:              2019-03-15

baybal avatar Mar 16 '19 12:03 baybal

Any updates?

baybal avatar May 29 '19 12:05 baybal

Finally, got the trick: you have to echo 1> /sys/bus/pci/rescan if you have PCI powersave enabled

baybal avatar May 29 '19 12:05 baybal

I was celebrating too early:

[  312.091381] mce: CPU5: Package temperature/speed normal
[ 1814.901057] pci 0000:03:00.0: [8086:1575] type 00 class 0x088000
[ 1814.901079] pci 0000:03:00.0: reg 0x10: [mem 0xda000000-0xda03ffff]
[ 1814.901089] pci 0000:03:00.0: reg 0x14: [mem 0xda040000-0xda040fff]
[ 1814.901149] pci 0000:03:00.0: enabling Extended Tags
[ 1814.901224] pci 0000:03:00.0: supports D1 D2
[ 1814.901225] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1814.901389] pcieport 0000:02:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 39] add_size 200000 add_align 100000
[ 1814.901397] pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[ 1814.901398] pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1814.901400] pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[ 1814.901400] pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1814.901402] pci 0000:03:00.0: BAR 0: assigned [mem 0xda000000-0xda03ffff]
[ 1814.901407] pci 0000:03:00.0: BAR 1: assigned [mem 0xda040000-0xda040fff]
[ 2196.148775] pcieport 0000:02:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 39] add_size 200000 add_align 100000
[ 2196.148785] pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[ 2196.148786] pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 2196.148787] pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[ 2196.148788] pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 2276.412114] xhci_hcd 0000:39:00.0: xHCI host not responding to stop endpoint command.
[ 2276.412121] xhci_hcd 0000:39:00.0: xHCI host controller not responding, assume dead
[ 2276.412131] xhci_hcd 0000:39:00.0: HC died; cleaning up
[ 2276.412150] usb 3-1: USB disconnect, device number 2

cat /sys/bus/thunderbolt/devices/0-0/nvm_version still on 26.1

I'm trying to flash 26.4 firmware

baybal avatar May 29 '19 12:05 baybal