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: Rumko <rumcic@xxxxxxxxx>
Date: Wed, 30 Apr 2008 00:08:26 +0200

Matthew Dillon wrote:

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

Works!
-- 
Regards,
Rumko



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