**** BEGIN LOGGING AT Tue Dec 29 02:59:57 2020 Dec 29 06:54:23 i have this weird situation with mt7621 and sfp port (mikrotik hex-s). after some time no traffic pass through sfp port but link status is active Dec 29 06:54:49 no errors or anything. openwrt, last snapshot. any idea how to debug it? Dec 29 07:16:30 only way to fix it is to reboot device Dec 29 08:44:25 Hrrrrrrrrm.... seems this GetAddrInfo address selection behaviour depends upon C Library version and in some versions reads /etc/gai.conf Dec 29 08:45:14 Is there an overview of which libc versions (e.g. 2012 uclibc ? uclibc-ng ?) openwrt uses on each target? Dec 29 08:52:26 i think there's only glibc and musl left now? Dec 29 08:58:17 grepping the git log shows uclibc-ng being removed like two weeks ago Dec 29 09:15:06 everything uses musl, except arc because it's not supported in musl. Dec 29 09:16:38 :) Dec 29 09:16:52 I wonder how far is musl from reaching feature parity with glibc… Dec 29 09:17:26 it will never Dec 29 09:18:17 Well, yes. Musl is Linux-only. Dec 29 09:18:27 But I only care about Linux. :P Dec 29 09:18:52 answer remains Dec 29 09:26:20 :P Dec 29 09:26:39 i suppose if musl were to reach feature parity, it wouldn't be lightweight anymore. Dec 29 09:29:05 Oh, my… I just noticed we have a define KernelPackage/input-core, with KCONFIG:=CONFIG_INPUT. :P Dec 29 09:29:44 Let's put it this way: CONFIG_VT selects CONFIG_INPUT. :P Dec 29 09:30:20 Are there really systems without support for virtual terminals? If so, how do we manage them? Dec 29 09:42:30 Ah, nevermind, answered my own question. Dec 29 09:43:22 stintel: the day before yesterday there was someone on this channel who was investigating why his device doesn't come up because it was unable to talk to ubus .. I think. Dec 29 09:44:51 reiffert: That was my idiot self. :P Dec 29 09:45:21 Hadn't noticed /etc with 700 permissions. Dec 29 09:52:29 :P Dec 29 09:52:42 what are you doing with your openwrt rsalvaterra ? :P Dec 29 09:57:06 Borromini: Heh… I have custom files, some of them in /etc… I did a recursive chmod 755 to 700 on my ~, at some point, and totally forgot about the permissions for OpenWrt files. Dec 29 10:56:46 rsalvaterra: why would you want feature parity with glibc? Dec 29 10:57:00 note that musl supports functions not supported by glibx Dec 29 10:57:00 *glic Dec 29 10:57:03 *glibc Dec 29 11:17:51 mangix: Yeah, what's missing probably isn't relevant… there are desktop distros based on musl already… Dec 29 11:32:21 I was building my own snapshot but I fail to install packages like luci. what can I do? https://paste.debian.net/1178718/ Dec 29 12:03:59 does musl have strfry yet? pretty worthless until it does.... Dec 29 12:05:31 karlp: you made my day :) Dec 29 12:05:50 the man mentions memfrob(3), also nice Dec 29 12:08:04 you Dec 29 12:08:08 're very welcome :) Dec 29 12:16:27 Hm… that's odd. Why do I see /boot mounted twice (x86-64)? Dec 29 12:18:23 because the filesystem on /dev/sda1 has a 'boot' folder on it. hence we mount /dev/sda1 to /boot and then mount-bind /boot/boot to /boot Dec 29 12:19:58 Ah, that makes sense, thanks. :) Dec 29 13:11:54 does Gabor Juhos hang around here? Dec 29 13:12:35 seems he didn't work on that pci-rt3883.c driver after having it committed in linux tho Dec 29 13:14:54 maybe i should write to linux-pci@vger.kernel.org Dec 29 13:56:25 dangole: I'm porting the x86 dead code and data elimination patch to our tree, let's see what difference it makes on my APU2C4… :P Dec 29 13:57:35 rsalvaterra: looking forward :) Dec 29 13:57:53 funman: haven't heard from gabor for quite a long time Dec 29 13:58:08 Build times do suffer a bit, though (especially for incremental builds), but nothing like LTO, of course. Dec 29 14:27:19 Building… I hope I didn't forget to keep any vital sections… :P Dec 29 14:39:51 Hey All! Sorry to message so bluntly however, what can i say im a Recruiter... I dont suppose anyone in Europe is looking for a contract at the moment? Im looking for a expert in the realm of OpenWRT :) Dec 29 14:51:10 SamParatus: OpenWrt has many parts. Kernelspace, drivers, userspace, integration, LuCI... Dec 29 14:53:52 PaulFertser Thanks, so it would be working with a client of mine that are looking for a Embedded Engineers C/C++ that have experience of Wifi and working on CPE Dec 29 14:55:29 SamParatus: hm, but OpenWrt doesn't have C++ code of its own afaik. Dec 29 14:57:02 PaulFertser I am due to get the requirements from the client on the 4th as they are still on their break. Perhaps i could reach out to you once i have a full spec? I like to get ahead of the curve you see when a client reaches out for help :) Dec 29 14:58:25 SamParatus: I'm not in Europe though if you do not count Russia as being part of it. Dec 29 14:59:16 PaulFertser Based on this past year i would assume that for the foreseeable future that remote would be the only option :) EU is more so for the timezone Dec 29 15:27:50 dangole: Meh. About 30 kiB difference (openwrt-x86-64-generic-kernel.bin). I save about ten times more on my desktop machines. :P Dec 29 15:45:31 heyho, is there any intelligent way yet to debug netifd protos? I am having hughe pain with some races in my protos and I am thinking about some option to start the protos with "sh -x", so I can see what netifd actually does Dec 29 15:46:37 If there is no such option, I would start implementing one, I guess. Dec 29 15:46:53 But I do not want to redo what others did Dec 29 15:47:56 Or maybe there is already a better option that I overlooked Dec 29 16:16:18 Uh… CONFIG_STRIP_KERNEL_EXPORTS breaks x86-64 kernels…? I never had any problems with it on ramips, mvebu and ath79… :/ Dec 29 16:18:21 funman: he used to, but i have not seen him on irc in years Dec 29 17:14:13 I was building my own snapshot but I fail to install packages because of dependency issues. E.g. luci. what can I do? https://paste.debian.net/1178718/ Dec 29 18:01:13 mangix: ping. just got my archer c5 and would like to double check something concerning breed Dec 29 18:35:48 got a question about the package rules… anyone around who knows them well? Dec 29 18:37:16 reiffert: if you use “make menuconfig” to do your package selection, it should turn on all the dependencies as well… Dec 29 19:41:30 >KGB-1< https://tests.reproducible-builds.org/openwrt/openwrt_ar71xx.html has been updated. (99.2% images and 97.5% packages reproducible in our current test framework.) Dec 29 19:54:22 mangix: nevermind figured it out and i think breed is running :) Dec 29 20:35:44 I have a ramips/mt7620 DLink DWR960. Installing the latest snapshot breaks it. Compiling myself it works with the latest trunk/master. How can I get the .config file thats being used in the snapshots? Dec 29 20:35:55 Hauke: ping Dec 29 20:47:12 Can someone please share some advise with https://bugs.openwrt.org/index.php?do=details&task_id=3539 Dec 29 20:51:22 reiffert: config is https://downloads.openwrt.org/snapshots/targets/ramips/mt7620/config.buildinfo Dec 29 20:52:53 reiffert: pong Dec 29 21:01:30 what can I do from here to help get this fixed? Dec 29 21:11:24 Borromini: https://bugs.openwrt.org/index.php?getfile=1128 here is mine and it's working great Dec 29 21:11:49 reiffert: did you diff them? Dec 29 21:12:06 btw you can diff yours against stock openwrt by using ./scripts/diffconfig.sh Dec 29 21:13:07 https://paste.debian.net/1178792/ Dec 29 21:13:38 so why would snapshot build fail and mine work? Dec 29 21:32:22 reiffert: very good question... that looks like a minimal difference, only what you'd need for your single device Dec 29 21:33:45 Borromini: pong Dec 29 21:34:08 mangix: hey. solved it in the meantime. cat'ed /dev/mtd0 and binwalked that, it's Breed :) Dec 29 21:34:28 went relatively painless, if i had known about breed before i might have had my tl-wr1043nd v2 still :P Dec 29 21:35:00 reiffert: so between your build and the snapshot, they're based off the same git hash? Dec 29 21:35:27 yes you would have. I also would have had my mr2010 or w/e it was. but such is life. Dec 29 21:36:02 Borromini: git branch --list | tr '\n' ' ' master r14793 r15101 r15207 r15239 r15248 * r15355 Dec 29 21:36:55 Borromini: 15355 is from the yesterday or the day before and the snapshot builds keep failing for me for an unknown date after August 28 2020 Dec 29 21:37:59 August 28 2020 is the last snapshot build that was working great, then I tried one from December 26, 27, 28 and today and they all get it in the bricked state Dec 29 21:38:24 reiffert: could it be the mute command line might be 'confusing' the bootloader? Dec 29 21:38:51 "the mute command"? Dec 29 21:39:04 i read something similar with ipq806x on the forum: https://forum.openwrt.org/t/tp-link-archer-c2600-v1-0-snapshot-builds-boot-looping/83536/ Dec 29 21:39:28 Borromini: have you checked https://bugs.openwrt.org/index.php?do=details&task_id=3539 Dec 29 21:40:56 reiffert: yes. i meant it not printing anything. but if you can get it to boot the snapshot image through the reset button, then the image itself works, 'in a way' no? Dec 29 21:41:09 as in: if you kick jboot in the proverbial nuts it takes it Dec 29 21:41:39 sounds like the bootloader is missing some parameters that used to be there? Dec 29 21:42:06 august 28th is a long time ago but filtering out the ramips stuff might be a start? Dec 29 21:42:55 Borromini: that's the confusing part.The reset button is booting up the snapshot build just fine. as if it was getting installed into the wrong mtd Dec 29 21:45:24 reiffert: would yours have multiple possible mtds then? mt7620 doesn't have multiple firmware partitions usually, does it? Dec 29 21:45:37 do you have any insights in how jboot finds out what to boot? Dec 29 21:47:25 I dont have the slightest idea. Dec 29 21:47:47 I should read out the mtd in the bricked state and compare it with the working state I guess Dec 29 21:48:53 ok Dec 29 21:49:29 for what it's worth, i disable CONFIG_KERNEL_KALLSYMS by default (snapshots have that enabled by default), saves a few kb on the kernel i think. no idea how small your flash is Dec 29 21:49:39 or how big a kernel the target can handle Dec 29 21:50:03 then again, if the kernel was too big jboot wouldn't boot it with the reset button pressed either i reckon Dec 29 22:02:42 Borromini: how would I read out the mtd's, dd if=/dev/mtd0...6? Dec 29 22:02:59 skip= required? Dec 29 22:04:16 reiffert: sorry i don't know the best way for that. You can use cat as well i think Dec 29 22:04:23 cat /dev/mtd0 > /tmp/mtd0.bin Dec 29 22:05:04 it's what i do for backup. but i haven't needed to manipulate mtds otherwise. Dec 29 22:11:01 It's about magics bytes at offsets .. I was hoping to find a ramips mt76xx specialist who could share some thoughts :) Dec 29 22:12:50 what other data can I collect in the booted and bricked device .. it's taking me up to an hour to recover Dec 29 22:12:50 you probably will, but it might need some time. you could open a topic in the forums as well, there's no 100% overlap between people on irc and ones on forums. Dec 29 22:13:12 reiffert: can you print boot env variables? Dec 29 22:13:25 might be handy to compare if you could. Dec 29 22:13:53 I was soldering rx and tx cables the other day but no matter what I did I never managed to send a byte to the console as if they were killing it Dec 29 22:14:55 I'm afraid I'm not able to get into the bootrom/prompt Dec 29 22:15:31 i had something similar with my bricked tl-wr1043nd v2, people in here told me it might have been a gnd not connected well Dec 29 22:16:05 but i'm no hero with serial though, as long as the pins are soldered and i can wire them up i can make it work. otherwise... tough luck. Dec 29 22:16:12 gnd was good, rx was good, tx was good .. ... no idea why Dec 29 22:16:40 I was holindg a wr1043nd v5 the other day .. it works great Dec 29 22:17:05 was thinking of getting rid of the dwr 960 and getting another one just like the 1043 Dec 29 22:21:39 i got a cheap second hand archer c5 v1 Dec 29 22:21:52 28 € incl. shipping isn't too bad Dec 29 22:22:01 replaced the stock uboot with breed Dec 29 22:22:24 will do that with pretty much any tp-link i'll get my hands on from now on, if it supports it. their recovery procedures are often pesky. Dec 29 22:23:15 anyway... i hope you get some help. good luck. i'm off for tonight Dec 29 22:25:32 thanks Dec 29 22:58:13 Mikrotik RB750Gr3 looks interesting. Does OpenWRT support its ipsec hardware encryption? Dec 29 23:13:44 reiffert: i would guess you mean hw encryption support. Dec 29 23:24:48 lynxis: yep Dec 30 01:11:16 can me someone give a hint? when i set my gpio direction to "out" it works fine, but when i set set it to "in" it goes active hi (<5kOhm) Dec 30 01:11:57 its a mt7628, there should be no pull up **** ENDING LOGGING AT Wed Dec 30 02:59:57 2020