linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: No console on Riva TNT since 2.6.26-0.rc4
       [not found] <062620082004.6012.4863F668000CEA0D0000177C2200751090CE05040A05@comcast.net>
@ 2008-07-10  2:41 ` Andrew Morton
  2008-07-10  2:51   ` Alexey Dobriyan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2008-07-10  2:41 UTC (permalink / raw)
  To: Quel Qun; +Cc: linux-fbdev-devel, LKML

On Thu, 26 Jun 2008 20:04:56 +0000 kelk1@comcast.net (Quel Qun) wrote:

> Hi,
> 
> The system boots fine with 2.6.26-0.rc3.1mnb (Mandriva Cooker), but since rc4, I see a few squares of color, then a black screen and the console never comes back. This is independent of the resolution chosen when using vga=ask. The machine does boot and I can start X if I log in blindly. Only the F1 to F6 consoles are gone.
> 
> Bug originally reported and ignored on Cooker: https://qa.mandriva.com/show_bug.cgi?id=41302
> 
> My card is an old STB NVidia Riva TNT, monitor is a flat panel Dell 2007FP, system is a Dell Dimension XPS T600 (82371AB/EB/MB PIIX4 with PIII 600).
> 
> I cannot see anything different in /var/log/messages between rc3 and rc4 (vga=837)
> 
> vesafb: framebuffer at 0xfc000000, mapped to 0xd8880000, using 7500k, total
> 16320k
> vesafb: mode is 1600x1200x8, linelength=1600, pages=6
> vesafb: protected mode interface info at c000:02d2
> vesafb: pmi: set display start = c00c030b, set palette = c00c0381
> vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf
> 3d0 3d1 3d2 3d3 3d4 3d5 3da
> vesafb: scrolling: redraw
> vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
> Console: switching to colour frame buffer device 200x75
> fb0: VESA VGA frame buffer device
> 
> This is still true with a vanilla 2.6.26-rc8.
> 
> $ grep FB_RIVA /boot/config
> CONFIG_FB_RIVA=m
> # CONFIG_FB_RIVA_I2C is not set
> # CONFIG_FB_RIVA_DEBUG is not set
> CONFIG_FB_RIVA_BACKLIGHT=y
> 

Let's cc the fbdev list.

Is this a regression?  Was 2.6.25 OK?

Thanks.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No console on Riva TNT since 2.6.26-0.rc4
  2008-07-10  2:41 ` No console on Riva TNT since 2.6.26-0.rc4 Andrew Morton
@ 2008-07-10  2:51   ` Alexey Dobriyan
  2008-07-19 16:06     ` Krzysztof Helt
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Dobriyan @ 2008-07-10  2:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Quel Qun, LKML, linux-fbdev-devel

On Wed, Jul 09, 2008 at 07:41:08PM -0700, Andrew Morton wrote:
> On Thu, 26 Jun 2008 20:04:56 +0000 kelk1@comcast.net (Quel Qun) wrote:
> 
> > Hi,
> > 
> > The system boots fine with 2.6.26-0.rc3.1mnb (Mandriva Cooker), but since rc4, I see a few squares of color, then a black screen and the console never comes back. This is independent of the resolution chosen when using vga=ask. The machine does boot and I can start X if I log in blindly. Only the F1 to F6 consoles are gone.
> > 
> > Bug originally reported and ignored on Cooker: https://qa.mandriva.com/show_bug.cgi?id=41302
> > 
> > My card is an old STB NVidia Riva TNT, monitor is a flat panel Dell 2007FP, system is a Dell Dimension XPS T600 (82371AB/EB/MB PIIX4 with PIII 600).
> > 
> > I cannot see anything different in /var/log/messages between rc3 and rc4 (vga=837)
> > 
> > vesafb: framebuffer at 0xfc000000, mapped to 0xd8880000, using 7500k, total
> > 16320k
> > vesafb: mode is 1600x1200x8, linelength=1600, pages=6
> > vesafb: protected mode interface info at c000:02d2
> > vesafb: pmi: set display start = c00c030b, set palette = c00c0381
> > vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf
> > 3d0 3d1 3d2 3d3 3d4 3d5 3da
> > vesafb: scrolling: redraw
> > vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
> > Console: switching to colour frame buffer device 200x75
> > fb0: VESA VGA frame buffer device
> > 
> > This is still true with a vanilla 2.6.26-rc8.
> > 
> > $ grep FB_RIVA /boot/config
> > CONFIG_FB_RIVA=m
> > # CONFIG_FB_RIVA_I2C is not set
> > # CONFIG_FB_RIVA_DEBUG is not set
> > CONFIG_FB_RIVA_BACKLIGHT=y
> > 
> 
> Let's cc the fbdev list.
> 
> Is this a regression?  Was 2.6.25 OK?

2.6.26-rc3 was OK. -rc4 wasn't.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No console on Riva TNT since 2.6.26-0.rc4
  2008-07-10  2:51   ` Alexey Dobriyan
@ 2008-07-19 16:06     ` Krzysztof Helt
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Helt @ 2008-07-19 16:06 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: Quel Qun, Andrew Morton, linux-fbdev-devel, LKML

On Thu, 10 Jul 2008 06:51:49 +0400
Alexey Dobriyan <adobriyan@gmail.com> wrote:

> On Wed, Jul 09, 2008 at 07:41:08PM -0700, Andrew Morton wrote:
> > On Thu, 26 Jun 2008 20:04:56 +0000 kelk1@comcast.net (Quel Qun) wrote:
> > 
> > > Hi,
> > > 
> > > The system boots fine with 2.6.26-0.rc3.1mnb (Mandriva Cooker), but since rc4, I see a few squares of color, then a black screen and the console never comes back. This is independent of the resolution chosen when using vga=ask. The machine does boot and I can start X if I log in blindly. Only the F1 to F6 consoles are gone.
> > > 

Please try the patch below if it helps:

--- linux-2.6.26/drivers/video/vesafb.c	2008-07-13 23:51:29.000000000 +0200
+++ linux-mm/drivers/video/vesafb.c	2008-07-19 17:56:51.774318414 +0200
@@ -247,7 +247,8 @@ static int __init vesafb_probe(struct pl
 	/*   size_total -- all video memory we have. Used for mtrr
 	 *                 entries, ressource allocation and bounds
 	 *                 checking. */
-	size_total = screen_info.lfb_size * 65536;
+	size_total = screen_info.lfb_linelength * screen_info.lfb_height *
+		     screen_info.pages;
 	if (vram_total)
 		size_total = vram_total * 1024 * 1024;
 	if (size_total < size_vmode)

Regards,
Krzysztof

----------------------------------------------------------------------
Zobacz cala prawde o Lukaszu Podolskim!
kliknij >>> http://link.interia.pl/f1e57


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No console on Riva TNT since 2.6.26-0.rc4
@ 2008-07-22 14:39 Quel Qun
  0 siblings, 0 replies; 4+ messages in thread
From: Quel Qun @ 2008-07-22 14:39 UTC (permalink / raw)
  To: Krzysztof Helt, Alexey Dobriyan; +Cc: Andrew Morton, linux-fbdev-devel, LKML

[-- Attachment #1: Type: text/plain, Size: 1834 bytes --]


 -------------- Original message ----------------------
From: Krzysztof Helt <krzysztof.h1@poczta.fm>
> On Thu, 10 Jul 2008 06:51:49 +0400
> Alexey Dobriyan <adobriyan@gmail.com> wrote:
> 
> > On Wed, Jul 09, 2008 at 07:41:08PM -0700, Andrew Morton wrote:
> > > On Thu, 26 Jun 2008 20:04:56 +0000 kelk1@comcast.net (Quel Qun) wrote:
> > > 
> > > > Hi,
> > > > 
> > > > The system boots fine with 2.6.26-0.rc3.1mnb (Mandriva Cooker), but since 
> rc4, I see a few squares of color, then a black screen and the console never 
> comes back. This is independent of the resolution chosen when using vga=ask. The 
> machine does boot and I can start X if I log in blindly. Only the F1 to F6 
> consoles are gone.
> > > > 
> 
> Please try the patch below if it helps:
> 
> --- linux-2.6.26/drivers/video/vesafb.c	2008-07-13 23:51:29.000000000 +0200
> +++ linux-mm/drivers/video/vesafb.c	2008-07-19 17:56:51.774318414 +0200
> @@ -247,7 +247,8 @@ static int __init vesafb_probe(struct pl
>  	/*   size_total -- all video memory we have. Used for mtrr
>  	 *                 entries, ressource allocation and bounds
>  	 *                 checking. */
> -	size_total = screen_info.lfb_size * 65536;
> +	size_total = screen_info.lfb_linelength * screen_info.lfb_height *
> +		     screen_info.pages;
>  	if (vram_total)
>  		size_total = vram_total * 1024 * 1024;
>  	if (size_total < size_vmode)
> 
> Regards,
> Krzysztof
> 
> ----------------------------------------------------------------------
> Zobacz cala prawde o Lukaszu Podolskim!
> kliknij >>> http://link.interia.pl/f1e57
> 

Krzysztof,

I am sorry, but this patch did not fix the screen corruption.

I see a big 'mpressing linux...', then green squares. 

Attached is the kernel config I used to compile 2.6.26

Regards,
--
Eric

[-- Attachment #2: config-2.6.26-1kk1.bz2 --]
[-- Type: application/octet-stream, Size: 22291 bytes --]

[-- Attachment #3: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #4: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-22 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <062620082004.6012.4863F668000CEA0D0000177C2200751090CE05040A05@comcast.net>
2008-07-10  2:41 ` No console on Riva TNT since 2.6.26-0.rc4 Andrew Morton
2008-07-10  2:51   ` Alexey Dobriyan
2008-07-19 16:06     ` Krzysztof Helt
2008-07-22 14:39 Quel Qun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).