HN Hall of Fame Weekly email

Kernel 101 – Let’s write a Kernel

arjunsreedharan.org Books & learning Tutorials & guides Software engineering Candidate
Screenshot of arjunsreedharan.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 2 calendar years, with breakout response in 2 of them.

submissions
4
submitters
3
observed span
2014–2017
peak thread · 100 comments
435 pts
latest 20+ return · 2017-10-20
350 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I got this running on qemu by cannibalizing a tiny bit of code from xv6 (http://pdos.csail.mit.edu/6.828/2012/xv6.html) to replace the GRUB dependency. After cloning and building mkernel according to its instructions: $ git clone git://pdos.csail.mit.edu/xv6/xv6.git $ cd xv6 $ make Now you should be able to run xv6 by itself: $ path-to-qemu/x86_64-softmmu/qemu-system-x86_64 -serial mon:stdio -hdb fs.img xv6.img -m 512 To run mkernel on qemu, we'll replace xv6's kernel with mkernel's: $ dd if=/dev/zero…

Bare metal projects are always a fun hobby. I've done some projects like this in the past [0], let me share some things I learned the hard way. If the author is reading, here are a few corrections. > char * vidptr = (char * )0xb8000; This needs "volatile" qualifier or all the writes to video memory will be dropped when optimization is enabled. Memory mapped I/O like this is one of the few use cases where you need "volatile"…

exDM69·350-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
789

reference only — not used in Hall rules or ranking

Total comments
150

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-04-14Kernel 101 – Let’s write a KernelFirst breakout · Best threadslashdotaccount435100
2014-06-14Great intro to writing a kernel for newbiesslashdotaccount10
2017-10-19Kernel 101 – Let’s write a Kernelprando30
2017-10-20Let’s write a simple Kernel (2014)Latest 20+ point returnmmphosis35050