Closed varunnangia closed 2 weeks ago
I have not seen this issue normally. BUT!! I have recently redone my nas and did a clean install of the 7.1.1 update 2.. And I did at one point reboot and I had to manually start the package..
I will will check next time I reboot. Thanks for the possible work around if am also seeing this problem. I don't use dhcp on that interface though. But when I started it it did come up with my static settings and everything worked.
Well I finally got around to shutting down the nas to put in my little velco strips to try and help with the new noisier drives - not sure if it helped any. But anyway upon restart the bb-qq drivers started up on their own.
I have not seen this issue normally. BUT!! I have recently redone my nas and did a clean install of the 7.1.1 update 2.. And I did at one point reboot and I had to manually start the package..
I will will check next time I reboot. Thanks for the possible work around if am also seeing this problem. I don't use dhcp on that interface though. But when I started it it did come up with my static settings and everything worked.
Sorry, I'm not sure what your specific environment is, but I have continued to experience this issue at every boot-up. The workaround continues to function, so I'm not fussed about it, but because I'm short on ports on my home network at the moment (waiting for a switch to come back in stock), I don't have the option of keeping a second cable plugged in for troubleshooting.
My setup is a ds918+ same dsm 7.1.1 u2, but using club 3d usb.. Static IP set, and other end is plugged into pc also using another CAC-1420 usb nic.
Running the latest 2.16.3-2 bb-qq.. I rarely reboot my nas.. Other then when update the dsm software. Recently I did an redo of it with bigger drives. I did notice having to run the driver at one point in the process. But when I just recently shut it down to add some velco strips to try and reduce the noise of the drives. When I rebooted it everything came up fine. I will for sure keep an eye on it next time I reboot.
Could you paste /var/packages/r8152/var/log/start-stop-status.log
here?
Just ran into the same issue. I've updated my DS920+ about 7 days ago; today i had to perform a manually triggered reboot.
After rebooting, the package was in "manually stopped" state and missing its configuration for the USB network interface.
@bb-qq - these are my start-stop-status.log
logs for the time windows ~1h before reboot & ~1h after reboot:
Sat Nov 12 10:57:13 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 10:57:19 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 10:57:55 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 11:57:10 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
+ echo ----------
----------
+ date
Sat Nov 12 11:57:10 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 11:57:17 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 11:58:19 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 12:10:04 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 12:10:04 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152 220725 0
usbcore 200524 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 12:10:35 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo stop
stop
+ case $1 in
+ set_interfaces down
+ action=down
+ target_interface_name=
++ ls /sys/class/net
+ all_interface_names='docker-3cc7c784
docker-5a7406fa
docker-5ee507e5
docker-5f03afaf
docker-717b63b5
docker-8efca582
docker-f086df65
docker0
docker7d4ac17
docker81ccb44
docker8a9eaa3
docker903390a
dockeraefc610
dockerb4507dd
dockerc115171
dockerc2d42ab
dockerd1c20d3
dockerda93a2e
dockere6be66d
dockerfb61707
eth0
eth1
eth2
lo
ovs-system
ovs_bond0
sit0
syno_ovs_bonds'
+ '[' -n ']'
+ '[' '!' -e /sys/class/net/ ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-3cc7c784/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-5a7406fa/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-5ee507e5/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-5f03afaf/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-717b63b5/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-8efca582/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-f086df65/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker0/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker7d4ac17/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker81ccb44/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker8a9eaa3/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker903390a/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockeraefc610/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerb4507dd/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerc115171/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerc2d42ab/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerd1c20d3/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerda93a2e/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockere6be66d/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerfb61707/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/eth0/device/driver ']'
++ ls -ld /sys/class/net/eth0/device/driver
+ driver_location='lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168'
++ echo 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168'
++ grep r8152
+ '[' '!' -z '' ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/eth1/device/driver ']'
++ ls -ld /sys/class/net/eth1/device/driver
+ driver_location='lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168'
++ echo 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168'
++ grep r8152
+ '[' '!' -z '' ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/eth2/device/driver ']'
++ ls -ld /sys/class/net/eth2/device/driver
+ driver_location='lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152'
++ echo 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152'
++ grep r8152
+ '[' '!' -z 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']'
+ config_file=/etc/sysconfig/network-scripts/ifcfg-eth2
+ config_storage_location=/var/packages/r8152/etc/ifcfg-eth2
+ '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']'
+ '[' down = up ']'
+ ifconfig eth2 down
+ set_ovs_interface eth2 down
+ interface_name=eth2
+ action=down
+ config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2
+ config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2
+ is_ovs_enable
+ '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']'
++ cat /usr/syno/etc/synoovs/ovs_reg.conf
++ wc -l
+ use=1
+ '[' 0 -eq 1 ']'
+ return 0
+ '[' -f /etc/sysconfig/network-scripts/ifcfg-ovs_eth2 ']'
+ '[' down = down ']'
+ cp /etc/sysconfig/network-scripts/ifcfg-ovs_eth2 /var/packages/r8152/etc/ifcfg-ovs_eth2
+ '[' down = up ']'
+ ifconfig ovs_eth2
+ '[' down = up ']'
+ '[' down = up ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/lo/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/ovs-system/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/ovs_bond0/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/sit0/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/syno_ovs_bonds/device/driver ']'
+ continue
+ /sbin/rmmod /volume1/@appstore/r8152/r8152/r8152.ko
+ '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']'
+ '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']'
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 13:37:36 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
+ exit 3
Could you paste
/var/packages/r8152/var/log/start-stop-status.log
here?
Certainly. Would you like me to disable the workaround or keep it when sharing the file?
Please accept my apologies for the delayed response, @bb-qq — I'm not getting notifications of replies to this thread.
Yes, I wanted a log of when the problem was occurring. If you are still experiencing the same problem with the latest release, please provide the log. https://github.com/bb-qq/r8152/releases/tag/2.16.3-3
I use this :
synosystemctl restart pkgctl-r8152
synonet --dhcp eth1
@bb-qq @varunnangia
Stil have the issue on my DS215+ with the latest driver. After a reboot the driver is stopped.
I have the same issue with DS920+ with driver 2.16.3-3 (geminilake). After reboot (because of firmware update) the USB network port will not start automatically, status is stopped
Description of products: Synology DS920+ with DSM 7.1.1-42962 Update 3 Plugable 2.5G ULT-WIIQ (https://www.amazon.de/gp/product/B09GBFZ9DZ/), connected to front port
I have the same issue with DS920+ with driver 2.16.3-3 (geminilake). After reboot (because of firmware update) the USB network port will not start automatically, status is stopped
Description of products:
Synology DS920+ with DSM 7.1.1-42962 Update 3
Plugable 2.5G ULT-WIIQ (https://www.amazon.de/gp/product/B09GBFZ9DZ/), connected to front port
This is not a from the brand Plugable ...
I have the same issue with DS920+ with driver 2.16.3-3 (geminilake). After reboot (because of firmware update) the USB network port will not start automatically, status is stopped Description of products: Synology DS920+ with DSM 7.1.1-42962 Update 3 Plugable 2.5G ULT-WIIQ (https://www.amazon.de/gp/product/B09GBFZ9DZ/), connected to front port
This is not a from the brand Plugable ...
I have the same issue like mentioned in the thread description. The problem is the driver, not the plug
The funny thing is that after the first restart it failed to load the driver automatically. Then I fixed it and now it works fine.
I can confirm that the driver (or service) didn't start after reboot just once, the very first time after installation. The second time it did start automatically.
Hello, I've got, I think, the same problem. This morning, I connected my USB3<->Ethernet 2,5G adaptater on a 2,5G switch. I just check if it was truly connected in 2,5G mode, and I don't see the ETH3 interface on my DS920+. The driver's package was stopped. I had to start it mannually. I recall installing the DSM 7.1.1-42962 Update 4 two days ago, and then the NAS had to reboot I think.
Another thing I noticed is that status of DHCP6 isn't saved : I deactivated IPV6, and after starting the driver, there is an IPv6 : I had to activate fully IPv6, and then deactivated it again to have no more the IPv6 :
What's the best way to ensure the driver is loaded every time ?
synosystemctl restart pkgctl-r8152
Add, is there a way to save the settings and keep it after a restart of the driver's service ?
Well I finally got around to shutting down the nas to put in my little velco strips to try and help with the new noisier drives - not sure if it helped any. But anyway upon restart the bb-qq drivers started up on their own.
I have a DS720+ and my driver package only fails to start when I complete a DSM upgrade. I created a service task to disable/enable the package on boot, so we have to wait until the next DSM Update to see if this works.
If it did not work, I might be able to investigate if you could paste the contents of /var/packages/r8152/var/log/start-stop-status.log
here.
Is anyone else encountering this problem with 2.16.3-4 or later versions? I added a small improvement to this version.
I had this happen on my first installation of 2.17.1-1 with my DS418play and a Plugable USBC-E2500.
On the first restart after installation, the driver didn't start, and I had to start it manually via Package Center.
After that, it's been working fine after 2 more restarts and one full shutdown/start.
/var/packages/r8152/var/log/start-stop-status.log
It is a necessary step to start manually from the Package Center. I added this point to the documentation.
I would like to close this issue as the initial problem seems to have been resolved.
Description of problem Under DSM 7.1.1-42962 Update 2, driver release version 2.16.3-2 DSM7.x, the package does not appear to startup automatically. When started manually, the package does not remember to default to DHCP. I have tried both front and rear ports.
Description of products
Description of environment NAS connects to Flex XG, M1 Mac Mini with built-in 10Gbe connects to Flex XG. Flex XG is managed by a UDM-SE.
Relevant ifconfig output Small redactions indicated by [redacted]. ztc interface is a tunnel created by the use of ZeroTier.
Workaround I've created a task at boot-up that runs as root that toggles the package off and on, and sets the interface to DHCP:
This appears to work and link has been stable for a bit, including ~600GiB transferred. Not sure why this is required though and may be an issue that needs resolution.