**** BEGIN LOGGING AT Tue Nov 17 02:59:56 2020 Nov 17 03:33:53 I have spent days to work out why I cannot control that single LED this board has. It uses the builtin 2.4 Wifi and another 5ghz chip - MediaTek MT76x2E 802.11nac/MediaTek MT7620 802.11bgn. And it seems that the driver for MT76x2E is creating an LED entry, but the MT7620 driver is not Nov 17 03:34:14 Both seem to use the same code (mt76_led) for that task Nov 17 03:38:43 heya guys, I have a single node ceph cluster which I use to do my openwrt builds locally, but I find the performance a bit on the slow side, given that I have ssd cache in front of the spinning drives etc, the rm -rf *linux* often takes ages to complete, so was wondering what the general opinion on filesystems for a openwrt build server ? Nov 17 03:39:20 rr123: in what way? Nov 17 03:48:35 would bcachefs be a good option for it ? Nov 17 04:11:35 Tusker: maybe 'eatmydata' could help queue up all the small fs operations Nov 17 04:11:53 helps with apt on sd cards anyways Nov 17 04:12:28 ime small io size + network filesystems don't go well together Nov 17 04:12:56 ok, will have a look at it. what underlying filesystem is best ? RAID5 + btrfs + eatmydata ? Nov 17 04:13:30 Tusker: or try mounting the cephs with 'nowsync' Nov 17 04:14:00 supposedly that helps with unlink https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.7-Ceph-Performance Nov 17 04:14:30 ah ok, maybe I don't have to rebuild my whole server if that's the case :) Nov 17 04:14:32 i use btrfs on nvme and don't run into issues. ext4 would be fine too. Nov 17 04:18:29 actually, I will rebuild anyway... just for fun Nov 17 04:31:54 the cpu usage of the ceph deamons go very high... nowsync won't likely help with the CPU issue Nov 17 04:33:33 >KGB-0< https://tests.reproducible-builds.org/openwrt/openwrt_ar71xx.html has been updated. (99.1% images and 100.0% packages reproducible in our current test framework.) Nov 17 05:22:33 jow: overloaded by genuine use, or some sort of problem-bots/junk/etc? Nov 17 05:23:26 jow: At what point shuold openwrt move to wide distributed mirrors in similar style to linux distros I wonder! Nov 17 06:30:14 build #675 of ath79/nand is complete: Failure [failed updatefeeds] Build details are at http://buildbot.openwrt.org/master/images/builders/ath79%2Fnand/builds/675 blamelist: DENG Qingfang , Paul Fertser , Adrian Schmutzler Nov 17 06:32:35 build #419 of bcm27xx/bcm2710 is complete: Failure [failed updatefeeds] Build details are at http://buildbot.openwrt.org/master/images/builders/bcm27xx%2Fbcm2710/builds/419 blamelist: Adrian Schmutzler Nov 17 07:32:10 >KGB-0< https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.1% images and 100.0% packages reproducible in our current test framework.) Nov 17 08:36:00 mangix: One thing that worries me about GCC 10.x is the inliner aggressiveness… -finline-functions is now enabled at -O{s,2,3}, and it makes the code noticeably larger (I can't fathom why they enabled it at -Os, doesn't make any sense). I don't know if the speed benefits outweigh the bloat, but this should be *thoroughly* tested before we bump GCC to 10.x, in order to decide whether or not we disable -finline-functions. Nov 17 08:39:56 i assume that will happen after the release Nov 17 08:42:22 mangix: You mean the testing, right? :) Nov 17 08:43:00 somebody talking release? \o/ Nov 17 08:44:06 I assume there will be done kind of release based on kernel 5.4 Nov 17 08:44:25 Borromini: I'm talking about GCC 10.x being more (code) cache-hostile. :P Nov 17 08:44:38 rsalvaterra: I'm talking about switching to GCC10 Nov 17 08:44:49 keep in mind that every GCC release increases compiled size Nov 17 08:45:15 rsalvaterra: oh :P :( Nov 17 08:45:42 mangix: Yes, but this time the increase is more significant, from my experience. Nov 17 08:46:13 keep in mind, 'embedded' := as smartphone these days... Nov 17 08:47:10 pkgadd: My smartphone has *three* times more RAM than my laptop. I'm not sure I agree. Nov 17 08:47:46 hehe, well... Nov 17 08:48:24 my smartphone has three times more RAM than my NAS Nov 17 08:48:56 which is funny given that NAS typically uses a lot of RAM Nov 17 08:48:56 Sure, my laptop has 2 GiB of RAM, but it gets sh*t done. :P Nov 17 08:49:12 and all your smartphone does is phone home :P Nov 17 08:50:28 Borromini Is that not what phones are fore? /s Nov 17 08:51:28 :P Nov 17 08:51:56 My wife calls her phone her facebook. lol Nov 17 08:52:11 Borromini: Yeah… the price of convenience… :( Nov 17 08:53:20 When I asked here about she said that is all the dam thing seems to do. Nov 17 08:53:29 her* Nov 17 08:54:36 apple device i'm guessing Nov 17 09:16:38 rsalvaterra: that's how they get us all :) Nov 17 09:20:33 I swear, every time I see someone suggesting echo 1 > drop_caches I just want to scream. Nov 17 09:22:44 in what context? Nov 17 09:22:50 Are you debugging the page cache? No? Then why the f**k are you messing with it? Nov 17 09:23:42 karlp: https://forum.openwrt.org/t/trunk-flush-used-memory/79475 Nov 17 09:27:42 right, yeah, that's just garbage :) Nov 17 09:27:55 this is the whole "ram's being used! I don't want it to be used!" confusion Nov 17 09:28:36 that's the real redmond legacy Nov 17 09:29:12 until they fessed up and turned around, of course. 'oh no we'll start using that ram as well, don't mind us, we've been pointing fingers at unices all along, but hey, nevermind, all good!' Nov 17 09:29:26 im trying to think whether or not dropbear would tell the kernel to start ejecting stuff if I were to scp over a new image on those 4/32 devices Nov 17 09:30:26 People don't seem to understand kernels smartened up since KRNL386.EXE… Nov 17 09:32:07 smartened, aka, someone somewhere else decided it knew how to do things better and less predictably ;) Nov 17 09:32:19 Namidairo: On a 4/32 device you want to bring down non-essential services before flashing a new image, to make room for it. Nov 17 09:33:40 karlp: the regular industry definition of 'smart' ;) Nov 17 09:38:06 And speaking of memory management, would someone please review/merge my procd patches, so we can end the "mount /tmp on zram" silliness once and for all…? :/ Nov 17 09:48:37 rsalvaterra, o/ Nov 17 09:58:48 nitroshift: o/ Nov 17 10:12:14 rsalvaterra: there qas such a bug with mt7621 Nov 17 10:12:36 i lost quite a bit od data that way... Nov 17 10:13:50 cache coherency bug that is Nov 17 10:23:33 mangix: Cache coherency bug? On MT7621? Nov 17 10:45:24 yeah. it's fixed now Nov 17 10:46:15 Good to know, since I got myself four Redmi AC2100 devices (one for me, three for friends of mine). :P Nov 17 10:49:19 I installed OpenWrt on one of them yesterday… the procedure described in the wiki is nuts, completely unnecessary with the 2.0.23 firmware version. Nov 17 10:50:57 They're even nice enough to include curl, so you can just directly download the OpenWrt images from the router itself. :P Nov 17 10:54:54 full thread if you're bored https://github.com/gnubee-git/GnuBee_Docs/issues/78 Nov 17 10:57:04 I'm sorry. Nov 17 10:57:20 :P Nov 17 10:58:50 huh? Nov 17 11:00:03 rsalvaterra: are you saying 2.0.23 has one of those nice command injection bugs in the web interface Nov 17 11:00:14 Namidairo: Yes! ;) Nov 17 11:01:10 Namidairo: https://www.youtube.com/watch?v=d3km5n-d4io Nov 17 11:02:10 I did what I did when only the release firmware was around so meh Nov 17 11:02:38 And even that video is overly complicated, you don't need a local HTTP server to upload the images, you can just curl them down from the OpenWrt repository. Nov 17 11:03:41 just in case one didn't have a working internet connection for whatever reason Nov 17 11:04:19 Namidairo: In that case, you can use SCP or SSH directly. No HTTP server needed, again. Nov 17 11:05:07 mangix: Wonderful explanation. It's long fixed, fortunately. Nov 17 11:05:53 well feel free to write up a new process Nov 17 11:06:13 since you'll probably be flashing 4 of them soon :P Nov 17 11:06:31 One down, three to go. ;) Nov 17 11:08:07 Namidairo: I had a look inside the OEM firmware to see the firewall configuration and running services… it's terrifying. Nov 17 11:08:13 it was a janky process to begin with Nov 17 11:11:17 The damn thing boots up with completely open wifi, to which you can connect and do the basic configuration procedure. You're basically racing against your evil neighbour. Nov 17 11:12:37 that was part of the reason i didn't want to have mine hooked up to my network during setup Nov 17 11:13:23 did you see the lua as well Nov 17 11:13:43 all nice and scrambled Nov 17 11:14:30 I didn't look at the Lua scripts. I just looked at /etc/config/firewall and felt sorry for whoever bought this to use as-is (was?)… Nov 17 11:15:36 (And I'm sure it's been a lot of people, judging from how fast they were sold on AliExpress…) Nov 17 11:16:14 in fairness I think many of those sales may have happened after I published the poc Nov 17 11:16:58 Namidairo: I truly hope so! Nov 17 11:25:35 any objections to tag and start the build of 18.06.9 today in the evning? In the release notes we should then decare it end of life and make this the final release. Nov 17 11:25:45 *evening Nov 17 11:26:19 fine with me Nov 17 11:35:27 nice, so we're going to maintain one stable release from now on? Nov 17 11:39:49 that is until 20.x comes out Nov 17 11:39:53 or 21.x Nov 17 11:40:27 19.x will not receive heavy maintenance after that, but I'd prefer to keep it "open" for eventual security fixes Nov 17 12:04:03 Hmm… Is it safe to ignore this? Looks ominous enough… Nov 17 12:04:03 [ 0.631956] nand: WARNING: mt7621-nand: the ECC used on your system is too weak compared to the one required by the NAND chip Nov 17 12:06:33 I don't have that Nov 17 12:07:00 Namidairo: Really? This is yesterday's snapshot. Nov 17 12:07:19 I haven't put a new snapshot on for a few weeks Nov 17 12:09:19 you also might have different nand chip to mine Nov 17 12:09:49 I think a few of the later units were shipping with toshiba (?) Nov 17 12:10:11 [ 0.596975] nand: ESMT PSU1GA30DT Nov 17 12:12:12 Let me see… Nov 17 12:13:02 Quite…! Nov 17 12:13:02 [ 0.613259] nand: Toshiba NAND 128MiB 3,3V 8-bit Nov 17 13:04:53 build #676 of ath79/nand is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/ath79%2Fnand/builds/676 Nov 17 14:01:14 build #420 of bcm27xx/bcm2710 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/bcm27xx%2Fbcm2710/builds/420 Nov 17 17:41:08 >KGB-0< https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (98.2% images and 100.0% packages reproducible in our current test framework.) Nov 17 18:39:35 Hello, guys! :) Nov 17 18:41:50 the opkg package is getting me mad. Over almost 15 straight days, I can't get a minimally stable and usable snapshot bin, on my EA7500 v1! Nov 17 18:41:55 Collected errors: * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz, wget returned 4. * opkg_download: Check your network settings and connectivity. Nov 17 18:42:16 Every single day I have errors regarding failures on the openwrt website. :/ Nov 17 18:43:08 This time, even luci is uncapable of being installed properly at all. Nov 17 18:43:25 there's been buildbot issues and related repo issues. Nov 17 18:44:02 Are them solved? Nov 17 18:45:33 no idea. maybe someone else knows. Nov 17 19:50:24 ReDaLeRt you need to fix your dns Nov 17 19:50:58 returned 4. * opkg_download: Check your network settings and connectivity. is DNS Nov 17 19:51:13 rsalvaterra: ping Nov 17 19:52:21 the download server moved recently and there might be some dead DNS ends Nov 17 19:57:19 aparcar[m]: pong Nov 17 19:57:32 mind testing an imagebuilder for me? Nov 17 19:57:56 I think so. Where is it? Nov 17 19:58:17 https://github.com/aparcar/openwrt/actions/runs/367107739 Nov 17 19:58:34 download the ath79-generic-selinux-supplementary artifact Nov 17 19:58:38 inside is the imagebuilder Nov 17 19:58:49 oh actually not the selinux one but the nls one please Nov 17 19:58:59 the selinux uses a different kernel hash Nov 17 19:59:10 but the nls one should be able to download the kmods from openwrt.org Nov 17 19:59:22 all using signatures Nov 17 19:59:57 ath79-generic-nls-supplementary downloading. Nov 17 20:01:54 I'm on macOS at the moment. Does the image builder work here? (Never tried.) Nov 17 20:02:11 no clue Nov 17 20:03:01 No problem, I'll SFTP to the Debian machine. Nov 17 20:03:30 thank you Nov 17 20:06:47 Extracting. Nov 17 20:07:18 Shall I make a specific image, or any will suffice? Nov 17 20:08:05 I need to restrict a package to x86_64 arches only. Does this cover all of them? DEPENDS:=@((x86_64)||(USE_GLIBC&&(i386))) Nov 17 20:08:30 or is there an i686? Nov 17 20:09:39 rsalvaterra: anything is fine. It's mostly about the key generation Nov 17 20:10:25 Built fine. No unusual output. Nov 17 20:15:13 Now I have a question… When we make kernel_oldconfig CONFIG_TARGET=subtarget and a bunch of config symbols are removed, doesn't it mean the configuration should be refreshed (as the symbols are already part of the generic config)? Nov 17 20:19:50 I'm not a kernel refresh person sorry Nov 17 20:20:08 there are like two usual suspects that do all the kernel bumps, maybe ping them? Nov 17 20:22:36 I will, but not just yet, I still need to dig a bit more. :) Nov 17 20:27:50 hostnames with '-' in them are legal right? e.g. 'big-server' Nov 17 20:29:24 Good question. Intuitively, I'd say yes, but I don't know for sure. Nov 17 20:29:51 I use hostnames with dashes, and that works :-) Nov 17 20:30:05 Wait! IDN uses hyphens. Nov 17 20:31:31 ipset add Vid4 "big-server" timeout 0 results ipset v7.6: Syntax error: cannot parse big: resolving to IPv4 address failed Nov 17 20:34:08 WAT Nov 17 20:34:51 You can't put hostnames in ipsets. Nov 17 20:35:24 rsalvaterra: but ipset does appear to resolve them for you Nov 17 20:35:52 ldir: I get the same error on my machine, it appears ipset is splitting the hostname at the dash Nov 17 20:35:54 That's very strange… dnsmasq has a facility to fill ipsets at DNS resolution time. Nov 17 20:36:03 indeed ipset will try to resolv hostnames to an address. Nov 17 20:36:08 That's what I use for those situations. Nov 17 20:36:33 I was positive you couldn't put hostnames in ipsets, but I'd love to be wrong. Nov 17 20:36:40 I'm trying to force an entry into a set, as a permanent entry hence the timeout 0 Nov 17 20:37:24 you can't put hostnames in, you can put addresses in - ipset 'helpfully' resolves names to addresses... except it appears to have problems with '-' characters in the hostname. Nov 17 20:37:57 If host names or service names with dash in the name are used instead of IP addresses or service numbers, then the host name or service name must be enclosed in square brackets. Example: Nov 17 20:38:00 ipset add foo [test-hostname],[ftp-data] Nov 17 20:38:06 man ipset # noobs ;) Nov 17 20:38:32 stintel: \o/ Nov 17 20:38:38 stintel: thanks - I did look at the man page, not closely enough Nov 17 20:39:38 welcome Nov 17 20:39:44 I still believe the dnsmasq solution is more elegant, especially if you're dealing with CDNs. Nov 17 20:41:03 yes, but I want to add a couple of 'fixed' entries in at 'boot time' with a zero (permanent) timeout Nov 17 20:41:21 Fair enough. :) Nov 17 20:41:27 The set is added to dynamically by the dnsmasq ipset mechanism Nov 17 20:41:47 ldir: Well, since you're here, and you're also a kernel guy… Nov 17 20:41:54 I have some entries that must stick! Nov 17 20:42:01 … did you see my question? :P Nov 17 20:43:00 rsalvaterra: I saw the question, I'm not a kernel guy by any stretch of the imagination and no I have no idea Nov 17 20:43:11 Oh, and about the hyphens, I had totally forgot https://cm-sintra.pt/ *facepalm*. Nov 17 20:43:55 ldir: I see you do kernel updated from time to time, that's why I asked. :P Nov 17 20:44:40 there's a magic script that does the bumps, but when it comes to symbols...I put my head in the sand & hope Nov 17 20:45:21 I have never understood the kernel symbols & subtarget thing. Sorry Nov 17 20:46:29 ldir: That much I understand. :) Nov 17 22:52:51 Hauke: Just noticed this one: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2a8279c161efeb243084d78d8077661c9122bb18 Nov 17 22:53:02 Hauke: Thanks for the fixup. Apologies for the mistake :( Nov 17 22:55:13 xback: no problem, I did an update of the kernel earlier but did not really test and pushed it Nov 17 22:55:18 saw this in the comparision Nov 17 22:56:35 Hauke, xback, could one of you please tell me if my reasoning is correct, about the kernel symbols? Nov 17 22:58:02 This is what I asked: when we make kernel_oldconfig CONFIG_TARGET=subtarget and a bunch of config symbols are removed, doesn't it mean the configuration should be refreshed (as the symbols are already part of the generic config)? Nov 17 23:16:11 rsalvaterra: yes Nov 17 23:16:54 Thanks, I thought so. Nov 17 23:17:19 I just noticed this on ramips/mt7621. Nov 18 00:34:52 adrianschmutzler: what is the policy for changing dts compatible strings? some devices are called 8dev while they're really 8devices. I'd unify that, thoughts? Nov 18 01:04:15 aparcar[m]: https://openwrt.org/docs/guide-developer/device-support-policies#modeldevice_name Nov 18 01:05:12 Note the link to the kernel list there. I unify stuff like that occasionally, but in some cases it might create more confusion than use. **** ENDING LOGGING AT Wed Nov 18 03:02:03 2020