v1.5.5rcX Bug Reports and Comments

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
Omniflux
Experienced Member
 
Posts: 113
Joined: Tue Feb 24, 2015 3:04 pm
Has thanked: 5 times
Been thanked: 32 times

Re: v1.5.5rcX Bug Reports and Comments

Mon Oct 14, 2019 1:50 am

Stephen wrote:Please be aware (if you are not already) that it will take some time for it to come back and you will likely have to refresh the browser to see it up again. The reason is because the OS itself (a variant of OpenWRT) has to create and add all of the virtual eth0 interfaces to the kernel and then to the firewall which takes a few minutes for this many. (A recent security patch means that it has no choice but to do this twice actually).


Making a change that requires restarting the network interfaces currently takes 4 minutes. That is fine because I have the revert timer set to the maximum (5 minutes). What will happen if the change takes longer than the revert timer?

Are you considering updating to something based on a more recent version of OpenWRT using netifd and procd? I suspect this would resolve this issue, although that is a major change for an admittedly minor inconvenience.

Stephen wrote:If you could get back to us before Tuesday though that would be extremely helpful.

I will try to get out to the site late tomorrow night.

User avatar
Stephen
Employee
Employee
 
Posts: 974
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 77 times
Been thanked: 170 times

Re: v1.5.5rcX Bug Reports and Comments

Mon Oct 14, 2019 2:32 am

You make some good points:

Omniflux wrote:Making a change that requires restarting the network interfaces currently takes 4 minutes. That is fine because I have the revert timer set to the maximum (5 minutes). What will happen if the change takes longer than the revert timer?


The revert timer does not begin until after the config is finished being applied. Depending on which parts of the config changes determines what happens with lower level things like the network service. So in your case (which I believe is the default) if the switch does not respond for 5 minutes after the switch has finished re-configuring everything like the network interface, vtss_appl, etc that is when it is suppose to revert.

Omniflux wrote:Are you considering updating to something based on a more recent version of OpenWRT using netifd and procd? I suspect this would resolve this issue, although that is a major change for an admittedly minor inconvenience.


This is a possibility I explored with Eric in depth awhile ago. Unfortunately, although this is a variant of OpenWRT, when vitesse built the example board that the switch-core (which is an ASIC doing all the hardware switching and most of the heavy protocol work) as well as the MIPS32 CPU (that runs all the normal software including the OS/openwrt variant) they broke some of what might be considered convention in the linux world. Specifically, the kernel and vtss_appl (which is primarily responsible for configuring the switch-core/ASIC) run nearly as one even though technically, vtss_appl exists in userspace (i.e. it is not a kernel module).

Although after reading the documentation vitesse created for the original development board. I can completely understand why they needed to do it this way and I suspect many hardware-based networking technologies have probably been forced to use a similar design paradigm. It has still resulted in complications like this that make it very difficult to upgrade the OS itself. Which, unlike the main branch of OpenWRT was never intended to be deployed across multiple hardware architecture's. We suffice by upgrading some of the packages that it uses, like https, ssl, snmp, etc for security and compatibility. And for the occasional issue like this, someone like me has to go in with a scalpel or a hammer (depending on the severity) to keep it all together.

What I might try to do eventually is integrate some of the other newer tools like netifd and procd into what is our version and rebuild the relevant parts of our system around it. I've actually tried doing this already with gdb SEVERAL times because it could take alot of the guesswork out of development, but unfortunately one of the limiting factor's of the hardware is memory and the build fails. Also, at the same time we have other products we are trying to complete and our resource's are limited. As any of my senior's can tell you this is a balancing act. Also because of that I can't make a decision like that completely on my own either.

Omniflux wrote:I will try to get out to the site late tomorrow night.


That would be great, thank you.

User avatar
Omniflux
Experienced Member
 
Posts: 113
Joined: Tue Feb 24, 2015 3:04 pm
Has thanked: 5 times
Been thanked: 32 times

Re: v1.5.5rcX Bug Reports and Comments

Tue Oct 15, 2019 12:26 am

Loaded firmware on a second switch and have been running in production for three and a half hours without issues. Changing addresses works fine.

Thanks for the quick resolution.

User avatar
Stephen
Employee
Employee
 
Posts: 974
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 77 times
Been thanked: 170 times

Re: v1.5.5rcX Bug Reports and Comments

Tue Oct 15, 2019 12:34 am

You're welcome, glad it's working.

Previous
Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 58 guests