getting algo1_nandsim_manual back on track.  works in user-mode, but does it work in the kernel??