You're loading this through kldload? Then I'd imagine that curthread->td_proc->p_vmspace->vm_map refers to the vm_map of the kldload process, not the kernel. Try using kernel_map directly.
Ryan Stone _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

