latest -HEAD panics when switching from X to text console
Rumko
rumcic at gmail.com
Tue Apr 29 15:08:26 PDT 2008
Matthew Dillon wrote:
> Please try this patch and tell me if it fixes the problem.
>
> -Matt
> Matthew Dillon
> <dillon at 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
More information about the Bugs
mailing list