f89e56828a
worked in the past only because of good fortune. Anyway, use the contig alloc routine I wrote awhile ago (vm_page_alloc_contig) for the sound code to do this allocation. Also, specify read+write on the permissions to pmap_enter(). Specifying just read can have unexpected consquences.