From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932335AbWGGWJy (ORCPT ); Fri, 7 Jul 2006 18:09:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932343AbWGGWJx (ORCPT ); Fri, 7 Jul 2006 18:09:53 -0400 Received: from mx1.redhat.com ([66.187.233.31]:64236 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S932335AbWGGWJx (ORCPT ); Fri, 7 Jul 2006 18:09:53 -0400 Date: Fri, 7 Jul 2006 18:09:51 -0400 From: Dave Jones To: Linux Kernel Subject: framebuffer console code triggered might_sleep assertion. Message-ID: <20060707220951.GA3356@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Whilst printk'ing to both console and serial console, I got this... (2.6.18rc1) Dave BUG: sleeping function called from invalid context at kernel/sched.c:4438 in_atomic():0, irqs_disabled():1 Call Trace: [] show_trace+0xaa/0x23d [] dump_stack+0x15/0x17 [] __might_sleep+0xb2/0xb4 [] __cond_resched+0x15/0x55 [] cond_resched+0x3b/0x42 [] console_conditional_schedule+0x12/0x14 [] fbcon_redraw+0xf6/0x160 [] fbcon_scroll+0x5d9/0xb52 [] scrup+0x6b/0xd6 [] lf+0x24/0x44 [] vt_console_print+0x166/0x23d [] __call_console_drivers+0x65/0x76 [] _call_console_drivers+0x5e/0x62 [] release_console_sem+0x14b/0x232 [] fb_flashcursor+0x279/0x2a6 [] run_workqueue+0xa8/0xfb [] worker_thread+0xef/0x122 [] kthread+0x100/0x136 [] child_rip+0x8/0x12 -- http://www.codemonkey.org.uk