[PATCH][2.6] Recommend 'noapic' when timer via IOAPIC fails

From: Zwane Mwaikambo
Date: Tue Jul 27 2004 - 04:28:55 EST


We might as well recommend the user boot with the noapic kernel parameter
instead of filling poor Ingo's mailbox.

Signed-off-by: Zwane Mwaikambo <zwane@xxxxxxxxxxx>

Index: linux-2.6.8-rc2/arch/i386/kernel/io_apic.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8-rc2/arch/i386/kernel/io_apic.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 io_apic.c
--- linux-2.6.8-rc2/arch/i386/kernel/io_apic.c 20 Jul 2004 18:14:54 -0000 1.1.1.1
+++ linux-2.6.8-rc2/arch/i386/kernel/io_apic.c 27 Jul 2004 07:23:38 -0000
@@ -2212,7 +2212,7 @@ static inline void check_timer(void)
return;
}
printk(" failed :(.\n");
- panic("IO-APIC + timer doesn't work! pester mingo@xxxxxxxxxx");
+ panic("IO-APIC + timer doesn't work! Try using the 'noapic' kernel parameter\n");
}

/*
Index: linux-2.6.8-rc2/arch/x86_64/kernel/io_apic.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8-rc2/arch/x86_64/kernel/io_apic.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 io_apic.c
--- linux-2.6.8-rc2/arch/x86_64/kernel/io_apic.c 20 Jul 2004 18:15:04 -0000 1.1.1.1
+++ linux-2.6.8-rc2/arch/x86_64/kernel/io_apic.c 27 Jul 2004 07:23:55 -0000
@@ -1747,7 +1747,7 @@ static inline void check_timer(void)
return;
}
printk(" failed :(.\n");
- panic("IO-APIC + timer doesn't work! pester mingo@xxxxxxxxxx");
+ panic("IO-APIC + timer doesn't work! Try using the 'noapic' kernel parameter\n");
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/