Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Jun 2002 13:15:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Jun 2002 13:15:55 -0400 Received: from www.transvirtual.com ([206.14.214.140]:56588 "EHLO www.transvirtual.com") by vger.kernel.org with ESMTP id ; Tue, 18 Jun 2002 13:15:53 -0400 Date: Tue, 18 Jun 2002 10:15:08 -0700 (PDT) From: James Simmons To: Paul Mundt cc: Martin Diehl , Linux Kernel Mailing List Subject: Re: 2.5.22: FB_VESA - early crash in fbcon_cursor() In-Reply-To: <20020618083829.A316@ChaoticDreams.ORG> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1281 Lines: 33 > Looks like the dispsw isn't being set and you're running into the NULL > dereference in fbcon_cursor() upon trying to dereference it.. it looks like > fbgen.c is the culprit here, as it never sets display->dispsw if we aren't in > 24-bpp or have FBCON_HAS_ACCEL set.. > > James, what's the point of th FBCON_HAS_ACCEL ifdef? It looks like all the > accel wrapper code does is provide a wrapper to the fillrect, imageblit, and > copyarea routines -- if the driver doesn't have accelerated ones to provide > for itself, it just uses the cfb_fillrect/imageblit/copyarea as a fallback, > thus it should _always_ be safe to call them. > > If that's not the case, we'll have to re-introduce the FBON_HAS_CFBx > brain-damage in gen_set_disp() to keep dispsw happy. Your right. Alot of people have been bitten by that. Especially since people are so use to manually setting the CFB stuff. Patch applied to BK tree. . --- |o_o | |:_/ | Give Micro$oft the Bird!!!! // \ \ Use Linux!!!! (| | ) /'\_ _/`\ \___)=(___/ - 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/