Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 26 Mar 2003 13:22:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 26 Mar 2003 13:22:33 -0500 Received: from phoenix.mvhi.com ([195.224.96.167]:42501 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Wed, 26 Mar 2003 13:22:32 -0500 Date: Wed, 26 Mar 2003 18:33:40 +0000 (GMT) From: James Simmons To: Thomas Molina cc: Thomas Schlichter , Benjamin Herrenschmidt , Linux Kernel Mailing List , Linux Fbdev development list Subject: Re: fbcon sleeping function call from illegal context In-Reply-To: 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: 1182 Lines: 28 > Running with the patch as posted by Mr. Simmons I didn't get any further > instances of the sleeping function call from illegal context messages I > reported before, until screenblanking went into effect. I then got the > following: Oh no!!! I just look at the console timer blanking code. It calls alot of stuff. Not only does this mean we are limited in using kmalloc if we need it but also using a semaphore to sync up the fb_pixmap stuff. At present we use a spinlock. I tried it with a semphore but it kept hosing my system. Now I know why. What should be done is the console blank timer be passed onto console_callback. P.S I reversed some of the cursor changes. It uses static buffers again until we have these issues solved. The code works as long as you don't use more than one framebuffer device but it is rock solid like before for a single framebuffer device. I will have a patch ready in the hour. - 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/