CentOS 4.3 AXP Tsunami/Clipper 2.6.9-34.ECsmp No per-cpu room for modules

Support for the other architectures (X86_64, s390(x) and PowerPC)
Post Reply
jgrzesiak
Posts: 12
Joined: 2006/07/02 22:19:57
Contact:

CentOS 4.3 AXP Tsunami/Clipper 2.6.9-34.ECsmp No per-cpu ro

Post by jgrzesiak » 2006/08/12 22:47:48

No per-cpu room for modules / Could not allocate 8 bytes percpu data

This occurs with SMP kernel. Corresponding U.P. kernel is clean.
I am not sure that it is a major concern, since, the system does not go unstable. (Thus far...)
I think I would just like to know what it means and if there is a configuration change that could eliminate it.

Anyone have any ideas ??

jgrzesiak
Posts: 12
Joined: 2006/07/02 22:19:57
Contact:

Re: CentOS 4.3 AXP Tsunami/Clipper 2.6.9-34.ECsmp No per-cpu room for modules

Post by jgrzesiak » 2006/08/14 16:34:54

--

Seems to come from kernel/module.c...

PERCPU_ENOUGH_ROOM is set at the asm-generic default of 32768, which seems to be enough for most every other CPU.
However, the routine below seems to indicate that pcpu_size[1] is ending up as a negative integer, which is likely my problem.

static int percpu_modinit(void)
{
pcpu_num_used = 2;
pcpu_num_allocated = 2;
pcpu_size = kmalloc(sizeof(pcpu_size[0]) * pcpu_num_allocated,
GFP_KERNEL);
/* Static in-kernel percpu data (used). */
pcpu_size[0] = -ALIGN(__per_cpu_end-__per_cpu_start, SMP_CACHE_BYTES);
/* Free room. */
pcpu_size[1] = PERCPU_ENOUGH_ROOM + pcpu_size[0];
if (pcpu_size[1] < 0) {
printk(KERN_ERR "No per-cpu room for modules.\n");
pcpu_num_used = 1;
}

return 0;
}

Now, on to the larger issue... Where is the CentOS source for the Alpha Kernel???? The SRPM for 2.6.9.xx has no reference for the ALPHA kernel in the SPEC file, and while the asm/alpha directory is in the kit, it won't compile properly... Several missing links.

Why isn't the Alpha Kit posted ???

jgrzesiak
Posts: 12
Joined: 2006/07/02 22:19:57
Contact:

Re: CentOS 4.3 AXP Tsunami/Clipper 2.6.9-34.ECsmp No per-cpu room for modules

Post by jgrzesiak » 2006/08/14 17:19:57

--

You know... I need to look just a bit harder before popping off... I found the kit finally...

jgrzesiak
Posts: 12
Joined: 2006/07/02 22:19:57
Contact:

Re: CentOS 4.3 AXP Tsunami/Clipper 2.6.9-34.ECsmp No per-cpu room for modules

Post by jgrzesiak » 2006/08/15 21:04:04

--

Since no one has replied, I will leave some notes...

I recompiled the SMP config, changing the GENERIC AXP configuration to a more specific DP264 model. The new kernel is considerably faster and now points out a slightly different error message.

Aug 15 12:18:46 AXP-CS20-FC modprobe: FATAL: Error inserting ipv6 (/lib/modules/2.6.9-34.0.2.EC-smp-ex2/kernel/net/ipv6/ipv6.ko): Invalid module format
Aug 15 12:18:46 AXP-CS20-FC kernel: module ipv6: Relocation overflow vs section 20

This led me to deactivate the IPV6 in the kernel. Lo and behold, my system and kernel are now clean. I will continue to evaluate the IPV6 on subsequent recompile attempts, but, since my network is still primarily IPv4, I won't loose any sleep over it not being in my kernel for now...

BTW.. The ipv6.ko module is valid according to the /bin/file command... It just won't load...

Post Reply

Return to “CentOS 4 - X86_64,s390(x) and PowerPC Support”