Re: [2.1.115][PATCH] Fix for vgacon unimap problem.

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Mon, 10 Aug 1998 11:59:35 +0200 (MET DST)


>
> Hi,
> This patch fixes the vgacon unimap problem in linux-2.1.11[2-5], that I
> reported a couple of days ago. The problem was:
>
> 1. Even if I called loadunimap from my startup scripts, I had to
> call it again after login.
>
> 2. I had to call loadunimap after returning fra X.
>
> diff -urN linux-2.1.115/drivers/char/console.c linux/drivers/char/console.c
> --- linux-2.1.115/drivers/char/console.c Fri Aug 7 16:54:37 1998
> +++ linux/drivers/char/console.c Sun Aug 9 09:19:35 1998
> @@ -612,7 +612,6 @@
> vt_cons[currcons] = NULL;
> return -ENOMEM;
> }
> - con_set_default_unimap(currcons);
> screenbuf = (unsigned short *) q;
> kmalloced = 1;
> screenbuf_size = video_screen_size;

This is wrong. It won't work for consoles other than vgacon.
I'm working on a fix for this bug.

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.115 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html