Booting to Dracut (I trusted ChatGPT)
-
Well, I've gotten myself into trouble using ChatGPT. I'm sure this will read like a horror novel for you. This started with my newer USB HDD enclosure. Things were working fine for a while, and then I started to see random disconnects. All the disks would drop from xcp-ng simultaneously after x mins/hours. Here is a dmesg from xcp-ng displaying what happened:
[09:58 xcp-ng-3 ~]# dmesg -T | grep -Ei "uas|reset|error|fail|disconnect" [Mon Nov 17 09:35:23 2025] nvme nvme0: failed to allocate host memory buffer. [Mon Nov 17 09:35:23 2025] GPT: Use GNU Parted to correct GPT errors. [Mon Nov 17 09:35:24 2025] GPT: Use GNU Parted to correct GPT errors. [Mon Nov 17 09:35:24 2025] scsi host1: uas [Mon Nov 17 09:35:24 2025] usbcore: registered new interface driver uas [Mon Nov 17 09:35:25 2025] scsi host2: uas [Mon Nov 17 09:35:25 2025] scsi host3: uas [Mon Nov 17 09:35:25 2025] scsi host4: uas [Mon Nov 17 09:35:25 2025] scsi host5: uas [Mon Nov 17 09:35:25 2025] scsi host6: uas [Mon Nov 17 09:36:22 2025] CIFS VFS: Error connecting to socket. Aborting operation. [Mon Nov 17 09:36:22 2025] CIFS VFS: cifs_mount failed w/return code = -113 [Mon Nov 17 09:36:31 2025] CIFS VFS: Error connecting to socket. Aborting operation. [Mon Nov 17 09:36:31 2025] CIFS VFS: cifs_mount failed w/return code = -113 [Mon Nov 17 10:05:23 2025] sd 2:0:0:0: [sdc] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#10 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD IN [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Mon Nov 17 10:05:54 2025] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [Mon Nov 17 10:06:39 2025] sd 2:0:0:0: [sdc] tag#11 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD [Mon Nov 17 10:06:39 2025] scsi host2: uas_eh_device_reset_handler start [Mon Nov 17 10:06:39 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Mon Nov 17 10:06:39 2025] scsi host2: uas_eh_device_reset_handler success [Mon Nov 17 10:06:39 2025] sd 2:0:0:0: [sdc] tag#11 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT [Mon Nov 17 10:12:41 2025] usb 1-2: reset full-speed USB device number 2 using xhci_hcd [Mon Nov 17 10:34:59 2025] sd 2:0:0:0: [sdc] tag#2 data cmplt err -71 uas-tag 3 inflight: CMD [Mon Nov 17 10:35:31 2025] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD [Mon Nov 17 10:35:31 2025] scsi host2: uas_eh_device_reset_handler start [Mon Nov 17 10:35:31 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Mon Nov 17 10:35:31 2025] scsi host2: uas_eh_device_reset_handler success [Mon Nov 17 10:36:29 2025] sd 2:0:0:0: [sdc] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Mon Nov 17 10:37:01 2025] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Mon Nov 17 10:37:01 2025] sd 2:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Mon Nov 17 10:37:01 2025] sd 2:0:0:0: [sdc] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Mon Nov 17 10:37:01 2025] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [Mon Nov 17 10:37:01 2025] scsi host2: uas_eh_device_reset_handler start [Mon Nov 17 10:37:01 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Mon Nov 17 10:37:01 2025] scsi host2: uas_eh_device_reset_handler success [Mon Nov 17 10:37:12 2025] sd 6:0:0:0: [sdg] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Mon Nov 17 10:37:44 2025] sd 6:0:0:0: [sdg] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Mon Nov 17 10:37:44 2025] sd 6:0:0:0: [sdg] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Mon Nov 17 10:37:44 2025] sd 6:0:0:0: [sdg] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Mon Nov 17 10:37:44 2025] sd 6:0:0:0: [sdg] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [Mon Nov 17 10:37:44 2025] scsi host6: uas_eh_device_reset_handler start [Mon Nov 17 10:37:44 2025] usb 4-1.4: reset SuperSpeedPlus Gen 2 USB device number 8 using xhci_hcd [Mon Nov 17 10:37:44 2025] scsi host6: uas_eh_device_reset_handler success [Mon Nov 17 12:06:18 2025] sd 3:0:0:0: [sdd] tag#2 data cmplt err -71 uas-tag 3 inflight: CMD [Mon Nov 17 12:06:49 2025] sd 3:0:0:0: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD [Mon Nov 17 12:06:49 2025] scsi host3: uas_eh_device_reset_handler start [Mon Nov 17 12:06:49 2025] usb 4-1.2: reset SuperSpeedPlus Gen 2 USB device number 5 using xhci_hcd [Mon Nov 17 12:06:49 2025] scsi host3: uas_eh_device_reset_handler success [Mon Nov 17 12:08:15 2025] sd 3:0:0:0: [sdd] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Mon Nov 17 12:08:48 2025] sd 3:0:0:0: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Mon Nov 17 12:08:48 2025] sd 3:0:0:0: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Mon Nov 17 12:08:48 2025] sd 3:0:0:0: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [Mon Nov 17 12:08:48 2025] scsi host3: uas_eh_device_reset_handler start [Mon Nov 17 12:08:48 2025] usb 4-1.2: reset SuperSpeedPlus Gen 2 USB device number 5 using xhci_hcd [Mon Nov 17 12:08:48 2025] scsi host3: uas_eh_device_reset_handler success [Wed Nov 19 03:05:32 2025] sd 2:0:0:0: [sdc] tag#6 data cmplt err -71 uas-tag 7 inflight: CMD [Wed Nov 19 03:06:04 2025] sd 2:0:0:0: [sdc] tag#9 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 03:06:04 2025] sd 2:0:0:0: [sdc] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT [Wed Nov 19 03:06:04 2025] sd 2:0:0:0: [sdc] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Wed Nov 19 03:06:04 2025] sd 2:0:0:0: [sdc] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT [Wed Nov 19 03:06:04 2025] sd 2:0:0:0: [sdc] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD [Wed Nov 19 03:06:04 2025] scsi host2: uas_eh_device_reset_handler start [Wed Nov 19 03:06:04 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Wed Nov 19 03:06:04 2025] scsi host2: uas_eh_device_reset_handler success [Wed Nov 19 03:07:20 2025] sd 2:0:0:0: [sdc] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT [Wed Nov 19 03:07:20 2025] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT [Wed Nov 19 03:07:20 2025] sd 2:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Wed Nov 19 03:07:20 2025] scsi host2: uas_eh_device_reset_handler start [Wed Nov 19 03:07:20 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Wed Nov 19 03:07:20 2025] scsi host2: uas_eh_device_reset_handler success [Wed Nov 19 03:14:01 2025] sd 2:0:0:0: [sdc] tag#1 data cmplt err -71 uas-tag 2 inflight: CMD [Wed Nov 19 03:14:34 2025] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT [Wed Nov 19 03:14:34 2025] sd 2:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT [Wed Nov 19 03:14:34 2025] sd 2:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Wed Nov 19 03:14:34 2025] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 03:14:34 2025] sd 2:0:0:0: [sdc] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD [Wed Nov 19 03:14:34 2025] scsi host2: uas_eh_device_reset_handler start [Wed Nov 19 03:14:34 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Wed Nov 19 03:14:34 2025] scsi host2: uas_eh_device_reset_handler success [Wed Nov 19 03:14:58 2025] sd 2:0:0:0: [sdc] tag#11 data cmplt err -71 uas-tag 12 inflight: CMD [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#15 uas_eh_abort_handler 0 uas-tag 16 inflight: CMD OUT [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#14 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD OUT [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#13 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#12 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT [Wed Nov 19 03:15:29 2025] sd 2:0:0:0: [sdc] tag#11 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD [Wed Nov 19 03:15:29 2025] scsi host2: uas_eh_device_reset_handler start [Wed Nov 19 03:15:29 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Wed Nov 19 03:15:29 2025] scsi host2: uas_eh_device_reset_handler success [Wed Nov 19 03:20:30 2025] sd 2:0:0:0: [sdc] tag#1 data cmplt err -71 uas-tag 2 inflight: CMD [Wed Nov 19 03:21:01 2025] sd 2:0:0:0: [sdc] tag#15 uas_eh_abort_handler 0 uas-tag 16 inflight: CMD OUT [Wed Nov 19 03:21:01 2025] sd 2:0:0:0: [sdc] tag#14 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD OUT [Wed Nov 19 03:21:01 2025] sd 2:0:0:0: [sdc] tag#13 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT [Wed Nov 19 03:21:01 2025] sd 2:0:0:0: [sdc] tag#12 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT [Wed Nov 19 03:21:01 2025] sd 2:0:0:0: [sdc] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD [Wed Nov 19 03:21:01 2025] scsi host2: uas_eh_device_reset_handler start [Wed Nov 19 03:21:01 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Wed Nov 19 03:21:01 2025] scsi host2: uas_eh_device_reset_handler success [Wed Nov 19 03:26:43 2025] sd 2:0:0:0: [sdc] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Wed Nov 19 03:27:14 2025] sd 2:0:0:0: [sdc] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#14 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD IN [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#13 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD IN [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#12 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD IN [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#11 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD IN [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#10 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD IN [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD IN [Wed Nov 19 03:27:17 2025] sd 2:0:0:0: [sdc] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD IN [Wed Nov 19 03:27:38 2025] sd 2:0:0:0: [sdc] tag#18 uas_eh_abort_handler 0 uas-tag 19 inflight: CMD IN [Wed Nov 19 03:27:38 2025] sd 2:0:0:0: [sdc] tag#17 uas_eh_abort_handler 0 uas-tag 18 inflight: CMD IN [Wed Nov 19 03:27:38 2025] sd 2:0:0:0: [sdc] tag#16 uas_eh_abort_handler 0 uas-tag 17 inflight: CMD IN [Wed Nov 19 03:27:38 2025] sd 2:0:0:0: [sdc] tag#15 uas_eh_abort_handler 0 uas-tag 16 inflight: CMD IN [Wed Nov 19 03:27:38 2025] scsi host2: uas_eh_device_reset_handler start [Wed Nov 19 03:27:38 2025] usb 4-1.1: reset SuperSpeedPlus Gen 2 USB device number 4 using xhci_hcd [Wed Nov 19 03:27:38 2025] scsi host2: uas_eh_device_reset_handler success [Wed Nov 19 04:01:27 2025] sd 3:0:0:0: [sdd] tag#1 data cmplt err -71 uas-tag 2 inflight: CMD [Wed Nov 19 04:01:58 2025] sd 3:0:0:0: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 04:01:58 2025] sd 3:0:0:0: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD [Wed Nov 19 04:01:58 2025] scsi host3: uas_eh_device_reset_handler start [Wed Nov 19 04:01:58 2025] usb 4-1.2: reset SuperSpeedPlus Gen 2 USB device number 5 using xhci_hcd [Wed Nov 19 04:01:58 2025] scsi host3: uas_eh_device_reset_handler success [Wed Nov 19 04:02:49 2025] sd 3:0:0:0: [sdd] tag#1 data cmplt err -71 uas-tag 2 inflight: CMD [Wed Nov 19 04:03:20 2025] sd 3:0:0:0: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 04:03:20 2025] sd 3:0:0:0: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD [Wed Nov 19 04:03:20 2025] scsi host3: uas_eh_device_reset_handler start [Wed Nov 19 04:03:20 2025] usb 4-1.2: reset SuperSpeedPlus Gen 2 USB device number 5 using xhci_hcd [Wed Nov 19 04:03:20 2025] scsi host3: uas_eh_device_reset_handler success [Wed Nov 19 04:04:31 2025] sd 3:0:0:0: [sdd] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Wed Nov 19 04:05:03 2025] sd 3:0:0:0: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [Wed Nov 19 04:05:03 2025] sd 3:0:0:0: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT [Wed Nov 19 04:05:03 2025] sd 3:0:0:0: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [Wed Nov 19 04:05:03 2025] scsi host3: uas_eh_device_reset_handler start [Wed Nov 19 04:05:03 2025] usb 4-1.2: reset SuperSpeedPlus Gen 2 USB device number 5 using xhci_hcd [Wed Nov 19 04:05:03 2025] scsi host3: uas_eh_device_reset_handler success [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD [Wed Nov 19 04:09:18 2025] usb 4-1.1: USB disconnect, device number 4 [Wed Nov 19 04:09:18 2025] sd 2:0:0:0: [sdc] tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD [Wed Nov 19 04:09:18 2025] sd 2:0:0:0: [sdc] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD [Wed Nov 19 04:09:18 2025] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] print_req_error: I/O error, dev sdc, sector 3173539592 [Wed Nov 19 04:09:18 2025] sd 2:0:0:0: [sdc] tag#4 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] print_req_error: I/O error, dev sdc, sector 3173539512 [Wed Nov 19 04:09:18 2025] sd 2:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] usb 4-1.2: USB disconnect, device number 5 [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] print_req_error: I/O error, dev sdd, sector 981465279 [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#1 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] print_req_error: I/O error, dev sdd, sector 981465895 [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] tag#2 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] print_req_error: I/O error, dev sdd, sector 981466599 [Wed Nov 19 04:09:18 2025] sd 3:0:0:0: [sdd] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK [Wed Nov 19 04:09:18 2025] usb 4-1.3: USB disconnect, device number 7 [Wed Nov 19 04:09:18 2025] usb 4-1.4: USB disconnect, device number 8 [Wed Nov 19 04:09:19 2025] sd 6:0:0:0: [sdg] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK [Wed Nov 19 04:09:19 2025] usb 4-1: reset SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd [Wed Nov 19 04:09:20 2025] scsi host7: uas [Wed Nov 19 04:09:20 2025] scsi host8: uas [Wed Nov 19 04:09:20 2025] scsi host9: uas [Wed Nov 19 04:09:20 2025] scsi host10: uasSo my first steps were to disconnect other disks, install updates, and reboot. I left it like that for about 48 hours and then the disks disconnected again.
ChatGPT then had me make a quirk entry in XCP-ng disabling UAS
nano /etc/modprobe.d/disable_uas.confoptions usb-storage quirks=174c:55aa:udracut -f
Reboot xcp-ng[13:19 xcp-ng-3 ~]# dmesg | grep -i uas [ 2.307857] scsi host1: uas [ 2.307940] usbcore: registered new interface driver uas [ 3.989685] scsi host2: uas [ 4.538192] scsi host3: uas [ 4.657229] scsi host4: uas [ 4.769897] scsi host5: uas [ 4.885542] scsi host6: uas [13:19 xcp-ng-3 ~]# dmesg | grep -Ei "usb|storage" [ 0.822881] ACPI: bus type USB registered [ 0.822881] usbcore: registered new interface driver usbfs [ 0.822883] usbcore: registered new interface driver hub [ 0.822907] usbcore: registered new device driver usb [ 1.666549] xhci_hcd 0000:04:00.3: new USB bus registered, assigned bus number 1 [ 1.667073] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 1.667075] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.667076] usb usb1: Product: xHCI Host Controller [ 1.667077] usb usb1: Manufacturer: Linux 4.19.0+1 xhci-hcd [ 1.667078] usb usb1: SerialNumber: 0000:04:00.3 [ 1.667159] hub 1-0:1.0: USB hub found [ 1.667385] xhci_hcd 0000:04:00.3: new USB bus registered, assigned bus number 2 [ 1.667387] xhci_hcd 0000:04:00.3: Host supports USB 3.10 Enhanced SuperSpeed [ 1.667403] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.667427] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [ 1.667428] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.667429] usb usb2: Product: xHCI Host Controller [ 1.667430] usb usb2: Manufacturer: Linux 4.19.0+1 xhci-hcd [ 1.667431] usb usb2: SerialNumber: 0000:04:00.3 [ 1.667516] hub 2-0:1.0: USB hub found [ 1.667877] xhci_hcd 0000:04:00.4: new USB bus registered, assigned bus number 3 [ 1.668369] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 1.668370] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.668370] usb usb3: Product: xHCI Host Controller [ 1.668371] usb usb3: Manufacturer: Linux 4.19.0+1 xhci-hcd [ 1.668372] usb usb3: SerialNumber: 0000:04:00.4 [ 1.668427] hub 3-0:1.0: USB hub found [ 1.668609] xhci_hcd 0000:04:00.4: new USB bus registered, assigned bus number 4 [ 1.668612] xhci_hcd 0000:04:00.4: Host supports USB 3.10 Enhanced SuperSpeed [ 1.668644] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.668669] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [ 1.668670] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.668671] usb usb4: Product: xHCI Host Controller [ 1.668672] usb usb4: Manufacturer: Linux 4.19.0+1 xhci-hcd [ 1.668673] usb usb4: SerialNumber: 0000:04:00.4 [ 1.668781] hub 4-0:1.0: USB hub found [ 1.998932] usb 1-2: new full-speed USB device number 2 using xhci_hcd [ 1.998936] usb 3-2: new high-speed USB device number 2 using xhci_hcd [ 2.152287] usb 3-2: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 7.04 [ 2.152291] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.152293] usb 3-2: Product: USB2.0 Hub [ 2.152295] usb 3-2: Manufacturer: VIA Labs, Inc. [ 2.152296] usb 3-2: SerialNumber: 000000001 [ 2.172438] usb 1-2: New USB device found, idVendor=0764, idProduct=0501, bcdDevice= 2.00 [ 2.172442] usb 1-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 2.172443] usb 1-2: Product: ABMT1500 [ 2.172445] usb 1-2: Manufacturer: CPS [ 2.172446] usb 1-2: SerialNumber: FCEMU2000539 [ 2.197744] usbcore: registered new interface driver usbhid [ 2.197745] usbhid: USB HID core driver [ 2.200290] hid-generic 0003:0764:0501.0001: hiddev96,hidraw0: USB HID v1.10 Device [CPS ABMT1500] on usb-0000:04:00.3-2/input0 [ 2.213064] hub 3-2:1.0: USB hub found [ 2.278937] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 2.299468] usb 2-1: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00 [ 2.299470] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.299471] usb 2-1: Product: SanDisk 3.2Gen1 [ 2.299472] usb 2-1: Manufacturer: USB [ 2.299472] usb 2-1: SerialNumber: 03050119061825030101 [ 2.304099] usbcore: registered new interface driver usb-storage [ 2.307940] usbcore: registered new interface driver uas [ 2.308321] usb 4-2: new SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd [ 2.309318] scsi 1:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 7 [ 2.742973] usb 4-2: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 7.04 [ 2.742975] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.742976] usb 4-2: Product: USB3.1 Hub [ 2.742977] usb 4-2: Manufacturer: VIA Labs, Inc. [ 2.742978] usb 4-2: SerialNumber: 000000001 [ 2.772856] hub 4-2:1.0: USB hub found [ 2.866841] usb 3-3: new full-speed USB device number 3 using xhci_hcd [ 3.042673] usb 3-3: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01 [ 3.042677] usb 3-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.343380] usb 3-2.3: new high-speed USB device number 4 using xhci_hcd [ 3.499069] usb 3-2.3: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 8.b3 [ 3.499073] usb 3-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.499076] usb 3-2.3: Product: USB2.0 Hub [ 3.499078] usb 3-2.3: Manufacturer: VIA Labs, Inc. [ 3.556951] hub 3-2.3:1.0: USB hub found [ 3.588683] usb 4-2.3: new SuperSpeedPlus Gen 2 USB device number 3 using xhci_hcd [ 3.756958] usb 4-2.3: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 8.b3 [ 3.756960] usb 4-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.756961] usb 4-2.3: Product: USB3.1 Hub [ 3.756961] usb 4-2.3: Manufacturer: VIA Labs, Inc. [ 3.780931] hub 4-2.3:1.0: USB hub found [ 3.962994] usb 4-2.4: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd [ 3.987919] usb 4-2.4: New USB device found, idVendor=0bc2, idProduct=331a, bcdDevice= 9.11 [ 3.987923] usb 4-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.987926] usb 4-2.4: Product: Expansion Desk [ 3.987928] usb 4-2.4: Manufacturer: Seagate [ 3.987930] usb 4-2.4: SerialNumber: NAAA33R1 [ 4.327289] usb 3-2.3.5: new high-speed USB device number 5 using xhci_hcd [ 4.430265] usb 3-2.3.5: New USB device found, idVendor=2109, idProduct=8822, bcdDevice= 0.01 [ 4.430269] usb 3-2.3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4.430271] usb 3-2.3.5: Product: USB Billboard Device [ 4.430272] usb 3-2.3.5: Manufacturer: VIA Labs, Inc. [ 4.430274] usb 3-2.3.5: SerialNumber: 0000000000000001 [ 4.510914] usb 4-2.3.1: new SuperSpeedPlus Gen 2 USB device number 5 using xhci_hcd [ 4.536008] usb 4-2.3.1: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00 [ 4.536014] usb 4-2.3.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 4.536017] usb 4-2.3.1: Product: ASM235CM [ 4.536021] usb 4-2.3.1: Manufacturer: ASMedia [ 4.536023] usb 4-2.3.1: SerialNumber: AAAABBBB0002 [ 4.626914] usb 4-2.3.2: new SuperSpeedPlus Gen 2 USB device number 6 using xhci_hcd [ 4.651614] usb 4-2.3.2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00 [ 4.651615] usb 4-2.3.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 4.651616] usb 4-2.3.2: Product: ASM235CM [ 4.651617] usb 4-2.3.2: Manufacturer: ASMedia [ 4.651618] usb 4-2.3.2: SerialNumber: AAAABBBB0002 [ 4.743229] usb 4-2.3.3: new SuperSpeedPlus Gen 2 USB device number 7 using xhci_hcd [ 4.763405] usb 4-2.3.3: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00 [ 4.763407] usb 4-2.3.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 4.763408] usb 4-2.3.3: Product: ASM235CM [ 4.763409] usb 4-2.3.3: Manufacturer: ASMedia [ 4.763409] usb 4-2.3.3: SerialNumber: AAAABBBB0002 [ 4.858858] usb 4-2.3.4: new SuperSpeedPlus Gen 2 USB device number 8 using xhci_hcd [ 4.883456] usb 4-2.3.4: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00 [ 4.883457] usb 4-2.3.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 4.883458] usb 4-2.3.4: Product: ASM235CM [ 4.883459] usb 4-2.3.4: Manufacturer: ASMedia [ 4.883460] usb 4-2.3.4: SerialNumber: AAAABBBB0002 [ 77.523054] usb 1-2: reset full-speed USB device number 2 using xhci_hcdChatGPT then told me:
- On XCP-ng (CentOS-based, older kernel), this syntax is not enough:
- It will only apply if usb-storage loads before uas, and on your system uas loads earlier, so the quirk is ignored.
- We need to explicitly force usb-storage to claim the device before uas is even allowed to load.
nano /etc/modprobe.d/blacklist_uas_174c_55aa.conf
blocklist uasdracut -f
reboot hostThis again did nothing.
ChatGPT then said:
- Correct Fix for XCP-ng: Update the bootloader's initrd
[13:36 xcp-ng-3 ~]# cat /boot/efi/EFI/xenserver/grub.cfg | grep initrd module2 /boot/initrd-4.19-xen.img module2 /boot/initrd-4.19-xen.img module2 /boot/initrd-4.19-xen.img module2 /boot/initrd-fallback.img module2 /boot/initrd-fallback.imgand then:
dracut -f /boot/initrd-4.19-xen.img 4.19-xenAfter this, upon reboot I was booting to a dracut command prompt. The issue here was that apparently USB had been fully disabled, so my keyboard is fully disabled.
I probably should have posted on here then, but I didn't. At ChatGPT's suggested, I booted the device with the install media and ran shell. After a bit of work, here's what we did that seemed to be working:
mkdir -p /mnt/root mount /dev/md127p1 /mnt/root mount /dev/md127p4 /mnt/root/boot/efi mount --bind /proc /mnt/root/proc mount --bind /sys /mnt/root/sys mount --bind /dev /mnt/root/dev chroot /mnt/rootFrom chroot, I used the following to remove any offending modprobe.d files
ls -l /etc/modprobe.dFollowed by
dracut --regenerate-all --forceI then umounted everything, exited chroot, and rebooted.
After a reboot the issue persisted. So we tried dracut with the verbose flag (NOTE: this is OCR from a photo, so there are typos and weirdness):
sh-4.2# dracut -force -verbose /boot/initranfs-S(uname -r).img $(uname -r) Executing: /usr/sbin/dracut -force -verbose /boot/initramfs-4.19.0+1.ing 4.19.0+1 dracut module 'btris' will not be installed, because connand 'btrfs' could not be foundf dracut module 'dmraid' will not be installed, because command 'dnraid' could not be foundf dracut module 'ansquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be foundf dracut module 'nultipath' will not be installed, because it's in the list to be onitted! dracut module 'fcoe-uefi' will not be installed, because it's in the list to be onittedt dracut module 'btris' will not be installed, because command 'btrfs' could not be found! dracut module 'dnraid' will not be installed, because command 'dmraid' could not be found! dracut module 'dnsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found! *** Including module: bash #nw *** Including wodule: nss-softokn *n* *** Including module: 118n *** w Including modulc: network NwN *** Including module: xsnctwork *** *** Including nodule: ifcfg *w* ** Including module: drm NNN M Including modulc: plynouth *** *** Including module: kernel-nodules *** .*** Including nodule: ndraid NNM :Skipping udeu rule: 64-nd-raid.rules N Including modulc: scsi-dh *w* NN Including module: rootfs-block *** *** Including module: terminfo *** *** Including module: udcu-rules *n* Skipping udeu rulc: 40-redhat-cpu-hotplug.rules :Skipping udeu rule: 91-permissions.rules N* Including module: biosdcuname *** Skipping udev rule: 71-biosdeunane.rules *** Including modulc: systend *** ** Including module: usrmount *** *** Including module: basc *** *M* Including module: fs-1ib *** *** Including module: shutdown # ** *** Including nodules done *** *** Installing kernel nodule dependencies and firmware *nw ** Installing kernel nodule dependencies and firmware done *** *** Resoluing exccutable dependencies *** . *** Resolving executable dependencies donewww *** Hardlinking files *** *** Hardlinking files done *** *** Stripping files *** w* Stripping files donc *** *** Generating early-microcode cpio image contents ** # . *** Constructing AuthenticAMD,bin **** . *** Store current conmand line paraneters *** ** Creating image file # ** . *N* Creating nicrocode section *** . *** Created microcode section www *** Creating image file done # ** ** Creating initramfs image file '/boot/initramfs-4.19.0+1.ing' done #w*ChatGPT's solutions are escalating, and getting downright dangerous at this point. It would be great to have a (preferably sympathetic) human help me out.
So my issue is still that:
- I boot to Dracut with a disabled keyboard
- I can boot install media to shell, but something isn't working right
Other things that I didn't mention yet that may or may not be relevent:
- the enclosure is connected with a USB-C cable to a USB-C input
- the enclosure hosts 4 disks
- Other disks/enclosures were not experiencing the disconnect issue
- The enclosure was actually working fine until a few days after I troubleshot/resolved an issue with one disk having slow transfer speeds. I switched the enclosure from USB-A to USB-C and also disabled spindown for the affected disk in the enclosure. Disabling spindown was done at the VM level, so I didn't mention it above.
-
@nuentes Hello,
Following an IA seem to be dangerous already, no need for Skynet

There is a documentation part about regenerating the initrd: https://docs.xcp-ng.org/troubleshooting/common-problems/#initrd-is-missing-after-an-update
You can likely used what you did above to mount the XCP-ng FS and then regenerate the initrd using this command.
It's not an initramfs that you need to generate but a initrd
-
@dthenot Thanks for getting back to me.
Yes, it seems we still have time to prepare for the robot uprising
I did boot from the initrd fallback before, and ChatGPT walked me through hosing that one as well.
I ran the command from that doc as verbose.

I ran the exact command a 2nd time as:
dracut -f --verbose /boot/initrd-4.19-xen.img 4.19-xenNo change. Boot to dracut with the keyboard not working. I've tried multiple kernels.