[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie questions



 
Hi,

> I've recently installed potato on a e4500 machine and noticed some strange
> behaviour.
> 
> First, the bogoMIPS calculation is quite strange: 
> Jan 26 17:00:21 levaca kernel: Calibrating delay loop... 799.53 BogoMIPS
> Jan 26 17:00:21 levaca last message repeated 7 times
> Jan 26 17:00:21 levaca kernel: Total of 9 processors activated (71.96 BogoMIPS)

Oops, try this patch:

--- linux/arch/sparc64/kernel/smp.c	Tue Jan  2 17:27:24 2001
+++ linux_sparc32/arch/sparc64/kernel/smp.c	Sat Jan 27 14:54:00 2001
@@ -290,8 +290,8 @@
 		}
 		printk("Total of %d processors activated (%lu.%02lu BogoMIPS).\n",
 		       cpucount + 1,
-		       (bogosum + 2500)/500000,
-		       ((bogosum + 2500)/5000)%100);
+		       bogosum/(500000/HZ),
+		       (bogosum/(5000/HZ))%100);
 		smp_activated = 1;
 		smp_num_cpus = cpucount + 1;
 	}

> Second, the machine hangs or boots when used heavily by period of aprox.
> 3hs. I'm crunching distributed.net rc5 keys, a task that uses full
> processing power, when these things happen.

Do you get an oops report or does it lock up hard? I'd like to track this
bug down since I havent had access to a > 2 CPU machine for a while.

> and finaly, is there a way to obtain cpu temperature ? may I use SunOS's
> prtdiag for it ?

There is an option to enable this stuff but I have no idea how well it works
(I havent got a machine to test it myself):

SUNW, envctrl support

Anton



Reply to: