Chadster766 / McDebian

Linksys WRT3200ACM, WRT1900AC, WRT1900ACS, WRT1200AC and WRT32X Router Debian Implementation
99 stars 14 forks source link

McDebian kernel 4.4.18 update beta testing #16

Closed Chadster766 closed 8 years ago

Chadster766 commented 8 years ago

Please evaluate this McDebian update beta:

Installation instructions

cd /
wget --user=mcdebian --password=mcdebian123 http://www.protechs-online.com/downloads/McDebian/firmwares/McDebian-WRT1?00AC-V?-FW_VER1_kernel_4_4_18.img
wget --user=mcdebian --password=mcdebian123 http://www.protechs-online.com/downloads/McDebian/rootfs-updates/mcdebian-rootfs-update-v4_4_18.gz
flash_erase /dev/mtd4 0 0
flash_erase /dev/mtd6 0 0
nandwrite -p /dev/mtd4 McDebian-WRT1?00AC-V?-FW_VER1_kernel_4_4_18.img
nandwrite -p /dev/mtd6 McDebian-WRT1?00AC-V?-FW_VER1_kernel_4_4_18.img
tar zxf mcdebian-rootfs-update-v4_4_18.gz
mv /lib/modules/4.4.16 /lib/modules/4.4.16.bak

Update details:

https://github.com/Chadster766/McDebian/wiki/X.-McDebian-Updates

Chadster766 commented 8 years ago

So far it's tested well.

ValCher1961 commented 8 years ago

I will join in the weekend

Chadster766 commented 8 years ago

Ok great :smile:

ValCher1961 commented 8 years ago

@Chadster766 I do not find the kernel McDebian-WRT1? 00AC-V? -FW_VER1_kernel_4_4_18.img

Chadster766 commented 8 years ago

You have to substitute for the "?" in the firmware name to match your WRT1x00AC\S model.

Chadster766 commented 8 years ago

It has tested well for me.

ValCher1961 commented 8 years ago

Thank you. I only now begin to test.

Chadster766 commented 8 years ago

Ok great :smile:

ValCher1961 commented 8 years ago

@Chadster766 There is an error in the switch and there is no BM

root@wrt1900ac:~# dmesg |grep -i eth
[    8.856661] mvneta f1070000.ethernet eth0: [0]: could not detect attached switch
[    8.864112] mvneta f1070000.ethernet eth0: [0]: couldn't create dsa switch instance (error -22)
[   10.467437] mvneta f1070000.ethernet eth0: [0]: could not detect attached switch
[   10.467444] mvneta f1070000.ethernet eth0: [0]: couldn't create dsa switch instance (error -22)
[   11.549689] mvneta f1070000.ethernet eth0: [0]: could not detect attached switch
[   11.557143] mvneta f1070000.ethernet eth0: [0]: couldn't create dsa switch instance (error -22)
[   11.835562] mvneta f1070000.ethernet eth0: [0]: could not detect attached switch
[   11.842988] mvneta f1070000.ethernet eth0: [0]: couldn't create dsa switch instance (error -22)
[   11.913228] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   13.913156] mvneta f1074000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   13.921050] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   19.550155] mvneta f1070000.ethernet eth0: [0]: could not detect attached switch
[   19.557608] mvneta f1070000.ethernet eth0: [0]: couldn't create dsa switch instance (error -22)
[   19.623227] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.623162] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   21.631034] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Chadster766 commented 8 years ago

Did you make a new USB rootfs or are you using an exiting one.

The DSA switch driver is there but I don't have it in /etc/modules by default. Keep in mind if you enable the DSA Switch driver you will need to disable "systemctl disable udev-network-interface-rules.service" and change /etc/network/interfaces to suit along with some other files.

https://github.com/Chadster766/McDebian/wiki/5.-Network-Configuration

ValCher1961 commented 8 years ago

Yes, I made a new file system with "debootstrap" utility installed kernel modules 4.4.18. Next, set up /etc/network/interfaces without the switch, but the error remained.

ValCher1961 commented 8 years ago

Excellent speed of 5 GHz

[  4] local 192.168.1.1 port 35242 connected to 192.168.1.111 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  27.8 MBytes   233 Mbits/sec    0    221 KBytes
[  4]   1.00-2.00   sec  36.8 MBytes   309 Mbits/sec    0    221 KBytes
[  4]   2.00-3.00   sec  39.6 MBytes   333 Mbits/sec    0    221 KBytes
[  4]   3.00-4.00   sec  39.5 MBytes   332 Mbits/sec    0    221 KBytes
[  4]   4.00-5.00   sec  37.5 MBytes   315 Mbits/sec    0    221 KBytes
[  4]   5.00-6.00   sec  40.9 MBytes   343 Mbits/sec    0    221 KBytes
[  4]   6.00-7.00   sec  39.7 MBytes   333 Mbits/sec    0    221 KBytes
[  4]   7.00-8.00   sec  39.4 MBytes   330 Mbits/sec    0    221 KBytes
[  4]   8.00-9.00   sec  37.3 MBytes   313 Mbits/sec    2    212 KBytes
[  4]   9.00-10.00  sec  39.5 MBytes   332 Mbits/sec    0    212 KBytes
[  4]  10.00-11.00  sec  41.3 MBytes   346 Mbits/sec    0    212 KBytes
[  4]  11.00-12.00  sec  38.2 MBytes   321 Mbits/sec    0    212 KBytes
[  4]  12.00-13.00  sec  36.8 MBytes   309 Mbits/sec    0    212 KBytes
[  4]  13.00-14.00  sec  38.4 MBytes   322 Mbits/sec    0    212 KBytes
[  4]  14.00-15.00  sec  37.6 MBytes   315 Mbits/sec    0    212 KBytes
[  4]  15.00-16.00  sec  40.6 MBytes   340 Mbits/sec    0    212 KBytes
[  4]  16.00-17.00  sec  39.3 MBytes   329 Mbits/sec    2    173 KBytes
[  4]  17.00-18.00  sec  40.1 MBytes   336 Mbits/sec    0    212 KBytes
[  4]  18.00-19.00  sec  38.4 MBytes   322 Mbits/sec    0    212 KBytes
[  4]  19.00-20.00  sec  40.1 MBytes   337 Mbits/sec    2    153 KBytes
[  4]  20.00-21.00  sec  37.0 MBytes   311 Mbits/sec    0    212 KBytes
[  4]  21.00-22.00  sec  41.1 MBytes   345 Mbits/sec    0    212 KBytes
[  4]  22.00-23.00  sec  39.1 MBytes   328 Mbits/sec    0    212 KBytes
[  4]  23.00-24.00  sec  37.7 MBytes   316 Mbits/sec    0    212 KBytes
[  4]  24.00-25.00  sec  38.1 MBytes   320 Mbits/sec    0    212 KBytes
[  4]  25.00-26.00  sec  37.5 MBytes   315 Mbits/sec    0    212 KBytes
[  4]  26.00-27.00  sec  37.6 MBytes   315 Mbits/sec    0    212 KBytes
[  4]  27.00-28.00  sec  37.7 MBytes   316 Mbits/sec    0    212 KBytes
[  4]  28.00-29.00  sec  41.2 MBytes   346 Mbits/sec    0    212 KBytes
[  4]  29.00-30.00  sec  41.3 MBytes   346 Mbits/sec    0    212 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-30.00  sec  1.13 GBytes   324 Mbits/sec    6             sender
[  4]   0.00-30.00  sec  1.13 GBytes   323 Mbits/sec                  receiver
Chadster766 commented 8 years ago

Yes the switch error will remain which is fine. DSA support has to be build into the kernel. I wanted to give users the option to enable the DSA switch if they wanted.

Chadster766 commented 8 years ago

Nice 5Ghz speeds with your wireless adapter :+1:

ValCher1961 commented 8 years ago

Excellent speed, this is due to an unused DSA?

Chadster766 commented 8 years ago

Yes the DSA switch comes with a throughput performance hit IMO.

ValCher1961 commented 8 years ago

Now I started assembling the kernel 4.7.2 without DSA.

Chadster766 commented 8 years ago

Aren't you going to run 4.4.18 for awhile (couple of days) to see if any issues appear?

ValCher1961 commented 8 years ago

I'll start tomorrow test 4.4.18 without interruption for several days, but now check 4.7.2.

ValCher1961 commented 8 years ago

The kernel 4.4.18 not installed the patch smooth fan speed control?

Chadster766 commented 8 years ago

No I still recommend the below fancontrol.

https://github.com/Chadster766/McDebian/wiki/B.-Thermal-Protection

I'm waiting for the fancontrol to work properly in the kernel instead of applying a patch for it. Keeping the kernel and dts as clean as I can but that's me :smile:

ValCher1961 commented 8 years ago

Ok, I shall consider it.

Chadster766 commented 8 years ago

Testing has shown the router to lockup approximately once a week with 4.4.18

ValCher1961 commented 8 years ago

I your firmware tested 4 days, I had no locks. Describe in detail these manifestations and if possible causes.

Chadster766 commented 8 years ago

New beta firmware available now.