Hi there,
i just upgraded last night to Proxmox 6.0, since then i have random disconnects for my USB-attached drives. I currently have 3 HDDs connected via XHCI which worked flawlessly on Proxmox 5.x. After the upgrade i.e. the disc with the name /dev/sda gets disconnected after a short period of time (1-2 hours) and immediately reconnected but with a new name like /dev/sdf. This happens to all the drives attached via USB.
The dmesg outputs something like this:
[Tue Oct 29 08:20:52 2019] usb 2-2: USB disconnect, device number 2
[Tue Oct 29 08:20:52 2019] print_req_error: I/O error, dev sda, sector 0 flags 801
[Tue Oct 29 08:20:52 2019] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[Tue Oct 29 08:20:52 2019] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[Tue Oct 29 08:20:52 2019] usb 2-2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Tue Oct 29 08:20:52 2019] usb 2-2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[Tue Oct 29 08:20:52 2019] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[Tue Oct 29 08:20:52 2019] usb 2-2: Product: USB 3.0 device
[Tue Oct 29 08:20:52 2019] usb 2-2: Manufacturer: Intenso
[Tue Oct 29 08:20:52 2019] usb 2-2: SerialNumber: 90900000000000003214
[Tue Oct 29 08:20:52 2019] scsi host5: uas
[Tue Oct 29 08:20:52 2019] scsi 5:0:0:0: Direct-Access Intenso USB 3.0 device 0 PQ: 0 ANSI: 6
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: Attached scsi generic sg0 type 0
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] 1220942646 4096-byte logical blocks: (5.00 TB/4.55 TiB)
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Write Protect is off
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Mode Sense: 43 00 00 00
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Optimal transfer size 268431360 bytes
[Tue Oct 29 08:20:55 2019] EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pvestatd: reading directory lblock 0
[Tue Oct 29 08:20:55 2019] EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pvestatd: reading directory lblock 0
[Tue Oct 29 08:20:55 2019] EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pvestatd: reading directory lblock 0
[Tue Oct 29 08:21:01 2019] sdf: sdf1
[Tue Oct 29 08:21:01 2019] sd 5:0:0:0: [sdf] Attached SCSI disk
I switched back to Proxmox 5.4, and now the system is running smoothly. I would suspect that something has changed in kernel 5.x.x that causes this issue.
Any ideas where to start?
i just upgraded last night to Proxmox 6.0, since then i have random disconnects for my USB-attached drives. I currently have 3 HDDs connected via XHCI which worked flawlessly on Proxmox 5.x. After the upgrade i.e. the disc with the name /dev/sda gets disconnected after a short period of time (1-2 hours) and immediately reconnected but with a new name like /dev/sdf. This happens to all the drives attached via USB.
The dmesg outputs something like this:
[Tue Oct 29 08:20:52 2019] usb 2-2: USB disconnect, device number 2
[Tue Oct 29 08:20:52 2019] print_req_error: I/O error, dev sda, sector 0 flags 801
[Tue Oct 29 08:20:52 2019] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[Tue Oct 29 08:20:52 2019] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[Tue Oct 29 08:20:52 2019] usb 2-2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Tue Oct 29 08:20:52 2019] usb 2-2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[Tue Oct 29 08:20:52 2019] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[Tue Oct 29 08:20:52 2019] usb 2-2: Product: USB 3.0 device
[Tue Oct 29 08:20:52 2019] usb 2-2: Manufacturer: Intenso
[Tue Oct 29 08:20:52 2019] usb 2-2: SerialNumber: 90900000000000003214
[Tue Oct 29 08:20:52 2019] scsi host5: uas
[Tue Oct 29 08:20:52 2019] scsi 5:0:0:0: Direct-Access Intenso USB 3.0 device 0 PQ: 0 ANSI: 6
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: Attached scsi generic sg0 type 0
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] 1220942646 4096-byte logical blocks: (5.00 TB/4.55 TiB)
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Write Protect is off
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Mode Sense: 43 00 00 00
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Tue Oct 29 08:20:52 2019] sd 5:0:0:0: [sdf] Optimal transfer size 268431360 bytes
[Tue Oct 29 08:20:55 2019] EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pvestatd: reading directory lblock 0
[Tue Oct 29 08:20:55 2019] EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pvestatd: reading directory lblock 0
[Tue Oct 29 08:20:55 2019] EXT4-fs error (device sda1): ext4_find_entry:1455: inode #2: comm pvestatd: reading directory lblock 0
[Tue Oct 29 08:21:01 2019] sdf: sdf1
[Tue Oct 29 08:21:01 2019] sd 5:0:0:0: [sdf] Attached SCSI disk
I switched back to Proxmox 5.4, and now the system is running smoothly. I would suspect that something has changed in kernel 5.x.x that causes this issue.
Any ideas where to start?