Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752041AbYGUPjX (ORCPT ); Mon, 21 Jul 2008 11:39:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750763AbYGUPjO (ORCPT ); Mon, 21 Jul 2008 11:39:14 -0400 Received: from qmta06.emeryville.ca.mail.comcast.net ([76.96.30.56]:45899 "EHLO QMTA06.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbYGUPjO (ORCPT ); Mon, 21 Jul 2008 11:39:14 -0400 X-Authority-Analysis: v=1.0 c=1 a=mqbO09t2l2UA:10 a=eKEuh_TJ0hUA:10 a=bXiezj9YAAAA:8 a=dTlGpWgy_UAKo8hXGXoA:9 a=ZLBo_2XOQn8SlYKVAC8A:9 a=mCufP0xo9NAUdGFoDbVka1P2iYgA:4 a=MSl-tDqOz04A:10 a=si9q_4b84H0A:10 a=XF7b4UCPwd8A:10 From: kelk1@comcast.net (Quel Qun) To: Krzysztof Helt , Alexey Dobriyan Cc: Andrew Morton , linux-fbdev-devel@lists.sourceforge.net, LKML Subject: Re: [Linux-fbdev-devel] No console on Riva TNT since 2.6.26-0.rc4 Date: Mon, 21 Jul 2008 15:39:12 +0000 Message-Id: <072120081539.21192.4884ADA00005A241000052C82200760180CE05040A05@comcast.net> X-Mailer: AT&T Message Center Version 1 (Oct 30 2007) X-Authenticated-Sender: a2VsazFAY29tY2FzdC5uZXQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1951 Lines: 50 Thanks for looking at that. It takes a while to compile a kernel on this machine, but I will try this patch and report. -- Eric -------------- Original message ---------------------- From: Krzysztof Helt > On Thu, 10 Jul 2008 06:51:49 +0400 > Alexey Dobriyan 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/