Code Monkey home page Code Monkey logo

dd-wrt's Introduction

dd-wrt's People

Contributors

brainslayer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dd-wrt's Issues

Feature request: Tor Snowflake Proxy

Hi!
Having the option to support the Tor network in DD-WRT routers are great. However the current setup may create a certain amount of network traffic.

Copying info about Snowflake Proxy from Tor's web site: "Snowflake is a system that allows people from all over the world to access censored websites and applications. Similar to how VPNs assist users in getting around Internet censorship, Snowflake helps you avoid being noticed by Internet censors by making your Internet activity appear as though you're using the Internet for a regular video or voice call."

It would be awesome to be able to enable Snowflake proxy within the DD-WRT GUI to help censorship.

git clone https://git.torproject.org/pluggable-transports/snowflake.git
cd snowflake/proxy
go build
nohup ./proxy &

Would this be complicated to implement into DD-WRT?

Best regards

Hardcoded values Speedchecker

Because of #25, there's no way for me to write an issue on the svn repo, so here's the only way I have to be heard.

I tried to setup the speedchecker, but then I found this :

<div class="form-group">
	<label for="formSpeed" class="col-xs-6 control-label">
		What is your current broadband speed you pay for?
	</label>
	<div class="col-xs-6">
		<select class="form-control" id="formSpeed">
			<option value="">--- Please select ---</option>

			<option value="1000">1 Mb/s</option>
			<option value="2000">2 Mb/s</option>
			<option value="8000">8 Mb/s</option>
			<option value="12000">12 Mb/s</option>
			<option value="16000">16 Mb/s</option>
			<option value="18000">18 Mb/s</option>
			<option value="20000">20 Mb/s</option>
			<option value="24000">24 Mb/s</option>
			<option value="30000">30 Mb/s</option>
			<option value="38000">38 Mb/s</option>
			<option value="50000">50 Mb/s</option>
			<option value="60000">60 Mb/s</option>
			<option value="76000">76 Mb/s</option>
			<option value="100000">100 Mb/s</option>
			<option value="120000">120 Mb/s</option>
			<option value="150000">150 Mb/s</option>
			<option value="200000">200 Mb/s</option>
			<option value="500000">500 Mb/s</option>
			<option value="1000000">1 Gb/s</option>

			<option value="other">Other not listed</option>
		</select>
	</div>
</div>

What if my speed isn't there? I don't know what it does, but why would it beneficial to have a list of hard-coded values instead of letting the user input the actual speed they pay for?

Data race problem

Hi, in linux-3.18, drivers/net/phy/at803x.c, line 255, function at803x_resume, function phy_write is called without the protection of mutex_lock and mutex_unlock.

DHCP reserved IP's

(Bug) If there are more than 4 entries in Services Static Leases the internet connection stops. If one of the entry is removed (3 entries in the list) the internet connection is back.

(Feature) To remove only the first entry of the list is not possible without removing all the previous entries. Please add the possibility to select which entry to be removed.

(all tests have been performed with r42847 build)

`Dlink-DIR600 rev b` hangs intermittently

Error

The hang is from CPU overload by a rogue process that's allowed enough priority to only leave approximately 10-5 of cycles to other processes.

The process is seemingly a kernel process because of the large cycle allocation, and because the top output show high sirq directly before the hang which might be related to the hang.

The hang last for around 20 min, hang duration examples are 12, 17, 27, 33 min.

During the hang it's only servicing LAN including ping, its dropbear, telnetd, httpd, dnsmasq and WAN is unreachable. When it becomes unreachable the ping to it instantly goes from ~1 ms to ~45 ms.

The hang begin and end abruptly, there's no noticeable increase in latency or reduction in throughput or other problems directly before or directly after the hang.

There's no clear indication of its cause before or after the hang.

It's not possible to identify any client activity (use of a particular network software or a particular use of it, f.e. utorrent.exe or qbittorent.exe traffic increase, skype.exe connection, teamviewer.exe connection) with correlation to the error.

Request

dir600b-revb-ddwrt-webflash.bin built without NO_LOG so that a trace of the error might be written to /tmp/var/log/messages. Alternatively provide the exact commands to build from a default Debian installation.

Reports of similar occurrences, f.e. because "hang" in the dd-wrt.com/phpBB2 Google index doesn't give any meaningful suggestion.

System information

cat /tmp/loginprompt
DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 08/07/10 (SVN revision: 14896)
nvram get DD_BOARD
Dlink-DIR600 rev b
Settings

These are the settings I'm aware that I've changed from the default

ip_conntrack_max=16384
static_leases=…
forward_port=…
wan_hwaddr=…
def_hwaddr=…
dhcp_start=100
dhcp_lease=60
sshd_enable=1
sshd_authorized_keys=…
refresh_time=0
wl0_net_mode=n-only
wl0_ssid=…
cron_jobs=…

I don't have the original settings however, how do I retrieve the nvram show output from the default setting so that I can confirm this list?

The hang occured when ip_conntrack_max was the default 4096 too.

Request the status for other settings that you believe can be relevant and discuss why they might be relevant.

Error tracing

Syslog

The syslog show no message for the period the hang occurs, in this example minutes after a hang the last message is 13 h old

date; cat /tmp/var/log/messages|tail -1
Fri Jan  4 13:01:38 UTC 2013    
Jan  3 23:59:48 DD-WRT user.debug syslog: ttraff: data for 3-1-2013 commited to nvram

and the system has no other logs and to my knowledge there is no more logging that can be enabled. Please correct this statement if it's incorrect because additional logging could be important to trace this error.

Custom log

The custom log to attempt to indentify the problem is

cat log
$(date -Iseconds)\tip_conntrack_count: $(cat /proc/sys/net/ipv4/netfilter/ip_conntrack_count)\n">>status.log
top -bn1>status.log

cat trim
scp -i /tmp/root/.ssh/ssh_host_rsa_key status.log "user@ubuntu:~/ddwrt/$(date -Iseconds|tr : -)-status.log
rm status.log

cat /tmp/cron.d/cron_jobs
* * * * * root ~/log
0 */12 * * * root ~/trim

Please suggest additional commands that you believe are useful for this log.

Identified patterns are

High sirq load for two min before the hang, f.e.

CPU:  0.3% usr  0.6% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq 98.9% sirq

compared to around 30% during normal operation, f.e.

CPU:  0.0% usr 66.6% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq 33.3% sirq

[events/0] sometimes has high load directly after the hang (and is otherwise always idle), apparently from an increased event queue size because of the rogue process

  4     2 root     RW<      0  0.0 98.5 [events/0]
Other discussion

Directly after the hang the historical load average is high, f.e. (custom log)

Load average: 14.54 12.73 10.49 10/52 19407
Load average: 20.13 17.31 13.22 10/53 19458
Load average: 11.50 10.40 6.98 10/43 20090

Compared to normal operation with unchanged client circumstances

Load average: 0.00 0.00 0.00 1/29 21511
Load average: 0.00 0.00 0.00 2/32 21528
Load average: 0.00 0.00 0.00 1/29 21546

The fact that top output freeze in the middle of an output illustrate how abruptly the rogue process begin to consume all cycles. This is two examples of hanged top output (the only meaningful pattern seem to be the high sirq load)

Mem: 16256K used, 13344K free, 0K shrd, 1540K buff, 5060K cached
CPU:  0.1% usr  0.0% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq 99.8% sirq
Load average: 2.46 6.11 7.57 5/21 14745
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  803     1 root     S     1340  4.5 36.3 telnetd
  857     1 root     R     1100  3.7 35.0 dnsmasq --conf-file=/tmp/dnsmasq.conf
 1115     1 root     R     4564 15.3  9.7 httpd -p 80
    3     2 root     RW<      0  0.0  5.7 [ksoftirqd/0]
14668 14663 root     R     1348  4.5  1.4 top
  692     1 root     S     2148  7.2  0.0 resetbutton
  850     1 root     S     1888  6.3  0.0 ttraff
 1208     1 root     S     1884  6.3  0.0 process_monitor
    1     0 root     S     1628  5.4  0.0 /sbin/init noinitrd
14663   803 root     S     1356  4.5  0.0 -sh
 2239     1 root     S      976  3.2  0.0 cron
 1527     1 root     S      976  3.2  0.0 udhcpc -i vlan2 -p /var/run/udhcpc.pi

 Mem: 16336K used, 13264K free, 0K shrd, 1540K buff, 5060K cached
CPU:  0.2% usr  0.2% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq 99.5% sirq
Load average: 3.66 6.96 7.93 6/21 14878
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  857     1 root     R     1100  3.7 47.0 dnsmasq --conf-file=/tmp/dnsmasq.conf
  803     1 root     S     1340  4.5 36.6 telnetd
 1115     1 root     R     4564 15.3  5.8 httpd -p 80
dnsmasq

dnsmasq is not involved because this command was run (through an established ssh connection, taking around five minutes to visibly return) during the hang without affecting it

root@DD-WRT:~# killall dnsmasq; ps|grep dnsmasq
 7043 root      1336 S    grep dnsmasq
Connection flood?

Is it possible to see the new connection rate to the system?

The router has a high connection count (/proc/sys/net/ipv4/netfilter/ip_conntrack_count) during normal operation (from bittorent traffic). And sometimes the connection count is higher after the hang, f.e.

2013-01-11T14:45:02+0000    ip_conntrack_count: 3172
2013-01-11T14:51:14+0000    ip_conntrack_count: 9250

and sometimes not

2013-01-17T13:33:04+0000    ip_conntrack_count: 4114
2013-01-17T13:45:26+0000    ip_conntrack_count: 3749

So it's not clear that an increase in number of connections (or traffic) is correlated to the hang. And the connection increase can be correlated to the hang as a result (because WAN connections time out or are placed in queue during the hang) rather than a cause.

A high connection count by itself doesn't use much resources, and during normal operation (above) the load is often 0.00, so it would be beneficial to see the rate of new connections.

DNS lookup flood?

Is it possible to see the DNS lookup rate to dnsmasq?

Wrong channel extension labels at VHT80

I have DD-WRT v3.0-r39960M kongac from Kong on a Netgear R7000P.

In the official dd-wrt wiki you can read that valid 5Ghz VHT80 channels are "36+UU, 40+UL, 44+LU, 48+LL, 52+UU...." and so on. That's correct. However, every single combination allowed in the router is a wrong one. For example with UU, you can only select 48, 64, etc.

I noticed that:
At 2,4Ghz HT40, if you select for example channel 5 and an "upper" extension channel, you get connected to "5+7". That's correct.

At 5Ghz HT40, if you select for example channel 157 and an "upper" extension, you get connected to "157+159". That's also correct.

BUT... at 5Ghz VHT80, if you select for example channel 161 and an "upper upper" extension, you get connected to "161+155".

It seems the labels "upper upper" and "lower lower", "upper lower" and "lower upper" at VHT80 are switched! Possibly at VHT160 too (did't check).

This seems like a bug.

Currently I have channel 149 selected and a "lower lower" extension. This gives me a 149+155 connection.
This is the opposite of what should happen with a "lower lower" extension. I should get 149 and an extension channel lower than that...

"lower lower" should refer to the "extension channel", not the control channel. That's what the GUI says and that's what happens at HT40...

You can't even select control channel 36 unless you choose "lower lower" for the extension. That's wrong. Channel 36 should be available only with an "upper upper" extension, not a "lower lower" one. But with an "upper upper extension", the minimum you can select is channel 48! Then you get a "48 + 42" connection, which actually represents a "lower lower" extension...

At HT40, the behavior is correct and as expected. But at VHT80, the labels must be switched...

Extension

Build instructions

Can someone add some build instructions please?
How can we use this repo to rebuild the binary ?

Wifidog not redirecting webpages properly

Hi, please watch this issue, http://svn.dd-wrt.com/ticket/3344.

I tested the history builts with my tplink_tl-wr840nv1, and I find that:
The latest wifidog usable build is 12/12/2013 ftp://ftp.dd-wrt.com/betas/2013/12-12-2013-r23082/.
The latest wifidog unusable build is 12/17/2013 ftp://ftp.dd-wrt.com/betas/2013/12-17-2013-r23138/.

So, maybe some changes between 12/12/2013 and 12/17/2013 cause this issue.

Can some guys help to find it out?

Thanks,
Kai

Missing running state check

Hi, in linux-3.10 net/bridge/br_multicast.c, line 1704, br_multicast_set_router, the kernel of dd-wrt deleted the check for be>dev, which is a check for the running state (i.e., test if the device has been brought up). Such a missing check may lead to denial of service.

trying to compile for arm

I would be grateful for any help i didn't find any updated instructions on any website
Disclaimer i am not an expert i tried to use /opt/install.sh and some other .sh but i don't think it has any connection to arm so i moved to src/router there i found a makefile but inside it i didn't find any reference to arm then i looked inside makefile.northstar in this i found something

ifeq ($(ARCH),arm)
export COPTS:=$(BASEOPT) -pipe -mcpu=cortex-a9 -mtune=cortex-a9  -msoft-float -mfloat-abi=soft -fno-caller-saves -fno-plt

so i renamed Makefile.northstar to Makefile and tried this

export PATH="/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/toolchains/toolchain-arm_cortex-a9_gcc-8.2.0_musl_eabi/bin:$PATH"

then make

the following was

stat: missing operand
Try 'stat --help' for more information.
rules/iptables.mk:43: warning: overriding recipe for target 'iptables-distclean'
rules/iptables-new.mk:37: warning: ignoring old recipe for target 'iptables-distclean'
rules/lighttpd.mk:26: warning: overriding recipe for target 'lighttpd-configure'
rules/lighttpd.mk:26: warning: ignoring old recipe for target 'lighttpd-configure'
rules/lighttpd.mk:31: warning: overriding recipe for target 'lighttpd'
rules/lighttpd.mk:31: warning: ignoring old recipe for target 'lighttpd'
rules/lighttpd.mk:34: warning: overriding recipe for target 'lighttpd-clean'
rules/lighttpd.mk:34: warning: ignoring old recipe for target 'lighttpd-clean'
rules/lighttpd.mk:37: warning: overriding recipe for target 'lighttpd-install'
rules/lighttpd.mk:37: warning: ignoring old recipe for target 'lighttpd-install'
[ ! -d rules/atm.mk ] || make -C rules/atm.mk
[ ! -d rules/oled.mk ] || make -C rules/oled.mk
[ ! -d rules/mmc-ixp4xx.mk ] || make -C rules/mmc-ixp4xx.mk
mkdir -p /home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/kernel_headers/4.4.245
make -C /home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/linux/universal/linux-4.4 headers_install ARCH=arm INSTALL_HDR_PATH=/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/kernel_headers/4.4.245
make[1]: Entering directory '/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/linux/universal/linux-4.4'
  CHK     include/generated/uapi/linux/version.h
make[1]: Leaving directory '/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/linux/universal/linux-4.4'
echo "#define BUILD_DATE \"11/26/20\"" > ../../opt/build.h 
echo "CONFIG_MUSL=y" >> .config 
rm -rf /home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/arm-uclibc/target
rm -rf /home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/arm-uclibc/install
make -C nvram
make[1]: Entering directory '/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/nvram'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/nvram'
make -C libutils
make[1]: Entering directory '/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/libutils'
[CC] libutils/utils.o
libutils/utils.c: In function 'setWifiPass':
libutils/utils.c:152:12: warning: variable 'tok' set but not used [-Wunused-but-set-variable]
      char *tok, *val;
            ^~~
libutils/utils.c:85:11: warning: unused variable 'type' [-Wunused-variable]
  int mtd, type;
           ^~~~
libutils/utils.c: In function 'check_wan_link':
libutils/utils.c:426:6: warning: unused variable 'ppp3g' [-Wunused-variable]
  int ppp3g = 1;
      ^~~~~
libutils/utils.c: At top level:
libutils/utils.c:1250:10: fatal error: revision.h: No such file or directory
 #include "revision.h"
          ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:1643: libutils/utils.o] Error 1
make[1]: Leaving directory '/home/gamer24/Desktop/broadcom-4708/ddwrt/dd-wrt/src/router/libutils'
make: *** [rules/libutils.mk:19: libutils] Error 2

autoconf fails with the error message "cannot find input file: Makefile.in"

Hi @BrainSlayer

I thought I give this another go on Debian 11.
When running ./autoconf it fails saying that config.status: error: cannot find input file: Makefile.in

It seems a number of files are missing here:

configure.ac:336: error: required file 'example/Makefile.in' not found
configure.ac:336: error: required file 'tests/Makefile.in' not found
configure.ac:336: error: required file 'tests/unit/Makefile.in' not found
configure.ac:336: error: required file 'tests/performance/Makefile.in' not found
configure.ac:336: error: required file 'tests/dga/Makefile.in' not found
configure.ac:336: error: required file 'rrdtool/Makefile.in' not found
configure.ac:336: error: required file 'influxdb/Makefile.in' not found
configure.ac:337: error: required file 'tests/do.sh.in' not found
Makefile.am:2: error: required directory ./tests does not exist

In example/ I can see Makefile.dpdk.in but not the file it's looking for.

Any suggestions?

Full log:

admin@de-vpn-1:~/dd-wrt/src/router/ndpi-netfilter$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:54: installing './compile'
configure.ac:6: installing './missing'
configure.ac:336: error: required file 'example/Makefile.in' not found
configure.ac:336: error: required file 'tests/Makefile.in' not found
configure.ac:336: error: required file 'tests/unit/Makefile.in' not found
configure.ac:336: error: required file 'tests/performance/Makefile.in' not found
configure.ac:336: error: required file 'tests/dga/Makefile.in' not found
configure.ac:336: error: required file 'rrdtool/Makefile.in' not found
configure.ac:336: error: required file 'influxdb/Makefile.in' not found
configure.ac:337: error: required file 'tests/do.sh.in' not found
Makefile.am:2: error: required directory ./tests does not exist
fuzz/Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cos in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ar... (cached) ar
Setting API version to 13913
checking for json-c... no
configure: WARNING: JSON-C not available. Disabled unit test.
checking for json_object_put in -ljson-c... no
configure: WARNING: JSON-C not available. Disabled unit test.
checking whether gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for sqrt in -lm... no
checking for rrd_fetch_r in -lrrd... no
checking DPDK (used by ndpiReader)... no (missing /home/admin/DPDK)
checking for numa_available in -lnuma... no
checking for pcap_open_live in -lpcap... yes
checking for pthread_setaffinity_np in -lpthread... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'

Thanks

R7800

Hello
I have random restarts on the Netgear R7800 with Linux kernel 6.1.80 revision r55363. Kernel 4.9 revision r48352 everything ok. What information do you need?

Use of invalid parameter

Hi, in linux-3.10 and linux-3.18 /drivers/usb/core/hub.c, line 4367, function hub_port_init, the kernel of dd-wrt deleted the check for hub->tt.hub, which is a check for the existence of upstream high-speed hub and such missing check will leads to the use of invalid parameter.

Instructions how to build the ndpi-netfilter

Hello @BrainSlayer

It's amazing to see that ndpi-netfilter is here patched and maintained.

I'm trying this right now on Ubuntu 20.04 with Kernel:
Linux de-fsn-x 5.4.0-1025-aws #25-Ubuntu SMP Fri Sep 11 09:37:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

After going to dd-wrt/tree/master/src/router/ndpi-netfilter/ndpi-netfilter
I run the following commands:

chmod +x ./autogen.sh
./autogen.sh
cd src/lib
make ndpi_network_list.c.inc

Right here I get errors thrown:

depbase=`echo ndpi_network_list_compile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../../src/include  -I../../src/include/  -I../../src/lib/third_party/include/   -g -O2 -fPIC -DPIC -DNDPI_LIB_COMPILATION  -MT ndpi_network_list_compile.o -MD -MP -MF $depbase.Tpo -c -o ndpi_network_list_compile.o ndpi_network_list_compile.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ../../src/include/ndpi_main.h:34,
                 from ../../src/include/ndpi_api.h:73,
                 from ndpi_network_list_compile.c:10:
../../src/include/ndpi_protocols.h:31:1: error: unknown type name ‘NDPI_STATIC’
   31 | NDPI_STATIC ndpi_port_range* ndpi_build_default_ports_range(ndpi_port_range *ports,
      | ^~~~~~~~~~~
../../src/include/ndpi_protocols.h:31:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   31 | NDPI_STATIC ndpi_port_range* ndpi_build_default_ports_range(ndpi_port_range *ports,
      |                            ^
../../src/include/ndpi_protocols.h:38:1: error: unknown type name ‘NDPI_STATIC’
   38 | NDPI_STATIC ndpi_port_range* ndpi_build_default_ports(ndpi_port_range *ports,
      | ^~~~~~~~~~~
../../src/include/ndpi_protocols.h:38:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   38 | NDPI_STATIC ndpi_port_range* ndpi_build_default_ports(ndpi_port_range *ports,
      |                            ^
../../src/include/ndpi_protocols.h:46:1: error: unknown type name ‘NDPI_STATIC’
   46 | NDPI_STATIC u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct,
      | ^~~~~~~~~~~
../../src/include/ndpi_protocols.h:46:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ndpi_search_tcp_or_udp_raw’
   46 | NDPI_STATIC u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~

Is the INSTALL uptodate? https://github.com/mirror/dd-wrt/blob/master/src/router/ndpi-netfilter/ndpi-netfilter/INSTALL
Is there an easier way to achieve compile it?

I would really appreciate your advice on this matter,

Thanks

Dual WAN

Please DD-WRT team enable Dual WAN in GUI. We need this option in Router Interface.

Please do this for us because we are unable to do command line.

Thank You

migration issue

I migrated the repository (Debian GNU/Linux 8.2 (jessie), git version 2.1.4, reiserfs) to a new host (Ubuntu 12.04.5 LTS git version 2.6.4 compiled from source, same result with git version 1.7.9.5, xfs).

I used rsync -azP to transfer the entire repository, but on the destination I get uncommitted changes

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        deleted:    src/linux/adm5120/linux-2.6.23/arch/blackfin/lib/modsi3.S
        deleted:    src/linux/adm5120/linux-2.6.23/include/asm-parisc/posix_types.h
        modified:   src/router/openvpn/build/msvc/msvc-generate/msvc-generate.vcxproj
        modified:   src/router/openvpn/openvpn.sln
        modified:   src/router/openvpn/src/compat/compat.vcxproj
        modified:   src/router/openvpn/src/compat/compat.vcxproj.filters
        modified:   src/router/openvpn/src/openvpn/openvpn.vcxproj
        modified:   src/router/openvpn/src/openvpn/openvpn.vcxproj.filters
        modified:   src/router/openvpn/src/openvpnserv/openvpnserv.vcxproj
        modified:   src/router/openvpn/src/openvpnserv/openvpnserv.vcxproj.filters
        modified:   src/router/php5/README.input_filter
        modified:   src/router/php5/Zend/RFCs/002.txt
        modified:   src/router/php5/Zend/RFCs/003.txt
        modified:   src/router/php5/ext/dba/libcdb/cdb.c
        modified:   src/router/php5/ext/dba/libcdb/cdb_make.c
        modified:   src/router/php5/ext/dba/libflatfile/flatfile.c
        modified:   src/router/php5/ext/dba/libinifile/inifile.c
        modified:   src/router/php5/ext/enchant/enchant.c
        modified:   src/router/php5/ext/exif/exif.c
        modified:   src/router/php5/ext/filter/filter.c
        modified:   src/router/php5/ext/iconv/php_iconv.h
        modified:   src/router/php5/ext/ldap/ldap.c
        modified:   src/router/php5/ext/mysqlnd/mysqlnd.h
        modified:   src/router/php5/ext/oci8/oci8.c
        modified:   src/router/php5/ext/pdo_pgsql/pdo_pgsql.c
        modified:   src/router/php5/ext/phar/phar.c
        modified:   src/router/php5/ext/phar/phar/pharcommand.inc
        modified:   src/router/php5/ext/posix/posix.c
        modified:   src/router/php5/ext/recode/recode.c
        modified:   src/router/php5/ext/reflection/php_reflection.c
        modified:   src/router/php5/ext/simplexml/simplexml.c
        modified:   src/router/php5/ext/skeleton/create_stubs
        modified:   src/router/php5/ext/sysvmsg/sysvmsg.c
        modified:   src/router/php5/ext/tidy/tidy.c
        modified:   src/router/php5/ext/zip/php_zip.c
        modified:   src/router/php5/run-tests.php
        modified:   src/router/php5/sapi/continuity/capi.c
        modified:   src/router/php5/sapi/nsapi/nsapi.c


It took 2.95 seconds to enumerate untracked files. 'status -uno'
may speed it up, but you have to be careful not to forget to add
new files yourself (see 'git help status').
no changes added to commit (use "git add" and/or "git commit -a")

md5sum of these files match those on the original host

c30df7f4b27816dd8cfc64d4a4cc84d2 src/router/openvpn/build/msvc/msvc-generate/msvc-generate.vcxproj
c30df7f4b27816dd8cfc64d4a4cc84d2 src/router/openvpn/build/msvc/msvc-generate/msvc-generate.vcxproj

another pass with rsync -avH --delete did not fix this issue

Is it related to https://stackoverflow.com/questions/26542226/git-showing-identical-files-as-changed?
I got the same issue with tar.gz transferred over HTTP

63a656fa823450b4d4cec14d73ac7d9ff1329246 src/router/openvpn/openvpn.sln
63a656fa823450b4d4cec14d73ac7d9ff1329246 src/router/openvpn/openvpn.sln

src/router/openvpn/openvpn.sln: UTF-8 Unicode (with BOM) text, with CRLF line terminators
src/router/openvpn/openvpn.sln: UTF-8 Unicode (with BOM) text, with CRLF line terminators

not a permission issue either

-rw-r--r-- 1
-rw-r--r-- 1

Since git reset --hard on the whole repository is quite cpu intensive, I used git checkout on every file in modified state. After 1 pass I still got 5 files showing modified. I did another pass on the remaining files, 2 left. Then did it again. Now I have a clean repository.

Any thoughts on what the issue might be?

The mirroring process has been resumed on the new host (hourly update).

@TimothyGu @john-peterson

updating stopped

There's an outage at my VPS provider. Update will continue when the service is restored.

Support for TP-link Archer C2600

Hello,I have a TP-LINK ARCHER C2600 that needs to be upgraded to dd-wrt,but there's no corresponding firmware on the dd-wrt.com,I noticed that wiki.dd-wrt.com prompts for a router test.Can I help?

Netgear R9000 bricks after 4-5-6 newest releases

Hi!

I have a Netgear R9000 router and tried updating to the latest version (06-19-2024-r56941), but the router somehow bricks. Wireless networks wont start and several lights wont come on (probably because services aren't starting correct). Trying to reboot and do several resets (5-7) magically makes the wifi work but reset the whole router back with default dd-wrt settings. I assumed downgrading to earlier firmware would give more stability, but I experience the problems with several releases such as:

  • 05-07-2024-r56237
  • 05-13-2024-r56359
  • 05-14-2024-r56380
  • 05-24-2024-r56490
  • 06-08-2024-r56721
  • 06-12-2024-r56820
  • 06-19-2024-r56941

Somehow I got the 05-02-2024-r56182 to make it work.

With Firmware: v3.0-r56941 std (06/19/24)
Running dmesg|grep -E 'error.*failed|failed.*error' gives

bq32k: probe of 0-0068 failed with error -5
ath10k_pci 0001:03:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
ath10k_pci 0001:04:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2

I was able to make the latest release work 1 time and ran dmesg and got the output below. Not sure if it is helpful.

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux (LTO) version 4.9.337-rt197 (root@server2) (gcc version 14.1.0 (OpenWrt GCC 14.1.0 r26085-2aa6c875f8) ) #744 SMP Wed Jun 5 03:00:10 +07 2024
[    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt:Machine model: Annapurna Labs Alpine Dev Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0a2f340, node_mem_map ef7f8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 12 pages/cpu s20108 r8192 d20852 u49152
[    0.000000] pcpu-alloc: s20108 r8192 d20852 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: root=/dev/mtdblock5 rootfstype=squashfs ubi.mtd=netgear pci=pcie_bus_perf console=ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1028456K/1048576K available (7168K kernel code, 195K rwdata, 664K rodata, 1024K init, 390K bss, 20120K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a30e48   ( 196 kB)
[    0.000000]        .bss : 0xc0a32000 - 0xc0a93a79   ( 391 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Registering 64 msixs, starting at 96
[    0.000000] 	Offload RCU callbacks from all CPUs
[    0.000000] 	Offload RCU callbacks from CPUs: 0-3.
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[    0.000003] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[    0.000009] Switching to timer-based delay loop, resolution 20ns
[    0.000064] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5096694524 ns
[    0.000074] sched_clock: 32 bits at 375MHz, resolution 2ns, wraps every 5726622718ns
[    0.000180] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000)
[    0.000189] pid_max: default: 32768 minimum: 301
[    0.000243] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000249] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000534] CPU: Testing write buffer coherency: ok
[    0.000671] CPU0: update cpu_capacity 1024
[    0.000677] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.000851] Setting up static identity map for 0x100000 - 0x100060
[    0.001615] CPU1: update cpu_capacity 1024
[    0.001619] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002029] CPU2: update cpu_capacity 1024
[    0.002033] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.002436] CPU3: update cpu_capacity 1024
[    0.002439] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.002496] Brought up 4 CPUs
[    0.002510] SMP: Total of 4 processors activated (400.00 BogoMIPS).
[    0.002514] CPU: All CPU(s) started in HYP mode.
[    0.002518] CPU: Virtualization extensions available.
[    0.006265] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006276] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.006853] NET: Registered protocol family 16
[    0.006879] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.006981] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.007658] cpuidle: using governor ladder
[    0.007689] Initializing System Fabric
[    0.007719] Enabling IO Cache Coherency.
[    0.011579] OF: amba_device_add() failed (-2) for /soc/timer1
[    0.013043] msi override pcie-internal
[    0.013133] msi override pcie-external0
[    0.013221] msi override pcie-external1
[    0.013309] msi override pcie-external2
[    0.013990] Serial: AMBA PL011 UART driver
[    0.018025] pps_core: LinuxPPS API ver. 1 registered
[    0.018032] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.018044] PTP clock support registered
[    0.018064] EDAC MC: Ver: 3.0.0
[    0.018701] clocksource: Switched to clocksource arch_sys_counter
[    0.019326] NET: Registered protocol family 2
[    0.019407] IP idents hash table entries: 16384 (order: 5, 131072 bytes)
[    0.019892] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.019929] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.020017] TCP: Hash tables configured (established 8192 bind 8192)
[    0.020047] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.020067] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.020158] NET: Registered protocol family 1
[    0.020178] PCI: CLS 0 bytes, default 64
[    0.021345] msi override pcie-internal
[    0.021413] al-pcie soc:pcie-internal: PCI host bridge to bus 0000:00
[    0.021421] pci_bus 0000:00: root bus resource [mem 0xfe000000-0xfeffffff]
[    0.021428] pci_bus 0000:00: root bus resource [bus 00]
[    0.021434] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    0.021451] pci 0000:00:00.0: [1c36:0002] type 00 class 0x020000
[    0.021468] pci 0000:00:00.0: reg 0x10: [mem 0xfe000000-0xfe01ffff 64bit]
[    0.021478] pci 0000:00:00.0: reg 0x18: [mem 0xfe020000-0xfe020fff 64bit]
[    0.021487] pci 0000:00:00.0: reg 0x20: [mem 0xfe024000-0xfe027fff 64bit]
[    0.021508] pci 0000:00:00.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    0.021539] pci 0000:00:00.0: PME# supported from D3hot D3cold
[    0.021557] pci 0000:00:00.0: reg 0x324: [mem 0x00000000-0x0001ffff 64bit]
[    0.021563] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x0005ffff 64bit] (contains BAR0 for 3 VFs)
[    0.021726] pci 0000:00:01.0: [1c36:0001] type 00 class 0x020000
[    0.021739] pci 0000:00:01.0: reg 0x10: [mem 0xfe040000-0xfe05ffff 64bit]
[    0.021749] pci 0000:00:01.0: reg 0x18: [mem 0xfe060000-0xfe060fff 64bit]
[    0.021758] pci 0000:00:01.0: reg 0x20: [mem 0xfe064000-0xfe067fff 64bit]
[    0.021778] pci 0000:00:01.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    0.021802] pci 0000:00:01.0: PME# supported from D3hot D3cold
[    0.021958] pci 0000:00:03.0: [1c36:0001] type 00 class 0x020000
[    0.021972] pci 0000:00:03.0: reg 0x10: [mem 0xfe080000-0xfe09ffff 64bit]
[    0.021982] pci 0000:00:03.0: reg 0x18: [mem 0xfe0a0000-0xfe0a0fff 64bit]
[    0.021991] pci 0000:00:03.0: reg 0x20: [mem 0xfe0a4000-0xfe0a7fff 64bit]
[    0.022010] pci 0000:00:03.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    0.022035] pci 0000:00:03.0: PME# supported from D3hot D3cold
[    0.022166] pci 0000:00:04.0: [1c36:0011] type 00 class 0x100000
[    0.022179] pci 0000:00:04.0: reg 0x10: [mem 0xfe0c0000-0xfe0dffff 64bit]
[    0.022192] pci 0000:00:04.0: reg 0x20: [mem 0xfe0e0000-0xfe0e1fff 64bit]
[    0.022211] pci 0000:00:04.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    0.022237] pci 0000:00:04.0: PME# supported from D3hot D3cold
[    0.022253] pci 0000:00:04.0: reg 0x324: [mem 0x00000000-0x0001ffff 64bit]
[    0.022258] pci 0000:00:04.0: VF(n) BAR0 space: [mem 0x00000000-0x0001ffff 64bit] (contains BAR0 for 1 VFs)
[    0.022407] pci 0000:00:05.0: [1c36:0021] type 00 class 0x088000
[    0.022420] pci 0000:00:05.0: reg 0x10: [mem 0xfe100000-0xfe11ffff 64bit]
[    0.022433] pci 0000:00:05.0: reg 0x20: [mem 0xfe120000-0xfe121fff 64bit]
[    0.022464] pci 0000:00:05.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  128
[    0.022489] pci 0000:00:05.0: PME# supported from D3hot D3cold
[    0.022506] pci 0000:00:05.0: reg 0x324: [mem 0x00000000-0x0001ffff 64bit]
[    0.022511] pci 0000:00:05.0: VF(n) BAR0 space: [mem 0x00000000-0x0001ffff 64bit] (contains BAR0 for 1 VFs)
[    0.023245] PCI: bus0: Fast back to back transfers disabled
[    0.023267] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22
[    0.023286] pci 0000:00:01.0: of_irq_parse_pci() failed with rc=-22
[    0.023304] pci 0000:00:03.0: of_irq_parse_pci() failed with rc=-22
[    0.023322] pci 0000:00:04.0: of_irq_parse_pci() failed with rc=-22
[    0.023339] pci 0000:00:05.0: of_irq_parse_pci() failed with rc=-22
[    0.023356] pci 0000:00:00.0: BAR 0: assigned [mem 0xfe000000-0xfe01ffff 64bit]
[    0.023366] pci 0000:00:00.0: BAR 7: assigned [mem 0xfe020000-0xfe07ffff 64bit]
[    0.023375] pci 0000:00:01.0: BAR 0: assigned [mem 0xfe080000-0xfe09ffff 64bit]
[    0.023385] pci 0000:00:03.0: BAR 0: assigned [mem 0xfe0a0000-0xfe0bffff 64bit]
[    0.023395] pci 0000:00:04.0: BAR 0: assigned [mem 0xfe0c0000-0xfe0dffff 64bit]
[    0.023405] pci 0000:00:04.0: BAR 7: assigned [mem 0xfe0e0000-0xfe0fffff 64bit]
[    0.023413] pci 0000:00:05.0: BAR 0: assigned [mem 0xfe100000-0xfe11ffff 64bit]
[    0.023422] pci 0000:00:05.0: BAR 7: assigned [mem 0xfe120000-0xfe13ffff 64bit]
[    0.023430] pci 0000:00:00.0: BAR 4: assigned [mem 0xfe140000-0xfe143fff 64bit]
[    0.023440] pci 0000:00:01.0: BAR 4: assigned [mem 0xfe144000-0xfe147fff 64bit]
[    0.023449] pci 0000:00:03.0: BAR 4: assigned [mem 0xfe148000-0xfe14bfff 64bit]
[    0.023459] pci 0000:00:04.0: BAR 4: assigned [mem 0xfe14c000-0xfe14dfff 64bit]
[    0.023469] pci 0000:00:05.0: BAR 4: assigned [mem 0xfe14e000-0xfe14ffff 64bit]
[    0.023478] pci 0000:00:00.0: BAR 2: assigned [mem 0xfe150000-0xfe150fff 64bit]
[    0.023488] pci 0000:00:01.0: BAR 2: assigned [mem 0xfe151000-0xfe151fff 64bit]
[    0.023497] pci 0000:00:03.0: BAR 2: assigned [mem 0xfe152000-0xfe152fff 64bit]
[    0.023593] PCIe 1: Link up. speed gen2 negotiated width 1
[    0.023600] al-pcie fd800000.pcie-external0: link up: speed Gen 2 width x1
[    0.023606] Configuring PCIE for IOCC
[    0.023610] PCIE_1: snoop mode enable
[    0.024651] msi override pcie-external0
[    0.024715] al-pcie fd800000.pcie-external0: PCI host bridge to bus 0001:00
[    0.024722] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff]
[    0.024729] pci_bus 0001:00: root bus resource [mem 0xe0010000-0xe7ffffff]
[    0.024735] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.024755] pci 0001:00:00.0: [1c36:0031] type 01 class 0x060400
[    0.024771] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.024781] pci 0001:00:00.0: reg 0x14: [mem 0x00000000-0x00000fff pref]
[    0.024809] pci 0001:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.024853] pci 0001:00:00.0: supports D1
[    0.024858] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.025026] PCI: bus0: Fast back to back transfers disabled
[    0.025034] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.025138] pci 0001:01:00.0: [1b21:1182] type 01 class 0x060400
[    0.025199] pci 0001:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.025266] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.025429] PCI: bus1: Fast back to back transfers disabled
[    0.025437] pci 0001:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.025556] pci 0001:02:03.0: [1b21:1182] type 01 class 0x060400
[    0.025621] pci 0001:02:03.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.025686] pci 0001:02:03.0: PME# supported from D0 D3hot D3cold
[    0.025854] pci 0001:02:07.0: [1b21:1182] type 01 class 0x060400
[    0.025920] pci 0001:02:07.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.025984] pci 0001:02:07.0: PME# supported from D0 D3hot D3cold
[    0.026179] PCI: bus2: Fast back to back transfers disabled
[    0.026188] pci 0001:02:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.026199] pci 0001:02:07.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.026324] pci 0001:03:00.0: [168c:0046] type 00 class 0x028000
[    0.026353] pci 0001:03:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.026431] pci 0001:03:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.026516] pci 0001:03:00.0: PME# supported from D0 D3hot D3cold
[    0.026690] PCI: bus3: Fast back to back transfers disabled
[    0.026699] pci_bus 0001:03: busn_res: [bus 03-ff] end is updated to 03
[    0.026819] pci 0001:04:00.0: [168c:0046] type 00 class 0x028000
[    0.026849] pci 0001:04:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.026926] pci 0001:04:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.027012] pci 0001:04:00.0: PME# supported from D0 D3hot D3cold
[    0.027185] PCI: bus4: Fast back to back transfers disabled
[    0.027193] pci_bus 0001:04: busn_res: [bus 04-ff] end is updated to 04
[    0.027200] pci_bus 0001:02: busn_res: [bus 02-ff] end is updated to 04
[    0.027208] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 04
[    0.027228] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22
[    0.027247] pci 0000:00:01.0: of_irq_parse_pci() failed with rc=-22
[    0.027264] pci 0000:00:03.0: of_irq_parse_pci() failed with rc=-22
[    0.027282] pci 0000:00:04.0: of_irq_parse_pci() failed with rc=-22
[    0.027299] pci 0000:00:05.0: of_irq_parse_pci() failed with rc=-22
[    0.027316] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.027332] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.027348] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.027363] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.027380] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.027396] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.027439] pci 0001:00:00.0: BAR 14: assigned [mem 0xe0200000-0xe05fffff]
[    0.027447] pci 0001:00:00.0: BAR 0: assigned [mem 0xe0010000-0xe0010fff]
[    0.027456] pci 0001:00:00.0: BAR 1: assigned [mem 0xe0011000-0xe0011fff pref]
[    0.027465] pci 0001:01:00.0: BAR 14: assigned [mem 0xe0200000-0xe05fffff]
[    0.027473] pci 0001:02:03.0: BAR 14: assigned [mem 0xe0200000-0xe03fffff]
[    0.027480] pci 0001:02:07.0: BAR 14: assigned [mem 0xe0400000-0xe05fffff]
[    0.027487] pci 0001:03:00.0: BAR 0: assigned [mem 0xe0200000-0xe03fffff 64bit]
[    0.027504] pci 0001:02:03.0: PCI bridge to [bus 03]
[    0.027512] pci 0001:02:03.0:   bridge window [mem 0xe0200000-0xe03fffff]
[    0.027524] pci 0001:04:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit]
[    0.027540] pci 0001:02:07.0: PCI bridge to [bus 04]
[    0.027548] pci 0001:02:07.0:   bridge window [mem 0xe0400000-0xe05fffff]
[    0.027558] pci 0001:01:00.0: PCI bridge to [bus 02-04]
[    0.027566] pci 0001:01:00.0:   bridge window [mem 0xe0200000-0xe05fffff]
[    0.027575] pci 0001:00:00.0: PCI bridge to [bus 01-04]
[    0.027583] pci 0001:00:00.0:   bridge window [mem 0xe0200000-0xe05fffff]
[    0.027599] pci 0001:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.027615] pci 0001:01:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.027632] pci 0001:02:03.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.027653] pci 0001:03:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.027670] pci 0001:02:07.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.027690] pci 0001:04:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.027771] PCIe 2: Link up. speed gen2 negotiated width 1
[    0.027778] al-pcie fd820000.pcie-external1: link up: speed Gen 2 width x1
[    0.027784] Configuring PCIE for IOCC
[    0.027789] PCIE_2: snoop mode enable
[    0.028836] msi override pcie-external1
[    0.028905] al-pcie fd820000.pcie-external1: PCI host bridge to bus 0002:00
[    0.028912] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff]
[    0.028918] pci_bus 0002:00: root bus resource [mem 0xe8010000-0xefffffff]
[    0.028924] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.028944] pci 0002:00:00.0: [1c36:0031] type 01 class 0x060400
[    0.028960] pci 0002:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.028971] pci 0002:00:00.0: reg 0x14: [mem 0x00000000-0x00000fff pref]
[    0.028998] pci 0002:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.029043] pci 0002:00:00.0: supports D1
[    0.029047] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[    0.029208] PCI: bus0: Fast back to back transfers disabled
[    0.029216] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.029327] pci 0002:01:00.0: [1b21:1142] type 00 class 0x0c0330
[    0.029354] pci 0002:01:00.0: reg 0x10: [mem 0xe8000000-0xe8007fff 64bit]
[    0.029422] pci 0002:01:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  256
[    0.029498] pci 0002:01:00.0: PME# supported from D3cold
[    0.029642] PCI: bus1: Fast back to back transfers disabled
[    0.029650] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[    0.029671] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22
[    0.029689] pci 0000:00:01.0: of_irq_parse_pci() failed with rc=-22
[    0.029706] pci 0000:00:03.0: of_irq_parse_pci() failed with rc=-22
[    0.029723] pci 0000:00:04.0: of_irq_parse_pci() failed with rc=-22
[    0.029740] pci 0000:00:05.0: of_irq_parse_pci() failed with rc=-22
[    0.029755] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.029772] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.029787] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.029802] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.029819] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.029835] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.029849] irq: no irq domain found for /soc/pcie-external1/pcie-legacy-intc !
[    0.029865] irq: no irq domain found for /soc/pcie-external1/pcie-legacy-intc !
[    0.029884] pci 0002:00:00.0: BAR 14: assigned [mem 0xe8100000-0xe81fffff]
[    0.029891] pci 0002:00:00.0: BAR 0: assigned [mem 0xe8010000-0xe8010fff]
[    0.029900] pci 0002:00:00.0: BAR 1: assigned [mem 0xe8011000-0xe8011fff pref]
[    0.029910] pci 0002:01:00.0: BAR 0: assigned [mem 0xe8100000-0xe8107fff 64bit]
[    0.029925] pci 0002:00:00.0: PCI bridge to [bus 01]
[    0.029933] pci 0002:00:00.0:   bridge window [mem 0xe8100000-0xe81fffff]
[    0.029949] pci 0002:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.029968] pci 0002:01:00.0: Max Payload Size set to  256/ 512 (was  256), Max Read Rq  256
[    0.029990] pci 0002:01:00.0: enabling device (0140 -> 0142)
[    0.030078] PCIe 3: Link up. speed gen2 negotiated width 1
[    0.030085] al-pcie fd840000.pcie-external2: link up: speed Gen 2 width x1
[    0.030091] Configuring PCIE for IOCC
[    0.030095] PCIE_3: snoop mode enable
[    0.031138] msi override pcie-external2
[    0.031204] al-pcie fd840000.pcie-external2: PCI host bridge to bus 0003:00
[    0.031211] pci_bus 0003:00: root bus resource [io  0x30000-0x3ffff]
[    0.031217] pci_bus 0003:00: root bus resource [mem 0xf0010000-0xf7ffffff]
[    0.031223] pci_bus 0003:00: root bus resource [bus 00-ff]
[    0.031244] pci 0003:00:00.0: [1c36:0031] type 01 class 0x060400
[    0.031260] pci 0003:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.031271] pci 0003:00:00.0: reg 0x14: [mem 0x00000000-0x00000fff pref]
[    0.031298] pci 0003:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    0.031343] pci 0003:00:00.0: supports D1
[    0.031347] pci 0003:00:00.0: PME# supported from D0 D1 D3hot
[    0.031510] PCI: bus0: Fast back to back transfers disabled
[    0.031518] pci 0003:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.031621] pci 0003:01:00.0: [1ae9:0310] type 00 class 0x028000
[    0.031645] pci 0003:01:00.0: reg 0x10: [mem 0xf0000000-0xf01fffff 64bit]
[    0.031705] pci 0003:01:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    0.031888] PCI: bus1: Fast back to back transfers disabled
[    0.031896] pci_bus 0003:01: busn_res: [bus 01-ff] end is updated to 01
[    0.031916] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22
[    0.031935] pci 0000:00:01.0: of_irq_parse_pci() failed with rc=-22
[    0.031952] pci 0000:00:03.0: of_irq_parse_pci() failed with rc=-22
[    0.031969] pci 0000:00:04.0: of_irq_parse_pci() failed with rc=-22
[    0.031986] pci 0000:00:05.0: of_irq_parse_pci() failed with rc=-22
[    0.032001] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.032017] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.032032] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.032048] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.032064] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.032080] irq: no irq domain found for /soc/pcie-external0/pcie-legacy-intc !
[    0.032094] irq: no irq domain found for /soc/pcie-external1/pcie-legacy-intc !
[    0.032109] irq: no irq domain found for /soc/pcie-external1/pcie-legacy-intc !
[    0.032123] irq: no irq domain found for /soc/pcie-external2/pcie-legacy-intc !
[    0.032138] irq: no irq domain found for /soc/pcie-external2/pcie-legacy-intc !
[    0.032156] pci 0003:00:00.0: BAR 14: assigned [mem 0xf0200000-0xf03fffff]
[    0.032163] pci 0003:00:00.0: BAR 0: assigned [mem 0xf0010000-0xf0010fff]
[    0.032172] pci 0003:00:00.0: BAR 1: assigned [mem 0xf0011000-0xf0011fff pref]
[    0.032182] pci 0003:01:00.0: BAR 0: assigned [mem 0xf0200000-0xf03fffff 64bit]
[    0.032196] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.032204] pci 0003:00:00.0:   bridge window [mem 0xf0200000-0xf03fffff]
[    0.032220] pci 0003:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.032237] pci 0003:01:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    0.032890] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.036788] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.038547] bounce: pool size: 64 pages
[    0.038554] io scheduler noop registered
[    0.038559] io scheduler deadline registered (default)
[    0.039049] pl061_gpio fd887000.gpio0: PL061 GPIO chip @0xfd887000 registered
[    0.039398] pl061_gpio fd888000.gpio1: PL061 GPIO chip @0xfd888000 registered
[    0.039724] pl061_gpio fd889000.gpio2: PL061 GPIO chip @0xfd889000 registered
[    0.040050] pl061_gpio fd88a000.gpio3: PL061 GPIO chip @0xfd88a000 registered
[    0.040378] pl061_gpio fd88b000.gpio4: PL061 GPIO chip @0xfd88b000 registered
[    0.040707] pl061_gpio fd897000.gpio5: PL061 GPIO chip @0xfd897000 registered
[    0.041096] pcieport 0001:01:00.0: enabling device (0140 -> 0142)
[    0.041343] pcieport 0001:02:03.0: enabling device (0140 -> 0142)
[    0.041587] pcieport 0001:02:07.0: enabling device (0140 -> 0142)
[    0.042329] aer 0001:00:00.0:pcie002: service driver aer loaded
[    0.042384] aer 0002:00:00.0:pcie002: service driver aer loaded
[    0.042433] aer 0003:00:00.0:pcie002: service driver aer loaded
[    0.042475] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    0.042482] pcieport 0001:01:00.0: Signaling PME through PCIe PME interrupt
[    0.042487] pcieport 0001:02:03.0: Signaling PME through PCIe PME interrupt
[    0.042492] pci 0001:03:00.0: Signaling PME through PCIe PME interrupt
[    0.042497] pcieport 0001:02:07.0: Signaling PME through PCIe PME interrupt
[    0.042502] pci 0001:04:00.0: Signaling PME through PCIe PME interrupt
[    0.042509] pcie_pme 0001:00:00.0:pcie001: service driver pcie_pme loaded
[    0.042536] pcieport 0002:00:00.0: Signaling PME through PCIe PME interrupt
[    0.042542] pci 0002:01:00.0: Signaling PME through PCIe PME interrupt
[    0.042549] pcie_pme 0002:00:00.0:pcie001: service driver pcie_pme loaded
[    0.042574] pcieport 0003:00:00.0: Signaling PME through PCIe PME interrupt
[    0.042580] pci 0003:01:00.0: Signaling PME through PCIe PME interrupt
[    0.042587] pcie_pme 0003:00:00.0:pcie001: service driver pcie_pme loaded
[    0.042767] al_dma: Annapurna Labs DMA Driver 0.01
[    0.159712] al_dma 0000:00:05.0: enabling device (0000 -> 0002)
[    0.278713] pci 0000:00:05.1: [1c36:8021] type 00 class 0x088000
[    0.278752] pci 0000:00:05.1: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    0.399711] al_dma 0000:00:05.1: enabling device (0400 -> 0402)
[    0.400520] serial8250_init
[    0.400526] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.401320] console [ttyS0] disabled
[    0.401341] fd883000.uart0: ttyS0 at MMIO 0xfd883000 (irq = 168, base_baud = 23437500) is a 16550A
[    2.222271] console [ttyS0] enabled
[    2.226004] fd884000.uart1: ttyS1 at MMIO 0xfd884000 (irq = 169, base_baud = 23437500) is a 16550A
[    2.235390] al_nand_probe: AnnapurnaLabs nand driver
[    2.240932] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xac
[    2.247269] nand: Macronix MX30UF4G18AB
[    2.251103] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.258672] oobavail 62
[    2.261122] Total number of ECC bytes exceeded oobsize (ecc total 240, oobsize 64)
[    2.268672] Scanning device for bad blocks
[    2.555054] READ DNI CMDLINE!
[    2.558015] dni_cmdline: Alpine nand flash:1920k(u-boot)ro,1152k(u-boot-env)ro,1280k(ART),1280k(ART.bak),4352k(kernel),40960k(rootfs),45312k@0x580000(linux),70144k(netgear),307200k(plex),89600k(reserve),512k(crashdump),3584k(language),1152k(nvram),1
52k(pot)
[    2.580825] 14 cmdlinepart partitions found on MTD device Alpine nand flash
[    2.587770] Creating 14 MTD partitions on "Alpine nand flash":
[    2.593595] 0x000000000000-0x0000001e0000 : "u-boot"
[    2.599035] 0x0000001e0000-0x000000300000 : "u-boot-env"
[    2.604762] 0x000000300000-0x000000440000 : "ART"
[    2.609919] 0x000000440000-0x000000580000 : "ART.bak"
[    2.615399] 0x000000580000-0x0000009c0000 : "kernel"
[    2.620833] 0x0000009c0000-0x0000031c0000 : "rootfs"
[    2.626504] mtd: partition "rootfs" set to be root filesystem
[    2.632411] mtd: partition "ddwrt" created automatically, ofs=2EE0000, len=2E0000 
[    2.639973] 0x000002ee0000-0x0000031c0000 : "ddwrt"
[    2.645296] 0x000000580000-0x0000031c0000 : "linux"
[    2.650936] 0x0000031c0000-0x000007640000 : "netgear"
[    2.656911] 0x000007640000-0x00001a240000 : "plex"
[    2.664297] 0x00001a240000-0x00001f9c0000 : "reserve"
[    2.670411] 0x00001f9c0000-0x00001fa40000 : "crashdump"
[    2.676048] 0x00001fa40000-0x00001fdc0000 : "language"
[    2.681633] 0x00001fdc0000-0x00001fee0000 : "nvram"
[    2.686934] 0x00001fee0000-0x000020000000 : "pot"
[    2.692494] al_eth_drv: AnnapurnaLabs unified 1GbE and 10GbE Ethernet Driver al_eth v0.2 (Feb 18, 2013)
[    2.701922] eth probe, board type=0
[    2.705408] al_eth 0000:00:00.0: Board info: phy exist No. phy addr 0. mdio freq 2500 Khz. SFP connected Yes. media 5
[    2.720587] al_eth 0000:00:00.0 eth0: AnnapurnaLabs unified 1Gbe/10Gbe found at mem fe000000, mac addr 78:d2:94:58:6a:7f
[    2.731497] eth probe, board type=0
[    2.734983] al_eth 0000:00:01.0: Board info: phy exist No. phy addr 0. mdio freq 2500 Khz. SFP connected No. media 1
[    2.750029] al_eth 0000:00:01.0 eth1: AnnapurnaLabs unified 1Gbe/10Gbe found at mem fe080000, mac addr 78:d2:94:58:6a:7e
[    2.760937] eth probe, board type=0
[    2.764421] al_eth 0000:00:03.0: Board info: phy exist No. phy addr 0. mdio freq 2500 Khz. SFP connected No. media 1
[    2.779453] al_eth 0000:00:03.0 eth2: AnnapurnaLabs unified 1Gbe/10Gbe found at mem fe0a0000, mac addr a6:59:18:53:9c:b7
[    2.790419] bq32k: probe of 0-0068 failed with error -5
[    2.795656] i2c /dev entries driver
[    2.820565] al_thermal_probe: Thermal Sensor Loaded at: 0xf08a5a00.
[    2.826993] sp805-wdt fd88c000.wdt0: registration successful
[    2.832714] al_mc_edac fb080000.mc: No ECC present, or ECC disabled
[    2.839225] GACT probability NOT on
[    2.842709] Mirror/redirect action on
[    2.846376] Simple TC action Loaded
[    2.850155] netem: version 1.3
[    2.853213] u32 classifier
[    2.855912]     Performance counters on
[    2.859746]     input device check on
[    2.863398]     Actions configured
[    2.866793] Netfilter messages via NETLINK v0.30.
[    2.871651] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    2.878242] nf_conntrack_rtsp v0.7 loading
[    2.882461] xt_time: kernel timezone is -0000
[    2.886812] ip_set: protocol 6
[    2.889952] gre: GRE over IPv4 demultiplexor driver
[    2.895883] nf_nat_rtsp v0.7 loading
[    2.899473] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.904872] NET: Registered protocol family 17
[    2.909357] Bridge firewalling registered
[    2.913358] 8021q: 802.1Q VLAN Support v1.8
[    2.922543] Registering SWP/SWPB emulation handler
[    2.927328] trying to register driver alpine
[    2.931695] cpufreq: ondemand governor failed, too long transition latency of HW, fallback to performance governor
[    2.942259] registered taskstats version 1
[    2.947222] searching for nvram
[    2.950377] nvram size = 1179648
[    3.201298] found nvram at 100000
[    3.229991] ubi0: attaching mtd8
[    3.698478] ubi0: scanning is finished
[    3.711155] ubi0 warning: 0xc04d7400: cannot reserve enough PEBs for bad PEB handling, reserved 38, need 80
[    3.721699] ubi0: attached mtd8 (name "netgear", size 68 MiB)
[    3.727432] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.734299] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.741076] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.748020] ubi0: good PEBs: 548, bad PEBs: 0, corrupted PEBs: 0
[    3.754017] ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128
[    3.761228] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1504489638
[    3.770344] ubi0: available PEBs: 0, total reserved PEBs: 548, PEBs reserved for bad PEB handling: 38
[    3.779561] hctosys: unable to open rtc device (rtc0)
[    3.779587] ubi0: background thread "ubi_bgt0d" started, PID 122
[    3.790917] rootfs: allocate skip block area for 0x00000140 blocks with 0x02800000 bytes
[    3.802580] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    3.810222] Freeing unused kernel memory: 1024K
[    4.058772] random: crng init done
[    5.530446] ART: allocate skip block area for 0x0000000A blocks with 0x00140000 bytes
[    6.024432] ath9k: ath9k: Driver unloaded
[    6.275194] ath10k_pci 0001:03:00.0: enabling device (0140 -> 0142)
[    6.281835] ath10k_pci 0001:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    6.468410] ath10k_pci 0001:03:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[    6.613611] ath10k_pci 0001:03:00.0: found firmware features ie (8 B)
[    6.620058] ath10k_pci 0001:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[    6.629963] ath10k_pci 0001:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[    6.639183] ath10k_pci 0001:03:00.0: firmware ver 10.4-ddwrt-9984-tW-13-7768 api 5 features mfp,peer-flow-ctrl,allows-mesh-bcast,peer-fixed-rate,superchannel crc32 eecea2d9
[    8.960274] ath10k_pci 0001:03:00.0: boot get otp board id result 0x00040400 board_id 1 chip_id 0 ext_bid_support 1
[   11.229302] ath10k_pci 0001:03:00.0: boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=1'
[   11.238154] ath10k_pci 0001:03:00.0: boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=1'
[   11.253196] ath10k_pci 0001:03:00.0: board_file api 2 bmi_id 0:1 crc32 2578b9d0
[   11.312796] ath10k_pci 0001:03:00.0: boot already acquired valid otp board id,skip download, board_id 1 chip_id 0
[   11.374876] ath10k_pci 0001:03:00.0: boot upload otp to 0x1234 len 9317
[   14.466248] ath10k_pci 0001:03:00.0: Init Max Stations to 128
[   14.472378] ath10k_pci 0001:03:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000185b vht_cap 0x339b79fa vht_supp_mcs 0x0000ffaa sw_ver0 0x01000000 sw_ver1 0x00000032 fw_build 0x00000000 phy_capab 0x00000001 
um_rf_chains 0x00000004 eeprom_rd 0x00000000 low_2ghz_chan 2312 high_2ghz_chan 2732 low_5ghz_chan 4800 high_5ghz_chan 6200 num_mem_reqs 0x00000007 min_pkt_size_enable 0x00000000
[   14.584194] ath10k_pci 0001:03:00.0: ChipType 1100 ChipTypeID 0 BoardID 2 P 144/144 V 16 K 288 PH 464 T 346  msdu-desc: 2500  sw-crypt: 0
[   14.596563] ath10k_pci 0001:03:00.0: free: 59316 iram: 14420 sram: 31524
[   14.603263] ath10k_pci 0001:03:00.0: wmi event ready sw_version 0x01000000 abi_version 3 mac_addr 12:34:56:78:90:12 status 0
[   14.645934] ath10k_pci 0001:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 128 raw 0 hwcrypto 1
[   14.760738] ath10k_pci 0001:03:00.0: init channel number 281
[   14.769525] ath10k_pci 0001:04:00.0: enabling device (0140 -> 0142)
[   14.776137] ath10k_pci 0001:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   14.949844] ath10k_pci 0001:04:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   14.960539] ath10k_pci 0001:04:00.0: found firmware features ie (8 B)
[   14.966970] ath10k_pci 0001:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   14.976874] ath10k_pci 0001:04:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[   14.986101] ath10k_pci 0001:04:00.0: firmware ver 10.4-ddwrt-9984-tW-13-7768 api 5 features mfp,peer-flow-ctrl,allows-mesh-bcast,peer-fixed-rate,superchannel crc32 eecea2d9
[   17.275179] ath10k_pci 0001:04:00.0: boot get otp board id result 0x00040800 board_id 2 chip_id 0 ext_bid_support 1
[   19.497742] ath10k_pci 0001:04:00.0: boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=2'
[   19.506603] ath10k_pci 0001:04:00.0: boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=2'
[   19.515875] ath10k_pci 0001:04:00.0: board_file api 2 bmi_id 0:2 crc32 2578b9d0
[   19.575440] ath10k_pci 0001:04:00.0: boot already acquired valid otp board id,skip download, board_id 2 chip_id 0
[   19.637523] ath10k_pci 0001:04:00.0: boot upload otp to 0x1234 len 9317
[   22.728264] ath10k_pci 0001:04:00.0: Init Max Stations to 128
[   22.734388] ath10k_pci 0001:04:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000185b vht_cap 0x339b79b2 vht_supp_mcs 0x0000ffaa sw_ver0 0x01000000 sw_ver1 0x00000032 fw_build 0x00000000 phy_capab 0x00000002 
um_rf_chains 0x00000004 eeprom_rd 0x00000000 low_2ghz_chan 2312 high_2ghz_chan 2732 low_5ghz_chan 4800 high_5ghz_chan 6200 num_mem_reqs 0x00000007 min_pkt_size_enable 0x00000000
[   22.847601] ath10k_pci 0001:04:00.0: ChipType 1100 ChipTypeID 0 BoardID 1 P 144/144 V 16 K 288 PH 464 T 346  msdu-desc: 2500  sw-crypt: 0
[   22.859966] ath10k_pci 0001:04:00.0: free: 59316 iram: 14420 sram: 31524
[   22.866656] ath10k_pci 0001:04:00.0: wmi event ready sw_version 0x01000000 abi_version 3 mac_addr 00:03:7f:12:34:56 status 0
[   22.945210] ath10k_pci 0001:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 128 raw 0 hwcrypto 1
[   23.054814] ath10k_pci 0001:04:00.0: init channel number 86
[   23.109342] wil6210 0003:01:00.0: enabling device (0140 -> 0142)
[   23.315129] al eth open!
[   23.317660] not exist phy!
[   23.322771] al eth open!
[   23.325301] not exist phy!
[   23.328059] configured MAC to RGMII mode:
[   23.332072] eth [al_eth_1]: set link speed to 1000Mbps. full duplex.
[   23.339169] al_eth 0000:00:01.0 eth1: using MSI-X per Queue interrupt mode
[   23.348963] al eth open!
[   23.351493] not exist phy!
[   23.354250] configured MAC to RGMII mode:
[   23.358251] eth [al_eth_2]: set link speed to 1000Mbps. full duplex.
[   23.365342] al_eth 0000:00:03.0 eth2: using MSI-X per Queue interrupt mode
[   23.448047] 0-0020 supply vcc not found, using dummy regulator
[   23.539537] ssdk_plat_init start
[   23.542773] need alloc mdiobus now!
[   23.546255] miibus=ee08b400
[   23.549052] miibusslave=eeb32000
[   23.552274] Register QCA PHY driver
[   23.556059] PHY ID is 0x4dd036
[   23.629302] qca probe f1 phy driver succeeded!
[   23.634659] ssdk init for 1:1302!
[   23.755732] qca probe f1 phy driver succeeded!
[   23.760171] ssdk init for slave !
[   23.763678] register_switch switch0 ok
[   23.767422] register_switch switch1 ok
[   25.399979] [lxx] qca phy switch reg  enter
[   25.404153] [lxx] create proc lan led 
[   25.411228] qca-ssdk module init succeeded!
[   28.555713] device br0 entered promiscuous mode
[   28.583522] al eth open!
[   28.586058] not exist phy!
[   28.597557] al eth open!
[   28.600098] not exist phy!
[   28.604614] br0: port 1(eth0) entered blocking state
[   28.610964] br0: port 1(eth0) entered disabled state
[   28.616050] device eth0 entered promiscuous mode
[   28.642617] br0: port 2(vlan1) entered blocking state
[   28.649055] br0: port 2(vlan1) entered disabled state
[   28.654226] device vlan1 entered promiscuous mode
[   28.660208] device eth1 entered promiscuous mode
[   28.668738] br0: port 2(vlan1) entered blocking state
[   28.674790] br0: port 2(vlan1) entered forwarding state
[   28.680031] device br0 left promiscuous mode
[   28.686549] device br0 entered promiscuous mode
[   28.695733] device br0 left promiscuous mode
[   28.753066] ART.bak: allocate skip block area for 0x0000000A blocks with 0x00140000 bytes
[   29.994137] ath10k_pci 0001:04:00.0: Core CLK 300
[   30.000172] ath10k_pci 0001:04:00.0: Mac CLK 150
[   32.449664] ath10k_pci 0001:04:00.0: boot get otp board id result 0x00040800 board_id 2 chip_id 0 ext_bid_support 1
[   34.724026] ath10k_pci 0001:04:00.0: boot upload otp to 0x1234 len 9317
[   37.814686] ath10k_pci 0001:04:00.0: Init Max Stations to 128
[   37.820440] ath10k_pci 0001:04:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000185b vht_cap 0x339b79b2 vht_supp_mcs 0x0000ffaa sw_ver0 0x01000000 sw_ver1 0x00000032 fw_build 0x00000000 phy_capab 0x00000002 
um_rf_chains 0x00000004 eeprom_rd 0x00000000 low_2ghz_chan 2312 high_2ghz_chan 2732 low_5ghz_chan 4800 high_5ghz_chan 6200 num_mem_reqs 0x00000007 min_pkt_size_enable 0x00000000
[   37.933652] ath10k_pci 0001:04:00.0: ChipType 1100 ChipTypeID 0 BoardID 1 P 144/144 V 16 K 288 PH 464 T 346  msdu-desc: 2500  sw-crypt: 0
[   37.946023] ath10k_pci 0001:04:00.0: free: 59316 iram: 14420 sram: 31524
[   37.952732] ath10k_pci 0001:04:00.0: wmi event ready sw_version 0x01000000 abi_version 3 mac_addr 00:03:7f:12:34:56 status 0
[   38.075342] ath10k_pci 0001:04:00.0: Init Channel Number 14
[   38.126366] ath10k_pci 0001:04:00.0: set base mac addr 78:d2:94:58:6a:81
[   52.587044] ath10k_pci 0001:04:00.0: boot get otp board id result 0x00040800 board_id 2 chip_id 0 ext_bid_support 1
[   54.865043] ath10k_pci 0001:04:00.0: boot upload otp to 0x1234 len 9317
[   57.972420] ath10k_pci 0001:04:00.0: Init Max Stations to 128
[   57.978164] ath10k_pci 0001:04:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000185b vht_cap 0x339b79b2 vht_supp_mcs 0x0000ffaa sw_ver0 0x01000000 sw_ver1 0x00000032 fw_build 0x00000000 phy_capab 0x00000002 
um_rf_chains 0x00000004 eeprom_rd 0x00000000 low_2ghz_chan 2312 high_2ghz_chan 2732 low_5ghz_chan 4800 high_5ghz_chan 6200 num_mem_reqs 0x00000007 min_pkt_size_enable 0x00000000
[   58.091342] ath10k_pci 0001:04:00.0: ChipType 1100 ChipTypeID 0 BoardID 1 P 144/144 V 16 K 288 PH 464 T 346  msdu-desc: 2500  sw-crypt: 0
[   58.103735] ath10k_pci 0001:04:00.0: free: 59316 iram: 14420 sram: 31524
[   58.110436] ath10k_pci 0001:04:00.0: wmi event ready sw_version 0x01000000 abi_version 3 mac_addr 00:03:7f:12:34:56 status 0
[   58.236112] ath10k_pci 0001:04:00.0: Init Channel Number 14
[   58.275493] ath10k_pci 0001:04:00.0: set base mac addr 78:d2:94:58:6a:81
[   58.400885] ath10k_pci 0001:04:00.0: mac txpower 20
[   58.688286] ath10k_pci 0001:04:00.0: mac txpower 20
[   58.759668] br0: port 3(wlan1) entered blocking state
[   58.766113] br0: port 3(wlan1) entered disabled state
[   58.771317] device wlan1 entered promiscuous mode
[   58.777288] br0: port 3(wlan1) entered blocking state
[   58.782337] br0: port 3(wlan1) entered forwarding state
[   58.824938] ath10k_pci 0001:03:00.0: Core CLK 300
[   58.830385] ath10k_pci 0001:03:00.0: Mac CLK 150
[   61.288072] ath10k_pci 0001:03:00.0: boot get otp board id result 0x00040400 board_id 1 chip_id 0 ext_bid_support 1
[   63.562532] ath10k_pci 0001:03:00.0: boot upload otp to 0x1234 len 9317
[   66.652745] ath10k_pci 0001:03:00.0: Init Max Stations to 128
[   66.658488] ath10k_pci 0001:03:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000185b vht_cap 0x339b79fa vht_supp_mcs 0x0000ffaa sw_ver0 0x01000000 sw_ver1 0x00000032 fw_build 0x00000000 phy_capab 0x00000001 
um_rf_chains 0x00000004 eeprom_rd 0x00000000 low_2ghz_chan 2312 high_2ghz_chan 2732 low_5ghz_chan 4800 high_5ghz_chan 6200 num_mem_reqs 0x00000007 min_pkt_size_enable 0x00000000
[   66.770279] ath10k_pci 0001:03:00.0: ChipType 1100 ChipTypeID 0 BoardID 2 P 144/144 V 16 K 288 PH 464 T 346  msdu-desc: 2500  sw-crypt: 0
[   66.782650] ath10k_pci 0001:03:00.0: free: 59316 iram: 14420 sram: 31524
[   66.789359] ath10k_pci 0001:03:00.0: wmi event ready sw_version 0x01000000 abi_version 3 mac_addr 12:34:56:78:90:12 status 0
[   66.892828] ath10k_pci 0001:03:00.0: Init Channel Number 40
[   66.923534] ath10k_pci 0001:03:00.0: set base mac addr 78:d2:94:58:6a:80
[   87.702052] ath10k_pci 0001:03:00.0: boot get otp board id result 0x00040400 board_id 1 chip_id 0 ext_bid_support 1
[   89.995510] ath10k_pci 0001:03:00.0: boot upload otp to 0x1234 len 9317
[   93.123912] ath10k_pci 0001:03:00.0: Init Max Stations to 128
[   93.129667] ath10k_pci 0001:03:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000185b vht_cap 0x339b79fa vht_supp_mcs 0x0000ffaa sw_ver0 0x01000000 sw_ver1 0x00000032 fw_build 0x00000000 phy_capab 0x00000001 
um_rf_chains 0x00000004 eeprom_rd 0x00000000 low_2ghz_chan 2312 high_2ghz_chan 2732 low_5ghz_chan 4800 high_5ghz_chan 6200 num_mem_reqs 0x00000007 min_pkt_size_enable 0x00000000
[   93.241433] ath10k_pci 0001:03:00.0: ChipType 1100 ChipTypeID 0 BoardID 2 P 144/144 V 16 K 288 PH 464 T 346  msdu-desc: 2500  sw-crypt: 0
[   93.253803] ath10k_pci 0001:03:00.0: free: 59316 iram: 14420 sram: 31524
[   93.260509] ath10k_pci 0001:03:00.0: wmi event ready sw_version 0x01000000 abi_version 3 mac_addr 12:34:56:78:90:12 status 0
[   93.363955] ath10k_pci 0001:03:00.0: Init Channel Number 40
[   93.394573] ath10k_pci 0001:03:00.0: set base mac addr 78:d2:94:58:6a:80
[   93.434489] br0: port 4(wlan0) entered blocking state
[   93.439551] br0: port 4(wlan0) entered disabled state
[   93.444790] device wlan0 entered promiscuous mode
[   93.461196] ath10k_pci 0001:03:00.0: mac txpower 20
[   93.732564] ath10k_pci 0001:03:00.0: mac txpower 20
[   93.742705] br0: port 4(wlan0) entered blocking state
[   93.747752] br0: port 4(wlan0) entered forwarding state
[   93.804748] ath10k_pci 0001:04:00.0: Init Channel Number 14
[   93.810871] ath10k_pci 0001:03:00.0: Init Channel Number 91
[   94.076299] ath10k_pci 0001:04:00.0: Init Channel Number 11
[   94.082268] ath10k_pci 0001:03:00.0: Init Channel Number 173
[   94.100325] ath10k_pci 0001:03:00.0: Init Channel Number 40
[   94.109491] ath10k_pci 0001:04:00.0: Init Channel Number 11
[   94.212022] device vlan2 entered promiscuous mode
[   94.735966] NET: Registered protocol family 10
[   95.134256] device eth2 entered promiscuous mode
[   95.139240] device vlan2 left promiscuous mode
[   95.145002] device eth2 left promiscuous mode

Let me know if there is something I can do to help identify the issue.

Best regards

mirroring stopped

It looks like after the migration the job did not start back. I am looking into it.

R6700v3, LED wrong status, buttons inactive

Hi,

On Netgear R6700v3 when the radio is off, the LED continue to stay on (build r42847)
In the source code I could not find R6700v3 to map correctly the LED's
Below is what I tested on the device, please note that some of the LED's have reverse logic state.

LED power >> gpio disable 1 #LED white is on, gpio disable 2 #LED orange is on
LED internet >> gpio disable 7 #LED white is on
LED 2.4Ghz >> gpio disable 9 #LED white is on
LED 5Ghz >> gpio disable 8 #LED white is on
LED guest >> gpio disable 12 #LED white is on
LED USB3 >> gpio disable 13 #LED white is on
LED/button WiFi on/off >> gpio enable 11 #LED white is on
LED/button WPS on/off >> gpio enable 10 #LED white is on

Pressing the buttons (WiFi and WPS) have no effect on the WiFi Radio status.
I am open to run tests in order to help fixing this issue.

mirroring stopped

This repository was missed during an earlier migration. The original files are now lost and I am unable to resume it, keep getting error: git-svn died of signal 11. @TimothyGu would you like to take over this mirror? Thanks.

Support for Archer C9 v5

Like in the subject, is there any possibility to make the firmware also for the version 5 (there's firmware for all vesrions below)

Missing the check of cpu_has_dc_aliases

Hi, in linux-3.10, /arch/mips/mm/init.c, line 253, function copy_from_user_page, the kernel of dd-wrt deleted the check of cpu_has_dc_aliases (definition: #define cpu_has_dc_aliases (cpu_data[0].dcache.flags & MIPS_CACHE_ALIASES)), which is used to determine whether OS allows the alias of CPU cache. If yes, multiple virtual addresses can map to a single physical address, and using virtual addresses as tags may cause multiple copies of one piece of data in the cache. In this situation, if one of the copies is modified and the other copies are not updated simultaneously, the data will lose its integrity, which will lead to program errors. Therefore, this security check can ensure the data integrity of a program and should not be deleted.

Support IPSET

I compile "xt_set.ko" kernel module.

In ".config_bcmmips" file of ddwrt svn 3.10 kernel directory:

 ---------------------- 
 # 
 # Xtables combined modules 
 # 
 CONFIG_NETFILTER_XT_MARK=y 
 CONFIG_NETFILTER_XT_CONNMARK=y 
 CONFIG_NETFILTER_XT_SET=m
 ..... 
 CONFIG_IP_SET=y 
 CONFIG_IP_SET_MAX=256 
 CONFIG_IP_SET_BITMAP_IP=y 
 CONFIG_IP_SET_BITMAP_IPMAC=y 
 CONFIG_IP_SET_BITMAP_PORT=y 
 CONFIG_IP_SET_HASH_IP=y 
 CONFIG_IP_SET_HASH_IPPORT=y 
 CONFIG_IP_SET_HASH_IPPORTIP=y 
 CONFIG_IP_SET_HASH_IPPORTNET=y 
 CONFIG_IP_SET_HASH_NET=y 
 CONFIG_IP_SET_HASH_NETPORT=y 
 # CONFIG_IP_SET_HASH_NETIFACE is not set 
 CONFIG_IP_SET_LIST_SET=y
 # CONFIG_IP_VS is not set 
 ---------------------- 

Load modules but the error:

insmod: cannot insert 'xt_set.ko': unknown symbol in module". 

Can you help me?

nvram settings for regulatory domain don't match GUI

The website configuration allows for setting a singe regulatory domain for wlan0. You cannot set the regdomain for any secondary radio, which is reasonable. But the subsequent nvram settings don't always match this.

Steps to REPRO:

  1. Flash with a ddwrt firmware
  2. Change the regdomain in the GUI to a different country from its default
  3. commit nvram settings
  4. See that wlan0_regdomain="$NEW_COUNTRY" and wlan1_regdomain="$OLD_COUNTRY"

In my GUI:
"Regulatory Domain = KOREA_REPUBLIC" [because I live in South Korea (Republic of Korea)]

NVRAM SETTINGS:
wlan0_regdomain=KOREA_REPUBLIC
wlan1_regdomain=UNITED_STATES

ACTUAL RESULTS:
regdomains for wlan0 and wlan1 are different from each other

EXPECTED RESULTS:

  1. There be only one variable, since it's redundant to store multiple settings that are intended to be identical.

or

  1. The two variables to be set identically to each other to both match the GUI

Device info:
TP-Link ARCHER-C7 v2 (US)

brave_Bw8hkmlmJK
screen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.