Skip to contentSkip to conversation

2.5.70-mm4

DISCUSSION Vitalis Tiknius 2 participants 2 messages Jun 4, 2003

lore
Share & tools
lore
#0 lore raw

re. cdrom mount problem: so far, so good with all combinations.

vesafb problem: does not work with memory >1Gb.

with patch:

vesafb.c renamed from vesafb.c.old +1 -1
@@ -227,7 +227,7 @@
 	vesafb_defined.xres = screen_info.lfb_width;
 	vesafb_defined.yres = screen_info.lfb_height;
 	vesafb_fix.line_length = screen_info.lfb_linelength;
-	vesafb_fix.smem_len = screen_info.lfb_size * 65536;
+	vesafb_fix.smem_len = screen_info.lfb_width * screen_info.lfb_height * 

vesafb_defined.bits_per_pixel;
vesafb_fix.visual = (vesafb_defined.bits_per_pixel == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;

from http://bugs.gentoo.org/show_bug.cgi?id=19061 all is ok. it is not the time to apply this patch?

#1 lore raw
Quoted 3 lines · Vitalis Tiknius

re. cdrom mount problem: so far, so good with all combinations.

vesafb problem: does not work with memory >1Gb.

There is a more complete fix in the -ac tree. The one you have there is ought on memory allocation by a factor of eight and doesn't allow for double buffering and catching some corner cases.

The 2.4 one has been evolving somewhat over time