Comment 2 for bug 6812

Revision history for this message
In , Kenshi Muto (kmuto) wrote :

Hi,

I tried on another machine, and found same problem happened.
I believe vga16fb is corrupted.

Here is revert patch.
It works good on my test environment.

--- kernel-source-2.6.6/drivers/video/vga16fb.c 2004-05-10 18:48:01.000000000 +0900
+++ kernel-source-2.6.5/drivers/video/vga16fb.c 2004-02-19 17:55:41.000000000 +0900
@@ -1347,7 +1347,7 @@

        /* XXX share VGA_FB_PHYS and I/O region with vgacon and others */

- vga16fb.screen_base = ioremap(VGA_MAP_MEM(VGA_FB_PHYS), VGA_FB_PHYS_LEN);
+ vga16fb.screen_base = ioremap(VGA_FB_PHYS, VGA_FB_PHYS_LEN);
        if (!vga16fb.screen_base) {
                printk(KERN_ERR "vga16fb: unable to map device\n");
                ret = -ENOMEM;
@@ -1372,8 +1372,6 @@
        vga16fb.par = &vga16_par;
        vga16fb.flags = FBINFO_FLAG_DEFAULT;

- vga16fb.fix.smem_start = VGA_MAP_MEM(vga16fb.fix.smem_start);
-
        i = (vga16fb_defined.bits_per_pixel == 8) ? 256 : 16;
        ret = fb_alloc_cmap(&vga16fb.cmap, i, 0);
        if (ret) {