modify to test kenrel launching with passing a raw device-ptr