USB power reporting Type-c super speed skirmish and libpartd error

I had a power outage a couple of weeks ago which lasted longer than my UPS battery life and have had a number of USB issues since then. While I was separately recharging the UPS, which took about 5 hours, I rebooted the system which then immediately froze on boot with an USB over current condition. This appeared to be related to the MB front panel connection and at first I thought that somehow a surge made it through the UPS and had toasted the motherboards own front port connection. This turns out not to have been the case. It’s what happened next that puzzles me tho. I have an external NVME enclosure with a PCI-e X4 512 G M.2 storage which I have been tinkering with. After disconnecting the front ports on the MB and, I do have a PCI-e 5 port card with 4 x A + 1 Type-C connectors, which I had configured to provide four more front ports, with two of them Type-C. NB I don’t have the supplemental power connected as I was anticipating only to use these ports to use data, for the time being. (This is part of what makes me think the voltage demand reporting might be the culprit) When the front adapter is plugged in this also isolates the Type-C port on the actual PCI-e card from being used. After I removed all connections from that card and I plugged my M.2 device into the motherboard’s one Type-C port the system turned off like a light switch, no hang, just off. After much fooling around, starting with connecting the keyboard and mouse to the onboard legacy USB 2.0 slots, I’m sort of back where I started. The two stock USB 3 front ports are connected and working. The supplemental front ports are connected to the expansion card and working, sort of, Type-A works, Type-C does not. Connecting the device, if I connect using a cord adapter to Type-A, the mounts show up in /run/media. It is configured as a boot device. At first I thought the over current was related to the fact that that particular cord adapter is 3 ft long, but I’m rethinking that although consistent power negotiating and impedance seem to be part of the problem. What did happen was that the M.2 drive had lost it’s type label and I thought I did the right thing by using gdisk to relabel the volume, but now it shows up as W95 Ext d (LBA). Also, gparted now shows a libparted error for the actual volume I am currently booting from, although gnome-disks is fine with it. Perhaps the libparted error is related to my kernel version and non complementary libparted updates. I have seen this as an old issue of out of but I cannot so far consistently switch from connecting the device via Type A and Type C connections. Maybe this is a memory hangover concerning the voltage requested by Type-A vs Type-C My current kernel. Linux archon 5.8.8-100.fc31.x86_64 #1 SMP Wed Sep 9 20:29:23 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Here is what happens when I’m using the Type-A to C adapter cable. Everything is detected and mounted in /run/media udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[1144.231633] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) KERNEL[1144.236767] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) KERNEL[1144.250366] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4 (scsi) KERNEL[1144.250424] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/scsi_host/host4 (scsi_host) KERNEL[1144.250509] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) KERNEL[1144.250602] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) KERNEL[1144.251689] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0 (scsi) KERNEL[1144.251774] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[1144.251822] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) KERNEL[1144.251933] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) KERNEL[1144.252009] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[1144.252393] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) UDEV [1144.259793] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) UDEV [1144.261835] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) UDEV [1144.262732] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4 (scsi) UDEV [1144.263715] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/scsi_host/host4 (scsi_host) UDEV [1144.264976] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) UDEV [1144.268728] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) UDEV [1144.269850] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0 (scsi) UDEV [1144.270851] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [1144.271941] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) UDEV [1144.272716] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) UDEV [1144.273540] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) UDEV [1144.273563] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[1145.985198] add /devices/virtual/bdi/8:16 (bdi) UDEV [1145.987911] add /devices/virtual/bdi/8:16 (bdi) KERNEL[1145.988867] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) KERNEL[1145.989065] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block) KERNEL[1145.989186] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 (block) KERNEL[1145.989308] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 (block) KERNEL[1145.989450] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 (block) KERNEL[1145.989584] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 (block) KERNEL[1145.990843] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [1146.031257] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [1146.035268] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 (block) UDEV [1146.045437] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block) UDEV [1146.046036] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 (block) UDEV [1146.046869] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 (block) UDEV [1146.051277] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 (block) UDEV [1146.052469] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 (scsi) This is what the Type-C connection reports on the front panel (w/o the supplemental power connection from the card to the expansion panel) when I attempt to hot switch from Type-A to C, even if I had un-mounted the partitions from the disks app GUI, The first event is unbind. udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[1460.229192] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) KERNEL[1460.229310] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) KERNEL[1460.230680] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) KERNEL[1460.230806] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) UDEV [1460.235695] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) UDEV [1460.236812] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) UDEV [1460.237925] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) UDEV [1460.238627] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) KERNEL[1460.434274] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) KERNEL[1460.434407] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) KERNEL[1460.436020] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) KERNEL[1460.436183] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) UDEV [1460.439331] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) UDEV [1460.443163] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) UDEV [1460.445660] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) UDEV [1460.446564] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) Here is what udev reports with the front extension panel disconnected from the PCI-e card and the drive is plugged into the expansion card's single Type-C connection. udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[93.288656] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) KERNEL[93.297154] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) KERNEL[93.297182] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) UDEV [93.303112] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) KERNEL[93.310552] add /module/usb_storage (module) KERNEL[93.310602] add /bus/usb/drivers/usb-storage (drivers) UDEV [93.311904] add /module/usb_storage (module) UDEV [93.312259] add /bus/usb/drivers/usb-storage (drivers) KERNEL[93.312655] add /module/uas (module) UDEV [93.313198] add /module/uas (module) KERNEL[93.324476] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4 (scsi) KERNEL[93.324491] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/scsi_host/host4 (scsi_host) KERNEL[93.324517] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) KERNEL[93.324525] add /bus/usb/drivers/uas (drivers) UDEV [93.324646] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) UDEV [93.325326] add /bus/usb/drivers/uas (drivers) KERNEL[93.325718] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0 (scsi) KERNEL[93.325745] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[93.325760] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) KERNEL[93.325772] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) KERNEL[93.325837] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[93.325898] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) UDEV [93.329778] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) UDEV [93.331051] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4 (scsi) UDEV [93.332395] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/scsi_host/host4 (scsi_host) UDEV [93.334102] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) UDEV [93.335352] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0 (scsi) UDEV [93.336749] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [93.338326] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) UDEV [93.338504] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) UDEV [93.339426] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) UDEV [93.340162] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) KERNEL[94.516320] add /devices/virtual/bdi/8:16 (bdi) UDEV [94.519016] add /devices/virtual/bdi/8:16 (bdi) KERNEL[94.520794] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) KERNEL[94.520944] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block) KERNEL[94.521091] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 (block) KERNEL[94.521209] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 (block) KERNEL[94.521326] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 (block) KERNEL[94.521431] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 (block) KERNEL[94.523245] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [94.603863] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [94.611530] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 (block) UDEV [94.700559] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block) UDEV [94.716164] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 (block) UDEV [94.731543] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 (block) UDEV [94.737275] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 (block) UDEV [94.738283] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[113.079306] add /devices/virtual/bdi/0:39 (bdi) UDEV [113.083466] add /devices/virtual/bdi/0:39 (bdi) Unfortunately the cable for connecting the supplementary power to the front expansion port was too short so I’m wondering if this is at all related to the system registering one voltage demand for the Type-C connection and not releasing that info and then re-probing for the increased voltage the SS port connection allows for. Does anyone have any suggestions on how I can unwind some of this? Perhaps sourcing a longer cable for connecting the expansion cards power to the slot might do the trick. I can't say for sure, but I don't recall this being an issue before the power issue. -- Russell

[top posting because the information in the original message is somewhat holographic.] Thanks for your detailed report. It's hard to help when not enough detail is included. Unfortunately, you seem to have perhaps five problems and it is hard to disentangle them. - one power failure. Probably nothing you can do anything about. - "USB over current condition" How do you know this happened? Is there some indicator? Is this connected somehow with the NVMe drive? You seem to have several USB C ports: are all behaving this way? - reliably powering an NVMe drive, connected via USB C. What are its specified power requirements? What can the ports provide? USB C is a mess: one connector, several standards and options within those standards, especially with respect to power. - NVMe disk "lost its type label". I can guess what you mean, but that would be surprising: a surgicically precise failure. So much so that it is unlikely to be the only damage. Are you using GPT or MBR partitioning? Is your system booting with "legacy" or UEFI? - NVMe drive partitions mounting in /var/run If this isn't where you've told them to mount (via /etc/fstab?) then perhaps the partions' UUIDs have been damaged. I would think that the key to getting anywhere is to separately address each problem. Of course you cannot do that in just any order. I suggest the order in which I've listed them: each problem should only depend on the ones above. Good luck! | From: Russell Reiter via talk <talk@gtalug.org> | To: GTALUG Talk <talk@gtalug.org> | Cc: Russell Reiter <rreiter91@gmail.com> | Date: Thu, 17 Sep 2020 12:26:02 -0400 | Subject: [GTALUG] USB power reporting Type-c super speed skirmish and libpartd | error | | I had a power outage a couple of weeks ago which lasted longer than my UPS | battery life and have had a number of USB issues since then. | | While I was separately recharging the UPS, which took about 5 hours, I | rebooted the system which then immediately froze on boot with an USB over | current condition. This appeared to be related to the MB front panel | connection and at first I thought that somehow a surge made it through the | UPS and had toasted the motherboards own front port connection. This turns | out not to have been the case. It’s what happened next that puzzles me tho. | | I have an external NVME enclosure with a PCI-e X4 512 G M.2 storage which I | have been tinkering with. After disconnecting the front ports on the MB | and, I do have a PCI-e 5 port card with 4 x A + 1 Type-C connectors, which | I had configured to provide four more front ports, with two of them Type-C. | NB I don’t have the supplemental power connected as I was anticipating only | to use these ports to use data, for the time being. (This is part of what | makes me think the voltage demand reporting might be the culprit) | | When the front adapter is plugged in this also isolates the Type-C port on | the actual PCI-e card from being used. After I removed all connections from | that card and I plugged my M.2 device into the motherboard’s one Type-C | port the system turned off like a light switch, no hang, just off. | | After much fooling around, starting with connecting the keyboard and mouse | to the onboard legacy USB 2.0 slots, I’m sort of back where I started. The | two stock USB 3 front ports are connected and working. The supplemental | front ports are connected to the expansion card and working, sort of, | Type-A works, Type-C does not. | | Connecting the device, if I connect using a cord adapter to Type-A, the | mounts show up in /run/media. It is configured as a boot device. At first I | thought the over current was related to the fact that that particular cord | adapter is 3 ft long, but I’m rethinking that although consistent power | negotiating and impedance seem to be part of the problem. | | What did happen was that the M.2 drive had lost it’s type label and I | thought I did the right thing by using gdisk to relabel the volume, but now | it shows up as W95 Ext d (LBA). Also, gparted now shows a libparted error | for the actual volume I am currently booting from, although gnome-disks is | fine with it. | | Perhaps the libparted error is related to my kernel version and non | complementary libparted updates. I have seen this as an old issue of out of | but I cannot so far consistently switch from connecting the device via Type | A and Type C connections. Maybe this is a memory hangover concerning the | voltage requested by Type-A vs Type-C | | | My current kernel. | | Linux archon 5.8.8-100.fc31.x86_64 #1 SMP Wed Sep 9 20:29:23 UTC 2020 | x86_64 x86_64 x86_64 GNU/Linux | | | Here is what happens when I’m using the Type-A to C adapter cable. | Everything is detected and mounted in /run/media | | | udevadm monitor | | monitor will print the received events for: | | UDEV - the event which udev sends out after rule processing | | KERNEL - the kernel uevent | | | KERNEL[1144.231633] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | KERNEL[1144.236767] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | KERNEL[1144.250366] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4 | (scsi) | | KERNEL[1144.250424] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/scsi_host/host4 | (scsi_host) | | KERNEL[1144.250509] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | KERNEL[1144.250602] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | KERNEL[1144.251689] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0 | (scsi) | | KERNEL[1144.251774] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | KERNEL[1144.251822] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | KERNEL[1144.251933] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | KERNEL[1144.252009] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | KERNEL[1144.252393] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | UDEV [1144.259793] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | UDEV [1144.261835] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | UDEV [1144.262732] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4 | (scsi) | | UDEV [1144.263715] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/scsi_host/host4 | (scsi_host) | | UDEV [1144.264976] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | UDEV [1144.268728] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | UDEV [1144.269850] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0 | (scsi) | | UDEV [1144.270851] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [1144.271941] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | UDEV [1144.272716] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | UDEV [1144.273540] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | UDEV [1144.273563] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | KERNEL[1145.985198] add /devices/virtual/bdi/8:16 (bdi) | | UDEV [1145.987911] add /devices/virtual/bdi/8:16 (bdi) | | KERNEL[1145.988867] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | KERNEL[1145.989065] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | KERNEL[1145.989186] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | KERNEL[1145.989308] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | KERNEL[1145.989450] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | KERNEL[1145.989584] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | KERNEL[1145.990843] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [1146.031257] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | UDEV [1146.035268] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | UDEV [1146.045437] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | UDEV [1146.046036] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | UDEV [1146.046869] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | UDEV [1146.051277] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | UDEV [1146.052469] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | | | This is what the Type-C connection reports on the front panel (w/o the | supplemental power connection from the card to the expansion panel) when I | attempt to hot switch from Type-A to C, even if I had un-mounted the | partitions from the disks app GUI, The first event is unbind. | | | udevadm monitor | | monitor will print the received events for: | | UDEV - the event which udev sends out after rule processing | | KERNEL - the kernel uevent | | | KERNEL[1460.229192] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | KERNEL[1460.229310] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | KERNEL[1460.230680] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | KERNEL[1460.230806] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | UDEV [1460.235695] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | UDEV [1460.236812] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | UDEV [1460.237925] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | UDEV [1460.238627] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | KERNEL[1460.434274] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | KERNEL[1460.434407] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | KERNEL[1460.436020] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | KERNEL[1460.436183] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | UDEV [1460.439331] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | UDEV [1460.443163] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | UDEV [1460.445660] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | UDEV [1460.446564] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | | Here is what udev reports with the front extension panel disconnected from | the PCI-e card and the drive is plugged into the expansion card's single | Type-C connection. | | | udevadm monitor | | monitor will print the received events for: | | UDEV - the event which udev sends out after rule processing | | KERNEL - the kernel uevent | | | KERNEL[93.288656] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | KERNEL[93.297154] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | KERNEL[93.297182] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | UDEV [93.303112] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | KERNEL[93.310552] add /module/usb_storage (module) | | KERNEL[93.310602] add /bus/usb/drivers/usb-storage (drivers) | | UDEV [93.311904] add /module/usb_storage (module) | | UDEV [93.312259] add /bus/usb/drivers/usb-storage (drivers) | | KERNEL[93.312655] add /module/uas (module) | | UDEV [93.313198] add /module/uas (module) | | KERNEL[93.324476] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4 | (scsi) | | KERNEL[93.324491] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/scsi_host/host4 | (scsi_host) | | KERNEL[93.324517] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | KERNEL[93.324525] add /bus/usb/drivers/uas (drivers) | | UDEV [93.324646] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | UDEV [93.325326] add /bus/usb/drivers/uas (drivers) | | KERNEL[93.325718] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0 | (scsi) | | KERNEL[93.325745] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | KERNEL[93.325760] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | KERNEL[93.325772] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | KERNEL[93.325837] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | KERNEL[93.325898] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | UDEV [93.329778] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | UDEV [93.331051] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4 | (scsi) | | UDEV [93.332395] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/scsi_host/host4 | (scsi_host) | | UDEV [93.334102] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | UDEV [93.335352] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0 | (scsi) | | UDEV [93.336749] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [93.338326] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | UDEV [93.338504] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | UDEV [93.339426] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | UDEV [93.340162] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | KERNEL[94.516320] add /devices/virtual/bdi/8:16 (bdi) | | UDEV [94.519016] add /devices/virtual/bdi/8:16 (bdi) | | KERNEL[94.520794] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | KERNEL[94.520944] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | KERNEL[94.521091] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | KERNEL[94.521209] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | KERNEL[94.521326] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | KERNEL[94.521431] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | KERNEL[94.523245] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [94.603863] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | UDEV [94.611530] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | UDEV [94.700559] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | UDEV [94.716164] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | UDEV [94.731543] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | UDEV [94.737275] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | UDEV [94.738283] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | KERNEL[113.079306] add /devices/virtual/bdi/0:39 (bdi) | | UDEV [113.083466] add /devices/virtual/bdi/0:39 (bdi) | | Unfortunately the cable for connecting the supplementary power to the front | expansion port was too short so I’m wondering if this is at all related to | the system registering one voltage demand for the Type-C connection and not | releasing that info and then re-probing for the increased voltage the SS | port connection allows for. | | Does anyone have any suggestions on how I can unwind some of this? | | Perhaps sourcing a longer cable for connecting the expansion cards power to | the slot might do the trick. I can't say for sure, but I don't recall this | being an issue before the power issue. | -- | Russell |

On Wed, Sep 23, 2020 at 9:40 AM D. Hugh Redelmeier via talk <talk@gtalug.org> wrote:
[top posting because the information in the original message is somewhat holographic.]
Thanks for your detailed report. It's hard to help when not enough detail is included.
I've made some progress and then lost it again. I had to take a high def photo of the writing on the cable to read that the cable is rated 3.0 and my mb is only rated 3.0 but the peripheral card is usb 3.1. I think this is why the mb connection hangs the system on usb 3.0, but the peripheral 3.1 card does not. I'm not sure which iteration of usb provides "alternative" bus capabilities, ie. video and up to 100w power.
Unfortunately, you seem to have perhaps five problems and it is hard to disentangle them.
- one power failure. Probably nothing you can do anything about.
- "USB over current condition" How do you know this happened? Is there some indicator? Is this connected somehow with the NVMe drive? You seem to have several USB C ports: are all behaving this way?
The mb type-c 3.0 port reports overcurrent when the device is attached and won't boot. On the adapter card the type is usb 3.1. and the device doesn't hang the system when booting, but it also won't enumerate the drive
- reliably powering an NVMe drive, connected via USB C. What are its specified power requirements? What can the ports provide? USB C is a mess: one connector, several standards and options within those standards, especially with respect to power.
I may have to get a type-c 3.1 rated cable to go much further. It was all working fine at one point before the power outage. I am updating the kernel regularly on Fedora 31 before reinstalling on a larger nvme PCI-e x4 m.2 on the internal slots at some point in the future.
- NVMe disk "lost its type label". I can guess what you mean, but that would be surprising: a surgicically precise failure. So much so that it is unlikely to be the only damage. Are you using GPT or MBR partitioning? Is your system booting with "legacy" or UEFI?
I used gdisk to reset my GPT hybrid setup to go back to mbr after the lvm volume label disappeared. Maybe not my best choice at the time.
- NVMe drive partitions mounting in /var/run If this isn't where you've told them to mount (via /etc/fstab?) then perhaps the partions' UUIDs have been damaged.
I just did a fresh reboot with the drive connected to Type-c on the front breakout panel. This is what a hotplug into the front 3.1 port showsl udevadm monitor --env monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[1589.645747] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/610/9223 TYPE=9/0/2 INTERFACE=9/0/2 SEQNUM=4226 KERNEL[1589.645934] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/610/9223 TYPE=9/0/2 INTERFACE=9/0/2 MODALIAS=usb:v05E3p0610d9223dc09dsc00dp02ic09isc00ip02in00 SEQNUM=4227 KERNEL[1589.647090] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/003/083 DEVTYPE=usb_device PRODUCT=5e3/610/9223 TYPE=9/0/2 BUSNUM=003 DEVNUM=083 SEQNUM=4228 MAJOR=189 MINOR=338 KERNEL[1589.647262] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/003/083 DEVTYPE=usb_device PRODUCT=5e3/610/9223 TYPE=9/0/2 BUSNUM=003 DEVNUM=083 SEQNUM=4229 MAJOR=189 MINOR=338 UDEV [1589.652761] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/610/9223 TYPE=9/0/2 INTERFACE=9/0/2 SEQNUM=4226 USEC_INITIALIZED=1566463583 ID_PATH=pci-0000:72:00.0-usb-0:1.2:1.0 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2_1_0 UDEV [1589.653736] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/610/9223 TYPE=9/0/2 INTERFACE=9/0/2 MODALIAS=usb:v05E3p0610d9223dc09dsc00dp02ic09isc00ip02in00 SEQNUM=4227 USEC_INITIALIZED=1566463583 ID_PATH=pci-0000:72:00.0-usb-0:1.2:1.0 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2_1_0 UDEV [1589.655002] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/003/083 DEVTYPE=usb_device PRODUCT=5e3/610/9223 TYPE=9/0/2 BUSNUM=003 DEVNUM=083 SEQNUM=4228 USEC_INITIALIZED=1566457398 ID_PATH=pci-0000:72:00.0-usb-0:1.2 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2 MAJOR=189 MINOR=338 UDEV [1589.655791] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/003/083 DEVTYPE=usb_device PRODUCT=5e3/610/9223 TYPE=9/0/2 BUSNUM=003 DEVNUM=083 SEQNUM=4229 USEC_INITIALIZED=1566457398 ID_PATH=pci-0000:72:00.0-usb-0:1.2 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2 MAJOR=189 MINOR=338 KERNEL[1589.693214] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/612/9223 TYPE=9/0/3 INTERFACE=9/0/0 SEQNUM=4230 KERNEL[1589.693407] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/612/9223 TYPE=9/0/3 INTERFACE=9/0/0 MODALIAS=usb:v05E3p0612d9223dc09dsc00dp03ic09isc00ip00in00 SEQNUM=4231 KERNEL[1589.694714] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/004/007 DEVTYPE=usb_device PRODUCT=5e3/612/9223 TYPE=9/0/3 BUSNUM=004 DEVNUM=007 SEQNUM=4232 MAJOR=189 MINOR=390 KERNEL[1589.694895] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/004/007 DEVTYPE=usb_device PRODUCT=5e3/612/9223 TYPE=9/0/3 BUSNUM=004 DEVNUM=007 SEQNUM=4233 MAJOR=189 MINOR=390 UDEV [1589.698505] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/612/9223 TYPE=9/0/3 INTERFACE=9/0/0 SEQNUM=4230 USEC_INITIALIZED=1566312548 ID_PATH=pci-0000:72:00.0-usb-0:1.2:1.0 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2_1_0 UDEV [1589.702282] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=5e3/612/9223 TYPE=9/0/3 INTERFACE=9/0/0 MODALIAS=usb:v05E3p0612d9223dc09dsc00dp03ic09isc00ip00in00 SEQNUM=4231 USEC_INITIALIZED=1566312548 ID_PATH=pci-0000:72:00.0-usb-0:1.2:1.0 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2_1_0 UDEV [1589.707568] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) ACTION=unbind DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/004/007 DEVTYPE=usb_device PRODUCT=5e3/612/9223 TYPE=9/0/3 BUSNUM=004 DEVNUM=007 SEQNUM=4232 USEC_INITIALIZED=1566307617 ID_PATH=pci-0000:72:00.0-usb-0:1.2 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2 MAJOR=189 MINOR=390 UDEV [1589.711676] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/004/007 DEVTYPE=usb_device PRODUCT=5e3/612/9223 TYPE=9/0/3 BUSNUM=004 DEVNUM=007 SEQNUM=4233 USEC_INITIALIZED=1566307617 ID_PATH=pci-0000:72:00.0-usb-0:1.2 ID_PATH_TAG=pci-0000_72_00_0-usb-0_1_2 MAJOR=189 MINOR=390 Here is what lspci shows. lspci 00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07) 00:01.0 PCI bridge: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) (rev 07) 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode] 00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0) 00:1b.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21 (rev f0) 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0) 00:1c.1 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #2 (rev f0) 00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0) 00:1c.7 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #8 (rev f0) 00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0) 00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V 01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1) 02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2018/PC SN720 NVMe SSD 6e:00.0 PCI bridge: Pericom Semiconductor PI7C9X2G304 EL/SL PCIe2 3-Port/4-Lane Packet Switch (rev 05) 6f:01.0 PCI bridge: Pericom Semiconductor PI7C9X2G304 EL/SL PCIe2 3-Port/4-Lane Packet Switch (rev 05) 6f:02.0 PCI bridge: Pericom Semiconductor PI7C9X2G304 EL/SL PCIe2 3-Port/4-Lane Packet Switch (rev 05) 70:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04) 71:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04) 72:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03) 73:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller 74:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a) 75:00.0 Non-Volatile memory controller: Micron/Crucial Technology P1 NVMe PCIe SSD (rev 03)
I would think that the key to getting anywhere is to separately address each problem. Of course you cannot do that in just any order. I suggest the order in which I've listed them: each problem should only depend on the ones above.
Thanks for looking at this. I'm hoping that a 3.1 rated cable may help to solve this. What I find most puzzling is that it was all working well before the power outage. When I was first using the drive for data, I could plug it into the type-c port and it would automount the drive. I then made it a boot drive and it all worked and showed up in bios as a boot selection and booted, then the power issue and now all this. One caveat, I am doing all the kernel updates coming in. This is something I never usually do, but with all the mitigations going on, I thought it might be best to do this before doing a release upgrade. I have yet to use dnf upgrade release, in place, so to speak.
Good luck!
Thanks I'm hoping a proper alignment of 3.1 cable and 3.1 port will make it easier, if not actually solve the problem One of the first mantras I learned first coming to TLUG meetings was that it's almost never hardware. That may have changed somewhat. To paraphrase Bob Dylan, linux is now a jet plane, it flies too fast. ;-)
| From: Russell Reiter via talk <talk@gtalug.org> | To: GTALUG Talk <talk@gtalug.org> | Cc: Russell Reiter <rreiter91@gmail.com> | Date: Thu, 17 Sep 2020 12:26:02 -0400 | Subject: [GTALUG] USB power reporting Type-c super speed skirmish and libpartd | error | | I had a power outage a couple of weeks ago which lasted longer than my UPS | battery life and have had a number of USB issues since then. | | While I was separately recharging the UPS, which took about 5 hours, I | rebooted the system which then immediately froze on boot with an USB over | current condition. This appeared to be related to the MB front panel | connection and at first I thought that somehow a surge made it through the | UPS and had toasted the motherboards own front port connection. This turns | out not to have been the case. It’s what happened next that puzzles me tho. | | I have an external NVME enclosure with a PCI-e X4 512 G M.2 storage which I | have been tinkering with. After disconnecting the front ports on the MB | and, I do have a PCI-e 5 port card with 4 x A + 1 Type-C connectors, which | I had configured to provide four more front ports, with two of them Type-C. | NB I don’t have the supplemental power connected as I was anticipating only | to use these ports to use data, for the time being. (This is part of what | makes me think the voltage demand reporting might be the culprit) | | When the front adapter is plugged in this also isolates the Type-C port on | the actual PCI-e card from being used. After I removed all connections from | that card and I plugged my M.2 device into the motherboard’s one Type-C | port the system turned off like a light switch, no hang, just off. | | After much fooling around, starting with connecting the keyboard and mouse | to the onboard legacy USB 2.0 slots, I’m sort of back where I started. The | two stock USB 3 front ports are connected and working. The supplemental | front ports are connected to the expansion card and working, sort of, | Type-A works, Type-C does not. | | Connecting the device, if I connect using a cord adapter to Type-A, the | mounts show up in /run/media. It is configured as a boot device. At first I | thought the over current was related to the fact that that particular cord | adapter is 3 ft long, but I’m rethinking that although consistent power | negotiating and impedance seem to be part of the problem. | | What did happen was that the M.2 drive had lost it’s type label and I | thought I did the right thing by using gdisk to relabel the volume, but now | it shows up as W95 Ext d (LBA). Also, gparted now shows a libparted error | for the actual volume I am currently booting from, although gnome-disks is | fine with it. | | Perhaps the libparted error is related to my kernel version and non | complementary libparted updates. I have seen this as an old issue of out of | but I cannot so far consistently switch from connecting the device via Type | A and Type C connections. Maybe this is a memory hangover concerning the | voltage requested by Type-A vs Type-C | | | My current kernel. | | Linux archon 5.8.8-100.fc31.x86_64 #1 SMP Wed Sep 9 20:29:23 UTC 2020 | x86_64 x86_64 x86_64 GNU/Linux | | | Here is what happens when I’m using the Type-A to C adapter cable. | Everything is detected and mounted in /run/media | | | udevadm monitor | | monitor will print the received events for: | | UDEV - the event which udev sends out after rule processing | | KERNEL - the kernel uevent | | | KERNEL[1144.231633] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | KERNEL[1144.236767] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | KERNEL[1144.250366] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4 | (scsi) | | KERNEL[1144.250424] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/scsi_host/host4 | (scsi_host) | | KERNEL[1144.250509] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | KERNEL[1144.250602] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | KERNEL[1144.251689] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0 | (scsi) | | KERNEL[1144.251774] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | KERNEL[1144.251822] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | KERNEL[1144.251933] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | KERNEL[1144.252009] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | KERNEL[1144.252393] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | UDEV [1144.259793] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | UDEV [1144.261835] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | UDEV [1144.262732] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4 | (scsi) | | UDEV [1144.263715] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/scsi_host/host4 | (scsi_host) | | UDEV [1144.264976] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0 (usb) | | UDEV [1144.268728] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4 (usb) | | UDEV [1144.269850] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0 | (scsi) | | UDEV [1144.270851] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [1144.271941] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | UDEV [1144.272716] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | UDEV [1144.273540] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | UDEV [1144.273563] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | KERNEL[1145.985198] add /devices/virtual/bdi/8:16 (bdi) | | UDEV [1145.987911] add /devices/virtual/bdi/8:16 (bdi) | | KERNEL[1145.988867] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | KERNEL[1145.989065] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | KERNEL[1145.989186] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | KERNEL[1145.989308] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | KERNEL[1145.989450] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | KERNEL[1145.989584] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | KERNEL[1145.990843] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [1146.031257] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | UDEV [1146.035268] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | UDEV [1146.045437] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | UDEV [1146.046036] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | UDEV [1146.046869] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | UDEV [1146.051277] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | UDEV [1146.052469] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.4/4-1.4:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | | | This is what the Type-C connection reports on the front panel (w/o the | supplemental power connection from the card to the expansion panel) when I | attempt to hot switch from Type-A to C, even if I had un-mounted the | partitions from the disks app GUI, The first event is unbind. | | | udevadm monitor | | monitor will print the received events for: | | UDEV - the event which udev sends out after rule processing | | KERNEL - the kernel uevent | | | KERNEL[1460.229192] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | KERNEL[1460.229310] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | KERNEL[1460.230680] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | KERNEL[1460.230806] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | UDEV [1460.235695] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | UDEV [1460.236812] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb) | | UDEV [1460.237925] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | UDEV [1460.238627] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.2 (usb) | | KERNEL[1460.434274] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | KERNEL[1460.434407] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | KERNEL[1460.436020] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | KERNEL[1460.436183] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | UDEV [1460.439331] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | UDEV [1460.443163] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb) | | UDEV [1460.445660] unbind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | UDEV [1460.446564] remove | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.2 (usb) | | | Here is what udev reports with the front extension panel disconnected from | the PCI-e card and the drive is plugged into the expansion card's single | Type-C connection. | | | udevadm monitor | | monitor will print the received events for: | | UDEV - the event which udev sends out after rule processing | | KERNEL - the kernel uevent | | | KERNEL[93.288656] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | KERNEL[93.297154] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | KERNEL[93.297182] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | UDEV [93.303112] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | KERNEL[93.310552] add /module/usb_storage (module) | | KERNEL[93.310602] add /bus/usb/drivers/usb-storage (drivers) | | UDEV [93.311904] add /module/usb_storage (module) | | UDEV [93.312259] add /bus/usb/drivers/usb-storage (drivers) | | KERNEL[93.312655] add /module/uas (module) | | UDEV [93.313198] add /module/uas (module) | | KERNEL[93.324476] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4 | (scsi) | | KERNEL[93.324491] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/scsi_host/host4 | (scsi_host) | | KERNEL[93.324517] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | KERNEL[93.324525] add /bus/usb/drivers/uas (drivers) | | UDEV [93.324646] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | UDEV [93.325326] add /bus/usb/drivers/uas (drivers) | | KERNEL[93.325718] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0 | (scsi) | | KERNEL[93.325745] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | KERNEL[93.325760] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | KERNEL[93.325772] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | KERNEL[93.325837] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | KERNEL[93.325898] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | UDEV [93.329778] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3 (usb) | | UDEV [93.331051] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4 | (scsi) | | UDEV [93.332395] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/scsi_host/host4 | (scsi_host) | | UDEV [93.334102] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) | | UDEV [93.335352] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0 | (scsi) | | UDEV [93.336749] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [93.338326] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 | (scsi_device) | | UDEV [93.338504] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 | (scsi_disk) | | UDEV [93.339426] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 | (scsi_generic) | | UDEV [93.340162] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 | (bsg) | | KERNEL[94.516320] add /devices/virtual/bdi/8:16 (bdi) | | UDEV [94.519016] add /devices/virtual/bdi/8:16 (bdi) | | KERNEL[94.520794] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | KERNEL[94.520944] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | KERNEL[94.521091] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | KERNEL[94.521209] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | KERNEL[94.521326] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | KERNEL[94.521431] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | KERNEL[94.523245] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | UDEV [94.603863] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb | (block) | | UDEV [94.611530] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb4 | (block) | | UDEV [94.700559] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 | (block) | | UDEV [94.716164] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb2 | (block) | | UDEV [94.731543] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb5 | (block) | | UDEV [94.737275] add | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb3 | (block) | | UDEV [94.738283] bind | /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb3/3-1/3-1.3/3-1.3:1.0/host4/target4:0:0/4:0:0:0 | (scsi) | | KERNEL[113.079306] add /devices/virtual/bdi/0:39 (bdi) | | UDEV [113.083466] add /devices/virtual/bdi/0:39 (bdi) | | Unfortunately the cable for connecting the supplementary power to the front | expansion port was too short so I’m wondering if this is at all related to | the system registering one voltage demand for the Type-C connection and not | releasing that info and then re-probing for the increased voltage the SS | port connection allows for. | | Does anyone have any suggestions on how I can unwind some of this? | | Perhaps sourcing a longer cable for connecting the expansion cards power to | the slot might do the trick. I can't say for sure, but I don't recall this | being an issue before the power issue. | -- | Russell | --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
-- Russell

On Wed, Sep 23, 2020 at 11:36:39AM -0400, Russell Reiter via talk wrote:
I've made some progress and then lost it again. I had to take a high def photo of the writing on the cable to read that the cable is rated 3.0 and my mb is only rated 3.0 but the peripheral card is usb 3.1. I think this is why the mb connection hangs the system on usb 3.0, but the peripheral 3.1 card does not. I'm not sure which iteration of usb provides "alternative" bus capabilities, ie. video and up to 100w power.
USB 3 naming is crazy. My understanding is: USB 3.0 = USB 3.1 Gen 1 = USB 3.2 Gen 1x1 = 5Gbps USB 3.1 Gen 2 = USB 3.2 Gen 2x1 = 10Gbps USB 3.2 Gen 1x2 = 10Gbps (requires USB-C) USB 3.2 Gen 2x2 = 20Gbps (requires USB-C) So a USB 3.0 port is also a USB 3.1 Gen 1 and a USB 3.2 Gen 1x1 port. Confusing enough? As for power, USB-PD (power delivery) allows USB-C to provide 2A at 5V or up to 3A or 5A at 12V and 20V, for a maximum of 100W. They start at standard USB 5V, then negotiate what each end supports and if in agreement, switch the voltage and current. -- Len Sorensen

On Wed, Sep 23, 2020 at 12:46 PM Lennart Sorensen < lsorense@csclub.uwaterloo.ca> wrote:
On Wed, Sep 23, 2020 at 11:36:39AM -0400, Russell Reiter via talk wrote:
I've made some progress and then lost it again. I had to take a high def photo of the writing on the cable to read that the cable is rated 3.0 and my mb is only rated 3.0 but the peripheral card is usb 3.1. I think this is why the mb connection hangs the system on usb 3.0, but the peripheral 3.1 card does not. I'm not sure which iteration of usb provides "alternative" bus capabilities, ie. video and up to 100w power.
USB 3 naming is crazy. My understanding is:
USB 3.0 = USB 3.1 Gen 1 = USB 3.2 Gen 1x1 = 5Gbps USB 3.1 Gen 2 = USB 3.2 Gen 2x1 = 10Gbps USB 3.2 Gen 1x2 = 10Gbps (requires USB-C) USB 3.2 Gen 2x2 = 20Gbps (requires USB-C)
So a USB 3.0 port is also a USB 3.1 Gen 1 and a USB 3.2 Gen 1x1 port.
Thanks that is a pretty concise description of the state of things.
Confusing enough?
How's this for confusion? I rebooted and plugged into the front Type-c, haven't changed anything, not the cabling, not the bios. No joy this time not even the repeated bind unbind messages I usually get, udevadm monitor saw nothing. I then plugged into the Type-c on the PCI-e card directly. This time it recognized the nvme ntfs partition as sdb. I'm wondering if fuse handles something, maybe xhci mode alias which I could configure when I try to make this an LVM boot device again. udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[260.919357] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) KERNEL[260.924180] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[260.924256] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) UDEV [260.930788] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) KERNEL[260.937756] add /module/usb_storage (module) KERNEL[260.937802] add /bus/usb/drivers/usb-storage (drivers) UDEV [260.938899] add /module/usb_storage (module) UDEV [260.939153] add /bus/usb/drivers/usb-storage (drivers) KERNEL[260.939622] add /module/uas (module) UDEV [260.940087] add /module/uas (module) KERNEL[260.952720] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4 (scsi) KERNEL[260.952737] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4 (scsi_host) KERNEL[260.952761] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[260.952769] add /bus/usb/drivers/uas (drivers) UDEV [260.952937] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) UDEV [260.953535] add /bus/usb/drivers/uas (drivers) UDEV [260.958014] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) UDEV [260.959209] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4 (scsi) UDEV [260.960444] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4 (scsi_host) UDEV [260.962063] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[261.109528] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0 (scsi) KERNEL[261.109603] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[261.109660] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) KERNEL[261.109710] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) KERNEL[261.109988] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[261.110264] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) KERNEL[261.110529] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) KERNEL[261.110616] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[261.110657] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) UDEV [261.114727] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0 (scsi) UDEV [261.115996] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [261.117061] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) UDEV [261.117176] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) UDEV [261.117415] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) UDEV [261.117783] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) UDEV [261.118234] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) UDEV [261.118252] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) UDEV [261.119110] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) KERNEL[261.598484] add /devices/virtual/bdi/8:16 (bdi) KERNEL[261.598778] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [261.601091] add /devices/virtual/bdi/8:16 (bdi) KERNEL[262.080511] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[262.080731] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) KERNEL[262.081053] remove /devices/virtual/bdi/8:16 (bdi) KERNEL[262.081336] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [262.082882] remove /devices/virtual/bdi/8:16 (bdi) KERNEL[262.090452] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[262.090533] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[262.098770] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0 (scsi) KERNEL[262.098833] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4 (scsi_host) KERNEL[262.098885] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4 (scsi) UDEV [262.102166] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4 (scsi_host) KERNEL[262.122682] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[262.122804] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[262.125028] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) KERNEL[262.125150] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) KERNEL[262.316839] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) KERNEL[262.322321] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[262.335903] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4 (scsi) KERNEL[262.335963] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4 (scsi_host) KERNEL[262.336047] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) KERNEL[262.336144] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) KERNEL[262.337499] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0 (scsi) KERNEL[262.337581] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[262.337617] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) KERNEL[262.337762] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) KERNEL[262.337831] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[262.338067] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) UDEV [262.348853] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [262.350127] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [262.350987] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) UDEV [262.351162] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [262.351977] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [262.352640] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [262.353303] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0 (scsi) UDEV [262.353927] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4 (scsi) UDEV [262.354956] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) UDEV [262.355861] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) UDEV [262.357199] unbind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) UDEV [262.358028] remove /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) UDEV [262.362520] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) UDEV [262.364693] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) UDEV [262.365554] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4 (scsi) UDEV [262.366534] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4 (scsi_host) UDEV [262.367754] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb) UDEV [262.371241] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb) UDEV [262.372229] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0 (scsi) UDEV [262.373240] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [262.374355] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device) UDEV [262.374472] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk) UDEV [262.374811] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg) UDEV [262.375001] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic) KERNEL[264.555503] add /devices/virtual/bdi/8:16 (bdi) KERNEL[264.558020] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) KERNEL[264.558191] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block) UDEV [264.558506] add /devices/virtual/bdi/8:16 (bdi) KERNEL[264.559989] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) UDEV [264.599352] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block) UDEV [264.610724] add /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block) UDEV [264.612238] bind /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0 (scsi) KERNEL[264.775809] add /devices/virtual/bdi/8:17-fuseblk (bdi) UDEV [264.776809] add /devices/virtual/bdi/8:17-fuseblk (bdi) KERNEL[282.778342] add /devices/virtual/bdi/0:39 (bdi) UDEV [282.791804] add /devices/virtual/bdi/0:39 (bdi) Gnome-disks now shows sdb1 Contents NTFS — Mounted at /run/media/R3eiter/Zomey512Gb Now it is possible that the tolerances between the MB Type-c the PCI-e cards type-c and the front breakout Type-c are all slightly different and this is causing a SHINE single high-level impulse noise. This last semi-sucess was a live hotplug. I'm going to reboot and see if it mounts on boot, but at this point I'm not holding my breath.
As for power, USB-PD (power delivery) allows USB-C to provide 2A at 5V or up to 3A or 5A at 12V and 20V, for a maximum of 100W. They start at standard USB 5V, then negotiate what each end supports and if in agreement, switch the voltage and current.
-- Len Sorensen
-- Russell

| From: Russell Reiter via talk <talk@gtalug.org> | On Wed, Sep 23, 2020 at 9:40 AM D. Hugh Redelmeier via talk <talk@gtalug.org> | wrote: | I've made some progress and then lost it again. I had to take a high def | photo of the writing on the cable to read that the cable is rated 3.0 and | my mb is only rated 3.0 but the peripheral card is usb 3.1. I think this is | why the mb connection hangs the system on usb 3.0, but the peripheral 3.1 | card does not. I'm not sure which iteration of usb provides "alternative" | bus capabilities, ie. video and up to 100w power. You don't care about video. We don't know if you need larger power for the disk. | The mb type-c 3.0 port reports overcurrent when the device is attached and | won't boot. Reports to who? How? What do *you* observe | On the adapter card the type is usb 3.1. and the device doesn't | hang the system when booting, When booting from what? From the NVMe card via USB C? | but it also won't enumerate the drive What do you mean "enumerate"? What do you meant by "it"? | > | > - reliably powering an NVMe drive, connected via USB C. | > What are its specified power requirements? You didn't answer this question. | > What can the ports provide? | > USB C is a mess: one connector, several standards and options | > within those standards, especially with respect to power. | > | | I may have to get a type-c 3.1 rated cable to go much further. It was all | working fine at one point before the power outage. I doubt that the cable is a problem. But I guess that there's a chance. | I am updating the kernel | regularly on Fedora 31 I think that that is a good idea but I think that it is unlikly to be the problem.

On Wed, Sep 23, 2020 at 2:27 PM D. Hugh Redelmeier via talk <talk@gtalug.org> wrote:
| From: Russell Reiter via talk <talk@gtalug.org>
| On Wed, Sep 23, 2020 at 9:40 AM D. Hugh Redelmeier via talk < talk@gtalug.org> | wrote:
| I've made some progress and then lost it again. I had to take a high def | photo of the writing on the cable to read that the cable is rated 3.0 and | my mb is only rated 3.0 but the peripheral card is usb 3.1. I think this is | why the mb connection hangs the system on usb 3.0, but the peripheral 3.1 | card does not. I'm not sure which iteration of usb provides "alternative" | bus capabilities, ie. video and up to 100w power.
You don't care about video. We don't know if you need larger power for the disk.
| The mb type-c 3.0 port reports overcurrent when the device is attached and | won't boot.
Reports to who? How? What do *you* observe
udevadm monitor --env will report overcurrent events. It counted seven of them at one point, at least it did until I reformatted to NTFS.
| On the adapter card the type is usb 3.1. and the device doesn't | hang the system when booting,
When booting from what? From the NVMe card via USB C?
Sorry, I'm booting from a 250gib WD nvme in the primary m.2 slot on the motherboard.
| but it also won't enumerate the drive
What do you mean "enumerate"? What do you meant by "it"?
I meant to say that the system wouldn't hang when plugged in but udevadm at one point was endlessly binding and unbinding the device pci nodes without transitioning to the usb mode alias.
| > | > - reliably powering an NVMe drive, connected via USB C. | > What are its specified power requirements?
You didn't answer this question.
Sorry I don't have the spec's on the device immediately available, but I'm going to look them up.
| > What can the ports provide? | > USB C is a mess: one connector, several standards and options | > within those standards, especially with respect to power. | > | | I may have to get a type-c 3.1 rated cable to go much further. It was all | working fine at one point before the power outage.
I doubt that the cable is a problem. But I guess that there's a chance.
| I am updating the kernel | regularly on Fedora 31
I think that that is a good idea but I think that it is unlikly to be the problem.
I'm going to reboot now, given that I was finally able to get the NTFS partition recognized on the PCI-e cards Type-c port. I don't necessarily hold much hope for consistency yet. I power off, unplug the power cable and press and hold the start button for a few seconds to see if I can dissipate any lingering bus voltage. I don't have a "manual" troubleshooting direction to do that, but things did start acting better when I started to do it. This was a practice I used to do diligently in the 90's, from before switched power supplies, but I never needed to do it much after 2000.
--- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
-- Russell

| From: Russell Reiter via talk <talk@gtalug.org> | I power off, unplug | the power cable and press and hold the start button for a few seconds to | see if I can dissipate any lingering bus voltage. I don't have a "manual" | troubleshooting direction to do that, but things did start acting better | when I started to do it. This was a practice I used to do diligently in the | 90's, from before switched power supplies, but I never needed to do it much | after 2000. At first I thought you meant "switching power supplies", but they were introduced much earlier. Now I'm guessing you mean power supplies that are switched on and off by the motherboard, rather than by a direct power supply switch. I guess that came in with the PS/2. (A lot of PC power supplies also have direct switches but those switches tend not to get used.) If you turn off a PS through the motherboard, there is still some power available. I infer it is used for - turning on the computer via a firmware timer (I often see this option in a firmware setup page but have never used it) - USB charging even when the computer is off - wake-on-thing (LAN, Keyboard, mouse, whaterver) - lights-out updates If you turn off the direct power supply switch, none of that will work. Unplugging the power supply from the wall should have the same effect. Anyway, your procedure should really reset things in a way that might not happen otherwise.
participants (3)
-
D. Hugh Redelmeier
-
lsorense@csclub.uwaterloo.ca
-
Russell Reiter