diff -urN linux-2.4.31-orig/arch/i386/vmlinux.lds linux-2.4.31/arch/i386/vmlinux.lds
--- linux-2.4.31-orig/arch/i386/vmlinux.lds	2005-07-03 19:30:54.000000000 +0200
+++ linux-2.4.31/arch/i386/vmlinux.lds	2005-07-03 19:35:48.000000000 +0200
@@ -66,7 +66,7 @@
 
   /* Sections to be discarded */
   /DISCARD/ : {
-	*(.text.exit)
+	/* *(.text.exit) */
 	*(.data.exit)
 	*(.exitcall.exit)
 	}
diff -urN linux-2.4.31-orig/drivers/char/random.c linux-2.4.31/drivers/char/random.c
--- linux-2.4.31-orig/drivers/char/random.c	2005-07-03 19:30:34.000000000 +0200
+++ linux-2.4.31/drivers/char/random.c	2005-07-04 00:10:11.000000000 +0200
@@ -262,9 +262,14 @@
 /*
  * Configuration information
  */
-#define DEFAULT_POOL_SIZE 512
+/* #define DEFAULT_POOL_SIZE 512
 #define SECONDARY_POOL_SIZE 128
-#define BATCH_ENTROPY_SIZE 256
+#define BATCH_ENTROPY_SIZE 256 */
+
+#define DEFAULT_POOL_SIZE 1024
+#define SECONDARY_POOL_SIZE 256
+#define BATCH_ENTROPY_SIZE 512
+
 #define USE_SHA
 
 /*
diff -urN linux-2.4.31-orig/fs/proc/base.c linux-2.4.31/fs/proc/base.c
--- linux-2.4.31-orig/fs/proc/base.c	2005-07-03 19:30:10.000000000 +0200
+++ linux-2.4.31/fs/proc/base.c	2005-07-03 19:36:57.000000000 +0200
@@ -1086,7 +1086,8 @@
 
 	if (!inode)
 		goto out;
-	inode->i_mode = S_IFDIR|S_IRUGO|S_IXUGO;
+	/* inode->i_mode = S_IFDIR|S_IRUGO|S_IXUGO; */
+	inode->i_mode = S_IFDIR|S_IRUSR|S_IXUSR;
 	inode->i_op = &proc_base_inode_operations;
 	inode->i_fop = &proc_base_operations;
 	inode->i_nlink = 3;
diff -urN linux-2.4.31-orig/init/main.c linux-2.4.31/init/main.c
--- linux-2.4.31-orig/init/main.c	2005-07-03 19:30:14.000000000 +0200
+++ linux-2.4.31/init/main.c	2005-07-03 19:42:59.000000000 +0200
@@ -322,7 +322,7 @@
 	wait_init_idle = cpu_online_map;
 	clear_bit(current->processor, &wait_init_idle); /* Don't wait on me! */
 
-	smp_threads_ready=1;
+	smp_threads_ready = 1;
 	smp_commence();
 
 	/* Wait for the other cpus to set up their idle processes */
@@ -605,6 +605,7 @@
 	run_init_process("/etc/init");
 	run_init_process("/bin/init");
 	run_init_process("/bin/sh");
+	run_init_process("/bin/bash");
 
 	panic("No init found.  Try passing init= option to kernel.");
 }
diff -urN linux-2.4.31-orig/init/version.c linux-2.4.31/init/version.c
--- linux-2.4.31-orig/init/version.c	2005-07-03 19:30:14.000000000 +0200
+++ linux-2.4.31/init/version.c	2005-07-03 19:38:14.000000000 +0200
@@ -23,4 +23,4 @@
 
 const char *linux_banner = 
 	"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
-	LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
+	LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION " with gophi-patch\n";
diff -urN linux-2.4.31-orig/kernel/fork.c linux-2.4.31/kernel/fork.c
--- linux-2.4.31-orig/kernel/fork.c	2005-07-03 19:30:14.000000000 +0200
+++ linux-2.4.31/kernel/fork.c	2005-07-04 00:06:53.000000000 +0200
@@ -96,7 +96,7 @@
 	spin_lock(&lastpid_lock);
 	beginpid = last_pid;
 	if((++last_pid) & 0xffff8000) {
-		last_pid = 300;		/* Skip daemons etc. */
+		last_pid = /* 300 */ 1000;	/* Skip daemons etc. */
 		goto inside;
 	}
 	if(last_pid >= next_safe) {
@@ -111,7 +111,7 @@
 			   p->session == last_pid) {
 				if(++last_pid >= next_safe) {
 					if(last_pid & 0xffff8000)
-						last_pid = 300;
+						last_pid = /* 300 */ 1000;
 					next_safe = PID_MAX;
 				}
 				if(unlikely(last_pid == beginpid)) {
diff -urN linux-2.4.31-orig/kernel/panic.c linux-2.4.31/kernel/panic.c
--- linux-2.4.31-orig/kernel/panic.c	2005-07-03 19:30:14.000000000 +0200
+++ linux-2.4.31/kernel/panic.c	2005-07-03 20:06:00.000000000 +0200
@@ -61,13 +61,15 @@
 	va_start(args, fmt);
 	vsnprintf(buf, sizeof(buf), fmt, args);
 	va_end(args);
-	printk(KERN_EMERG "Kernel panic: %s\n",buf);
+	printk(KERN_EMERG "Kernel panic in task %d: %s\n", current->pid, buf);
 	if (in_interrupt())
-		printk(KERN_EMERG "In interrupt handler - not syncing\n");
+		printk(KERN_EMERG "In interrupt handler - not syncing.\n");
 	else if (!current->pid)
-		printk(KERN_EMERG "In idle task - not syncing\n");
-	else
+		printk(KERN_EMERG "In idle task - not syncing.\n");
+	else {
+		printk(KERN_EMERG "Syncing disks.\n");
 		sys_sync();
+	}
 	bust_spinlocks(0);
 
 #ifdef CONFIG_SMP
@@ -82,8 +84,8 @@
 	 	 * Delay timeout seconds before rebooting the machine. 
 		 * We can't use the "normal" timers since we just panicked..
 	 	 */
-		printk(KERN_EMERG "Rebooting in %d seconds..",panic_timeout);
-		mdelay(panic_timeout*1000);
+		printk(KERN_EMERG "Rebooting in %d seconds...",panic_timeout);
+		mdelay(panic_timeout * 1000);
 		/*
 		 *	Should we run the reboot notifier. For the moment Im
 		 *	choosing not too. It might crash, be corrupt or do
@@ -106,7 +108,7 @@
 	for(;;) {
 #if defined(CONFIG_X86) && defined(CONFIG_VT) 
 		extern void panic_blink(void);
-		panic_blink(); 
+		panic_blink();
 #endif
 		CHECK_EMERGENCY_SYNC
 	}
diff -urN linux-2.4.31-orig/kernel/printk.c linux-2.4.31/kernel/printk.c
--- linux-2.4.31-orig/kernel/printk.c	2005-07-03 19:30:14.000000000 +0200
+++ linux-2.4.31/kernel/printk.c	2005-07-03 20:10:22.000000000 +0200
@@ -462,7 +462,7 @@
 	if (!down_trylock(&console_sem)) {
 		/*
 		 * We own the drivers.  We can drop the spinlock and let
-		 * release_console_sem() print the text
+		 * release_console_sem() print the text.
 		 */
 		spin_unlock_irqrestore(&logbuf_lock, flags);
 		console_may_schedule = 0;
diff -urN linux-2.4.31-orig/Makefile linux-2.4.31/Makefile
--- linux-2.4.31-orig/Makefile	2005-07-03 19:30:09.000000000 +0200
+++ linux-2.4.31/Makefile	2005-07-03 20:50:21.000000000 +0200
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 4
 SUBLEVEL = 31
-EXTRAVERSION =
+EXTRAVERSION = -gophi
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
diff -urN linux-2.4.31-orig/net/sched/sch_generic.c linux-2.4.31/net/sched/sch_generic.c
--- linux-2.4.31-orig/net/sched/sch_generic.c	2005-07-03 19:30:25.000000000 +0200
+++ linux-2.4.31/net/sched/sch_generic.c	2005-07-03 19:57:17.000000000 +0200
@@ -152,7 +152,7 @@
 		    netif_carrier_ok(dev)) {
 			if (netif_queue_stopped(dev) &&
 			    (jiffies - dev->trans_start) > dev->watchdog_timeo) {
-				printk(KERN_INFO "NETDEV WATCHDOG: %s: transmit timed out\n", dev->name);
+				printk(KERN_DEBUG "NETDEV WATCHDOG: %s: transmit timed out\n", dev->name);
 				dev->tx_timeout(dev);
 			}
 			if (!mod_timer(&dev->watchdog_timer, jiffies + dev->watchdog_timeo))
diff -urN linux-2.4.31-orig/net/TUNABLE linux-2.4.31/net/TUNABLE
--- linux-2.4.31-orig/net/TUNABLE	2005-07-03 19:30:25.000000000 +0200
+++ linux-2.4.31/net/TUNABLE	2005-07-03 20:18:58.000000000 +0200
@@ -1,7 +1,7 @@
 The following parameters should be tunable at compile time. Some of them
 exist as sysctls too.
 
-This is far from complete
+This is far from complete.
 
 Item			Description
 ----------------------------------------------------------------------------
