[OpenWrt-Devel] 深圳�{通集�F重�c分公司
请预览内容在附件___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update
On Tue, Sep 25, 2018 at 11:15:14PM +0200, Hauke Mehrtens wrote: > ... > With that update I am fine with squashing the mac80211 updates and > pushing them to OpenWrt master. > > I checked the removed patches and could not find these two patches in > the upstream kernel: > * > package/kernel/mac80211/patches/600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch Yes, this one should be dropped according to Stanislaw Gruszka, we've discussed this earlier, but can't spot the thread right now. > * > package/kernel/mac80211/patches/367-Revert-ath10k-disable-wake_tx_queue-for-older-device.patch > > I assume it is not a problem that they got removed. > > Hauke > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update
On 09/24/2018 10:47 PM, Hauke Mehrtens wrote: > On 08/13/2018 05:14 PM, John Crispin wrote: >> Hi, >> >> as 19.01 will probably use v4.14 as baseline and ath79 wont be a full >> replacement for ar71xx by then we decided to bump ar71xx to v4.14. This >> is available for testing inside my staging tree -> >> >> https://git.openwrt.org/?p=openwrt/staging/blogic.git;a=shortlog;h=refs/heads/staging >> >> >> The tree also holds an update to mac80211, bumping it to the v4.18 wifi >> drivers. If anyone would like to test ar71xx and/or mac80211, feel free >> to do so. >> >> John > > Hi John, > > most of the stuff we need in backports is now already in the upstream git: > https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/log/ > > Johannes is still waiting for a fix iwlwifi then I will make an > officially tagged backports release of that. I would prefer to use that > in OpenWrt as a base for now. Can we wait with the mac80211 update in > OpenWrt some days. It still makes sense to test the stuff which is your > staging git tree, it should work with kernel 4.9 and 4.14, it still has > a problem with kernel 4.19 which is also fixed upstream backports. Hi John, Now backports-4.19-rc5-1.tar.xz was released, I added it here: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=commitdiff;h=da9c00dcc6401f55cebec2de272f3ab2bd492e1b With that update I am fine with squashing the mac80211 updates and pushing them to OpenWrt master. I checked the removed patches and could not find these two patches in the upstream kernel: * package/kernel/mac80211/patches/600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch * package/kernel/mac80211/patches/367-Revert-ath10k-disable-wake_tx_queue-for-older-device.patch I assume it is not a problem that they got removed. Hauke signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] ncurses: Add ncurses6 config
From: Jan Kardell This is needed by gpsd. Otherwise it finds and uses the build hosts version of ncurses header files. And that is not compatible, at least on openSUSE. Also use relative symlinks to the ncursesw6-config file. This patch is needed in master and 18.06 branch. Signed-off-by: Jan Kardell --- package/libs/ncurses/Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile index 94c968816f..3c51b75129 100644 --- a/package/libs/ncurses/Makefile +++ b/package/libs/ncurses/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ncurses PKG_VERSION:=6.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -148,13 +148,16 @@ define Build/InstallDev for lib in ncurses panel menu form; do \ ln -s lib{lib}w.so $(1)/usr/lib/lib{lib}.so; \ done + ln -s . $(1)/usr/include/ncurses ln -s . $(1)/usr/include/ncursesw $(TARGET_CROSS)ar rc $(1)/usr/lib/libtinfo.a $(INSTALL_DIR) $(2)/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw6-config $(2)/bin/ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/INCS //g' \ $(2)/bin/ncursesw6-config - ln -sf $(STAGING_DIR)/host/bin/ncursesw6-config $(1)/usr/bin/ncursesw6-config + ln -rsf $(2)/bin/ncursesw6-config $(1)/usr/bin/ncurses6-config + ln -rsf $(2)/bin/ncursesw6-config $(2)/bin/ncurses6-config + ln -rsf $(2)/bin/ncursesw6-config $(1)/usr/bin/ncursesw6-config endef define Host/Compile -- 2.16.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart
Hi Kristian, does the same happen without "bind-dynamic" ? My hunch is that dnsmasq fails to "resubscribe" to the socket after the ifindex of br-lan changed due to the network restart (which will destroy and recreate br-lan). Maybe netlink congestion or something related to privilege dropping? Can you manage to capture an strace log of the running dnsmasq instance while the network is getting restarted? ~ Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart
Hi Jo-Philipp, On Tue, Sep 25, 2018 at 6:59 AM Jo-Philipp Wich wrote: > whats the complete dnsmasq cmdline? This is the command line: /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid The configuration looks as follows: # auto-generated config file from /etc/config/dhcp conf-file=/etc/dnsmasq.conf dhcp-authoritative domain-needed localise-queries read-ethers enable-ubus expand-hosts bind-dynamic local-service domain=lan server=/lan/ server=8.8.8.8 server=8.8.4.4 server=208.67.222.222 server=208.67.220.220 interface=br-lan dhcp-leasefile=/tmp/dhcp.leases servers-file=/tmp/resolv-files/servers.conf resolv-file=/tmp/resolv-files/resolv.conf stop-dns-rebind rebind-localhost-ok dhcp-broadcast=tag:needs-broadcast addn-hosts=/tmp/hosts conf-dir=/tmp/dnsmasq.d user=dnsmasq group=dnsmasq bogus-priv conf-file=/usr/share/dnsmasq/rfc6761.conf dhcp-range=set:lan,192.168.6.2,192.168.6.201,255.255.255.0,12h no-dhcp-interface=eth0.2 Thanks, Kristian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] base-files: add network_get_metric() to /lib/functions/network.sh
On Mon, Sep 24, 2018 at 2:31 PM Florian Eckert wrote: > > Signed-off-by: Florian Eckert Patch applied to master (https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=61a59949009993a6b1d634ecbce765b37c4c2560); thx Hans > --- > package/base-files/files/lib/functions/network.sh | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/package/base-files/files/lib/functions/network.sh > b/package/base-files/files/lib/functions/network.sh > index d7fd2dea57..4fdcb66302 100644 > --- a/package/base-files/files/lib/functions/network.sh > +++ b/package/base-files/files/lib/functions/network.sh > @@ -271,6 +271,11 @@ network_is_up() > # 2: interface > network_get_protocol() { __network_ifstatus "$1" "$2" ".proto"; } > > +# determine the metric of the given logical interface > +# 1: destination variable > +# 2: interface > +network_get_metric() { __network_ifstatus "$1" "$2" ".metric"; } > + > # determine the layer 3 linux network device of the given logical interface > # 1: destination variable > # 2: interface > -- > 2.11.0 > > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel