Please try this patch and tell me if it fixes the problem.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>

Index: video/i386/vesa/vesa.c
===================================================================
RCS file: /cvs/src/sys/dev/video/i386/vesa/vesa.c,v
retrieving revision 1.24
diff -u -p -r1.24 vesa.c
--- video/i386/vesa/vesa.c      9 Jan 2008 21:29:11 -0000       1.24
+++ video/i386/vesa/vesa.c      29 Apr 2008 20:35:55 -0000
@@ -808,7 +808,7 @@ {
 #if VESA_DEBUG > 1
        kprintf("vesa_unmap_buffer: vaddr:%x size:%x\n", vaddr, size);
 #endif
-       kmem_free(&kernel_map, vaddr, size);
+       pmap_unmapdev(vaddr, size);
 }
 
 /*

Reply via email to