Skip to contentSkip to conversation

2.4.5-ac9 console NULL pointer pointer dereference

DISCUSSION [email protected] 2 participants 3 messages Jun 7, 2001

lore
Share & tools
lore
#0 lore raw
    From: Olaf Hering <[email protected]>

    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 Thu Jun 7 16:28:59 2001 renamed from console.c~ Fri Feb 9 20:30:22 2001 +1 -1
@@ -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

#1 lore raw
Quoted 13 lines · On Thu, Jun 07, [email protected] wrote:
    From: Olaf Hering <[email protected]>

    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 Thu Jun 7 16:28:59 2001 line 2690

Quoted 8 lines
console.c Thu Jun 7 16:28:59 2001 renamed from console.c~ Fri Feb 9 20:30:22 2001 +1 -1
@@ -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

Signature · 4 lines
 $ man clone

BUGS
       Main feature not yet implemented...
#2 lore raw
In reply to [email protected]
Quoted 34 lines · Olaf Hering
Quoted 13 lines · On Thu, Jun 07, [email protected] wrote:
    From: Olaf Hering <[email protected]>

    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 Thu Jun 7 16:28:59 2001 line 2690

Quoted 8 lines
console.c Thu Jun 7 16:28:59 2001 renamed from console.c~ Fri Feb 9 20:30:22 2001 +1 -1
@@ -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

Quoted 2 lines

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

Appearently not a .config bug. Any ideas?
http://www.penguinppc.org/~olaf/bugs/245-ac9/config.gz

Gruss Olaf

Signature · 4 lines
 $ man clone

BUGS
       Main feature not yet implemented...