!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

329 Members
104 Servers

Load older messages


SenderMessageTime
2 Oct 2025
@opna2608:matrix.orgPuna * 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
@opna2608:matrix.orgPuna * 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
@opna2608:matrix.orgPuna * 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
@opna2608:matrix.orgPunajust 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
@opna2608:matrix.orgPuna * 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
@opna2608:matrix.orgPuna * 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
@sananatheskenana:matrix.orglzcuntHeyy, it looks like bash introduced a sanity check for strchrnul that fails when cross compiling (just like getenv) and bash tries to replace the implementation20:16:54
@sananatheskenana:matrix.orglzcuntbut 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
@sananatheskenana:matrix.orglzcuntsomeone working with cross compilation to BSDs should check if they're affected20:18:23
@sananatheskenana:matrix.orglzcuntif 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 it20:19:51
@qyliss:fairydust.spaceAlyssa Ross
In reply to @sananatheskenana:matrix.org
someone working with cross compilation to BSDs should check if they're affected
BSD 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
@sananatheskenana:matrix.orglzcuntI have it fixed for mlibc locally20:23:01
@sananatheskenana:matrix.orglzcuntI'll check then I'll get them fixed in the same commit then?20:23:14
@sananatheskenana:matrix.orglzcuntSorry for the slow progress on the mlibc PR btw, I was moving and I got into uni20:24:00
@sananatheskenana:matrix.orglzcuntNow I'm doing PRs in 0-credit classes20:24:21
@sananatheskenana:matrix.orglzcuntChecked, strchrnul appears to be a weak symbol on freebsd20:57:38
@sananatheskenana:matrix.orglzcuntAnd static bash cross compiles20:57:54
3 Oct 2025
@venticx:matrix.orgVenticx joined the room.10:09:37
4 Oct 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their profile picture.08:41:25
5 Oct 2025
@opna2608:matrix.orgPunaimage.png
Download image.png
15:10:19
@opna2608:matrix.orgPunabooting fails, and display never gets any output, but baby steps 🙂15:11:08
@opna2608:matrix.orgPuna 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
@opna2608:matrix.orgPunaIMG_20251006_001633.jpg
Download IMG_20251006_001633.jpg
22:20:57
@opna2608:matrix.orgPuna:322:21:09
@opna2608:matrix.orgPuna * 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
@pandapip1:matrix.orgpandapip1Has there been any effort to port openwrt/pmos kernels & stuff for nixos03:12:12
@k900:0upti.meK900 Generally we try to minimize the delta to mainline 04:44:46
@k900:0upti.meK900e.g. I have a bpi-r4 running with some openwrt-adjacent patches04:44:59
@k900:0upti.meK900But it's like 50 commits on top of mainline and some are backports from net-nexr04:45:12
@k900:0upti.meK900 * 04:45:17

Show newer messages


Back to Room ListRoom Version: 6