Re: 2.4.5-ac9 console NULL pointer pointer dereference

Andries.Brouwer@cwi.nl
Thu, 7 Jun 2001 16:36:40 +0200 (MET DST)


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/