!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

579 Members
NixOS ❤️ systemd159 Servers

Load older messages


SenderMessageTime
10 Mar 2025
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh great. The user practically ignored my request for HW info and decided to bisect nixpkgs instead of considering the systemd issue I linked18:07:11
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgguess we'll see them again in a day or two18:07:34
@raitobezarius:matrix.orgraitobezarius(lol)18:08:07
@raitobezarius:matrix.orgraitobezariusi think it's a great experience to bisect baremetal HW18:08:15
@raitobezarius:matrix.orgraitobezariusI totally did not put my little brother to this task for the last 2 weeks18:08:28
@raitobezarius:matrix.orgraitobezariusthey would have a better chance just reverting the systemdp atch18:09:05
@raitobezarius:matrix.orgraitobezarius now we are talking about bisections, i'm going to post this: http://kernel.org/pub/linux/kernel/people/paulmck/Answers/Heisenbugs/QQAbisection.html 18:09:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.org raitobezarius: Do you know if it would be possible to make qemu emulate an x86_64 system with this sort of issue? 18:11:43
@raitobezarius:matrix.orgraitobezariuswell, you know what we did last time right18:12:09
@raitobezarius:matrix.orgraitobezariuslet me check the source code of qemu quickly18:12:24
@raitobezarius:matrix.orgraitobezariusbasically18:13:30
@raitobezarius:matrix.orgraitobezarius
bool x86_cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list,
                                Error **errp);
18:13:32
@raitobezarius:matrix.orgraitobezariusi think this needs to answer "yo bro i have nothing for you below 4GB boundary"18:13:41
@raitobezarius:matrix.orgraitobezariusthen you are going to reproduce it18:13:50
@raitobezarius:matrix.orgraitobezarius target/i386/cpu.h 18:14:01
@raitobezarius:matrix.orgraitobezariushmm18:14:37
@raitobezarius:matrix.orgraitobezariusi think there's easier ways to do it18:14:40
@raitobezarius:matrix.orgraitobezarius https://www.qemu.org/docs/master/devel/memory.html 18:14:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI thought we just tested everything on bare metal asahi machines18:15:33
@raitobezarius:matrix.orgraitobezarius
In reply to @elvishjerricco:matrix.org
I thought we just tested everything on bare metal asahi machines
the day where the sd-boot read() was relying on the firmware not being broken
18:15:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh I fixed that by fucking with the OVMF implementation in a cursed way18:16:09
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwhich I guess would be another way to do this, huh?18:16:16
@raitobezarius:matrix.orgraitobezarius
    memory_region_init_alias(ram_below_4g, NULL, "ram-below-4g", machine->ram,
                             0, x86ms->below_4g_mem_size);
18:16:36
@raitobezarius:matrix.orgraitobezariuseither you patch OVMF18:16:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.org* oh I tested that by fucking with the OVMF implementation in a cursed way18:16:42
@raitobezarius:matrix.orgraitobezariuseither you patch QEMU18:16:43
@raitobezarius:matrix.orgraitobezariusjust kill these lines18:16:57
@raitobezarius:matrix.orgraitobezarius
    ram_below_4g = g_malloc(sizeof(*ram_below_4g));
    memory_region_init_alias(ram_below_4g, NULL, "ram-below-4g", machine->ram,
                             0, x86ms->below_4g_mem_size);
    memory_region_add_subregion(system_memory, 0, ram_below_4g);
18:17:00
@raitobezarius:matrix.orgraitobezariusi think that's enough to make RAM below 4GB disappear18:17:05
@raitobezarius:matrix.orgraitobezarius (pc.c file) 18:17:13

Show newer messages


Back to Room ListRoom Version: 6