I compiled the kernel from trunk, and upon running it got a triple-fault in bochs and the kernel freezes in qemu.