<dansan>
Hello! I'm looking at /lib/preinit/80_mount_root, /etc/init.d/done, and fstools sources for mount_root and wondering why we aren't just waiting in preinit for the jffs2 file system to be completely ready in first boot.
<dansan>
The use of tmpfs for a temporary overlay and subsequent file copy and pivot to jffs2 is inherently racy and I need to fix this for my build.
<dansan>
I should clarify that it's only racy while there are processes using the tmpfs overlay that we can't control (have them close and re-open files, etc). Which tells me that this should occur before anything else starts up
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
<dansan>
Also, other than delaying the first boot process, is there something that inherently must occur before we take the time to allow jffs2 to do it's thing? I presume procd will continue to talk to the watchdog hardware while we do our work>
<dansan>
I just did a cheat test by adding mount_root done to the end of /lib/preinit/80_mount_root and nothing blew up -- not that that is a guarantee or anything. It took 10 seconds for a 1.5MiB overlay
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
<mrnuke>
Hmm, If I modify the DTS to do /chosen/bootargs-append = " ath11k.debug_mask=0x20"; It shoudl set /sys/module/ath11k/parameters/debug_mask to '32' on boot, right? But this doesn't happen. Any idea why?
<slh>
I'd rather edit /etc/modules.d/ath11k
<mrnuke>
Okay. Gotta figure out how to get that in the -initramfs image.
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
<mrnuke>
Okay, git it working, but no extra debug info. Damn
<mrnuke>
Any idea what "[ 7.332871] ath11k c000000.wifi: failed to load board data file: -12" might mean. -12 is -ENOMEM, and I have no idea why that would be the case
<dansan>
mrnuke: I'm going to guess here, but either a bug in the driver (less likely) or some bad parameters in your dts
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
bogen85 has joined #openwrt-devel
dave_k has quit [Quit: Leaving]
mzvd has quit [Read error: Connection reset by peer]
bogen85 has quit [Quit: Leaving]
bogen85 has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
slh has joined #openwrt-devel
slh64 has joined #openwrt-devel
mzvd has joined #openwrt-devel
valku has quit [Quit: valku]
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
cbeznea has joined #openwrt-devel
_lore_ has quit [Ping timeout: 480 seconds]
_lore_ has joined #openwrt-devel
danitool has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
Giovanni has joined #openwrt-devel
Giovanni has quit []
Giovanni has joined #openwrt-devel
Giovanni has quit [Read error: Connection reset by peer]
<russell-->
hmm. it seems something is wrong with the first-boot behavior on bcm47xx and wgt634u.
<russell-->
it's somehow damaging the nvram partition
<russell-->
if i yank power as it starts to boot, it boots after applying power again, but if i let first-boot finish and the jffs2 filesystem is formatted, rebooting sticks at CFE because nvram settings are missing
mzvd has quit [Read error: Connection reset by peer]
<russell-->
doesn't happen with sysupgrading from the trx file, just when using CFE to flash the bin file
<russell-->
noticing the reset button doesn't work either
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has quit [Read error: Connection reset by peer]
Tapper has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
wvdakker has quit []
wvdakker has joined #openwrt-devel
danitool_ has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
borek has joined #openwrt-devel
goliath has joined #openwrt-devel
csrf has joined #openwrt-devel
borek has quit [Quit: borek]
borek has joined #openwrt-devel
borek has quit []
mzvd has joined #openwrt-devel
<nick[m]1234>
mrkiko: what do you mean? We need always to test the stuff, and kind of frustrating that the people adding device did not test until now.
mzvd has quit [Read error: Connection reset by peer]
srslypascal has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
srslypascal has joined #openwrt-devel
mzvd has quit [Remote host closed the connection]
mzvd has joined #openwrt-devel
mzvd has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
Giovanni has quit [Read error: Connection reset by peer]
goliath has quit [Quit: SIGSEGV]
mzvd has quit [Remote host closed the connection]
Giovanni has joined #openwrt-devel
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
robimarko has joined #openwrt-devel
<hauke>
nick[m]1234: wolfssl moved from packages to the image
<hauke>
it is expetced that it does not work anymore
mzvd has quit [Read error: Connection reset by peer]
<nick[m]1234>
hauke: Even the rc branches?
mzvd has joined #openwrt-devel
csrf has quit [Quit: Leaving]
<nick[m]1234>
Is someone here using dawn wireless controller? I pushed now latest changes to master. Would be nice to get some feedback. The other dev working on it did a lot of work, but now left somehow. I would try to get it into a shape where I can put it also to the stable branches again.
<nick[m]1234>
I hope he will eventually come back. :)
<hurricos>
Thoughts on ap_scan=2 for `adhoc` interfaces' wpa_supplicant?
<hurricos>
As of 2013-12-02, nbd committed 498d84fc4e00ad75514c3a9dde09338552b89a8c which sets ap_scan=2 for `adhoc` in `netifd.sh` (now hostapd.sh)
<hurricos>
otoh, Jouni Malinen of hostap insists as of commit 8406cd35159f4286c12a629ddfecaa33e587a805 (of git://w1.fi/srv/git/hostap.git) insists that ap_scan=2 is not to be used with nl80211-based driver interfaces
KGB-2 has quit []
<hurricos>
8406cd35159f4286c12a629ddfecaa33e587a805 being committed on 2015-09-05, adding the message "Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures" when ap_scan=2 is used with nl80211
<hurricos>
I can understand why you don't want an IBSS interface to wait on scanning before "joining the cell"; I don't undertstand why not scanning would bug nl80211.
KGB-2 has joined #openwrt-devel
srslypascal is now known as Guest1830
srslypascal has joined #openwrt-devel
Guest1830 has quit [Ping timeout: 480 seconds]
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
<hurricos>
Only way to get the right answer is send the wrong one :^)
<hurricos>
I'll send a patch repairing hostapd.sh
mzvd has quit [Read error: Connection reset by peer]
danitool has joined #openwrt-devel
Giovanni has quit [Read error: Connection reset by peer]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
robimarko has quit [Quit: Leaving]
<hauke>
nick[m]1234: the package feed is common between all 22.03 releases
<hauke>
the wolfssl package was marked as nonshared and this moves it from the package build to the target build
Giovanni has joined #openwrt-devel
Giovanni has quit [Read error: Connection reset by peer]
Borromini has joined #openwrt-devel
Giovanni has joined #openwrt-devel
Giovanni has quit [Read error: Connection reset by peer]
f00b4r0 has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
mzvd has joined #openwrt-devel
mzvd has quit [Read error: Connection reset by peer]
f00b4r0 has quit [Quit: Leaving]
Giovanni has joined #openwrt-devel
Giovanni has quit [Remote host closed the connection]