<russell-->
hmm. okay, that's interesting. in a very sparse configuration, "used" drifts up from about 11MB to 17MB and stabilizes. on traffic through the wlan0+eth0 bridge, used snaps back to 11MB-ish. that looks normal and non-problematic.
edgar444 has joined #openwrt-devel
<mangix>
I wonder how many people actually run ldd on their devices...
<mangix>
libbldid-tiny and libvaludate .so are broken
gladiac1337 has quit [Read error: Connection reset by peer]
gladiac1337 has joined #openwrt-devel
danitool has joined #openwrt-devel
Ycarus has joined #openwrt-devel
gch98121383 has joined #openwrt-devel
gch9812138 has quit [Read error: Connection reset by peer]
gch98121383 is now known as gch9812138
ivanich has joined #openwrt-devel
Borromini has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
dorf has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rsalvaterra1 has quit [Quit: Leaving.]
rsalvaterra has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
ivanich has quit [Quit: Konversation terminated!]
opal has quit [Ping timeout: 240 seconds]
opal has joined #openwrt-devel
kakaka has quit [Remote host closed the connection]
kakaka has joined #openwrt-devel
victhor has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
<damex>
i notice that mikrotik rb750gr3 and rb760igs with last snapshot does not boot afte sysupgrade. got two of them for testing. they're on 6.47.8 routeros/routerboot and it boots fine to ram but fails doing so from nand it is indefinitely bootlooping
<damex>
tried with 6.46. 3 factory bootloader (backup bootloader that you can not change) and it is the same. seems like something changed and broke device support.
gch9812138 has quit [Read error: Connection reset by peer]
gch9812138 has joined #openwrt-devel
ivanich has joined #openwrt-devel
<f00b4r0>
damex: do you have serial?
<f00b4r0>
damex: did you try sysupgrading from booted initramfs?
linzst has joined #openwrt-devel
linzst has quit [Quit: Leaving]
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<damex>
f00b4r0: sadly no serial here. yes, i tried sysupgrading from booted initramfs. booting initramfs works fine. sysupgrade triggering reboot and then device bootloops
<f00b4r0>
without serial it's gonna be hard to investigate. The most recent change to these device is the switch to zboot, in 254f514
<f00b4r0>
when you boot from initramfs, can you run "mtd erase firmware" before sysupgrading?
<damex>
f00b4r0: sure, i can try that. so i will do the same. boot openwrt to ram using reset button (bootp using dnsmasq) -> scp new firmware -> run mtd erase firmware and run sysupgrade after. that's all?
<f00b4r0>
yup
<f00b4r0>
if that doesn't work, the next potential culprit is 254f514, although I'm unclear how this would affect sysupgrade
<damex>
f00b4r0: yeah, that's it. i did 'mtd erase firmware' and then run sysupgrade. now when router reboots - it can come back up booted from nand
<f00b4r0>
ok
<f00b4r0>
so the problem lies with the removal of platform_pre_upgrade()
<f00b4r0>
and I don't know how to address that
<damex>
add step to sysupgrade process?
<f00b4r0>
are you @damex on GH?
<damex>
f00b4r0: yeah
<f00b4r0>
I'm going to quote you on the reply
<f00b4r0>
s/quote/mention/
Borromini has quit [Quit: Lost terminal]
gch9812138 has quit [Quit: Ping timeout (120 seconds)]
madwoota has quit [Read error: Connection reset by peer]
madwoota has joined #openwrt-devel
madwoota has quit [Changing host]
madwoota has joined #openwrt-devel
<damex>
tmn505: thanks, i hope that this devices could stay closed up and won't need header to be soldered there (since we already found out what is the current issue) :)
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
<russell-->
anybody want to hazard a guess why i'd see memory usage rocket upwards when an ethernet, wlan0 and batman-adv bat0 interface are together in a bridge to the point of OOM'ing on a 32MB ubnt bullet m?
<Hauke>
russell--: did you run netif in valgrind?
<russell-->
no, but thanks for reminding me
<mangix>
exit
<russell-->
"Your program will run much slower (eg. 20 to 30 times) than normal, and use a lot more memory." the last part might be a problem on this device
* russell--
considers trying to duplicate the problem on different hardware with more memory
<dorf>
just in need of a widely available by default linux font now (with multi-weight support) and I think we can put the fonts issue to bed.
<dorf>
I though DejaVu Sans was it, but sadly it doesn't come with a semibold weight. :|
<ldir->
here's a fun one - I've just managed to build & flash an image without procd onto a system. Needless to say it doesn't get to a usable state. I'm left in shell with a default config.
<ldir->
any ideas on recovery?
<PaulFertser>
ldir-: shell on serial? And you want to flash from it rather than use the bootloader?
<ldir->
shell on serial - I did a sysupgrade with an image that I doesn't include procd (don't ask)
<ldir->
no procd = eventually runs a shell as the init process.
<PaulFertser>
ldir-: I mean probably the easier option would be to use bootloader facilities to load an initramfs image or to flash directly.
<PaulFertser>
ldir-: or you can mount tmpfs manually, create ssh keys there, run dropbear manually, scp the sysupgraded file and then "mtd write firmware" (if that's a device with regular NOR flash). But that sounds more complicated than recovering via the bootloader.
<ldir->
how to 'mount tmpfs manuall'
<ldir->
this is an apu2 btw
<ldir->
and I've really f***** it!
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<PaulFertser>
ldir-: well, something like "mount -t tmpfs none /tmp"
<ldir->
ok, I now have a writable tmp filesystem
<ldir->
is there any way I can extract the backup saved as part of the sysupgrade script ?
Nick_Lowe has joined #openwrt-devel
adrianschmutzler has joined #openwrt-devel
<PaulFertser>
ldir-: yes, you can try "mount -t jffs2 /dev/mtd<whatever rootfs_data is in /proc/mtd> /tmp/jffs2"
<PaulFertser>
And you should get a tar file there.
<blogic>
ldir-: yes
<blogic>
sysupgrade -b <file>
<ldir->
blogic: that will create a tar archive of the current system - I want to extract the tar archive that intheory is waiting as part of an incomplete sysupgrade process
<ldir->
PaulFertser: unfortunately I've nothing in /dev
<PaulFertser>
ldir-: you can use mknod to manually create the devnode.
<PaulFertser>
ldir-: for mtd5 it's "mknod mtd5 c 90 10"
guerby has quit [Read error: Connection reset by peer]
guerby has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<russell-->
ldir: what kind of storage?
<russell-->
apu2 could be sd card or msata
<russell-->
also, you can usually boot off of usb
<russell-->
extract storage media, read/write on real computer, plug storage back in.
adrianschmutzler has quit [Quit: ~ Trillian - www.trillian.im ~]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
opal has quit [Remote host closed the connection]
opal has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
Nick_Lowe has quit [Client Quit]
Nick_Lowe has joined #openwrt-devel
Olipro has quit [Read error: Connection reset by peer]
<ldir->
Sorry for delay - had to go to work. the apu problem will have to wait for my return in the morning.
<ldir->
russell--: the boot vol is msata - I think booting off usb is the way forward
<stintel>
ldir-: is this an ext4 image on your apu2 ?
gch98121385 has joined #openwrt-devel
gch9812138 has quit [Read error: Connection reset by peer]
gch98121385 is now known as gch9812138
dedeckeh has quit [Ping timeout: 245 seconds]
Olipro has joined #openwrt-devel
Olipro has joined #openwrt-devel
Olipro has quit [Changing host]
Borromini has joined #openwrt-devel
valku has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Night-Shade has joined #openwrt-devel
dorf has quit [Remote host closed the connection]
dorf has joined #openwrt-devel
<ldir->
stintel: yes
<stintel>
ldir: sysupgrade is broken there as the hack to merge /etc/passwd and friends doesn't work, so if you go from a version running ubusd as root to a version running ubusd as ubus, the user is missing and you're fucked
<ldir->
Ah ok, that's not ideal!
dxld has quit [Remote host closed the connection]
ivanich has quit [Quit: Konversation terminated!]
<stintel>
ldir-: what bother me most is that who introduced it knows it, and dismissed it as "ext4 is development, use squashfs if you want working sysupgrade"
<ldir->
Ouch - it really should be fs agnostic.
<ldir->
And I don't think I am using ext4 - but I need latest build to finish to look
<ldir->
no, sorry it *is* squashfs. x86/64/openwrt-x86-64-generic-squashfs-combined.img.gz
<ldir->
I just managed to build and 'flash' an image without 'procd' - which is a very silly thing to acheive.
<ldir->
I was playing with jail & seccomp
<jow>
stintel: I think that statement should be corrected
<jow>
somehow dangole seemed to frame ext4 as some kind of development/debug build
<jow>
while it is perfectly fine to run plain ext4
<jow>
and we should keep the door open for normal, non-overlayfs deployments
<stintel>
this was my comment on github
<jow>
ack
dedeckeh has joined #openwrt-devel
junland has quit [Quit: %ZNC Disconnected%]
junland has joined #openwrt-devel
<Borromini>
i think a lot of people are running ext4 builds on x86/64 hardware e.g.
<philipp64>
mangix: thanks, trying it now.
junland has quit [Client Quit]
junland has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
ivanich has joined #openwrt-devel
junland has quit [Quit: %ZNC Disconnected%]
junland has joined #openwrt-devel
danitool has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
philipp64 has joined #openwrt-devel
philipp64 has quit [Client Quit]
Borromini has quit [Ping timeout: 260 seconds]
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ldir->
thinking about my problem - If I boot off a usb image and then use dd to write a 'squasfs-rootfs' image to /dev/sda1 that should preserve my partitioning and other filesystems - I think?