Daanct12 has joined #openwrt-devel
ScrewDriver1337 has quit [Quit: ZNC 1.9.1 - https://znc.in]
minimal has quit [Quit: Leaving]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
skynet2 has quit []
ScrewDriver1337 has joined #openwrt-devel
<owrt-images-builds> Build [#402](https://buildbot.openwrt.org/images/#/builders/189/builds/402) of `master_mediatek/mt7622` failed.
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
luna_zzzleep has quit [Remote host closed the connection]
sorinello has joined #openwrt-devel
rua has quit [Quit: Leaving.]
hackpascal has quit [Ping timeout: 480 seconds]
hackpascal has joined #openwrt-devel
Stat_headcrabbed has joined #openwrt-devel
Daanct12 has quit [Quit: WeeChat 4.4.2]
n3ph has joined #openwrt-devel
n3ph has quit [Remote host closed the connection]
n3ph has joined #openwrt-devel
n3ph_ has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
n3ph_ has quit [Ping timeout: 480 seconds]
<russell--> hmm. tftpboot'ing a wzr600dhp and i have no network interfaces or flash detected. i think it is a flash problem.'
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
<russell--> [ 0.799540] spi-nor spi0.0: BFPT parsing failed. Please consider using SPI_NOR_SKIP_SFDP when declaring the flash
<russell--> [ 0.809878] spi-nor: probe of spi0.0 failed with error -22
<russell--> [ 0.816203] spi-nor spi0.1: w25q128 (16384 Kbytes)
<russell--> in contrast, working board says:
<russell--> [ 0.738581] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
<russell--> [ 0.747731] spi-nor spi0.1: mx25l12805d (16384 Kbytes)
goliath has joined #openwrt-devel
n3ph has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
rmilecki has quit []
rmilecki has joined #openwrt-devel
<KanjiMonster> russell--: weird that it succeeds with the second chip, but fails on the first one; one would think both are the same. is this main? have you tried older releases?
<KanjiMonster> doesn't appear to be in any stable trees
<russell--> same built works on a different device
<russell--> i have a distant memory that i've had flash chips go bad on these before and somewhere i have a tube of replacements
<KanjiMonster> russell--: have you looked at the commit and the linked email? looks like there are chip versions that don't support spdf, so maybe the first one doesn't and the second one does
<russell--> oh, interesting
<russell--> that might well explain it
<russell--> i had a third device not come back up after a remote flash
<russell--> maybe it also has the effected flash chips
<KanjiMonster> the original report/patch is from someone with a tp-link wdr3600
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
<russell--> looks like the fix didn't get backported?
skynet2 has joined #openwrt-devel
xback has quit [Ping timeout: 480 seconds]
xback has joined #openwrt-devel
rua has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
rmilecki has quit []
rmilecki has joined #openwrt-devel
rmilecki has quit []
<russell--> applied a hack patch derived from e9hack's patch locally, trying a new build to see if that fixes it
<russell--> yep, that fixes it
fda has joined #openwrt-devel
<russell--> seems like that's going to brick a bunch of peoples devices
rua has quit [Quit: Leaving.]
<russell--> apparently, broken since v6.6
rua has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
maciekb7218 has quit [Quit: Ping timeout (120 seconds)]
maciekb7218 has joined #openwrt-devel
n3ph has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
n3ph has joined #openwrt-devel
goliath has joined #openwrt-devel
rmilecki has joined #openwrt-devel
minimal has joined #openwrt-devel
<stintel> hmmm usteer seems to be broken with option ipv6 1
<stintel> I see only a handful of packets per minute, lengths 312-320 bytes
<stintel> when disabling ipv6 I see packets all the time, various lengths, up to 2940 bytes
cmonroe has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
cmonroe has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#411](https://buildbot.openwrt.org/images/#/builders/168/builds/411) of `master_imx/cortexa7` completed successfully.
goliath has quit [Quit: SIGSEGV]
<stintel> interesting that those packets are > MTU
<stintel> so I enabled stderr in usteer init script and see this: Sat Oct 26 21:13:38 2024 daemon.err usteerd[4305]: sendmsg: Not a socket
<stintel> hmmm but only once, and also with ipv6 disabled
<stintel> so I guess that's just an initial message that is being sent before the socket is created properly
<stintel> and the main issue is that using IPv6 the packet is not fragmented
<dwfreed> is usteer setting dont_fragment or something?
<stintel> not that I can see
<stintel> the IPv4 code uses sendmsg, the IPv6 code uses sendto, looking at some docs currently
<dwfreed> weird that it uses different send functions
<stintel> written by different people :)
goliath has joined #openwrt-devel
<stintel> I could just say fuck it and use IPv4 but that's broadcast, while on IPv6 it's multicast
<dwfreed> probably worth stracing it to figure out why it's failing
<stintel> couldn't find anything
<stintel> then again I haven't done this kind of stuff in a while
<stintel> I suspect it might just be the newer kernel that is behaving differently
<stintel> I'm seeing ~15k BSS-TM-RESP in the logs of my 2 APs in my apartment in march this year
<stintel> and I don't think hostapd will trigger bss transition requests by itself
<stintel> I added MSG(NETWORK, "Sending IPv6 message on %s (len=%d)\n", interface_name(iface), blob_pad_len(data)); in interface_send_msg_v6
<stintel> let's see
<stintel> it's definitely sending the messages but the kernel silently drops them if they're > MTU
<stintel> I don't even see sendto calls in strace, only sendmsg
<stintel> but reading how musl handles all that gives me a major headache
<dwfreed> musl is probably internally using sendmsg for sendto
<stintel> yeah that's what I suspect
<dwfreed> there is a note on the wikipedia page that IPv6 fragmentation does not have to be supported past 1,500 bytes
skynet2_ has joined #openwrt-devel
skynet2 has quit [Ping timeout: 480 seconds]
skynet2_ has quit []
skynet2 has joined #openwrt-devel
<Slimey> blah cisco blah
<Slimey> cert shenanigans
<stintel> * get fragmented if they exceed the interface mtu
<stintel> */
<stintel> #define IPV6_PMTUDISC_OMIT 5
<stintel> ah paste fail
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
<stintel> * weaker version of IPV6_PMTUDISC_INTERFACE, which allows packets to
<stintel> going to try and set that sockopt
goliath has quit [Quit: SIGSEGV]
<stintel> no cigar
goliath has joined #openwrt-devel
<stintel> grabbed a qca based AP and seeing same issue
<stintel> it's sending packets over IPv6 until it learns enough clients, then packet too big and no longer appears in tcpdump (running on the AP itself)
<stintel> haha and meanwhile the qca crap shat itself already
<stintel> time to unplug and store somewhere out of sight
<stintel> so I made the mistake of running strace usteerd on the command line and forgetting that the init script does some ubus magic
<stintel> fixed that, now I do see sendto in strace, but still no errors
<stintel> kernel sendto does a bunch of things, then calls sendmsg
<stintel> __sys_sendto sets msg.msg_controllen = 0;
<stintel> __kernel_size_t msg_controllen; /* ancillary data buffer length */
<stintel> let's just rewrite that to use sendmsg
skynet2_ has joined #openwrt-devel
skynet2 has quit [Ping timeout: 480 seconds]
rua has quit [Remote host closed the connection]
skynet2 has joined #openwrt-devel
<stintel> meh
skynet2_ has quit [Ping timeout: 480 seconds]
<stintel> bah
<stintel> tcpdump -ni lan0 ip6 and port 16720 -> does not show the packets once they are > mtu
<stintel> but tcpdump -ni lan0 -vvv ip6 multicast shows the fragments
<stintel> I wonder if this is a tcpdump-mini limitation