2025-11-18 18:05:51 riscv64 dev machine segfaults often 2025-11-18 18:39:38 Tue Nov 18 18:05:06 2025] make[34445]: unhandled signal 11 code 0x1 at 0x0000000000000000 in make[2adc712000+33000] 2025-11-18 21:14:22 One of the pioneers is very unreliable. It deadlocks or segfaults 2025-11-18 21:16:48 I’m hoping milk-v titan will be usable 2025-11-20 12:43:56 gitlab.a.o is down? 2025-11-20 12:44:32 ah, it is online again 2025-11-20 12:53:24 this milk-v titan looks fine and cost is not too high 2025-11-21 11:45:21 ncopa: btw, gitlab CI run on bpi-f3? 2025-11-21 12:06:18 one of the runners yes 2025-11-21 12:06:46 reminds me, we could set up a couple of CI runners in scaleway 2025-11-21 12:06:54 well, i meant riscv64 2025-11-21 12:09:15 I should check how fast riscv64 in qemu on loongarch64 host 2025-11-21 12:09:49 one of the riscv64 CI runners is a bpi-f3. We have multiple riscv64 CI runners 2025-11-21 12:10:29 aha 2025-11-21 12:11:28 looks liek we have 4 of them for aports 2025-11-21 12:12:14 which 4? 2025-11-21 12:12:39 4 different machines? 2025-11-21 12:16:47 my bpi-f3 have only 2GB ram, very slow for build anything not small 2025-11-21 12:17:20 2 bpi-f3, 2 milk-v pioneer 2025-11-21 12:23:29 I have a hifive premier p550 under my desk that I should set up for CI as well, but it is a bit noisy 2025-11-21 12:24:05 i have a starpro64 too that is "under construction", which is passively cooled and has 32G ram 2025-11-21 12:24:15 I just havent had time to set it up 2025-11-21 12:25:02 Understood, getting 3.23 out has a higher priority atm 2025-11-21 12:25:09 yeah 2025-11-21 12:26:06 oh, when is release planned? 2025-11-21 12:26:54 and what version of linux-lts? 2025-11-21 12:26:55 asap 2025-11-21 12:27:01 No change 2025-11-21 12:27:31 atm the plan is linux-lts 6.12 2025-11-21 12:27:51 but if 6.18 comes out today, we may be able to do 6.18, but its risky 2025-11-21 12:27:56 i'd live to have 6.18 2025-11-21 12:28:03 s/live/love/ 2025-11-21 12:28:33 what a pity, 6.18 will be released soon and it will be next lts i think 2025-11-21 12:28:47 even if it comes out *now* i still need ~1 day to work on it 2025-11-21 12:28:56 yeah 2025-11-21 12:29:58 maybe you backport it later 2025-11-21 12:32:53 no 2025-11-21 12:33:32 :( 2025-11-21 12:45:05 Are there RCs already we could test? 2025-11-21 12:48:02 yes, https://git.kernel.org/torvalds/t/linux-6.18-rc6.tar.gz 2025-11-21 12:48:38 i'm testing it on loongarch64 2025-11-21 12:49:09 can test it on aarch64 2025-11-21 12:56:51 actually I run 6.17 on my machines - armv7, aarch64, riscv64 and loongarch64 2025-11-21 12:57:03 all works fine 2025-11-21 13:01:10 what needs testing is build the 3rd party modules 2025-11-21 13:02:46 oh, not my expertise 2025-11-21 13:04:52 ill look at zfs 2025-11-21 13:04:59 but usually it works with some backporting 2025-11-21 13:06:11 yeah there are patches available to build it with linux 6.18: https://github.com/openzfs/zfs/pull/17842#issuecomment-3424044265 2025-11-21 13:07:36 ncopa: if you need some help with 6.18 im here :3 2025-11-21 13:12:14 1. compare the configs with the linux-stable. I suppose they are more or less aligned 2025-11-21 13:12:35 just make sure we got all recent kernel config changes in linux-lts with us 2025-11-21 13:12:52 2. make sure all of the 3rd party modules build 2025-11-21 13:13:04 3. test boot 2025-11-21 13:14:03 0.5: check if we can drop any of the patches 2025-11-21 13:14:35 achill: would be nice with help with 6.18 2025-11-21 13:16:45 forgot tell, also latest stable is fine on loongarch64 2025-11-21 14:18:55 nice ill try that this evening or so 2025-11-23 08:32:48 Does alpine target riscv64 with rvv extensions (can we assume them to be present)? 2025-11-23 09:02:36 isn't it what what gcc/llvm have set 2025-11-23 09:02:54 s/what// 2025-11-23 09:08:38 https://gitlab.alpinelinux.org/alpine/aports/-/jobs/2109738#L509 2025-11-23 09:08:55 undefined reference to `png_init_filter_functions_rvv' 2025-11-23 09:25:57 It says we need to set -march=rv64gv1p0 2025-11-23 09:51:56 So the question is, can we build with that set, orn ot? 2025-11-23 10:48:43 what is p0 2025-11-23 13:12:38 it's gcc slang for vector extension 1.0 2025-11-23 13:21:56 I don't think it's safe to assume we support that, but I'm not 100% 2025-11-23 13:22:59 I think there are some things that only support a draft of rvv 1.0 2025-11-23 13:26:08 I'm a bit confused whether it supports runtime detection or not 2025-11-23 13:26:11 (libpng) 2025-11-23 13:26:55 https://github.com/pnggroup/libpng/blob/libpng16/INSTALL#L282 2025-11-23 13:27:47 ie, we don't provide --enable-hardware-optimizations, but the question is whether that's necessary or not 2025-11-23 14:43:55 iggy: isn't v1 for vector ext version 1 2025-11-23 14:45:25 runtime detection works in kernel but not sure it work in userspace 2025-11-23 15:25:11 it's V (the extension letter) 1p0 (1 "point" 0) 2025-11-23 15:29:11 runtime detection in userspace exists in general ("hwprobe", but you can also use getauxval for V) but libpng doesn't seem to support it 2025-11-23 15:39:09 aha, thanks 2025-11-23 15:44:35 if you include V in -march gcc will generate code using V for loops, struct assignments, etc with no runtime checks, so only use that if V is part of the documented hardware requirements 2025-11-26 09:30:37 perl-json-webtoken aport test failed on riscv64 builder, so I quickly checked and found the cause was an upgrade of perl-crypt-openssl-rsa from version 0.35 to 0.37 2025-11-26 09:30:48 So yes, now if you rebuild perl-json-webtoken based on perl-crypt-openssl-rsa 0.37 on any other architecture, you'll get the same error. I think it's some kind of compatibility issue 2025-11-26 09:31:09 Just mentioning this because I'm about to go AFK, maybe someone will be interested in continuing to check it out 2025-11-26 11:59:18 thank you for sharing! 2025-11-26 14:16:39 as indicated in #17668, someone is looking into perl-json-webtoken issue, but it will take a few days 2025-11-26 14:20:51 as it probably involves rewriting a portion of the signing code that the test uses 2025-11-26 14:28:56 maintainer of perl-net-saml2 had encountered a related issue and has worked with perl-crypt-openssl-rsa code upstream, they kindly agreed to look into 2025-11-26 14:30:02 this one. unfortunately there hasn't been much activity over at perl-json-webtoken 2025-11-26 14:31:34 if it is a blocker for 3.23, maybe better to temporarily disable it (and its dependent, on the arch) 2025-11-26 14:31:58 s/, on the arch// 2025-11-26 14:38:15 do you have a ref/link for perl-net-saml2/perl-crypt-openssl-rsa work? 2025-11-26 14:38:40 this apparenly affects all arches, and affects only imapsync 2025-11-26 14:38:51 we could delete both for now 2025-11-26 14:39:40 yes, it affects all arches. perl-net-saml2 and perl-xml-sig was recently upgraded to be compatible with perl-crypt-openssl-rsa 0.37 2025-11-26 14:39:55 we could also revert 2a0dfbf63aa91772951818d027105697ac63db07 2025-11-26 14:40:09 but would be better to fix it 2025-11-26 14:42:19 more things are broken https://github.com/cpan-authors/Crypt-OpenSSL-RSA/issues/61#issuecomment-3581300444 2025-11-26 14:42:55 https://metacpan.org/dist/Net-SAML2 https://github.com/perl-net-saml2/perl-Net-SAML2/issues/239 2025-11-26 14:43:18 the changelog on net-saml2 summarises the issue 2025-11-26 14:43:20 thank you! 2025-11-26 14:45:24 you're welcome 2025-11-26 14:46:06 the other two blocks on 3.23 riscv64 are njs (failed test due to pcre 10.47 upgrade) and ostree-push 2025-11-26 14:47:11 the njs one may be safe to skip, guess it would be more a bug at worst and not critical 2025-11-26 14:47:38 opened an issue for maintainer feedback 2025-11-26 14:50:06 possibly related to https://github.com/PCRE2Project/pcre2/pull/817 "Add support for $+ to pcre2_substitute", not sure 2025-11-26 14:52:52 spent some time yesterday looking into ostree-push test but didn't find out why it fails only on riscv64. the function is called multiple times in other tests and does not fail then, only in one test 2025-11-26 14:57:20 i disabled imacysn and perl-json-webtoken. this could be a follow up https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/93786 2025-11-26 14:58:17 cool, thanks 2025-11-29 10:26:28 could someone with bpi-f3 board send TLV info from u-boot 2025-11-29 10:28:31 my board stopped to boot from tf card so i want to see values in eeprom i.e. ddr-cs-num 2025-11-29 10:30:43 there are few unknown codes (names) - 0x40, 0x41 and 0x42 2025-11-29 10:31:29 one of them is ddr-cs-num but I'm not sure which one 2025-11-29 10:36:51 mps: I can try 2025-11-29 10:38:09 ikke: tia 2025-11-29 10:43:06 ikke: and no hurries, when you have free time 2025-11-29 10:43:45 I'm rebooting it now 2025-11-29 10:43:56 But it's slow :( 2025-11-29 10:50:28 mps: How to get those numbers? I just see warnings about not being able to find TLV data 2025-11-29 10:51:08 tlv_eeprom 2025-11-29 10:51:18 How to get there? 2025-11-29 10:51:37 from u-boot cli prompt 2025-11-29 10:52:12 when it boot break it by press 's' 2025-11-29 10:53:47 if you use alpine u-boot then press any key 2025-11-29 10:54:11 I only get to the part where I have to choose what to boot and I can only select numbers (1) 2025-11-29 10:54:15 s/use/installed on board/ 2025-11-29 10:54:50 Yes, I have alpine installed. 2025-11-29 10:54:54 you use serial console? 2025-11-29 10:54:56 Yes 2025-11-29 10:55:28 hm, then you should see whole u-boot log 2025-11-29 10:55:35 yes, I see it 2025-11-29 10:56:40 https://tpaste.us/gb7x 2025-11-29 10:56:51 aha, then press space or 's' during this log 2025-11-29 10:57:54 it is not 'Autoboot in 0 seconds, press to stop' 2025-11-29 10:58:13 uh, sorry 2025-11-29 10:58:28 is is* 2025-11-29 10:59:15 https://tpaste.us/e6BX 2025-11-29 11:00:09 ok, success 2025-11-29 11:00:44 nice 2025-11-29 11:00:52 But it does not mention 0x40, 0x41 or 0x42 2025-11-29 11:01:15 now you are in u-boot prompt 2025-11-29 11:01:19 https://tpaste.us/kngw 2025-11-29 11:01:30 => 2025-11-29 11:02:35 only this? 2025-11-29 11:02:57 yes 2025-11-29 11:03:59 i have this https://tpaste.us/OvkX 2025-11-29 11:04:44 U-Boot 2022.10 SpacemiT (Jul 10 2024 - 14:32:38 -0400) 2025-11-29 11:06:00 `version` - what it show 2025-11-29 11:06:07 ^^ 2025-11-29 11:06:42 U-Boot 2022.10 2.0.4 (Dec 28 2024 - 15:23:58 +0000) 2025-11-29 11:08:10 `version` show gcc and binutils with word alpine somewhere 2025-11-29 11:08:31 gcc (Alpine 14.2.0) 14.2.0 2025-11-29 11:08:59 riscv64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0 2025-11-29 11:09:52 aha, so it differs from alpine. our shows more data from eeprom 2025-11-29 11:10:24 ikke: ok. thank you for trying help 2025-11-29 11:14:47 ACTION trying to not tell what he thinks of spacemit and why they don't release all data about basic things 2025-11-29 11:17:53 btw, I bought spacemit musebook but it will be brought here in two months by friend who is now in China