Re: panic("Cyrix user");

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 8 Jun 1998 10:03:53 +0100 (BST)


> #The nice simple fix is to put a # in front of that option in Config.in. Its
> #not an option normal mortals should be selecting.
>
> Hey! Who said we don't need debugging code? :P ;)

Debugging code can and does sometimes have to take liberties though. Without
TSC there isnt any sane way I can see to get useful numbers out of ANK's
network profiler.

Anyway the last diff I sent Linus is

--- net/core/profile.c~ Sun Jun 7 20:20:50 1998
+++ net/core/profile.c Mon Jun 8 08:59:59 1998
@@ -277,7 +277,7 @@
printk("Evaluating net profiler cost ...");
#if CPU == 586 || CPU == 686
if (!(boot_cpu_data.x86_capability & 16)) {
- panic("Sorry, you CPU does not support tsc. I am dying...\n");
+ printk(KERN_ERR "Sorry, you CPU does not support tsc. Net profiler is dying...\n");
return -1;
}
#endif
--- net/Config.in~ Sun Jun 7 20:23:46 1998
+++ net/Config.in Mon Jun 8 08:58:10 1998
@@ -56,7 +56,7 @@
if [ "$CONFIG_NET_SCHED" = "y" ]; then
source net/sched/Config.in
fi
- bool 'Network code profiler' CONFIG_NET_PROFILE
+# bool 'Network code profiler' CONFIG_NET_PROFILE
fi
fi
endmenu
--- include/asm-i386/termios.h~ Sun Jun 7 20:29:01 1998
+++ include/asm-i386/termios.h Mon Jun 8 08:54:46 1998
@@ -47,6 +47,7 @@
#define N_AX25 5
#define N_X25 6 /* X.25 async */
#define N_6PACK 7
+#define N_MASC 8 /* Reserved fo Mobitex module <kaz@cafe.net> */

#ifdef __KERNEL__

--- include/linux/if_ether.h~ Sun Jun 7 20:20:34 1998
+++ include/linux/if_ether.h Mon Jun 8 08:57:03 1998
@@ -72,6 +72,7 @@
#define ETH_P_LOCALTALK 0x0009 /* Localtalk pseudo type */
#define ETH_P_PPPTALK 0x0010 /* Dummy type for Atalk over PPP*/
#define ETH_P_TR_802_2 0x0011 /* 802.2 frames */
+#define ETH_P_MOBITEX 0x0015 /* Mobitex (kaz@cafe.net) */

/*
* This is an Ethernet frame header.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu