Re: Issues w/ kexec-tools when building images

2024-05-07 Thread Philip Prindeville via openwrt-devel
condition, and > kexec-tools will not be built. Look at the OpenSSL Makefile for an example > (taking it from memory). > > Cheers, > > Eneas > >> Em 6 de mai. de 2024, à(s) 17:09, Philip Prindeville via openwrt-devel >> escreveu: >> >> The sender

Issues w/ kexec-tools when building images (redux)

2024-05-07 Thread Philip Prindeville via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi, Sorry, had to add filters to

Issues w/ kexec-tools when building images

2024-05-07 Thread Philip Prindeville via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi, I fetched/rebased recently

Issues w/ kexec-tools when building images

2024-05-06 Thread Philip Prindeville via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi, I fetched/rebased recently

Re: Scripting question how to filter list of files based on globs

2024-04-10 Thread Philip Prindeville via openwrt-devel
4, at 6:03 PM, Paul D wrote: > > On 2024-04-09 23:30, Philip Prindeville via openwrt-devel wrote: >> I'm trying to modify a script generates a list of filenames one per >> line, but should be filtered against a blacklist of file globs. >> >> Something like: >&

Scripting question how to filter list of files based on globs

2024-04-09 Thread Philip Prindeville via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi, I'm trying to modify a

Scripting question how to filter list of files based on globs

2024-04-09 Thread Philip Prindeville via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi, I'm trying to modify a

Re: Migrating ISC to Kea DHCP blocked on related PR's

2023-12-12 Thread Philip Prindeville
> On Dec 11, 2023, at 5:49 AM, Paul D wrote: > > On 2023-12-09 23:47, Philip Prindeville wrote: >> Hi all, >> I'm working on a drop-in for Kea that will parse existing ISC-DHCP >> configurations in UCI and crank out the derivative JSON config files for >>

Migrating ISC to Kea DHCP blocked on related PR's

2023-12-09 Thread Philip Prindeville
Hi all, I'm working on a drop-in for Kea that will parse existing ISC-DHCP configurations in UCI and crank out the derivative JSON config files for Kea, but I have a couple of PR's that are necessary to making this happen that have been pending for several weeks:

Best practices for shell libraries (specifically error-checking)

2023-11-18 Thread Philip Prindeville
Hi all, I'm trying to figure out what best practices are for shell libraries, as I'm working on changes to a pretty significant library which I envision being leveraged in a lot of places. My questions are these: * should a good library do error-checking for the caller, or expect the caller

Re: Adding a new x86 image or related packages to the default x86 image

2023-11-13 Thread Philip Prindeville
> On Nov 13, 2023, at 10:44 PM, Elliott Mitchell wrote: > > On Tue, Nov 14, 2023 at 03:44:57AM +, Daniel Golle wrote: >> On Mon, Nov 13, 2023 at 06:26:04PM -0800, Elliott Mitchell wrote: >>> On Mon, Nov 13, 2023 at 12:48:14PM +, Daniel Golle wrote: On Mon, Nov 13, 2023 at

Re: Adding a new x86 image or related packages to the default x86 image

2023-11-13 Thread Philip Prindeville
> On Nov 13, 2023, at 7:26 PM, Elliott Mitchell wrote: > > On Mon, Nov 13, 2023 at 12:48:14PM +, Daniel Golle wrote: >> On Mon, Nov 13, 2023 at 01:30:10PM +0100, Paul Spooren wrote: >>> >>> How about we follow the approach of Alpine Linux[1] and offer a standard, >>> an extended and a

Re: Adding a new x86 image or related packages to the default x86 image

2023-11-12 Thread Philip Prindeville
> On Sep 14, 2023, at 5:19 PM, Stefan Lippers-Hollmann wrote: > > Hi > > On 2023-09-14, Paul Spooren wrote: >> Hi, >> >> I’d like to merge the PR which adds the Mellanox Spectrum SN2100 to >> OpenWrt[1]. In its current state a new x86 image would be added next >> to the generic x86 image.

Re: [PATCH] x86 64: Add new device Cordoba Edge Platform

2023-11-04 Thread Philip Prindeville
That’s a question for a core maintainer. I’m just a lowly package maintainer. > On Oct 29, 2023, at 10:29 PM, Xiaojun Liu wrote: > > Hi Philip, > > Thank you! Do you know when it will be merged to Openwrt main thread ? > > -Original Message- > From: Phi

Re: [PATCH] x86 64: Add new device Cordoba Edge Platform

2023-11-04 Thread Philip Prindeville
> On Oct 30, 2023, at 11:17 AM, Paul Spooren wrote: > > Hi, > > We kind of don’t add image just to contain extra drivers. Extra UCI defaults > for eth ordering are fine but please don’t add an extra image if it just > contains 1-2 extra packages, installable via the ImageBuilder or OPKG. >

Re: [PATCH] x86 64: Add new device Cordoba Edge Platform

2023-10-27 Thread Philip Prindeville
LGTM > On Oct 23, 2023, at 8:52 PM, Xiaojun Liu wrote: > > Add new device Cordoba Edge Platform > Device name:Cordoba Edge Platform > hardware specifications: CPU - Intel Atom C3000 > WiFi - mt7915e > > Signed-off-by: Xiaojun Liu mailto:xiaojun@silicom.co.il >

Re: CI/CD failures on non-x86 platforms

2023-10-27 Thread Philip Prindeville
gen-6.4.0/ipkg-install/usr/lib strip: Unable to recognise the format of the input file `/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0/ipkg-install/usr/lib/libcligen.so.6.4' /builder/staging_dir/host/bin/install: strip process terminated abnormally make[3]: *** [Makefile:158: install-lib

CI/CD failures on non-x86 platforms

2023-10-24 Thread Philip Prindeville
Hi, I'm seeing the following: https://github.com/openwrt/packages/actions/runs/6621741418/job/17986176198?pr=22362 Specifically: mips-openwrt-linux-musl-gcc -shared -o libcligen.so.6.4 cligen_object.o cligen_callback.o cligen_parsetree.o cligen_pt_head.o cligen_handle.o cligen_cv.o

Re: Subject: [PATCH] x86 64: Add new device Cordoba Edge Platform

2023-10-22 Thread Philip Prindeville
Doesn't this just have ixgbe and igc NIC's? And the mt7915e of course. Don't think we need the amd-xgbe, bnx2, e1000e, e1000, r8169, tg3 drivers. The BIOS we've been using has some odd enumeration of the PCI bus, so you might want to include a patch for

New packages: cligen and clixon

2023-10-10 Thread Philip Prindeville
Hi all, I know we've talked about replacing OpenWRT's native configuration representation with something more flexible... and things like NETCONF and OpenConfig come up from time to time. To that end, I've two PR's open: https://github.com/openwrt/packages/pull/22359

Meta packages for wireless

2023-09-06 Thread Philip Prindeville
Hi all, I was reading through some of the online documentations as I try to bring up a 5G modem w/ Verizon and modemmanager, and bounced between various settings (it's a Quectel EM120R-GL modem for the moment until something better arrives), trying to decide if I wanted to use QMI or MBIM, if

Mofi still shipping Barrier Breaker (14.07)

2023-09-03 Thread Philip Prindeville
Hi all, As we work on the 23.05 release, I was stunned to receive a Mofi MOFI4500-4GXeLTE-V3 router with 14.07 installed on it as part of my Unlimitedville enrollment. I thought, "wow, this must have been sitting in a warehouse a while! I'd better update it." So I went to the company's

hotplug deficiency -- HW network interfaces not generating events

2023-08-29 Thread Philip Prindeville
Hi, I was looking at a way to address https://github.com/openwrt/openwrt/issues/13329 by leveraging hotplug instead (per Gorki's suggestion). Then it wouldn't matter if the drivers were loaded at preinit time (marked as "required to boot" in netdevices.mk) or not. But when I went to look

Re: Bringing up new hardware, and GPIO definitions

2023-08-21 Thread Philip Prindeville
t;e1000", "ixgbe", "i40e", and "igc" aren't. Wha.aaat? So name assignments can only be done for a select few devices? Why can't renumbering also be handled for devices that get loaded later? Can boot() in /etc/init.d/boot be modified to finish

Re: Bringing up new hardware, and GPIO definitions

2023-08-21 Thread Philip Prindeville
(board_name)" case "$(board_name)" in But best as I can tell that line isn't being hit... or rather, the whole file isn't. What would prevent that from happening? I'm not very familiar with the preinit logic. Thanks > On Aug 21, 2023, at 11:34 AM, Philip Prindeville &g

Bringing up new hardware, and GPIO definitions

2023-08-21 Thread Philip Prindeville
I have a new x86 prototype box I'm working with, and it doesn't have a DTSI file (obviously) or a platform driver... and given my experiences with getting APU platform drivers upstream last time, I'm hesitant to do that all over again. Anyway, is there an easy way to do GPIO assignments for

Re: Hostapd won't build after rebase yesterday

2023-08-11 Thread Philip Prindeville
> On Aug 11, 2023, at 10:02 AM, Felix Fietkau wrote: > > On 11.08.23 17:58, Philip Prindeville wrote: >> I'm seeing the following breakage in hostapd: >> ../src/ap/ucode.c: In function 'uc_hostapd_iface_start': >> ../src/ap/ucode.c:337:23: error: 'struct hostapd_

Re: Reserving USERID

2023-08-11 Thread Philip Prindeville
> On Aug 11, 2023, at 10:11 AM, Paul Spooren wrote: > > Hi, > >> Is explicit better or not? And if it is better, how do I go about reserving >> values that won't get stepped on? Who is our Numbers Czar, who is our IANA? > > I always used Gentoos numbers[1] whenever I added something.

Hostapd won't build after rebase yesterday

2023-08-11 Thread Philip Prindeville
I'm seeing the following breakage in hostapd: ../src/ap/ucode.c: In function 'uc_hostapd_iface_start': ../src/ap/ucode.c:337:23: error: 'struct hostapd_config' has no member named 'he_oper_centr_freq_seg0_idx'; did you mean 'vht_oper_centr_freq_seg0_idx'? 337 |

Reserving USERID

2023-08-10 Thread Philip Prindeville
Hi, I'm working on an updated release of Clixon for OpenWRT, and I want it to stop running as "root". Looking at all of the Makefiles, I see some packages reserve an explicit uid/gid associated with the user and group names, like ntp and ubus and network... while others don't (like docker and

Re: Packaging ZFS

2023-08-10 Thread Philip Prindeville
> On Aug 10, 2023, at 11:49 AM, Torbjörn Jansson wrote: > > On 2023-08-06 21:39, Philip Prindeville wrote: >> I don't know... I have a Xeon D-1548 based 1U Supermicro server with a 4TB >> NVMe stick that would make a decent file server/NAS... >>> On Aug 6, 20

Re: Packaging ZFS

2023-08-09 Thread Philip Prindeville
> On Aug 8, 2023, at 3:14 PM, Luiz Angelo Daros de Luca > wrote: > >> Thanks, Alberto. I'm wondering how much work making it cross-build packages >> is going to be... >> >> Digging into it now... >> > > You should take a look at ksmbd package. It does compile an out-of-tree > module. >

Re: Packaging ZFS

2023-08-08 Thread Philip Prindeville
have been using ZFS on Raspberry Pis and on > some Rockchip boards (in Debian/Ubuntu/Armbian/RaspberryOS) for years at this > point. > > -Alberto > > On 06/08/23 21:39, Philip Prindeville wrote: >> I don't know... I have a Xeon D-1548 based 1U Supermicro server with a

Re: Packaging ZFS

2023-08-06 Thread Philip Prindeville
on (devices with) smaller flash drives. Other FS > better suited to such env. > > No ZFS is in available software packages today, in any case. > > > On 2023-08-06 00:53, Philip Prindeville wrote: > > Has anyone tried to package ZFS (more correctly, OpenZFS) for OpenWRT? Is

Packaging ZFS

2023-08-05 Thread Philip Prindeville
Has anyone tried to package ZFS (more correctly, OpenZFS) for OpenWRT? Is there any interest in doing so? https://github.com/openzfs/zfs ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Towards a unified /etc/config/dhcp

2023-07-26 Thread Philip Prindeville
I'm the maintainer of ISC-DHCP which will be sunsetting soon. I'd like to take the UCI wrappers that I wrote to handle quite a few configuration options and port those to Kea since this makes the most sense as a migration path for people wishing to retain their configurations. That said, it

Best practice for resetting (iptables) firewall state

2023-07-11 Thread Philip Prindeville
Hi, I'm working on a wrapper for using xt_asn and xt_geoip in xtables-addons, and was wondering about how best to solve certain problems. Since, for now, I'll be using shell and UCI, I'm not going to maintain state (old/current vs. new/desired state) of the firewall so I won't be able to

Re: armvirt -> armsr target rename [Was: Re: EFI / SystemReady support for OpenWrt on arm64]

2023-07-10 Thread Philip Prindeville
> On Jun 9, 2023, at 1:23 AM, Petr Štetiar wrote: > > Hi, > > FYI there is an ongoing effort[1] to rename armvirt target to armsr (Arm > SystemReady) > > armvirt/32 becomes armsr/armv7 (title: 32-bit (armv7) machines) > armvirt/64 becomes armsr/armv8 (title: 64-bit (armv8) machines) > >

Re: EFI / SystemReady support for OpenWrt on arm64

2023-07-10 Thread Philip Prindeville
> On May 28, 2023, at 2:09 AM, Petr Štetiar wrote: > > Mathew McBride [2023-05-26 16:16:31]: > > Hi Mathew, > >> I am just wondering if anyone has any significant objections that would >> stop this pull from being merged? (after I fix any current conflicts) > > we should support it, so we

Re: Non-SoC target for ARM64

2023-06-05 Thread Philip Prindeville
> On Jun 1, 2023, at 1:18 PM, Tomasz Maciej Nowak wrote: > > W dniu 1.06.2023 o 18:58, Philip Prindeville pisze: >> Hi, > > Hi. > >> I'm thinking about the utility of being able to build a generalized ARM64 >> image (not "armvirt&qu

Non-SoC target for ARM64

2023-06-01 Thread Philip Prindeville
Hi, I'm thinking about the utility of being able to build a generalized ARM64 image (not "armvirt") for bring up on new platforms for testing. There are a lot of generalized computing platforms like the Ampere Altra servers that you might want to use as in inbound Apache proxy server, a load

Re: SoHo VPN providers and rDNS, etc -- recommendations?

2023-05-12 Thread Philip Prindeville
> On May 12, 2023, at 12:25 PM, Mark Thurston wrote: > >> I've got a simple question. I'm in the US, and I'm looking for a VPN >> provider that uses IPsec and can provide an rDNS record for my public IPv4 >> pointing back to my domain. I've asked several VPN providers and they don't >>

SoHo VPN providers and rDNS, etc -- recommendations?

2023-05-12 Thread Philip Prindeville
Hi, I've got a simple question. I'm in the US, and I'm looking for a VPN provider that uses IPsec and can provide an rDNS record for my public IPv4 pointing back to my domain. I've asked several VPN providers and they don't seem to understand what I'm asking (NordVPN, ProtonVPN, NordLayer,

Re: Objective of OpenWRT/x86?

2023-05-02 Thread Philip Prindeville
> On May 1, 2023, at 6:59 PM, Alberto Bursi wrote: > > > > On 01/05/23 06:40, Philip Prindeville wrote: >>> On Apr 28, 2023, at 11:18 PM, Elliott Mitchell wrote: >>> >>> On Fri, Apr 28, 2023 at 12:04:15PM -0600, Philip Prindeville wrote: >>

Re: Objective of OpenWRT/x86?

2023-05-01 Thread Philip Prindeville
> On May 1, 2023, at 9:32 AM, Daniel Golle wrote: > > On Mon, May 01, 2023 at 09:01:29AM -0600, Philip Prindeville wrote: >> >> >>> On May 1, 2023, at 8:12 AM, Joseph Mullally wrote: >>> >>> On Mon, May 1, 2023 at 5:43 AM Philip Prindevill

Re: [PATCH 9/9] kernel/x86: remove DRM support

2023-05-01 Thread Philip Prindeville
> On Apr 28, 2023, at 9:45 PM, Elliott Mitchell wrote: > > On Thu, Apr 27, 2023 at 11:21:28AM +0200, Thibaut wrote: >> >>> Le 27 avr. 2023 à 02:11, Elliott Mitchell a écrit : >>> >>> On Thu, Apr 27, 2023 at 12:50:52AM +0200, Stefan Lippers-Hollmann wrote: On 2023-04-19, Elliott

Re: Objective of OpenWRT/x86?

2023-05-01 Thread Philip Prindeville
> On May 1, 2023, at 8:12 AM, Joseph Mullally wrote: > > On Mon, May 1, 2023 at 5:43 AM Philip Prindeville > wrote: >>> On Apr 28, 2023, at 11:18 PM, Elliott Mitchell wrote: >>>> On Fri, Apr 28, 2023 at 12:04:15PM -0600, Philip Prindeville wrote: > &g

Re: [PATCH 2/9] kernel: change CONFIG_HW_RANDOM default to y

2023-04-30 Thread Philip Prindeville
> On Apr 29, 2023, at 12:08 AM, Elliott Mitchell wrote: > > On Fri, Apr 28, 2023 at 10:29:29AM -0600, Philip Prindeville wrote: >> Why isn't this migrating upwards into target/linux/generic/config-5.15 and >> target/linux/generic/config-5.10 in that case? >> >

Re: Objective of OpenWRT/x86?

2023-04-30 Thread Philip Prindeville
> On Apr 28, 2023, at 11:18 PM, Elliott Mitchell wrote: > > On Fri, Apr 28, 2023 at 12:04:15PM -0600, Philip Prindeville wrote: >> >>> [snip] > >> See above: the radios and antennae I can get as add-ons for a Xeon-D 1U >> pizza box or even an APU6 mPC

Re: [PATCH 1/9] kernel/generic: remove CONFIG_FB_NOTIFY

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 25, 2023, at 5:23 PM, Elliott Mitchell wrote: > > I don't know what version of Linux this option disappeared at, but > it is clearly gone now. > > Signed-off-by: Elliott Mitchell > --- > target/linux/generic/config-5.10 | 1

Re: Objective of OpenWRT/x86?

2023-04-28 Thread Philip Prindeville
> On Apr 26, 2023, at 2:17 PM, Elliott Mitchell wrote: > > Well, was a specific objective ever chosen for the x86 version of > OpenWRT? Does it need one? As the most ubiquitous hardware out there for many users, why would we need to box it in? Someone might want to throw a generic image

Re: [PATCH 9/9] kernel/x86: remove DRM support

2023-04-28 Thread Philip Prindeville
> On Apr 27, 2023, at 3:21 AM, Thibaut wrote: > > > >> Le 27 avr. 2023 à 02:11, Elliott Mitchell a écrit : >> >> On Thu, Apr 27, 2023 at 12:50:52AM +0200, Stefan Lippers-Hollmann wrote: >>> On 2023-04-19, Elliott Mitchell wrote: Direct Rendering Manager is mainly for running X

Re: [PATCH 6/9] kernel/x86: enable x32 support for amd64

2023-04-28 Thread Philip Prindeville
> On Apr 26, 2023, at 6:00 PM, Elliott Mitchell wrote: > > On Thu, Apr 27, 2023 at 12:46:49AM +0200, Stefan Lippers-Hollmann wrote: >> >> On 2023-03-30, Elliott Mitchell wrote: >>> Full amd64 support isn't really appropriate for most situations >>> OpenWRT is deployed. Whereas x86-x32 seems

Re: [PATCH 6/9] kernel/x86: enable x32 support for amd64

2023-04-28 Thread Philip Prindeville
My own experience disagrees. I spent 17 months bringing up a Xeon-D based traffic shaper for 40Gb/s of traffic in a radio base station. And yes, when collected crunched traffic statistics, it did use more than 4GB of address space to do so. > On Mar 30, 2023, at 5:30 PM, Elliott Mitchell

Re: [PATCH 0/9] (mostly) x86 kernel configuration adjustments

2023-04-28 Thread Philip Prindeville
> On Apr 26, 2023, at 2:11 PM, Elliott Mitchell wrote: > > Now we come to the item I've mentioned. The X32 ABI. This is running an > amd64 processor in amd64 mode, but truncating all pointers to 32 bits > (ILP32 mode). This shrinks the runtime size of programs in exchange for > limiting

Re: [PATCH 8/9] kernel/x86: remove support for AGP

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 12, 2023, at 11:47 PM, Elliott Mitchell wrote: > > OpenWRT is not a graphics-oriented Linux distribution. There is no > need for AGP support in any standard OpenWRT kernel. > > Signed-off-by: Elliott Mitchell > --- > target/

Re: [PATCH 8/9] kernel/x86: remove support for AGP

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 12, 2023, at 11:47 PM, Elliott Mitchell wrote: > > OpenWRT is not a graphics-oriented Linux distribution. There is no > need for AGP support in any standard OpenWRT kernel. > > Signed-off-by: Elliott Mitchell > --- > target/

Re: [PATCH 7/9] kernel/x86: remove all ISA support from non-legacy

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 13, 2023, at 9:58 PM, Elliott Mitchell wrote: > > While some older PCI motherboard might emulate some functions via > ISA, actual ISA is absent from anything non-legacy. Move ISA DMA > enabling to Geode and Legacy. > > S

Re: [PATCH 5/9] kernel/x86: remove CONFIG_M686 from common configuration

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 17, 2023, at 9:21 AM, Elliott Mitchell wrote: > > All of the sublevels choose their own values, so there is no point > in the common file having anything. This also removes a warning from > the kernel build process. > > S

Re: [PATCH 4/9] kernel/x86: move SCx200 support from generic to geode

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 13, 2023, at 6:07 PM, Elliott Mitchell wrote: > > The SCx200 is part of the Geode platform. As such generic x86 > doesn't need the driver, but Geode does. > > Signed-off-by: Elliott Mitchell > --- > target/linux/x

Re: [PATCH 3/9] kernel/x86: move Geode HW random from generic to geode

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 19, 2023, at 3:07 PM, Elliott Mitchell wrote: > > Quite reasonable to have support for the Geode HW random number > generator. On the Geode kernel. > > Support for the VIA HWRNG has been enabled in common. Pull that >

Re: [PATCH 2/9] kernel: change CONFIG_HW_RANDOM default to y

2023-04-28 Thread Philip Prindeville
Why isn't this migrating upwards into target/linux/generic/config-5.15 and target/linux/generic/config-5.10 in that case? And for the platforms where it was turned off, like target/linux/armvirt/32/config-5.15, why isn't that staying unchanged? > On Apr 22, 2023, at 11:46 AM, Elliott

Re: [PATCH 2/8] kernel/x86: move SCx200 support from generic to geode

2023-04-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 13, 2023, at 6:07 PM, Elliott Mitchell wrote: > > The SCx200 is part of the Geode platform. As such generic x86 > doesn't need the driver, but Geode does. > > Signed-off-by: Elliott Mitchell > --- > target/linux/x

Re: [PATCH] netifd: add support of GRE tunnel ignore-df option

2023-04-24 Thread Philip Prindeville
I'm not sure you want it to be unconditional. When I wrote the option for netlink and iproute2, it was for some very specialized scenarios. > On Apr 24, 2023, at 3:14 AM, Stefan Hellermann wrote: > > I have an easier patch in my private repo, maybe it's enough without a new > configuration

Virtualization issues w/ recent images

2023-04-23 Thread Philip Prindeville
Hi, I built an image today for x86_64/generic with a recent sync to master on openwrt and packages. I dd'd the image (squashfs-combined) to the raw disk, zero padded the disk to grow it, and booted. The VM comes up with the following devices: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN

Re: Build problems with packages which are using openssl

2023-04-23 Thread Philip Prindeville
I don't know if it's related, but syslog-ng-3.38.1 and now -4.1.1 keep crashing in libssl.so. [ 7263.710130] syslog-ng[6648]: segfault at 180 ip 7fe55725dd43 sp 7de33ed8 error 6 in libssl.so.3[7fe557252000+45000] [ 7263.715174] Code: e8 03 00 ff 15 8e dc 05 00 31 d2 31 c0 be 11 01

Re: [PATCH] ramips: fix green LED for D-Link DAP-X1860

2023-04-23 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 23, 2023, at 7:40 AM, Sebastian Schaper > wrote: > > It was found this device uses a single tri-color power/status LED > rather than individual red/orange LEDs, which also supports green. > > Add GPIO for green color and use wit

Packaging keep.d/ files and include/package-ipkg.mk

2023-04-22 Thread Philip Prindeville
Hi, This question is for Jo-Philipp or whomever else wants to take a stab at it. I'm looking at this commit: https://github.com/openwrt/openwrt/commit/f3a5085903f770bf0b569d3b94ca1cc4d7bab53f#diff-327b383b4b87cd4627eea84a61ada9688b7438baf11536eb74951e4479adb84dR116-R129 And specifically this

[PATCH 0/2] Small improvements to jshn.c and jshn.sh

2023-04-14 Thread Philip Prindeville
From: Philip Prindeville Minor improvements in efficiency and portability to libubox's jshn and its wrapper. Philip Prindeville (2): jshn.sh: Add pretty-printing to json_dump blobmsg: Don't do at run-time what can be done at compile-time blobmsg_json.c | 6 +++--- sh/jshn.sh | 12

[PATCH 1/2] jshn.sh: Add pretty-printing to json_dump

2023-04-14 Thread Philip Prindeville
From: Philip Prindeville If a JSON file might be read by a human, say for debugging, it could be useful to pretty-print it. We do this in places by calling "json_dump -i" but it shouldn't be necessary to know the arguments to "jshn" (and indeed, that's not portable if we r

[PATCH 2/2] blobmsg: Don't do at run-time what can be done at compile-time

2023-04-14 Thread Philip Prindeville
From: Philip Prindeville Repeatedly calling a run-time function like strlen() on an invariant value is inefficient, especially if that value can be computed once (at initialization) or better yet, computed at compile-time. Signed-off-by: Philip Prindeville --- blobmsg_json.c | 6 +++--- 1

Best practices for meta packages with variants

2023-04-07 Thread Philip Prindeville
Hi, Hoping to get a little guidance from my peers. I'm trying to create a meta-package that can be selected and it will include all of the subordinate/dependent packages, but in this case one of the subordinate packages comes in two variants (IPv4-only or IPv4/v6):

X86 partition tables

2023-01-22 Thread Philip Prindeville
Hi, Couple of questions about partition tables on x86 hardware. Do most x86 machines (an APUv6 w/ Coreboot in my case, and a Qemu/KVM VM with Bochs as well) support GPT in BIOS (CGM or whatever)? And what are the steps on a live system to (1) convert the MBR partition table to MBR, and (2)

Re: [PATCH] kernel/x86: fix type

2023-01-13 Thread Philip Prindeville
Looks good to me. > On Jan 13, 2023, at 7:30 AM, Florian Eckert wrote: > > Fix typo for KernelPackage w83627hf-wdt. > > Signed-off-by: Florian Eckert > --- > target/linux/x86/modules.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/linux/x86/modules.mk

Re: RFC: Add initrd generation to load SSDT tables via ACPI

2023-01-13 Thread Philip Prindeville
Hi Florian. What is it you're asking for from me? Does apica-unix need to be bumped? > On Jan 13, 2023, at 5:41 AM, Florian Eckert wrote: > > Hello, > > I have an APU3. This has an I2C bus (SMBUS) to which additional devices can > be connected. On my APU3 board, an IO expander mcp23s08

Re: [PATCH v2 1/1] apu2: add definitions for apu4/6

2023-01-02 Thread Philip Prindeville
Please follow-up there with any suggestions. Thanks > On Dec 28, 2022, at 12:45 AM, Philip Prindeville > wrote: > > From: Philip Prindeville > > Signed-off-by: Philip Prindeville > --- > target/linux/x86/base-files/etc/board.d/01_leds| 2 +- > target/linux

Bind (bind-server) users please upgrade

2022-12-30 Thread Philip Prindeville
If you are using Bind9 then you should upgrade to the latest (9.18.10-1) package. No, it's not a CVE. It's a glitch where, if Bind comes up before your WAN port has stabilized, then you'll end up with bogus SOA and NS records for your root server keys because of a problem in how the journaled

Re: Updating env/kernel-config after rebasing/kernel version bump

2022-12-28 Thread Philip Prindeville
> On Dec 28, 2022, at 1:14 PM, Robert Marko wrote: > > On Wed, 28 Dec 2022 at 01:01, Philip Prindeville > wrote: >> >> >> >>> On Dec 27, 2022, at 4:50 PM, Robert Marko wrote: >>> >>> On Wed, 28 Dec 2022 at 00:48, Philip Prindevil

[PATCH v2 1/1] apu2: add definitions for apu4/6

2022-12-27 Thread Philip Prindeville
From: Philip Prindeville Signed-off-by: Philip Prindeville --- target/linux/x86/base-files/etc/board.d/01_leds| 2 +- target/linux/x86/base-files/etc/board.d/02_network | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/x86/base-files/etc/board.d/01_leds b

[PATCH 1/1] apu2: add definitions for apu4/6

2022-12-27 Thread Philip Prindeville
From: Philip Prindeville Signed-off-by: Philip Prindeville --- target/linux/x86/base-files/etc/board.d/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network index

Re: Updating env/kernel-config after rebasing/kernel version bump

2022-12-27 Thread Philip Prindeville
> On Dec 27, 2022, at 4:50 PM, Robert Marko wrote: > > On Wed, 28 Dec 2022 at 00:48, Philip Prindeville > wrote: >> >> Hi, >> >> I originally set up my env/kernel-config a long time ago (like 2018) by >> hand, and since then the kernel has gone t

Updating env/kernel-config after rebasing/kernel version bump

2022-12-27 Thread Philip Prindeville
Hi, I originally set up my env/kernel-config a long time ago (like 2018) by hand, and since then the kernel has gone through several bumps. How do I easily refresh it to pick up new stuff from target/linux/x86/64/config-${KVER} (where KVER=5.15 currently)? Is there a handy script or make

Detecting presence (or absence) of IPv6 on WAN interfaces

2022-09-23 Thread Philip Prindeville
Hi all, Is there some state available in init.d scripts for detecting if we have IPv6 on the publicly facing Internet? Or do I have to read the network config, look for wan* interfaces, and see if any of them have IPv6 addresses configured, etc? Was hoping that this was already neatly done

Looking for co-contributor on UCI enhancements for various packages

2022-09-09 Thread Philip Prindeville
Hi, I'm the maintainer for a few packages, and I could use a little help from someone who has time to do some shell scripting and UCI integration for some of these packages. For instance, I'd like to add remote dynamic DNS updates when using isc-dhcpd on remote sites but having a single

Firewall questions

2022-09-07 Thread Philip Prindeville
Hi, A couple of firewall questions. I'll start with something easy. If I'm ssh'd into my router and I restart the firewall (I'm using firewall3 and iptables), then on one router I get dropped from my shell after a timeout... but on another router, I stay connected. In both cases, I'll be

Re: Reaching out to Greg KH for 6 year LTS kernel versions

2022-08-12 Thread Philip Prindeville
> On Aug 12, 2022, at 11:54 AM, Florian Fainelli wrote: > > One aspect I could see is take for instance a device that is widely popular > amongst our user base as was TI's ar7 for instance a while back, and for > which we might have done a Linux 5.4, or 5.10 version at the time but we do >

Re: Reaching out to Greg KH for 6 year LTS kernel versions

2022-08-12 Thread Philip Prindeville
> On Aug 12, 2022, at 11:53 AM, Florian Fainelli wrote: > > OK, the 3-4 years time frame is not something that we currently have with > Linux kernels, it is either 2 years or 6 years, since 6 > 4, it sounds like > we still have some interest in having 6 LTS kernels, but maybe not have every

Re: Reaching out to Greg KH for 6 year LTS kernel versions

2022-08-12 Thread Philip Prindeville
2 13:32, Robert Marko wrote: >>>>> On Wed, 10 Aug 2022 at 22:30, Philip Prindeville >>>>> wrote: >>>>>> >>>>>> Not to play the devil's advocate but... do we want old kernels hanging >>>>>> out that long? >>

Re: Best VSDL modem-router to target?

2022-08-10 Thread Philip Prindeville
> On Aug 10, 2022, at 5:46 PM, Mathew McBride wrote: > > (resend as plain text) > > Hi Philip, > > On Sat, Jul 30, 2022, at 5:24 AM, Philip Prindeville wrote: >> [snip] >> >> What was the conclusion about VDSL2 PCIe cards? I'm looking for a VDS

Re: Reaching out to Greg KH for 6 year LTS kernel versions

2022-08-10 Thread Philip Prindeville
Not to play the devil's advocate but... do we want old kernels hanging out that long? Besides not encouraging people to update to new releases that mitigate discovered CVE's, we'd also not pick up David Taht's excellent improvements in Buffer Bloat. > On Aug 8, 2022, at 5:15 PM, Florian

Persistent /var

2022-08-07 Thread Philip Prindeville
Hi all (and Daniel and Stijn especially), How do I build a system (or an image to install on a system) that's x86_64 and has an SSD, which I want to have a squashfs image and a 2nd partition with an ext4 filesystem for /var. I'd like the first boot to resize the 2nd partition to use all

Draytek VDSL2 card

2022-07-30 Thread Philip Prindeville
Anyone have any luck getting one of these running with OpenWRT? https://www.draytek.co.uk/download/VigorNIC132_Datasheet.pdf I emailed them but haven't heard back... ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: Best VSDL modem-router to target?

2022-07-29 Thread Philip Prindeville
> On Jan 9, 2022, at 5:46 PM, David Woodhouse wrote: > > On Mon, 2022-01-10 at 10:41 +1100, Mathew McBride wrote: >> On Mon, Jan 10, 2022, at 10:14 AM, David Woodhouse wrote: >>> On Wed, 2022-01-05 at 18:05 -0700, Philip Prindeville wrote: >>>> H

Upstream PR's to build Asterisk w/o Openssl deprecated API

2022-05-17 Thread Philip Prindeville
Hi all, I've got a series of reviews upstream in Asterisk to build against Openssl 1.1.x and 3.x without OPENSSL_SUPPRESS_DEPRECATED being required, if anyone is curious or wants to track that: https://gerrit.asterisk.org/c/asterisk/+/18533 https://gerrit.asterisk.org/c/asterisk/+/18525

Re: Drop CONFIG_IPV6 ?

2022-03-13 Thread Philip Prindeville
Er, *haven't started* > On Mar 13, 2022, at 9:54 PM, Philip Prindeville > wrote: > > Yeah, I disable CONFIG_IPV6, since most American ISP's have started rolling > out residential IPv6. My local pop & pop ILEC hasn't deployed it. There's > not even an announced date f

Re: Drop CONFIG_IPV6 ?

2022-03-13 Thread Philip Prindeville
Yeah, I disable CONFIG_IPV6, since most American ISP's have started rolling out residential IPv6. My local pop & pop ILEC hasn't deployed it. There's not even an announced date for it on their roadmap. I suspect that if everyone had an IPv6 address, which would be both routable and

WiFi-6 certified location services

2022-03-12 Thread Philip Prindeville
Hi, Anyone have an idea what's involved in adding support for WiFi-6 certified location services to OpenWRT? And where would it fit in? In the radio driver, or in hostapd? Thanks, -Philip ___ openwrt-devel mailing list

Re: Status of source-only targets

2022-01-12 Thread Philip Prindeville
> On Jan 12, 2022, at 10:53 AM, Daniel Golle wrote: > > On Wed, Jan 12, 2022 at 10:50:41AM -0700, Philip Prindeville wrote: >> >> >>> On Jan 11, 2022, at 11:56 AM, Daniel Golle wrote: >>> >>> Sadly the falcon didn't really make it to f

Re: Status of source-only targets

2022-01-12 Thread Philip Prindeville
> On Jan 11, 2022, at 11:56 AM, Daniel Golle wrote: > > Sadly the falcon didn't really make it to fly with OpenWrt (yet). > It's used in a couple of GPON SFP modules, so would sure be an > interesting target... G.PON SFP modules? Tell me about those!!!

Re: [PATCH] netifd: system-linux: add dev_type info for ubus network.device status

2022-01-11 Thread Philip Prindeville
> On Dec 7, 2021, at 5:26 AM, Jo-Philipp Wich wrote: > > Hi, > >> I have now taken a look at your suggestion. >> Unfortunately, I found that not all network interfaces have set the DEVTYPE >> attribute set in their uevent file. I have not yet found any information >> who sets this value.

  1   2   3   4   5   6   7   8   9   >