Re : XServe Node running a debian with only one processor

grave grave at ipno.in2p3.fr
Mon Oct 4 17:59:44 EST 2004


Here are a few informations :

console output in the joined file
I use a cross compiler ppc32 -> ppc64
gcc-3.4.1
GNU ld version 2.15

kernel from ftp.kernel.org 2.6.6

patch (had to apply it reversed because of the initial diff I think) :

diff -ur linux-2.6.6-working/arch/ppc64/kernel/pmac_feature.c  
linux-2.6.6/arch/ppc64/kernel/pmac_feature.c
--- linux-2.6.6-working/arch/ppc64/kernel/pmac_feature.c	 
2004-05-13 17:00:12.000000000 -0600
+++ linux-2.6.6/arch/ppc64/kernel/pmac_feature.c	2004-05-09  
20:32:54.000000000 -0600
@@ -343,10 +343,6 @@
 		PMAC_TYPE_POWERMAC_G5,		g5_features,
 		0,
 	},
-	{	"RackMac3,1",			"XServe G5",
-		PMAC_TYPE_POWERMAC_G5,		g5_features,
-		0,
-	},
 };

 /*
diff -ur linux-2.6.6-working/arch/ppc64/kernel/setup.c linux-2.6.6/ 
arch/ppc64/kernel/setup.c
--- linux-2.6.6-working/arch/ppc64/kernel/setup.c	2004-05-13  
16:06:33.000000000 -0600
+++ linux-2.6.6/arch/ppc64/kernel/setup.c	2004-05-09  
20:32:29.000000000 -0600
@@ -547,7 +547,7 @@
 int __init ppc_init(void)
 {
 	/* clear the progress line */
-	if(ppc_md.progress) ppc_md.progress(" ", 0xffff);
+	ppc_md.progress(" ", 0xffff);

 	if (ppc_md.init != NULL) {
 		ppc_md.init();
-------------- next part --------------
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
PowerMac SMP probe found 2 cpus
Processor 1 found.
Synchronizing timebase
Got ack
score 299, offset 1000
score 299, offset 500
score -299, offset 250
score 299, offset 375
score -299, offset 312
score -299, offset 343
score -299, offset 359
score -299, offset 367
score -283, offset 371
score -247, offset 373
score 133, offset 374
score -239, offset 373
Min 373 (score -237), Max 374 (score 129)
Final offset: 374 (127/300)
Brought up 2 CPUs

a few seconds and :

[c0000000000172f4] .kernel_thread+0x4c/0x68
 <0>Kernel panic: Attempted to k00025ef1c0[1] 'swapper' THREAD: c0000000025e8000
 CPU: 0
GPR00: C000000000077E90 C0000000025EBAE0 C00000000045EA58 FFFFFFFFFFFFFFFF
GPR04: 0000000000000DE7 FFFFFFFFFFFFFFFF C000000000397200 C000000000397218
GPR08: 0000000000000000 C000000000359180 0000000000000001 C0000000004AE730
GPR12: 0000000088004044 C000000000308000 0000000000000000 0000000000000000
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000001000
GPR20: C0000000004B16E0 000000000000007F 0000000000000008 000000000000001B
GPR24: C00000007DFCDD80 C0000000025EBBE0 0000000000000036 0000000000000080
GPR28: C0000000025EBBE0 C0000000004364F0 C0000000003A5628 0000000000000000
NIP [c000000000077e9c] .smp_call_function_all_cpus+0x7c/0x98
LR [c000000000077e90] .smp_call_function_all_cpus+0x70/0x98
Call Trace:
[c000000000079c28] .do_tune_cpucache+0xb4/0x3fc
[c00000000007a050] .enable_cpucache+0xe0/0x118
[c00000000007a7b0] .kmem_cache_create+0x728/0x79c
[c0000000002f5448] .sk_init+0x30/0xdc
[c0000000002f539c] .sock_init+0x3c/0xb8
[c00000000000c6ec] .init+0x238/0x43c
[c0000000000172f4] .kernel_thread+0x4c/0x68
 <0>Kernel panic: Attempted to kill init!
 smp_call_function on cpu 0: other cpus not responding (0)
Rebooting in 180 seconds..



More information about the Linuxppc64-dev mailing list