sbrown has quit [Read error: Connection reset by peer]
lukedashjr has joined #openwrt-devel
luke-jr has quit [Ping timeout: 240 seconds]
lukedashjr is now known as luke-jr
valku has quit [Quit: valku]
linzst has joined #openwrt-devel
hbug has joined #openwrt-devel
hbug___ has quit [Ping timeout: 240 seconds]
gromero has quit [Ping timeout: 260 seconds]
gromero has joined #openwrt-devel
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has joined #openwrt-devel
ivanich has quit [Quit: Konversation terminated!]
linzst has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
<russell--> i seem to recall being able to select CONFIG_ALL=m, make defconfig is telling me that's not valid
valku has joined #openwrt-devel
<russell--> CONFIG_ALL=y
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
luke-jr has quit [Read error: Connection reset by peer]
luke-jr has joined #openwrt-devel
Namidairo has quit [Read error: Connection reset by peer]
Namidairo has joined #openwrt-devel
<Grommish> russell--: You can use CONFIG_ALL=y but you'llwant to tag it with IGNORE_ERRORS="m n" or it'll fail on ones that won't compile for the target
<Grommish> on the make
<Grommish> IE make -jx IGNORE_ERRORS="n m"
daregap has joined #openwrt-devel
rmilecki has joined #openwrt-devel
Acinonyx_ has quit [Ping timeout: 252 seconds]
Acinonyx has joined #openwrt-devel
glyph has quit [Quit: End of line.]
glyph has joined #openwrt-devel
<russell--> yeah, IGNORE_ERRORS was known
<russell--> * pkg_hash_fetch_best_installation_candidate: Packages for ip-tiny found, but incompatible with the architectures configured
dedeckeh has joined #openwrt-devel
<russell--> a few packages fail on missing header file: fatal error: gnu/stubs-32.h: No such file or directory
<russell--> gnuplot, knot-resolver, luajit, mtools, snort, snort3
sbrown has joined #openwrt-devel
Dracos-Carazza has quit [Quit: ZNC 1.8.2 - https://znc.in]
Dracos-Carazza has joined #openwrt-devel
<Grommish> Damnit, I ran into the stub issue at one point, but I don't remember what fixed it
<Grommish> Oh
<Grommish> russell--: x86? Did you install the multi-libs?
<Grommish> russell--: gcc-multilib
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Grommish> It's required for 32-bit x86 under a 64-bit build environment.. I ran into the issue with luajit and some other things back when I started the suricata stuff
<Grommish> as a host package I mean
<russell--> ath79
<Grommish> Yeah, but your build system is x86/amd64?
<russell--> yes
<Grommish> You need gcc-multilib then
<Grommish> or it'll die on the 32-bit code
<russell--> why is it looking at the host includes for package builds?
<Grommish> At least, that was my experience
<Grommish> Because its a requirement
<Grommish> Check LuaJIT
<Grommish> under Package prerequisites
<Grommish> Might be worth a look anyway.. It's how I cleared my issues if I remember right
<russell--> in the end, i don't actually care that they didn't build
<russell--> just mentioning it
<Grommish> s'Ok :)
<russell--> they aren't on my critical path
sbrown has quit [Remote host closed the connection]
sbrown has joined #openwrt-devel
<russell--> my build box is archlinux
<Grommish> Shouldn't matter.. you're still buildig with gcc
sbrown has quit [Remote host closed the connection]
<Grommish> Anyway.. G'luck with it :) I'm out for the evening.. Have a great one!
Tost has joined #openwrt-devel
ivanich has joined #openwrt-devel
__lore__ has joined #openwrt-devel
_lore_ has quit [Ping timeout: 268 seconds]
danitool has joined #openwrt-devel
__lore__ is now known as _lore_
<russell--> git grep 'pkg_hash_fetch_best_installation_candidate' returns nothing
<zorun> russell--: git grep in opkg repo?
<zorun> there are a few recent bug reports about this, it's related to a change in opkg from a few months ago
<russell--> i did the git grep build TOPDIR
<zorun> IIRC this error can be triggered by unrelated issues like missing dependencies (so it's a case of wrongly reported error)
<russell--> i did a make package/opkg/host/{clean,compile} and trying again ....
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
<russell--> fwiw, this exercise is really only about getting a broad sample of package configure.ac's to see how people deal with embedding version strings in built software
<russell--> most seem to just be static strings
glyph has quit [Read error: Connection reset by peer]
glyph has joined #openwrt-devel
goliath has joined #openwrt-devel
eduardas has joined #openwrt-devel
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
<zorun> diffconfig.sh gives me lots of "syntax error" / "unknown option "imply"" on master
<zorun> this "imply" thing seems to have been introduced with the big wireguard change, anybody knows what it is?
<rmilecki> I get this when trying to build 21.02 branch with LuCI:
<rmilecki> * pkg_hash_fetch_best_installation_candidate: Packages for luci-base found, but incompatible with the architectures configured
<rmilecki> * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
<rmilecki> * cgi-io
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
figgyc_ has quit [Ping timeout: 240 seconds]
figgyc has joined #openwrt-devel
figgyc has quit [Quit: No Ping reply in 180 seconds.]
figgyc has joined #openwrt-devel
urjaman has quit [Read error: Connection reset by peer]
<jow> rmilecki: I suspect some opkg regression
<jow> rmilecki: there's been similar reports in the tracker
urjaman has joined #openwrt-devel
<jow> rmilecki: https://git.openwrt.org/?p=project/opkg-lede.git;a=commit;h=5936c4f9660248284e8a9b040ea3153d3ea888de
<jow> rmilecki: could you check if reverting this helps?
shibboleth has joined #openwrt-devel
jiringgot has joined #openwrt-devel
caiortp has joined #openwrt-devel
Tapper has joined #openwrt-devel
danitool has joined #openwrt-devel
hbug has quit [Remote host closed the connection]
hbug has joined #openwrt-devel
caiortp has quit [Quit: Leaving]
caiortp has joined #openwrt-devel
f00b4r0 has joined #openwrt-devel
<f00b4r0> zorun: ping?
<zorun> f00b4r0: pong
<f00b4r0> zorun: you mentioned a "hard_config patch" on GH: which patch?
nast has quit [Ping timeout: 240 seconds]
<zorun> the one you ACKed
<f00b4r0> ah ok, I misread the message: I thought "this" meant the size mod. I see now you meant you're merging the device backport :)
<f00b4r0> did you figure out what's going on with your device btw?
<zorun> no, but I'm starting to think there's something wrong with it...
<f00b4r0> well, it's made by mikrotik ;P </sarcasm>
<zorun> yeah :D it's good hardware for the price, but if there were good alternatives we would switch to something else
valku has quit [Quit: valku]
valku has joined #openwrt-devel
<zorun> I have a second one, it's not in a pretty shape (we opened it and soldered wires to get serial access during last battlemesh) but I will try this one
<zorun> bbl
guidosarducci_ has joined #openwrt-devel
guidosarducci has quit [Ping timeout: 240 seconds]
guidosarducci_ is now known as guidosarducci
jiringgot has quit [Quit: Leaving]
swex has quit [Ping timeout: 246 seconds]
eduardas has quit [Ping timeout: 265 seconds]
<rmilecki> jow: sorry, I had to leave, i'm back, working on that
<rmilecki> jow: btw: how do you check if given device uses DSA or not (runtime, e.g. in LuCI)?
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
caiortp has quit [Remote host closed the connection]
caiortp has joined #openwrt-devel
<rmilecki> jow: i reverted 55a43e1ab0ad ("opkg: update to git HEAD") but it didn't help in my 21.02 branch
<rmilecki> master works fine on the other hand, i've yet to compare my .config
kristrev has quit [Read error: Connection reset by peer]
kristrev has joined #openwrt-devel
<rmilecki> jow: ok, that was my fault after all, I didn't have packages repo updated (indexed)
<rmilecki> so feeds update & feeds install -a -p packages did the trick
<jow> rmilecki: dsa... actually LuCI does not check for DSA but for the lack of swconfig
<rmilecki> jow: does it check for binary?
<jow> without swconfig, DSA and non-DSA config are pretty much the same from the LuCI pov
<jow> rmilecki: afair it checks for both the swconfig executable and for switch topology info in /etc/board.json
<rmilecki> jow: ah, ok
<rmilecki> thanks for info
<jow> and in some places it also checks for the presence of a "config switch" section in /e/c/network
<rmilecki> thanks, I'm curious to try DSA on bcm53xx one day
<jow> simply speaking, DSA is just bridging netdevs together
<jow> and speaking tagged VLAN on the wire or doing vlan trunking would be setting up bridge vlan filters on top of a bridge
<jow> whether the netdevs your bridge together happen to be DSA ports or distinct phys/nics does not matter
<jow> in fact you have to dig pretty deep in sysfs to actually figure out if a port happens to be a DSA one
<jow> you generally only need that if you want to display some kind of status information
<jow> </monologue>
caiortp has quit [Ping timeout: 260 seconds]
caiortp has joined #openwrt-devel
<rmilecki> jow: thanks for info
<rmilecki> (explanation)
<Hauke> I looked into a similar problem yesterday and this should be the solution: https://patchwork.ozlabs.org/project/openwrt/patch/20210502210228.23942-1-hauke@hauke-m.de/
<rmilecki> jow: i was thinking about adding "switch" LuCI page that would display each switch port port and its status (carrier, speed)
<rmilecki> jow: so there is no easy way to list available switches and their ports?
<Hauke> rmilecki: you can read this information with ethtool, and use the board.d config to know which switch ports are there
<rmilecki> info (carrier, speed) is already in ubus in network.device
<rmilecki> Hauke: so i guess i'm looking for board.json then
<jow> rmilecki: there is an easy way actually
<jow> rmilecki: recent kernels expose a DEVTYPE=xxx property in the sysfs uevent files
<jow> rmilecki: # grep DEVTYPE= /sys/class/net/lan1/uevent
<jow> DEVTYPE=dsa
<rmilecki> oh, nice!
<jow> to group DSA ports by switch, I found two ways
<jow> 1) group by the result of readlink /sys/class/net/*/device
<jow> 2) group by the contents of /sys/class/net/*/phys_switch_id
<jow> however due to the lack of an actual multi-DSA-switch device here I cannot confirm that it'd actually work multiple DSA switches
<jow> but I suppose it would
<jow> ah, actually I forgot about a 3rd way which is the most reliable
<jow> cat /sys/class/net/*/iflink
<jow> that will contain the ifindex of the physical parent interface
<jow> e.g. on a zbt wg2626 it reports iflink=2 for lan1, lan2, lan3, lan4 and wan
<jow> 2 corresponds to "eth0"
<jow> so one can deduce that lan1..lan4 + wan are DSA ports of switch eth0
<jow> all that info is available through "ubus call luci-rpc getNetworkDevices" in current master
Tost has quit [Ping timeout: 240 seconds]
<jow> it is just not exposed as a kind of switch overview in LuCI yet
<jow> should be fairly easy to do though, e.g. by providing a partial status applet in /www/luci-static/resources/view/status/include/
caiortp has quit [Ping timeout: 265 seconds]
<rmilecki> jow: thanks, i'll see if I can implement that using info you provided!
cp- has quit [Quit: Disappeared in a puff of smoke]
cp- has joined #openwrt-devel
<jow> rmilecki: in luci-rpc getNetworkDevices filter for "devtype": "dsa" and group by "parent": ...
<rmilecki> jow: just found it :)
<rmilecki> jow: getNetworkDevices is great
<rmilecki> thought i'm not big fan of naming things like that with "luci" prefix
<jow> well it's LuCI's private luci.so rpcd plugin
<jow> we could move it into a separate sysinfo.so kind of plugin, along with other generic functionality
<rmilecki> sounds good
<rmilecki> sysinfo like plugin
gch9812133723 has quit [Quit: The Lounge - https://thelounge.chat]
gch9812133723 has joined #openwrt-devel
<rmilecki> this may need an update :) > grep TITLE feeds/luci/libs/rpcd-mod-luci/Makefile
<rmilecki> TITLE:=Rapid reverse DNS rpcd module
rchrd[m] has joined #openwrt-devel
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Disconnected by services]
SpaceRat^ is now known as SpaceRat
rsalvaterra has quit [Ping timeout: 252 seconds]
danitool has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Disconnected by services]
SpaceRat^ is now known as SpaceRat
Fishman has quit [Ping timeout: 265 seconds]
Borromini has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Borromini has quit [Ping timeout: 240 seconds]
Namidairo has quit [Ping timeout: 240 seconds]
Namidairo has joined #openwrt-devel
cp- has quit [*.net *.split]
ivanich has quit [*.net *.split]
daregap has quit [*.net *.split]
Acinonyx has quit [*.net *.split]
bookworm has quit [*.net *.split]
Net147 has quit [*.net *.split]
swalker has quit [*.net *.split]
hsp has quit [*.net *.split]
zatwai has quit [*.net *.split]
OutBackDingo has quit [*.net *.split]
zkrx has quit [*.net *.split]
zjason has quit [*.net *.split]
philipp64 has quit [*.net *.split]
Monkeh has quit [*.net *.split]
Neighbor11111111 has quit [*.net *.split]
SamantazFox_ has quit [*.net *.split]
blocktrr1 has quit [*.net *.split]
greearb has quit [*.net *.split]
Katana_Steel has quit [*.net *.split]
xdarklight has quit [*.net *.split]
daregap has joined #openwrt-devel
swalker has joined #openwrt-devel
Net147 has joined #openwrt-devel
bookworm has joined #openwrt-devel
ivanich has joined #openwrt-devel
philipp64 has joined #openwrt-devel
Acinonyx has joined #openwrt-devel
Tost has joined #openwrt-devel
zatwai has joined #openwrt-devel
hsp has joined #openwrt-devel
SamantazFox_ has joined #openwrt-devel
blocktrr1 has joined #openwrt-devel
greearb has joined #openwrt-devel
OutBackDingo has joined #openwrt-devel
zkrx has joined #openwrt-devel
Monkeh has joined #openwrt-devel
zjason has joined #openwrt-devel
cp- has joined #openwrt-devel
Neighbor11111111 has joined #openwrt-devel
Katana_Steel has joined #openwrt-devel
xdarklight has joined #openwrt-devel
cp- has quit [Max SendQ exceeded]
ivanich has quit [Max SendQ exceeded]
bookworm has quit [Max SendQ exceeded]
cp- has joined #openwrt-devel
bookworm has joined #openwrt-devel
ivanich has joined #openwrt-devel
dedeckeh has quit [Quit: Connection closed]
Borromini has joined #openwrt-devel
linzst has joined #openwrt-devel
zjason has quit [Ping timeout: 252 seconds]
goliath has quit [Quit: SIGSEGV]
rmilecki has quit [Ping timeout: 265 seconds]
Namidairo has quit [Ping timeout: 268 seconds]
T-Bone has joined #openwrt-devel
f00b4r0 has quit [Ping timeout: 268 seconds]
silverwhitefish has joined #openwrt-devel
T-Bone has quit [Ping timeout: 240 seconds]
danitool has joined #openwrt-devel
T-Bone has joined #openwrt-devel
Tost has quit [Ping timeout: 252 seconds]
shibboleth has quit [Quit: shibboleth]
Borromini has quit [Quit: leaving]
blocktrr1 has quit [Ping timeout: 252 seconds]
blocktrr1 has joined #openwrt-devel
ivanich has quit [Quit: Konversation terminated!]
Tapper has quit [Ping timeout: 260 seconds]
_lore_ has quit [Ping timeout: 240 seconds]
_lore_ has joined #openwrt-devel
black_ant has quit [Ping timeout: 246 seconds]
Fishman has joined #openwrt-devel