DragonFly bugs List (threaded) for 2008-04
DragonFly BSD
DragonFly bugs List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: latest -HEAD panics when switching from X to text console


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Apr 2008 13:36:53 -0700 (PDT)

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

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

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);
 }
 
 /*



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]