Thunderbolt in Centos 7

Issues related to hardware problems
Post Reply
malapradej
Posts: 4
Joined: 2018/06/18 10:43:36

Thunderbolt in Centos 7

Post by malapradej » 2018/06/18 11:00:25

Centos 7 recognises the Thunderbolt controller as well as the Thunderbolt G-SPEED RAID when connected to a our supermicro X11DAi-N server.
We just can't get it to be mountable.

I have tried to update the firmware to the latest version using `fwupdmgr`

Code: Select all

fwupdmgr get-devices
shows:

Code: Select all

THUNDERBOLTEX 3 Thunderbolt Controller
  DeviceId:             ce010000-0071-7518-a2b2-a30a8403211f
  Guid:                 08505105-4f7a-5d18-8ac7-437dc288d1de
  Summary:              Unmatched performance for high-speed I/O
  Plugin:               thunderbolt
  Flags:                internal|updatable|registered
  Vendor:               ASUS
  VendorId:             TBT:0x0031
  Version:              18.5
  Icon:                 computer
  Created:              2018-06-18

G-SPEED Shuttle XL Thunderbolt 3
  DeviceId:             da010000-0082-7d18-22e0-37d5ec04b018
  Guid:                 d1385998-8b6c-5176-93ca-32e59fece4da
  Plugin:               thunderbolt
  Flags:                updatable|registered
  Vendor:               G-Technology
  VendorId:             TBT:0x000C
  Version:              25.0
  Icon:                 audio-card
  Created:              2018-06-18

Code: Select all

boltctl info UUID
for both devices shows:

Code: Select all

● ASUS THUNDERBOLTEX 3
   ├─ type:          host
   ├─ name:          THUNDERBOLTEX 3
   ├─ vendor:        ASUS
   ├─ uuid:          ce010000-0071-7518-a2b2-a30a8403211f
   ├─ dbus path:     /org/freedesktop/bolt/devices/ce010000_0071_7518_a2b2_a30a8403211f
   ├─ status:        authorized
   │  ├─ authflags:  none
   │  ├─ parent:     (null)
   │  ├─ syspath:    /sys/devices/pci0000:64/0000:64:02.0/0000:65:00.0/0000:66:00.0/0000:67:00.0/domain0/0-0
   │  ├─ authorized: Mon 18 Jun 2018 10:16:25 UTC
   │  └─ connected:  Mon 18 Jun 2018 10:16:25 UTC
   └─ stored:        yes
      ├─ when:       Fri 15 Jun 2018 14:53:21 UTC
      ├─ policy:     manual
      └─ key:        no

● G-Technology G-SPEED Shuttle XL Thunderbolt 3
   ├─ type:          peripheral
   ├─ name:          G-SPEED Shuttle XL Thunderbolt 3
   ├─ vendor:        G-Technology
   ├─ uuid:          da010000-0082-7d18-22e0-37d5ec04b018
   ├─ dbus path:     /org/freedesktop/bolt/devices/da010000_0082_7d18_22e0_37d5ec04b018
   ├─ status:        authorized
   │  ├─ authflags:  none
   │  ├─ parent:     ce010000-0071-7518-a2b2-a30a8403211f
   │  ├─ syspath:    /sys/devices/pci0000:64/0000:64:02.0/0000:65:00.0/0000:66:00.0/0000:67:00.0/domain0/0-0/0-1
   │  ├─ authorized: Mon 18 Jun 2018 10:18:08 UTC
   │  └─ connected:  Mon 18 Jun 2018 10:18:08 UTC
   └─ stored:        yes
      ├─ when:       Fri 15 Jun 2018 14:29:03 UTC
      ├─ policy:     manual
      └─ key:        no

Code: Select all

lsblk
as well as

Code: Select all

fdisk -l
shows no trace of the thunderbolt raid or controller.

Code: Select all

dmesg
comes up with some error related to the PCI port for the thunderbolt controller.

Code: Select all

.....
[   10.865173] pci 0000:65:00.0: BAR 13: no space for [io  size 0x3000]
[   10.865175] pci 0000:65:00.0: BAR 13: failed to assign [io  size 0x3000]
[   10.865177] pci 0000:65:00.0: BAR 13: no space for [io  size 0x3000]
[   10.865179] pci 0000:65:00.0: BAR 13: failed to assign [io  size 0x3000]
[   10.865185] pci 0000:66:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[   10.865187] pci 0000:66:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[   10.865189] pci 0000:66:01.0: BAR 13: no space for [io  size 0x1000]
.....

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Thunderbolt in Centos 7

Post by tunk » 2018/06/19 13:13:09

Are you sure the correct module is loaded?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Thunderbolt in Centos 7

Post by TrevorH » 2018/06/19 13:16:59

I'd try the ELRepo kernel-ml package and see if it works on kernel 4.17. If it does then it's probably worth reporting as a kernel bug on bugzilla.redhat.com and if it doesn't... well linux support for thunderbolt is pretty much in its infancy as far as I know.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

malapradej
Posts: 4
Joined: 2018/06/18 10:43:36

Re: Thunderbolt in Centos 7

Post by malapradej » 2018/06/20 08:28:19

@TrevorH I am curently on kernel version 4.17. Would I still require kernel-ml?

# uname -a
# Linux venus 4.17.1-1.el7.elrepo.x86_64 #1 SMP Mon Jun 11 18:44:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

@tunk not sure what you mean by correct module.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Thunderbolt in Centos 7

Post by TrevorH » 2018/06/20 11:09:55

Right, so you're already using the ELRepo kernel-ml package. Did you try this on the distro kernel?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

malapradej
Posts: 4
Joined: 2018/06/18 10:43:36

Re: Thunderbolt in Centos 7

Post by malapradej » 2018/06/20 12:10:39

The bolt package https://gitlab.freedesktop.org/bolt/bolt requires a minimum of kernel version 4.13.

Post Reply