Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121380

Summary: 2.6.15-gentoo-r2 will not boot with error PER_CPU: Invalid layout
Product: Gentoo Linux Reporter: Talat Malik <talat>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: major CC: sparc
Priority: Highest    
Version: 2005.1   
Hardware: Sparc64   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Talat Malik 2006-02-02 17:45:39 UTC
I built 2.6.15.r2 on Netra 200 from livecd 2005.1. Buid was all sucessful. when i boot it comes back with error as follows:
ok boot disk1:1
Boot device: /pci@1f,0/pci@1/scsi@8/disk@1,0:1  File and args:
SILO Version 1.4.10
boot:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.15

Remapping the kernel... done.
Registering callbacks... done.
Booting Linux...
PER_CPU: Invalid layout, ptr[fffff80020160000] shift[10] base[fffff8001f972000]
Program terminated
ok
============ ls -l /boot =============
-rwxr-xr-x  1 root root 4147448 Feb  2 22:01 2.6.15-gentoo-r2
lrwxrwxrwx  1 root root       1 Feb  2 00:26 boot -> .
-rw-r--r--  1 root root    1024 Feb  2 23:25 fd.b
-rw-r--r--  1 root root     512 Feb  2 23:25 first.b
-rw-r--r--  1 root root    1024 Feb  2 23:25 generic.b
-rw-r--r--  1 root root     816 Feb  2 23:25 ieee32.b
-rw-r--r--  1 root root    7192 Feb  2 23:25 isofs.b
-rw-r--r--  1 root root    7680 Feb  2 23:30 old.b
-rw-r--r--  1 root root   65536 Feb  2 23:30 second.b
-rw-r--r--  1 root root   63281 Feb  2 23:25 silotftp.b
-rw-r--r--  1 root root     512 Feb  2 23:25 ultra.b
================= /etc/fstab ============
/dev/sdb1        /       ext3            defaults,noatime        0 1
/dev/sda1        none    swap            sw                      0 0

/dev/sdb5        /usr    ext3            defaults,noatime        0 2
/dev/sdb4        /var    ext3            defaults,noatime        0 2

/dev/sda2        /home   ext3            defaults,noatime        0 2
/dev/cdroms/cdrom0 /mnt/cdrom  iso9660   noauto,ro               0 0

shm              /dev/shm  tmpfs         nodev,nosuid,noexec     0 0
none             /proc     proc            defaults                0 0
none             /proc/openprom  openpromfs      defaults                0 0

================= /etc/silo.conf ============
partition = 1         # Boot partition (= root partition)
root = /dev/sdb1      # Root partition
timeout = 600         # Wait 15 seconds before booting the default section

image = /boot/2.6.15-gentoo-r2
  label = gentoo-2.6
Comment 1 Carlos Silva (RETIRED) gentoo-dev 2006-02-08 15:29:00 UTC
Sorry, i didn't find any info about Netra 200. Is it a smp system?
Comment 2 Talat Malik 2006-02-08 16:05:41 UTC
(In reply to comment #1)
> Sorry, i didn't find any info about Netra 200. Is it a smp system?

I don't if netra 200 is available in smp configurations. However, mine is single CPU.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-02-10 09:07:31 UTC
sparc people: Any ideas here?

A netra 200 will not boot, it produces this kernel error in early bootup:

PER_CPU: Invalid layout, ptr[fffff80020160000] shift[10] base[fffff8001f972000]
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-02-10 09:18:31 UTC
Nope, the netra 200s are UP with a UltraSPARC-IIe.
Which OBP version do you have, and did you try upgrading to the latest?
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2006-02-12 17:08:54 UTC
huummm.... can you provide your .config file? that error is related to SMP. since the Netra 200 is UP, why do you have SMP activated? Looks like it can cause trouble...
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2006-02-14 07:39:59 UTC
Actually the livecd kernels are only SMP and there's no reason on sparc64 at least for SMP kernels not to work on UP systems.
I tend to think it's an old buggy OBP, so please specify version or try the latest.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-02-28 07:52:38 UTC
Please reopen when you have provided info about the OBP.