Re: x86/64 SDK segfaults on some hosts [Was: Re: [PATCH 1/2] fakeroot: make fakeroot script relocatable]

2020-11-09 Thread Petr Štetiar
Paul Spooren [2020-11-09 08:58:16]: > On Mon Nov 9, 2020 at 7:33 AM HST, Jo-Philipp Wich wrote: > > I probably missed the point of your mail - do you meant to imply that my > > patch introduced this regression? > > Since the CI builds start failing the same day as the patches were > commited

Re: [PATCH v2 03/10] base-files: upgrade: add get_image_dd()

2020-11-09 Thread Yousong Zhou
On Tue, 10 Nov 2020 at 13:35, Philip Prindeville wrote: > > Comments… > > > > On Nov 9, 2020, at 7:22 PM, Yousong Zhou wrote: > > > > This is mainly to handle stderr message "Broken pipe", "F+P records > > in/out" by common pattern "xcat | dd .." > > > > Ref:

QEMU x86/64 ubus issues [Was: Re: [PATCH 0/2] enable procd security features by default]

2020-11-09 Thread Petr Štetiar
Daniel Golle [2020-11-07 14:17:12]: Hi, > A while ago we have added some useful kernel features to !SMALL_FLASH > devices[1]. To make more use of that by default in a way which will > make exploiting potential vulnerabilities in OpenWrt's services much > harder, it'd be great to also have

Re: [PATCH v2 03/10] base-files: upgrade: add get_image_dd()

2020-11-09 Thread Philip Prindeville
Comments… > On Nov 9, 2020, at 7:22 PM, Yousong Zhou wrote: > > This is mainly to handle stderr message "Broken pipe", "F+P records > in/out" by common pattern "xcat | dd .." > > Ref: https://bugs.openwrt.org/index.php?do=details_id=3140 > Reported-by: Philip Prindeville > Signed-off-by:

Re: Re: Reliable way to get channel width from wifi scan

2020-11-09 Thread Ansuel Smith
Thx for the link. From a quick review you confirmed my fear. In the link the channel width is indirectly parsed by checking specific value from the wifi (upper or lower channel presence) (vht band for 5ghz). I think that the best way to implement this is using ubus. Since changing mac80211 code

Re: Re: Reliable way to get channel width from wifi scan

2020-11-09 Thread Michael Gray
Using iw scan? We've done this in the spectrum analyser plugin in Gargoyle [1]. It's not what i would call reliable though as iw itself specifically says not to screen scrape the data. That being said, it has worked for several years now. [1] -

[PATCH v2 10/10] x86: upgrade: make code comment appear as log lines

2020-11-09 Thread Yousong Zhou
This is mainly to make it clear records in/out in the following lines are for extracting boot sectors Before == upgrade: Reading partition table from bootdisk... 37+26 records in 37+26 records out == upgrade: Reading partition table from image... After == upgrade: Reading partition

[PATCH v2 09/10] x86: upgrade: use get_image_dd

2020-11-09 Thread Yousong Zhou
Ref: https://bugs.openwrt.org/index.php?do=details_id=3140 Reported-by: Philip Prindeville Signed-off-by: Yousong Zhou --- target/linux/x86/base-files/lib/upgrade/platform.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 07/10] base-files: bump PKG_RELEASE

2020-11-09 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index f63c4db533..b546eb7e0b 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@

[PATCH v2 00/10] sysupgrade: reword and organize log lines

2020-11-09 Thread Yousong Zhou
The series mainly aims to make sysupgrade log output more organized and less disturbing, in the following aspects - Hide "write error: Broken pipe" from cat command and its friends - Hide "F+P records in/out" lines from dd command - Make log lines from sysupgrade command itself more

[PATCH v2 06/10] base-files: upgrade: stage2: rework log lines

2020-11-09 Thread Yousong Zhou
- Use common v function when possible - Write log lines to stderr when using echo Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/stage2 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/base-files/files/lib/upgrade/stage2

[PATCH v2 04/10] base-files: upgrade: fwtool.sh: use v for log lines

2020-11-09 Thread Yousong Zhou
This will have at least the following effects - Log lines will have common prefix - They will be output to stderr instead of stdout Signed-off-by: Yousong Zhou --- .../base-files/files/lib/upgrade/fwtool.sh| 24 +-- 1 file changed, 12 insertions(+), 12 deletions(-) diff

[PATCH v2 02/10] base-files: upgrade: use stdin redirection to replace cat command

2020-11-09 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index c4947e4624..e12dfc9678 100644 ---

[PATCH v2 08/10] x86: upgrade: use v function for writting logs

2020-11-09 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .../linux/x86/base-files/lib/upgrade/platform.sh | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index

[PATCH v2 03/10] base-files: upgrade: add get_image_dd()

2020-11-09 Thread Yousong Zhou
This is mainly to handle stderr message "Broken pipe", "F+P records in/out" by common pattern "xcat | dd .." Ref: https://bugs.openwrt.org/index.php?do=details_id=3140 Reported-by: Philip Prindeville Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 6 ++ 1

[PATCH v2 05/10] base-files: upgrade: fwtool.sh: rewording logs

2020-11-09 Thread Yousong Zhou
The intent is to make it sound more like info level message, not some error like "404 not found". x86 target at the moment makes image with only signature but no metadata (ref commit f8141216 "x86: append metadata to combined images"). Signed-off-by: Yousong Zhou ---

[PATCH v2 01/10] base-files: upgrade: log with date prefix

2020-11-09 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 2 +- package/base-files/files/lib/upgrade/stage2| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh

Reliable way to get channel width from wifi scan

2020-11-09 Thread Ansuel Smith
Sorry if this is the wrong place to ask this. I'm trying to implement a wifi channel graph to diagnose wifi quality directly from luci using the wifi scan data. Problem is that I can't really find a way to get the channel width of the nearby stations. I modified rpcd to export the channel width

Re: [PATCH openwrt-19.07] feeds: add freifunk feed

2020-11-09 Thread Paul Spooren
On Thu Nov 5, 2020 at 1:44 PM HST, Daniel Golle wrote: > Read the freifunk packages, that have been moved from the LuCI feed > into its own feed in January 2019. > Use openwrt-19.07 branch of that repository for openwrt-19.07. > > Signed-off-by: Sven Roederer > (cherry picked from commit

Re: x86/64 SDK segfaults on some hosts [Was: Re: [PATCH 1/2] fakeroot: make fakeroot script relocatable]

2020-11-09 Thread Paul Spooren
On Mon Nov 9, 2020 at 7:33 AM HST, Jo-Philipp Wich wrote: > I probably missed the point of your mail - do you meant to imply that my > patch introduced this regression? Since the CI builds start failing the same day as the patches were commited there could be a correlation. There is also a GitHub

Re: [PATCH] rtl838x: fine tune default package set

2020-11-09 Thread John Crispin
On 09.11.20 18:32, Petr Štetiar wrote: Althought most of the switches aren't routers, they can be used as such, so let's add some of the packages from the router's DEVICE_TYPE. While at it, remove swconfig package which is not needed on DSA targets. Signed-off-by: Petr Štetiar Acked-by: John

[PATCH] rtl838x: fine tune default package set

2020-11-09 Thread Petr Štetiar
Althought most of the switches aren't routers, they can be used as such, so let's add some of the packages from the router's DEVICE_TYPE. While at it, remove swconfig package which is not needed on DSA targets. Signed-off-by: Petr Štetiar --- target/linux/rtl838x/Makefile | 3 ++- 1 file

Re: x86/64 SDK segfaults on some hosts [Was: Re: [PATCH 1/2] fakeroot: make fakeroot script relocatable]

2020-11-09 Thread Jo-Philipp Wich
Hi, > it seems like mixing dynamic loader from the host and libraries from SDK > doesn't work reliably in all cases and may result in crash. Yes, that is why we wrap the SDK executables to forcibly invoke them through the bundled loader. Attempting to use SDK executables or librries with the

x86/64 SDK segfaults on some hosts [Was: Re: [PATCH 1/2] fakeroot: make fakeroot script relocatable]

2020-11-09 Thread Petr Štetiar
Jo-Philipp Wich [2020-09-10 14:57:30]: Hi, > Patch the fakeroot script template to discover faked and libfakeroot.so > relative to the STAGING_DIR_HOST environment variable, similar to how it > is done for automake, libtool, quilt and autoconf already. > > This avoids the need for passing the

Re: ath10k-ct all hash values are different?

2020-11-09 Thread Ben Greear
I think I fixed it all on our web page, let me know if otherwise. Thanks, Ben On 11/9/20 1:42 AM, Nick wrote: Can we somehow get to the same naming convention, again? In OpenWrt it is: QCA998X-firmware-... directly in /. On the ct server it is QCA998X/firmware-...? Bests, Nick On 11/8/20

Re: [PATCH] dnsmasq: 'ipset' config sections

2020-11-09 Thread Aleksandr Mezin
Is something wrong with this patch? Should I CC someone to get the patch reviewed? I'm unable to figure out who is the maintainer of dnsmasq package On Fri, Oct 23, 2020 at 11:03 AM Aleksandr Mezin wrote: > > Allow configuring ipsets with dedicated config sections: > > config ipset >

Re: ath10k-ct all hash values are different?

2020-11-09 Thread Nick
Can we somehow get to the same naming convention, again? In OpenWrt it is: QCA998X-firmware-... directly in /. On the ct server it is QCA998X/firmware-...? Bests, Nick On 11/8/20 10:55 PM, Ben Greear wrote: > I tried to copy them all back into place...could have made mistakes since > owrt names