* On Thu, 20 Jun 2002 at 8:25 +0200, Hartmut Meyer wrote:
Am Donnerstag, 20. Juni 2002 00:18 schrieb Ralf Corsepius:
Am Mit, 2002-06-19 um 18.48 schrieb Hartmut Meyer:
Am Mittwoch, 19. Juni 2002 12:29 schrieb Ralf Corsepius: [..] der absichtlich(!) die LED (NumLock + ShiftLock) blinken lässt um dir die Kernel-Panik auch auf diesem Weg zu signalisieren.
Welches Quellfile?
Ich habe nie danach gesucht.
Kernerl 2.4.18-SuSE: --8<--- kernel/panic.c --- #if defined(__i386__) && defined(CONFIG_VT) extern void panic_blink(void); panic_blink(); #endif ---8<--- drivers/char/pc_keyb.c --- /* Tell the user who may be running in X and not see the console that we have panic'ed. This is to distingush panics from "real" lockups. Could in theory send the panic message as morse, but that is left as an exercise for the reader. */ void panic_blink(void) { static unsigned long last_jiffie; static char led; /* Roughly 1/2s frequency. KDB uses about 1s. Make sure it is different. */ if (jiffies - last_jiffie > HZ/2) { led ^= 0x01 | 0x04; while (kbd_read_status() & KBD_STAT_IBF) mdelay(1); kbd_write_output(KBD_CMD_SET_LEDS); mdelay(1); while (kbd_read_status() & KBD_STAT_IBF) mdelay(1); mdelay(1); kbd_write_output(led); last_jiffie = jiffies; } } ---8<--- Ist SuSE-spezifisch, im vanilla-Kernel finde ich nichts derartiges. -- Adalbert PGP welcome, request public key: mailto:adalbert+key@lopez.at