remove the interim code to create mappings via ioctl(),
mmap() works fine now.