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) {
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 source- 2.6.5/drivers/ video/vga16fb. c 2004-02-19 17:55:41.000000000 +0900
+++ kernel-
@@ -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); VGA_FB_ PHYS, VGA_FB_PHYS_LEN); screen_ base) {
printk( KERN_ERR "vga16fb: unable to map device\n");
vga16fb. flags = FBINFO_ FLAG_DEFAULT;
+ vga16fb.screen_base = ioremap(
if (!vga16fb.
ret = -ENOMEM;
@@ -1372,8 +1372,6 @@
vga16fb.par = &vga16_par;
- vga16fb. fix.smem_ start = VGA_MAP_ MEM(vga16fb. fix.smem_ start); defined. bits_per_ pixel == 8) ? 256 : 16; cmap(&vga16fb. cmap, i, 0);
-
i = (vga16fb_
ret = fb_alloc_
if (ret) {