Hello,
I must be cursed, on a cluster of 3 identical servers I had a problem with the integrated network card on the motherboard. Cf https://forum.proxmox.com/threads/n...-a-new-installation.124839/page-2#post-547603
I no longer use the internal network card but 2 USB network cards on each server.
One card is dedicated for Ceph the other one for the cluster and the rest.
The dedicated card for Ceph works without problem, the one for the cluster cuts out after an hour or more.
in kern.log i have :
There is " usb 2-2: USB disconnect, device number 6"
I do an eno2 and ifup vmbr0 and the connection is ok again.
lsusb
IP link
IP a
/etc/network/interfaces
The problem is on the first device Bus 002 Device 008, after ifup eno2 the number device change 008 -> 009
I have the same problem on 2 servers (prox1 and prox3 but not on prox2.
It's the same installation with the last kernel
Linux prox3 6.2.11-1-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.11-1 (2023-04-20T09:59Z) x86_64 GNU/Linux
how to prevent the usb device from being disconnected?
Best regards.
Pat
I must be cursed, on a cluster of 3 identical servers I had a problem with the integrated network card on the motherboard. Cf https://forum.proxmox.com/threads/n...-a-new-installation.124839/page-2#post-547603
I no longer use the internal network card but 2 USB network cards on each server.
One card is dedicated for Ceph the other one for the cluster and the rest.
The dedicated card for Ceph works without problem, the one for the cluster cuts out after an hour or more.
in kern.log i have :
Code:
Apr 29 10:30:25 prox3 kernel: [ 8406.303062] ax88179_178a 2-2:1.0 eno2: renamed from eth0
Apr 29 18:02:09 prox3 kernel: [35510.793691] ax88179_178a 2-2:1.0 eno2: ax88179 - Link status is: 1
Apr 29 18:02:12 prox3 kernel: [35513.481709] ax88179_178a 2-2:1.0 eno2: ax88179 - Link status is: 1
Apr 29 18:02:12 prox3 kernel: [35513.489137] IPv6: ADDRCONF(NETDEV_CHANGE): eno2: link becomes ready
Apr 29 18:02:18 prox3 kernel: [35519.566751] vmbr0: the hash_elasticity option has been deprecated and is always 16
Apr 29 18:02:18 prox3 kernel: [35519.572699] vmbr0: port 1(eno2) entered blocking state
Apr 29 18:02:18 prox3 kernel: [35519.572720] vmbr0: port 1(eno2) entered disabled state
Apr 29 18:02:18 prox3 kernel: [35519.572791] device eno2 entered promiscuous mode
Apr 29 18:02:18 prox3 kernel: [35519.572837] vmbr0: port 1(eno2) entered blocking state
Apr 29 18:02:18 prox3 kernel: [35519.572841] vmbr0: port 1(eno2) entered forwarding state
Apr 29 18:20:11 prox3 kernel: [36592.346960] usb 2-2: USB disconnect, device number 6
Apr 29 18:20:11 prox3 kernel: [36592.347046] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Apr 29 18:20:11 prox3 kernel: [36592.347111] ax88179_178a 2-2:1.0 eno2: unregister 'ax88179_178a' usb-0000:00:14.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet
Apr 29 18:20:11 prox3 kernel: [36592.347135] ax88179_178a 2-2:1.0 eno2: Failed to read reg index 0x0002: -19
Apr 29 18:20:11 prox3 kernel: [36592.347141] ax88179_178a 2-2:1.0 eno2: Failed to write reg index 0x0002: -19
Apr 29 18:20:11 prox3 kernel: [36592.347178] vmbr0: port 1(eno2) entered disabled state
Apr 29 18:20:11 prox3 kernel: [36592.347657] device eno2 left promiscuous mode
Apr 29 18:20:11 prox3 kernel: [36592.347664] vmbr0: port 1(eno2) entered disabled state
Apr 29 18:20:11 prox3 kernel: [36592.382982] ax88179_178a 2-2:1.0 eno2 (unregistered): Failed to write reg index 0x0002: -19
Apr 29 18:20:11 prox3 kernel: [36592.382993] ax88179_178a 2-2:1.0 eno2 (unregistered): Failed to write reg index 0x0001: -19
Apr 29 18:20:11 prox3 kernel: [36592.383000] ax88179_178a 2-2:1.0 eno2 (unregistered): Failed to write reg index 0x0002: -19
Apr 29 18:20:11 prox3 kernel: [36592.655191] usb 2-2: new SuperSpeed USB device number 7 using xhci_hcd
Apr 29 18:20:11 prox3 kernel: [36592.679355] usb 2-2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
Apr 29 18:20:11 prox3 kernel: [36592.679363] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 29 18:20:11 prox3 kernel: [36592.679368] usb 2-2: Product: AX88179
Apr 29 18:20:11 prox3 kernel: [36592.679372] usb 2-2: Manufacturer: ASIX Elec. Corp.
Apr 29 18:20:11 prox3 kernel: [36592.679375] usb 2-2: SerialNumber: 007CC2C647B805
Apr 29 18:20:12 prox3 kernel: [36593.015560] ax88179_178a 2-2:1.0 eth0: register 'ax88179_178a' at usb-0000:00:14.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet, 7c:c2:c6:47:b8:05
Apr 29 18:20:12 prox3 kernel: [36593.020627] ax88179_178a 2-2:1.0 eno2: renamed from eth0
There is " usb 2-2: USB disconnect, device number 6"
I do an eno2 and ifup vmbr0 and the connection is ok again.
lsusb
Code:
Bus 002 Device 008: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 002: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
IP link
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:8e:b5:7c:12:40 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: eno3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 7c:c2:c6:43:61:16 brd ff:ff:ff:ff:ff:ff
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 7c:c2:c6:47:b8:05 brd ff:ff:ff:ff:ff:ff
9: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 7c:c2:c6:47:b8:05 brd ff:ff:ff:ff:ff:ff
IP a
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ec:8e:b5:7c:12:40 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: eno3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 7c:c2:c6:43:61:16 brd ff:ff:ff:ff:ff:ff
inet 192.168.60.13/24 scope global eno3
valid_lft forever preferred_lft forever
inet6 fe80::7ec2:c6ff:fe43:6116/64 scope link
valid_lft forever preferred_lft forever
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 7c:c2:c6:47:b8:05 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.13/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::7ec2:c6ff:fe47:b805/64 scope link
valid_lft forever preferred_lft forever
9: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 7c:c2:c6:47:b8:05 brd ff:ff:ff:ff:ff:ff
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
#eno3 dédié ceph
auto eno3
iface eno3 inet static
address 192.168.60.13/24
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.50.13/24
gateway 192.168.50.1
bridge-ports eno2
bridge-stp off
bridge-fd 0
I have the same problem on 2 servers (prox1 and prox3 but not on prox2.
It's the same installation with the last kernel
Linux prox3 6.2.11-1-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.11-1 (2023-04-20T09:59Z) x86_64 GNU/Linux
how to prevent the usb device from being disconnected?
Best regards.
Pat
Attachments
Last edited: