Closed Mitzlaff closed 4 years ago
Does disabling the Mesh-link (intern-ch13.freifunk.net) fixes it?
would suggest bug title: TP-Link CPE210 Ver: 2.0/3.0 wifi not working
see: https://bugs.openwrt.org/index.php?do=details&task_id=2333
https://github.com/openwrt/openwrt/pull/1951#issuecomment-512795229
2-1 week ago searched for wifi bug - other devices using similar hardware seems affected too
https://lists.berlin.freifunk.net/pipermail/berlin/2019-July/039539.html
-> wifi bug hint: seen somebody mentioned in CPE210 bug threads different irqs
wifi not working: 2019.08.19_upstream_master_freifunk-berlin-dev-daily-fdfcd4a-tplink_cpe210-v2-sysupgrade.bin [ 14.339957] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.342144] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
wifi working: 2019.08.19_freifunk-berlin-development-1cfbb77-cpe210-v2-sysupgrade.bin [ 10.645916] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 10.651507] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
-> wifi bug hint: seen somebody mentioned in CPE210 bug threads different irqs
doesn't appear to be a problem, at least according to bootlog https://github.com/openwrt/openwrt/pull/2468#issuecomment-537549406
AR9344 and AR9342 work fine with this irq setup
seems to be fixed:
mac80211 ath9k: force QCA953x clock to 25MHz
https://github.com/openwrt/openwrt/commit/4c6fe32468bc60cc25a8c298498c0be3c73e7378
The QCA953x only supports 25 MHz refclk, however some OEMs set an invalid bootstrap value for the REF_CLK option, which would break the clock detection in ath9k.
Force the QCA953x refclk to 25MHz in ath9k, as this is (according to the datasheet) the only valid frequency.
Signed-off-by: David Bauer mail@david-bauer.net
did not test it yet.
Firmware Version: freifunk-berlin-dev-daily-6431131-tplink_cpe210-v3-sysupgrade.bin
For the records: this was the first build based on openwrt-master using the sth79-target for the CPE210-devices. This commit made also the CPEx10-v1 devices use the ath79-target, as the CPEx10v{2,3} already did.
@SvenRoederer is the openwrt fix https://github.com/openwrt/openwrt/commit/4c6fe32468bc60cc25a8c298498c0be3c73e7378 already in the freifunk firmware? Then it would be easy for me to test it.
@Mitzlaff the current build of branch "daily/upstream-master" contains all openwrt-commit till 23.Nov. So the mentioned one is also included.
Looking forward to your test-results.
on 21.11.2019 did an OpenWrt trunk test Build:
Powered by LuCI Master (git-19.324.23065-4fe16b1) / OpenWrt SNAPSHOT r11562-08d9c95417
wifi working:
clients can connect to TP-Link CPE210 Ver: 2.0 and
CPE210 is connected via wifi to a Freifunk Box -> internet working
@everloop2 do you know the exact filename of the image you flashed? the filename also contains the githash, to back-reference to exact code used for this build.
But thanks for testing
unfortuneatly -> openwrt-ath79-generic-tplink_cpe210-v2-squashfs-sysupgrade.bin -> o.O
hope/think its right:
https://github.com/openwrt/openwrt/commits/317e98a5a2 -> Commits on Nov 21, 2019
Kernel Log [ 0.000000] Linux version 4.19.84 (human@rechenknecht37) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11561-317e98a5a2)) #0 Thu Nov 21 11:55:50 2019
[ 0.000000] Linux version 4.19.84 (human@rechenknecht37) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11561-317e98a5a2)) #0 Thu Nov 21 11:55:50 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is TP-Link CPE210 v2
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57580K/65536K available (4273K kernel code, 175K rwdata, 1012K rodata, 1188K init, 206K bss, 7956K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 650.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008278] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[ 0.074889] pid_max: default: 32768 minimum: 301
[ 0.080036] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.087012] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.100222] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.110680] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.117304] pinctrl core: initialized pinctrl subsystem
[ 0.124132] NET: Registered protocol family 16
[ 0.168056] clocksource: Switched to clocksource MIPS
[ 0.174965] NET: Registered protocol family 2
[ 0.180637] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.188887] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.196249] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.203004] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.209911] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.216098] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.223299] NET: Registered protocol family 1
[ 0.227939] PCI: CLS 0 bytes, default 32
[ 0.232204] Crashlog allocated RAM at address 0x3f00000
[ 0.239886] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.254776] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.261008] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.289410] io scheduler noop registered
[ 0.293550] io scheduler deadline registered (default)
[ 0.301570] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[ 0.308922] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.316477] console [ttyS0] disabled
[ 0.320385] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[ 0.329526] console [ttyS0] enabled
[ 0.337068] bootconsole [early0] disabled
[ 0.358218] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[ 0.363071] 6 fixed-partitions partitions found on MTD device spi0.0
[ 0.369687] Creating 6 MTD partitions on "spi0.0":
[ 0.374657] 0x000000000000-0x000000020000 : "u-boot"
[ 0.380893] 0x000000020000-0x000000030000 : "partition-table"
[ 0.387812] 0x000000030000-0x000000040000 : "info"
[ 0.393877] 0x000000040000-0x0000007c0000 : "firmware"
[ 0.404722] 2 tplink-fw partitions found on MTD device firmware
[ 0.410937] Creating 2 MTD partitions on "firmware":
[ 0.416081] 0x000000000000-0x0000001b81b5 : "kernel"
[ 0.422298] 0x0000001b81b5-0x000000780000 : "rootfs"
[ 0.428421] mtd: device 5 (rootfs) set to be root filesystem
[ 0.436398] 1 squashfs-split partitions found on MTD device rootfs
[ 0.442899] 0x000000410000-0x000000780000 : "rootfs_data"
[ 0.449552] 0x0000007c0000-0x0000007f0000 : "config"
[ 0.455631] 0x0000007f0000-0x000000800000 : "art"
[ 0.462955] libphy: Fixed MDIO Bus: probed
[ 0.808519] libphy: ag71xx_mdio: probed
[ 0.813990] libphy: ar8xxx-mdio: probed
[ 0.824639] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
[ 1.220390] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[ 1.231082] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 1.240402] NET: Registered protocol family 10
[ 1.252193] Segment Routing with IPv6
[ 1.256121] NET: Registered protocol family 17
[ 1.260924] 8021q: 802.1Q VLAN Support v1.8
[ 1.277488] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.295021] Freeing unused kernel memory: 1188K
[ 1.299752] This architecture does not have kernel memory protection.
[ 1.306397] Run /sbin/init as init process
[ 2.461598] init: Console is alive
[ 2.465453] init: - watchdog -
[ 2.527014] random: fast init done
[ 3.649571] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.726548] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.744725] init: - preinit -
[ 5.229634] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.335385] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.435174] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.812939] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.941069] eth0: link up (100Mbps/Full duplex)
[ 7.945812] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 9.133405] jffs2: notice: (465) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 10 of xref (2 dead, 0 orphan) found.
[ 9.152315] mount_root: switching to jffs2 overlay
[ 9.186011] overlayfs: upper fs does not support tmpfile.
[ 9.201665] urandom-seed: Seeding with /etc/urandom.seed
[ 9.408659] eth0: link down
[ 9.427642] procd: - early -
[ 9.430914] procd: - watchdog -
[ 10.078253] procd: - watchdog -
[ 10.081946] procd: - ubus -
[ 10.160897] urandom_read: 5 callbacks suppressed
[ 10.160907] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.175518] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.183876] procd: - init -
[ 11.067045] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.271119] Loading modules backported from Linux version v5.4-rc2-0-gda0c9ea146cb
[ 11.279046] Backport generated by backports.git v5.4-rc2-1-0-g5a0c323a
[ 11.369697] xt_time: kernel timezone is -0000
[ 11.564376] PPP generic driver version 2.4.2
[ 11.579940] NET: Registered protocol family 24
[ 11.721412] urngd: v1.0.1 started.
[ 11.744986] ath: EEPROM regdomain: 0x0
[ 11.744997] ath: EEPROM indicates default country code should be used
[ 11.745000] ath: doing EEPROM country->regdmn map search
[ 11.745017] ath: country maps to regdmn code: 0x3a
[ 11.745023] ath: Country alpha2 being used: US
[ 11.745026] ath: Regpair used: 0x3a
[ 11.760030] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 11.762135] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12
[ 11.848621] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.290105] random: crng init done
[ 25.105555] br-lan: port 1(eth0) entered blocking state
[ 25.111058] br-lan: port 1(eth0) entered disabled state
[ 25.116881] device eth0 entered promiscuous mode
[ 25.181090] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 27.141111] eth0: link up (100Mbps/Full duplex)
[ 27.145878] br-lan: port 1(eth0) entered blocking state
[ 27.151355] br-lan: port 1(eth0) entered forwarding state
[ 27.243333] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 27.392100] ath: EEPROM regdomain: 0x8114
[ 27.392112] ath: EEPROM indicates we should expect a country code
[ 27.392117] ath: doing EEPROM country->regdmn map search
[ 27.392122] ath: country maps to regdmn code: 0x37
[ 27.392129] ath: Country alpha2 being used: DE
[ 27.392132] ath: Regpair used: 0x37
[ 27.392139] ath: regdomain 0x8114 dynamically updated by user
[ 30.495521] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 30.561984] br-lan: port 2(wlan0-1) entered blocking state
[ 30.567812] br-lan: port 2(wlan0-1) entered disabled state
[ 30.574108] device wlan0-1 entered promiscuous mode
[ 31.738748] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 33.188526] wlan0: authenticate with xxxx
[ 33.207298] wlan0: send auth to xxxx (try 1/3)
[ 33.218827] wlan0: authenticated
[ 33.288195] wlan0: associate with xxxx (try 1/3)
[ 33.301571] wlan0: RX AssocResp from xxxx (capab=0x421 status=0 aid=1)
[ 33.309891] wlan0: associated
[ 33.326788] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 33.361095] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[ 33.368386] br-lan: port 2(wlan0-1) entered blocking state
[ 33.374101] br-lan: port 2(wlan0-1) entered forwarding state
[ 942.422119] eth0: link up (10Mbps/Half duplex)
[ 963.222450] eth0: link up (100Mbps/Full duplex)
[ 1049.567857] eth0: link up (10Mbps/Half duplex)
[ 1063.106729] eth0: link up (100Mbps/Full duplex)
[ 1086.038190] eth0: link down
[ 1086.042765] br-lan: port 1(eth0) entered disabled state
[ 1087.081039] eth0: link up (100Mbps/Full duplex)
[ 1087.085856] br-lan: port 1(eth0) entered blocking state
[ 1087.091352] br-lan: port 1(eth0) entered forwarding state
Ahh, you used a vanilla OpenWrt for your testing. which will match with our code d98f5205b2ff30ec19ee3d0d9e28c96c9a9e59a5
today tried to build: daily/upstream-master
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-mod-failsafe:
* luci-base
* opkg_install_cmd: Cannot install package luci-mod-failsafe.
think patch/commits https://github.com/freifunk-berlin/firmware/commit/3237490c302bb6ac9d75793f16fd5db02b76074b are missing
at master: /patches/packages/luci/0202-split-luci-base_PR2817.patch at daily/upstream-master: /patches/packages/luci/0001-luci-PR2817_split_luci-base.patch
today tried to build: daily/upstream-master
let's agree on commit 39e7543 of branch daily/upstream-master
Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-mod-failsafe: * luci-base * opkg_install_cmd: Cannot install package luci-mod-failsafe.
think patch/commits 3237490 are missing
As you can see, the PR2817 patch splits the current luci-base package into luci-lib-base and luci-base, which depends on luci-lib-base. Without the patch the luci-base package is there, as it's in the original luci-feed. With the patch both packages are there and fulfill all dependencies. There must be another cause of the problem. Have you additional logs? can you publish the code you are using?
trying again fresh build (10.12.2019 14:50):
umask 0022
git clone https://github.com/freifunk-berlin/firmware.git
cd firmware
git checkout daily/upstream-master
/firmware/profiles/ath79-generic.profiles -> removed everything except: tplink_cpe210-v2
make -j2 V=s TARGET=ath79-generic PACKAGES_LIST_DEFAULT=notunnel
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-mod-failsafe:
* luci-base
* opkg_install_cmd: Cannot install package luci-mod-failsafe.
make[3]: *** [package/Makefile:68: package/install] Error 255
make[2]: *** [package/Makefile:108: firmware/openwrt/staging_dir/target-mips_24kc_musl/stamp/.package_install] Error 2
/firmware/openwrt/include/toplevel.mk:227: world] Fehler 2
make[1]: Verzeichnis „/firmware/openwrt“ wird verlassen
make: *** [Makefile:189: .stamp-compiled] Fehler 2
trying again fresh build (10.12.2019 14:50): git checkout daily/upstream-master
--> https://github.com/freifunk-berlin/firmware/commit/39e75437746c259164972aa9525b0e562fb070ba (to browser the directory-tree)
you can verify with git status
@everloop2 I assume you are affected by the problem mentioned in https://github.com/freifunk-berlin/firmware/pull/714#issuecomment-546705095 . My approach to split the patches-directory (PR #714), was sometimes causing problems on the feeds. I assume you will find in the logs (using V=s make option) a message indicating that the luci-base Makefile will be found in openwrt/feeds/.pc/...
. This path is of course invalid and will not give a valid package.
I did not find the real cause or a nice solution, so I switched over to use the gluon-patch-system (which is merged to master now).
I need to switch the daily/master-upstream branch to this patch-framework to, when I've time. In the meantime you can just disable the PR2817 patch, which should make the build not fails at all.
To check for the fault you can run:
make TARGET=ath79-generic V=s prepare 2>&1 | less
make -j2 V=s TARGET=ath79-generic PACKAGES_LIST_DEFAULT=notunnel
shown straight at compile start -> /firmware/patches/packages/luci/0001-luci-PR2817_split_luci-base.patch
present
rm -f .stamp-firmwares
rm -rf /firmware/openwrt/bin
rm -rf /firmware/openwrt/build_dir/target-*/*-{imagebuilder,sdk}-*
cat /firmware/configs/common.config /firmware/configs/ath79-generic.config > /firmware/openwrt/.config
# always replace CONFIG_VERSION_CODE by FW_REVISION
sed -i "/^CONFIG_VERSION_CODE=/c\CONFIG_VERSION_CODE=\"39e7543\"" /home/human/Freifunk/firmware_daily_up_master/firmware/openwrt/.config
umask 022; \
make -C /home/human/Freifunk/firmware_daily_up_master/firmware/openwrt defconfig
make[1]: Verzeichnis „/home/human/Freifunk/firmware_daily_up_master/firmware/openwrt“ wird betreten
make[2]: Entering directory '/home/human/Freifunk/firmware_daily_up_master/firmware/openwrt'
make[2]: Leaving directory '/home/human/Freifunk/firmware_daily_up_master/firmware/openwrt'
WARNING: Makefile 'package/feeds/packages/acme/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/routing/bird1-ipv4-openwrt/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/routing/bird1-ipv6-openwrt/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-adblock/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-advanced-reboot/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-ahcp/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-aria2/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-attendedsysupgrade/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-attendedsysupgrade/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-banip/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-bcp38/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/routing/luci-app-bmx6/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/routing/luci-app-bmx6/Makefile' has a dependency on 'luci-lib-httpclient', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-bmx7/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-cifsd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/routing/luci-app-cjdns/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-clamav/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-commands/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-coovachilli/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-cshark/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-dcwapd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-ddns/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-diag-core/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-dnscrypt-proxy/Makefile' has a dependency on 'luci-lib-httpprotoutils', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-dnscrypt-proxy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-dump1090/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-dynapoint/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-firewall/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-app-freifunk-diagnostics/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-app-freifunk-policyrouting/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-app-freifunk-widgets/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-fwknopd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-hd-idle/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-https_dns_proxy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-ltqtapi/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-lxc/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-app-meshwizard/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-minidlna/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-mjpg-streamer/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-mosquitto/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-mwan3/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-nextdns/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-nft-qos/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-nlbwmon/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-noddos/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-ntpc/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-nut/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-ocserv/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-olsr/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-olsr-services/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-olsr-viz/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-omcproxy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-openvpn/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-opkg/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/packages_berlin/luci-app-owm/Makefile' has a dependency on 'luci-lib-httpclient', which does not exist
WARNING: Makefile 'package/feeds/packages_berlin/luci-app-owm/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/packages_berlin/luci-app-owm/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-p910nd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-pagekitec/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-polipo/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-privoxy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-qos/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-radicale/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-radicale2/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-rosy-file-server/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-rosy-file-server/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-rp-pppoe-server/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-samba/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-samba4/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-shadowsocks-libev/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-shairplay/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-siitwizard/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-simple-adblock/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-snmpd/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-snmpd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-splash/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-squid/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-statistics/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-tinyproxy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-transmission/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-travelmate/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-ttyd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-udpxy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-uhttpd/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-unbound/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-upnp/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-vnstat/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-vpnbypass/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-watchcat/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-wifischedule/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-wireguard/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-wol/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-app-yggdrasil/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-compat/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-compat/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-base/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-ip/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-ipkg/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-ipkg/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-iptparser/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-iptparser/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-json/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-jsonc/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-nixio/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-px5g/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-lib-rpcc/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-light/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-admin-full/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-admin-full/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-admin-mini/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-admin-mini/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-failsafe/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-failsafe/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-mod-freifunk/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-mod-freifunk-community/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-network/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-network/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-rpc/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-status/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-status/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-system/Makefile' has a dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-mod-system/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-nginx/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-3g/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-hnet/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-ipip/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-ipv6/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-modemmanager/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-ncm/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-openconnect/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-ppp/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-pppossh/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-qmi/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-relay/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-vpnc/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-wireguard/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-ssl/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-ssl-nginx/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-ssl-openssl/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-theme-bootstrap/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/freifunk/luci-theme-freifunk-generic/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-theme-material/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-theme-openwrt/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-theme-rosy/Makefile' has a build dependency on 'luci-base/host', which does not exist
WARNING: Makefile 'package/feeds/packages/sqm-scripts/Makefile' has a dependency on 'luci-base', which does not exist
touch .config
[...]
I need to switch the daily/master-upstream branch to this patch-framework to, when I've time. In the meantime you can just disable the PR2817 patch, which should make the build not fails at all.
disabled PR2817: /firmware/patches/packages/luci/series -> #0001-luci-PR2817_split_luci-base.patch
-> same build error
No stress - only wanted to test daily/upstream-master branch
Will try test build on master, 25Mhz patch should be included: https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=refs/heads/openwrt-19.07;pg=1 2019-11-06 | David Bauer | mac80211 ath9k: force QCA953x clock to 25MHz
https://github.com/freifunk-berlin/firmware/commit/81aad75392ddcaf8d1e6974c816357aa06add8df Update to HEAD of openwrt-19.07 branch (9. Nov 2019)
master branch working :)
[ 0.000000] Linux version 4.14.151 (human@rechenknecht37) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10666+10-d3e11e8ad8)) #0 Fri Sep 6 08:29:50 2019
tested as mesh node: wizard + mesh working -> only "set-password-again-bug" (no major)
kernelprotokoll.txt systemprotokoll.txt
test_firmware: https://wiki.freifunk-cottbus.de/firmware:downloads
-> bugs?: box did a self-reboot after ~30min uptime
test CPE210_v2: http://monitor.berlin.freifunk.net/detail.php?p=uptime&t=uptime&h=cottbus-lausi36-2&s=604800&x=800&y=350
edit: update monitor link -> will test later
-> bugs: unusually high cpu load and self reboots after ~40min.
-> tested openwrt trunk yesterday -> cpu load seems ok, box did not self reboot, needs further testing
so master-branch (openWrt-19.07 based) , right?
thanks for testing, keep us informed
Yep, plain master: https://github.com/freifunk-berlin/firmware/tree/master
Deactivated IPv6 everywhere: Olsrd, NetworkDevices, SystemStartup -> does not help.
-> lantiq boxes: in past (more half year ago) stumbled over a high CPU load bug -> deactivate IPv6 did help.
Vanilla OpenWrt does not seem to have high CPU load and self-reboots:
https://downloads.openwrt.org/snapshots/targets/ath79/generic/tplink_cpe210-v2-squashfs-factory.bin
just made PR #827. Is the node "cottbus-lausi36-2" still a CPE-v3 on ath79?
just made PR #827. Is the node "cottbus-lausi36-2" still a CPE-v3 on ath79?
Was a tplink_cpe210-v2 (1xLAN).
Trying build branch cpe210 fails due gcc10 support check fails (arch linux): https://patchwork.ozlabs.org/project/openwrt/patch/20200318183943.529630-1-robimarko@gmail.com/
workaround: trying fresh https://github.com/freifunk-berlin/firmware/commits/openwrt-19.07.3 branch and https://github.com/freifunk-berlin/firmware/pull/827 > seems to compile
build stops at an other error related to gcc10, workaround:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=1bbc1aa884902fd05cc579b53d68b2ba0b18683f
Fixes the following build error with GCC 10: /usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of `swap'; mksquashfs.o:(.bss+0x1b2a88): first defined here And a compile warning.
Yeah, I see your build issues are only with our outdated master-branch.
The "mksquashfs"-bug mentioned is already backported to 19.07 (https://github.com/openwrt/openwrt/commit/059db419d7dfbf8e27c49b1f6b88e8170d659088). -
Probably you want to give a build of https://github.com/SvenRoederer/freifunk-berlin-firmware/commits/nightly/upstream-1907 a chance. I can also share you the prebuild imagebuilder, but confirming build on arch linux would be also great.
Yeah, I see your build issues are only with our outdated master-branch.
The "mksquashfs"-bug mentioned is already backported to 19.07 (openwrt/openwrt@059db41). -
Probably you want to give a build of https://github.com/SvenRoederer/freifunk-berlin-firmware/commits/nightly/upstream-1907 a chance. I can also share you the prebuild imagebuilder, but confirming build on arch linux would be also great.
canceled building https://github.com/freifunk-berlin/firmware/commits/openwrt-19.07.3
did a build for: https://github.com/SvenRoederer/freifunk-berlin-firmware/commits/nightly/upstream-1907 on Linux 5.7.9-1-MANJARO (x86_64)
openwrt gcc 10: internal compiler error: Segmentation fault > 1times in early build process > seems doesnt like multithreaded building (make -j4)
make -j1 > build continues > afterwards multithreaded again (make -j4) > build finished :)
(maybe make download
or something smt related)
build: Powered by LuCI branch (git-19.082.34170-bf97eae) / Freifunk Berlin SAm0815-master 0017a2fb
bugs:
did a build for: https://github.com/SvenRoederer/freifunk-berlin-firmware/commits/nightly/upstream-1907 on Linux 5.7.9-1-MANJARO (x86_64)
...
build: Powered by LuCI branch (git-19.082.34170-bf97eae) / Freifunk Berlin SAm0815-master 0017a2f
Based on the version-string of your firmware you built my repos master branch (OpenWrt-19.07 of 21st June) and not on "nightly/upstream-1907" branch (recent OpenWrt-19.07). I expect this to be the cause of the build-failure you have seen.
* flashing & wizard working
That's great to hear, so its proofed that CPE210v2 is working without wifi-issues. As per https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=141698ce8fbc52d253c9207ef46b3630a0870567 the v2 and v3 are identical I assume v3 is also working. So I'm looking forward to get #827 merged.
bugs:
* wizard finished > reboot > LuCI shows no menu or login buttons
--> see issue #831
- ssh working
- mesh working > speedtest > almost max. connetion (10mbit here) --> are these bugs? :-)
- cpu idle: ~70% > rssi-led bug > option dev 'wlan0'
- cpu idle: ~90% > option dev 'wlan0-mesh-2' --> this references to issue #769?
Edit: Thanks for the testing
@Mitzlaff @everloop2 shall we close this?
@Mitzlaff @everloop2 shall we close this?
Close, wifi has been fixed, other bugs > other issues.
yep no bugs ;)
Bug report
What is the problem? WLAN does not work.
When using LAN connection I see this:
What is the expected behaviour? SSID showing up when scanning for configured SSID name (freifunk-backyard)
Firmware Version: freifunk-berlin-dev-daily-6431131-tplink_cpe210-v3-sysupgrade.bin
Site Configuration: default, just using Luci
Custom patches: none