Re: 2.4.5-ac9 console NULL pointer pointer dereference

From: Olaf Hering (olh@suse.de)
Date: Thu Jun 07 2001 - 09:56:38 EST


On Thu, Jun 07, Andries.Brouwer@cwi.nl wrote:

> 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;

That was ok, but:
....
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes

Welcome to SuSE Linux 7.2 (i386) - Kernel 2.4.5-ac9 (ttyS0).
....

Hmm, perhaps a config option...
So, lets try usb printing now.

Gruss Olaf

-- 
 $ man clone

BUGS Main feature not yet implemented... - 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/



This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:01:00 EST