Exotic Nix Targets | 329 Members | |
| 104 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Oct 2025 | ||
* the pseries platform can definitely use -kernel and -initrd to boot a regular linux kernel, but on a big-endian POWER system any kernel I try just runs into invalid memory access almost immediately. so that also doesn't really work, at least not for natively running the tests | 17:40:15 | |
* as-is, qemu seems unable to launch a regular kernel with the powernv platform selected. i only managed to get something resembling a booting system out of that platform by passing petitboot files into -kernel and -initrd, and adding a CD device with an installer ISO. since we also use those two options to start VMs for tests though, that doesn't really work - at least not without introducing some nix code to make a petitboot-recognised disk image to pass as a disc… | 17:42:22 | |
* as-is, qemu seems unable to launch a regular kernel with the powernv platform selected. i only managed to get something resembling a booting system out of that platform by passing petitboot files into -kernel and -initrd, and adding a CD device with an installer ISO. since we also use those two options to start VMs for tests though, that doesn't really work - at least not without introducing some nix code to make a petitboot-recognised dis(c/k) image to pass via a device… | 17:42:56 | |
| just curious if you have any more insight into / ideas about that, was hoping to do installer tests for IEEE-1275 grub2 before committing to writing anything onto a real disk :) | 17:45:48 | |
* the pseries platform can definitely use -kernel and -initrd to boot a regular linux kernel, but on a big-endian POWER system any kernel I try to boot inside of the VM just runs into invalid memory access almost immediately. so that also doesn't really work, at least not for natively running the tests | 17:47:47 | |
* the pseries platform can definitely use -kernel and -initrd to boot a regular linux kernel, but on a big-endian POWER system any kernel I try to boot inside of the VM just runs into invalid memory access almost immediately. so that also doesn't really work, at least not for natively running the tests on the platform that I have access to | 17:48:07 | |
| Heyy, it looks like bash introduced a sanity check for strchrnul that fails when cross compiling (just like getenv) and bash tries to replace the implementation | 20:16:54 | |
| but for static builds with mlibc it fails because mlibc doesn't have them as weak symbols (which is similar behaviour to BSDs) | 20:17:53 | |
| someone working with cross compilation to BSDs should check if they're affected | 20:18:23 | |
| if they're affected, bash_cv_func_strchrnul_works=yes when cross compiling to BSDs just like we currently do for getenv_works should be enough to fix it | 20:19:51 | |
In reply to @sananatheskenana:matrix.orgBSD cross works well enough that it should be quite easy to check yourself if you're interested (and want to also fix it for mlibc) | 20:22:44 | |
| I have it fixed for mlibc locally | 20:23:01 | |
| I'll check then I'll get them fixed in the same commit then? | 20:23:14 | |
| Sorry for the slow progress on the mlibc PR btw, I was moving and I got into uni | 20:24:00 | |
| Now I'm doing PRs in 0-credit classes | 20:24:21 | |
| Checked, strchrnul appears to be a weak symbol on freebsd | 20:57:38 | |
| And static bash cross compiles | 20:57:54 | |
| 3 Oct 2025 | ||
| 10:09:37 | ||
| 4 Oct 2025 | ||
| 08:41:25 | ||
| 5 Oct 2025 | ||
Download image.png | 15:10:19 | |
| booting fails, and display never gets any output, but baby steps 🙂 | 15:11:08 | |
fails in the emulation cus the installer's kernel can't find /dev/root, but it works on my hardware. maybe something works different on pseries machines there, hmm… | 22:20:45 | |
Download IMG_20251006_001633.jpg | 22:20:57 | |
| :3 | 22:21:09 | |
* fails in the emulation cus the installer's kernel can't find /dev/root, but it works on my hardware. maybe something works different on pseries machines there, or qemu just behaves weird somewhere. hmm… | 22:21:46 | |
| 6 Oct 2025 | ||
| Has there been any effort to port openwrt/pmos kernels & stuff for nixos | 03:12:12 | |
| Generally we try to minimize the delta to mainline | 04:44:46 | |
| e.g. I have a bpi-r4 running with some openwrt-adjacent patches | 04:44:59 | |
| But it's like 50 commits on top of mainline and some are backports from net-nexr | 04:45:12 | |
| * | 04:45:17 | |