classic fable: figures out how to reverse-engineer the iPod Touch 1.0 OS to run under qemu + emscripten in browser, but doesn't notice it got the size of the device frame wrong 🫠
i must be a special kind of idiot.
got a uni assignment to install any type of linux distro on my laptop ‘either’ via some sort of virtualization so i spent hours trying to install ubuntu on QEMU/KVM using Omarchy Quattro, debugging why the wifi isn’t working like an idiot.
if you read it and instantly found why im r3tarded then congratulations, you’re better than me.
if you missed it then here:
> i am already on linux.
> could’ve just fastfetch, screenshot and submit.
> i cant submit anymore.
> im cooked.
punching the air right now cuz what the fück is wrong with QEMU/KVM and their NAT network setup bs. linux networking is not fun :(
virtual box wouldn’t do this to me.
What the x86-64 syscall instruction does in the instant it runs.
The syscall instruction saves the return address in rcx and the flags in r11, loads the kernel's entry point from LSTAR and a ring 0 code segment from STAR, and masks interrupts. The syscall instruction pushes nothing and switches no stack. The kernel's first instructions run swapgs and load a stack of their own.
Single-stepped in gdb, then again inside the kernel booted under QEMU.