QOS problem broadcom_K26 starting build 29134

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
bwpnrulz
DD-WRT Novice


Joined: 28 Jul 2018
Posts: 7

PostPosted: Sat Jul 28, 2018 16:41    Post subject: QOS problem broadcom_K26 starting build 29134 Reply with quote
Been a while since I updated the firmware on my Linksys E1000 v1

I was running
dd-wrt.v24-21061_NEWD-2_K2.6_std_nokaid_small.bin
QOS worked to limit bandwidth

I upgraded to the current builds

dd-wrt.v24-36330_NEWD-2_K2.6_std_nokaid_small.bin
dd-wrt.v24-36330_NEWD-2_K2.6_mini_e1000v1.bin
dd-wrt.v24-36330_NEWD-2_K2.6_openvpn_small.bin

I also tried

dd-wrt.v24-36247_NEWD-2_K2.6_mini_e1000v1.bin

QOS is no longer working for me with these build if I flash back to (21061) QOS works again.

Yes there is alot of builds in between.

Wish I could be of more help, let me know if I can upload logs or test something.

One thing I did notice was that under the QOS settings the order of Packet Scheduler Uplink/Downlink has reversed in the interface.

Now
Packet Scheduler - build (36630)
[ ] Uplink
[ ] Downlink

Was - build (21061)
Packet Scheduler
[ ] Downlink
[ ] Uplink

Nothing seems to work now.
I even tried to limit based on mac and interface as well as the user limiter at the bottom. No effect anymore.

Also under new build under Diag Commands when I run a command the screen just flashes and no results.

On the old build I went to commands and ran
iptables -t mangle -vnL
a window popped up with the results.
So this is not working either.


Last edited by bwpnrulz on Sat Jul 28, 2018 21:35; edited 2 times in total
Sponsor
Brimmy
DD-WRT User


Joined: 29 Mar 2015
Posts: 398

PostPosted: Sat Jul 28, 2018 19:10    Post subject: Reply with quote
When you say "QoS no longer works for me" do you mean that you get no internet or have like a reduced speed or other?

If you have CTF enabled and you are using QoS then make sure that you all checked in TCP-Packet Priority and then enable Default Bandwidth Level to 100000, save, apply and reboot and test again.
bwpnrulz
DD-WRT Novice


Joined: 28 Jul 2018
Posts: 7

PostPosted: Sat Jul 28, 2018 20:19    Post subject: Re: QOS problem broadcom_K26 Reply with quote
Had to look up CTF (Cut Through Forwarding)
Not sure where that is toggled will go through the menu to look for it.

Since CTF requires old unsupported kernels (2.6, etc) without security fixes/CVE, then does that mean that the newer Netgear Stock firmware (along with Tomato/Vortex) are unsafe/insecure to use because they do not have security patches/fixes installed? Or does Netgear utilize something that DD-WRT community cannot or does not have access to?

kernel 2.6 is EOL so no longer receives upstream kernel patches.

as ctf is a closed source there have not been any security peer reviews.

Anyway back to my issue and testing

STD NoKaid Small
dd-wrt.v24-21061_NEWD-2_K2.6_std_nokaid_small.bin
iptables -t mangle -vnL works, get result in window
QOS working
21061
23503
26138
28444

QOS not working, command iptables still working
29147
30880

QOS not working, command not working screen flash no results
36347
36330

For QOS I am only doing the top part

Start QOS (x) Enable
Port WAN
Packet HTB
Down 20000
Up 3000

Packet priorty
Ack ( ) Syn (x) Fin (x) RST (x)

Apply > Save

Rolling builds back and forth and just changing these settings is all I need to get QOS working.

So I found 4 builds that work with QOS and at some point it stopped then later the commands stopped being functional as well

By QOS not working, I mean that no control is applied, getting full bandwidth no blocking seems to occur.

Trying to narrow down still when it stops working and then will test alternate builds
Brimmy
DD-WRT User


Joined: 29 Mar 2015
Posts: 398

PostPosted: Sat Jul 28, 2018 21:08    Post subject: Reply with quote
Yes CTF is Cut Throught Forwarding, sorry for assuming you knew. It should be on the Basic Setup tab on the Setup page.

I am now sure about CTF requiring old kernels because at present i am using BS r34760 with kernel 4.4.114 and it runs fine. Some have experienced CTF having a reaction of "killing" DL speed when you have QoS enabled, i too saw this but this was when i had ACK TCP-Packet Priority unchecked, once i checked it, i got full speeds which is why i asked if you have done so as well eventhough you are having issues. R34760 is from January 2018, there are newer builds with newer kernels that have CTF as well.

36330 is recent.

I noticed you said you apply and save but you said nothing about reboot, you should save, apply then reboot as well. When you do it this way, save---->apply----reboot, make sure to set your DL speed to half just to check if it works then you can put it back to whatever you want.
bwpnrulz
DD-WRT Novice


Joined: 28 Jul 2018
Posts: 7

PostPosted: Sat Jul 28, 2018 21:29    Post subject: QOS problem broadcom_K26 Reply with quote
STD NoKaid Small
dd-wrt.v24-21061_NEWD-2_K2.6_std_nokaid_small.bin
iptables -t mangle -vnL works, get result in window
QOS working
21061
23503
26138
28444
28976
29085
29114 (3728K)

(20k drop in build size after this)

QOS not working, command iptables still working
29134 (3708k)
29147
30880

QOS not working, command not working screen flash no results
36347
36330

Apply > Save (tried reboot as well)


So starting with build 29134 QOS no longer works.
20k drop in package size
QOS enabled seems to no longer have any effect.
I have tried by protocol,mac and user limited ,nothing has any effect after this build number.

Current builds not working either. Guessing it has been an issue for a while and no one must use very often.

Retested 36330 (QOS still no effect, and COMMAND seems to execute but this is broken as mentioned before, no results when execute commands here anymore, used to give results, this must have broken at some point as well in the build process)

would like to know what was left out when the build size dropped 20k in size. may not be relevant but that is all the info i can provide
Brimmy
DD-WRT User


Joined: 29 Mar 2015
Posts: 398

PostPosted: Sat Jul 28, 2018 22:46    Post subject: Reply with quote
Try getting in touch with GLInick as he reported that his e1000 v2.1 works here, scroll to the end of the page, https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315340&postdays=0&postorder=asc&highlight=e1000&start=45 maybe ask if he has any issues with QoS and if he cares to share his settings.
GLInick
DD-WRT Novice


Joined: 28 Apr 2016
Posts: 20

PostPosted: Sat Aug 11, 2018 13:41    Post subject: Reply with quote
I just want to point out that I now run the following version on an e1000 without any problems:
DD-WRT v3.0-r36079 mini (06/01/18 )

I reported this on two relevant threads and a PM just alerted me to this one.

I don't use QOS but it might be worth trying out this more recent version. The upgrade was really easy.
bwpnrulz
DD-WRT Novice


Joined: 28 Jul 2018
Posts: 7

PostPosted: Sat Aug 11, 2018 15:55    Post subject: Can tell me if command window works for you? Reply with quote
Administration > Command > iptables -t mangle -vnL

I used to get a popup window with results in earlier builds stopped working though after build 36347

I tried dd-wrt.v24-36527_NEWD-2_K2.6_mini_e1000v1.bin
today and same issue, QOS has no effect and command window does not return results.

Will try dd-wrt.v24-36079_NEWD-2_K2.6_mini_e1000v1.bin next
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Sat Aug 11, 2018 16:09    Post subject: Reply with quote
I think the more recent K2.6 builds, with maybe the exception of 35531, are broke all to hell. I ran down the gamut of K2.6 from 35244 up on webGUI command interface issues and this is a K2.6 build problem

https://svn.dd-wrt.com/ticket/4121#comment:12 (read through the entire ticket if you wish).

I don't use QoS, so not sure what to tell you, but it just seems that the K2.6 builds are getting mangled all to shit. I would suggest 33722, 35531 up for testing, but honestly, you may want to think about coming over to the dark side (K3x builds) unless you can find a good K2.6 build that is stable and works for you. NOTE: K3x 36527 the commands interface still works fine for me.
bwpnrulz
DD-WRT Novice


Joined: 28 Jul 2018
Posts: 7

PostPosted: Sat Aug 11, 2018 16:16    Post subject: QOS problem broadcom_K26 Reply with quote
I think this is the v3 u are talking about for wrt160 supposed to be same or compatible hw with e1000 v1

dd-wrt.v24-36527_NEWD-2_K2.6_mini_wrt160nv3.bin

I tried this as well same issues, QOS not working, command prompt does not return results.

Flashing to 36079 same issue.

DD-WRT may function ok as a WIFI router or general use but not usable for QOS something seems to be broken going back years.

I know it is an old router, but unless someone goes back and explains why there was a 20k difference in build size starting with build 29114 to 29134 I would say that every build since has been broken regarding QOS and no one has ever tested or had it working since and the command window broke sometime after.

I tried running 29114 for about a week but had to reboot almost daily and wifi was disconnecting repeatedly.

If you got QOS working on a later build please prove me wrong by posting results and verifying command window works.
bwpnrulz
DD-WRT Novice


Joined: 28 Jul 2018
Posts: 7

PostPosted: Sat Aug 11, 2018 16:21    Post subject: will try a k3 if you got one that is < 4Meg Reply with quote
E1000 only had 4meg
Brimmy
DD-WRT User


Joined: 29 Mar 2015
Posts: 398

PostPosted: Sat Aug 11, 2018 16:34    Post subject: Reply with quote
What command did you use to check your QoS, i use iptables -t nat -L as provided by jwh7 and it shows what was forwarded. You can see my results in previous builds like r36330 located here https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315911
Brimmy
DD-WRT User


Joined: 29 Mar 2015
Posts: 398

PostPosted: Sat Aug 11, 2018 16:43    Post subject: Reply with quote
Running the command you put, iptables -t mangle -vnL , i get this in my build.....

Chain PREROUTING (policy ACCEPT 9167K packets, 7884M bytes)
pkts bytes target prot opt in out source destination
9167K 7884M FILTER_IN 0 -- * * 0.0.0.0/0 0.0.0.0/0
0 0 MARK 0 -- !vlan2 * 0.0.0.0/0 xxx.xxx.6.103 MARK or 0x80000000
9167K 7884M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save

Chain INPUT (policy ACCEPT 25557 packets, 4907K bytes)
pkts bytes target prot opt in out source destination
15933 2961K IMQ 0 -- vlan2 * 0.0.0.0/0 0.0.0.0/0 IMQ: todev 0

Chain FORWARD (policy ACCEPT 9142K packets, 7880M bytes)
pkts bytes target prot opt in out source destination
11928 632K TCPMSS tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU
5758K 7523M IMQ 0 -- vlan2 * 0.0.0.0/0 0.0.0.0/0 IMQ: todev 0

Chain OUTPUT (policy ACCEPT 11375 packets, 4145K bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 9159K packets, 7886M bytes)
pkts bytes target prot opt in out source destination
9158K 7885M FILTER_OUT 0 -- * * 0.0.0.0/0 0.0.0.0/0
3389K 358M TTL 0 -- * vlan2 0.0.0.0/0 0.0.0.0/0 TTL set to 40
47066 46M DSCP 0 -- * * 0.0.0.0/0 0.0.0.0/0 DSCP match !0x00 DSCP set 0x00

Chain FILTER_IN (1 references)
pkts bytes target prot opt in out source destination
9167K 7884M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore
5774K 7526M FILTER_vlan2_IN 0 -- vlan2 * 0.0.0.0/0 0.0.0.0/0
3392K 358M FILTER_br0_IN 0 -- br0 * 0.0.0.0/0 0.0.0.0/0
68 19584 SVQOS_SVCS 0 -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x7ffc00
0 0 MARK 0 -- * * xxx.xxx.0.121 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x147800/0x7ffc00
0 0 MARK 0 -- * * 0.0.0.0/0 xxx.xxx.0.121 mark match 0x0/0x7ffc00 MARK xset 0x147800/0x7ffc00
0 0 MARK 0 -- * * xxx.xxx.0.144 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x14a000/0x7ffc00
0 0 MARK 0 -- * * 0.0.0.0/0 xxx.xxx.0.144 mark match 0x0/0x7ffc00 MARK xset 0x14a000/0x7ffc00
7165K 6552M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save
7165K 6552M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0

Chain FILTER_OUT (1 references)
pkts bytes target prot opt in out source destination
9158K 7885M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore
3389K 358M FILTER_vlan2_OUT 0 -- * vlan2 0.0.0.0/0 0.0.0.0/0
5769K 7527M FILTER_br0_OUT 0 -- * br0 0.0.0.0/0 0.0.0.0/0
68 19584 SVQOS_SVCS 0 -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x7ffc00
0 0 MARK 0 -- * * xxx.xxx.0.121 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x147800/0x7ffc00
0 0 MARK 0 -- * * 0.0.0.0/0 xxx.xxx.0.121 mark match 0x0/0x7ffc00 MARK xset 0x147800/0x7ffc00
0 0 MARK 0 -- * * xxx.xxx.0.144 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x14a000/0x7ffc00
0 0 MARK 0 -- * * 0.0.0.0/0 xxx.xxx.0.144 mark match 0x0/0x7ffc00 MARK xset 0x14a000/0x7ffc00
7164K 6553M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save
7164K 6553M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0

Chain FILTER_br0_IN (1 references)
pkts bytes target prot opt in out source destination
17400 2716K MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x37c00/0x7ffc00
3392K 358M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0

Chain FILTER_br0_OUT (1 references)
pkts bytes target prot opt in out source destination
240 90014 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x37c00/0x7ffc00
5769K 7527M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0

Chain FILTER_vlan2_IN (1 references)
pkts bytes target prot opt in out source destination
13594 1989K MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x35400/0x7ffc00
5774K 7526M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0

Chain FILTER_vlan2_OUT (1 references)
pkts bytes target prot opt in out source destination
294 92452 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x7ffc00 MARK xset 0x35400/0x7ffc00
3389K 358M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0

Chain SVQOS_SVCS (2 references)
pkts bytes target prot opt in out source destination
136 39168 RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Sat Aug 11, 2018 16:59    Post subject: Re: will try a k3 if you got one that is < 4Meg Reply with quote
bwpnrulz wrote:
E1000 only had 4meg
Someone needs to tell the developers:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2018/08-09-2018-r36527/broadcom_K3X/

There's v1 and v2 K3X mega builds for E1000 Shocked Confused Rolling Eyes

So, my suggestion would be starting at 33772 or 35531 and working your way forward. Carefully, unless you have what you need to de-brick.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum