Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PER_CPU: Invalid layout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
brundage
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2004
Posts: 138

PostPosted: Mon Jul 31, 2006 8:01 pm    Post subject: PER_CPU: Invalid layout Reply with quote

Hello,
I am building kernel-2.6.16, but run into the following error after booting. Looks like I am missing something in my .config.
Code:
Sun Enterprise 420R (4 X UltraSPARC-II 450MHz), No Keyboard
OpenBoot 3.31, 3072 MB memory installed

Rebooting with command: boot
Boot device: disk1  File and args:
SILO Version 1.4.13
boot:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.16

Remapping the kernel... done.
Registering callbacks... done.
Booting Linux...
PER_CPU: Invalid layout, ptr[fffff80000730000] shift[10] base[fffff8000004e000]
Program terminated

Googled for PER_CPU "Invalid layout", but all it could come up with is the code that pukes out the error:
Code:
if ((__per_cpu_shift < PAGE_SHIFT) ||
    (__per_cpu_base & ~PAGE_MASK) ||
    (__per_cpu_base != (((long) __per_cpu_base << 20) >> 20))) {
   prom_printf("PER_CPU: Invalid layout, "
          "ptr[%p] shift[%lx] base[%lx]\n",
          ptr, __per_cpu_shift, __per_cpu_base);
   prom_halt();
}

I don't know where to begin figuring this one out. I can post my .config if necessary.

2.4.32 boots nicely:
Code:
Sun Enterprise 420R (4 X UltraSPARC-II 450MHz), No Keyboard
OpenBoot 3.31, 3072 MB memory installed

Rebooting with command: boot
Boot device: disk1  File and args:
SILO Version 1.4.13
boot:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.4.32

Remapping the kernel... done.
Booting Linux...
Starting CPU 1... OK
Starting CPU 2... OK
Starting CPU 3... OK
boot
boot
boot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum