!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

341 Members
106 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Oct 2025
@opna2608:matrix.orgPuna r-burns: hi! i'm currently checking if i can get nixosTests running on my POWER machine. i see that you added the qemu entries for these back in https://github.com/NixOS/nixpkgs/pull/115175 , and you mentioned there that there'd be more changes down the line. did this change work for you, and did those other changes ever materialise into PRs? 17:35:55
@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. since we also use those options to start VMs for tests though, that doesn't really work… 17:38:33
@opna2608:matrix.orgPuna the pseries platform can definitely use -kernel and -initrd to boot a system, 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:06
@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

Show newer messages


Back to Room ListRoom Version: 6