lkml.org 
[lkml]   [2001]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.4.5-ac9 console NULL pointer pointer dereference
    From: Olaf Hering <olh@suse.de>

this happend with 2.4.5-ac9 with serial console on i386.

Unable to handle kernel NULL pointer dereference0x02f8 (irq = 3) at virtual address 00000004
Oops: 0000
>>EIP; c01967c7 <poke_blanked_console+1b/5c> <=====

Sounds like this should help:

--- console.c~ Fri Feb 9 20:30:22 2001
+++ console.c Thu Jun 7 16:28:59 2001
@@ -2684,7 +2684,7 @@
void poke_blanked_console(void)
{
del_timer(&console_timer); /* Can't use _sync here: called from tasklet */
- if (vt_cons[fg_console]->vc_mode == KD_GRAPHICS)
+ if (!vt_cons[fg_console] || vt_cons[fg_console]->vc_mode == KD_GRAPHICS)
return;
if (console_blanked) {
console_timer.function = unblank_screen_t;
Andries
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.069 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site