removed old buffer packing functions and changed to use new kernel calls (not working)