News for hackers. Stuff that matters.
Re:Writing kernels that boot with Qemu and Grub – a tutorial by grahamedgecombe on Friday July 29, 2016 @06:44AM (#12185937)
> You need to zero fill .bss section in the boot code before jumping to C code.

GRUB does this for you. See this thread from a few years ago: https://news.ycombinator.com/item?id=7590790

Re:Writing kernels that boot with Qemu and Grub – a tutorial by exDM69 on Friday July 29, 2016 @02:20PM (#12188775)
Hah, it was a response to my comment back then too.

Either that applies only to multiboot v2 or there was a bug in qemu loader since I had a non-zero value in .bss.