lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080719180659.da7efbcd.krzysztof.h1@poczta.fm>
Date:	Sat, 19 Jul 2008 18:06:59 +0200
From:	Krzysztof Helt <krzysztof.h1@...zta.fm>
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Quel Qun <kelk1@...cast.net>,
	linux-fbdev-devel@...ts.sourceforge.net,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [Linux-fbdev-devel] No console on Riva TNT since 2.6.26-0.rc4

On Thu, 10 Jul 2008 06:51:49 +0400
Alexey Dobriyan <adobriyan@...il.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@...cast.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ