Initial kernel import. So many things are broken with this thing, who's willing to fix them all?