foundation model no longer boots with boot-wrapper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linaro-acpi |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Using the instructions in the wiki that worked a coupld of weeks ago:
https:/
I build a kernel, DTB and ACPI blob and the kernel now hangs during boot:
ACPI: EINJ 0000000088100a07 00130 (v01 LINARO FOUNDATI 00000003 INTL 20130823)
ACPI: CPEP 0000000088100b37 00034 (v01 LINARO FOUNDATI 00000000 INTL 20130823)
ACPI: UEFI 0000000088100b6b 00036 (v01 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: SRAT 0000000088100ba1 00080 (v03 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: SPMI 0000000088100c21 00041 (v04 LINARO FOUNDATI 00000000 INTL 20130823)
ACPI: SLIT 0000000088100c62 001BC (v01 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: OEM0 0000000088100e1e 00024 (v01 LINARO FOUNDATI 0000000A INTL 20130823)
ACPI: MPST 0000000088100e42 000B6 (v01 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: MCFG 0000000088100ef8 0003C (v01 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: APIC 0000000088100ff8 00184 (v03 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: HEST 000000008810117c 00068 (v01 LINARO FOUNDATI 00000002 INTL 20130823)
ACPI: GTDT 00000000881011e4 00050 (v01 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: ECDT 0000000088101234 00042 (v01 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: BERT 0000000088101276 00030 (v01 LINARO FOUNDATI 00000002 INTL 20130823)
ACPI: SSDT 00000000881012a6 00024 (v02 LINARO FOUNDATI 00000001 INTL 20130823)
ACPI: Local APIC address 0x2c002000
psci: probing function IDs from device-tree
ACPI: Local APIC address 0x2c002000
ACPI: GIC (acpi_id[0x0000] gic_id[0x0000] enabled)
ACPI: GIC (acpi_id[0x0001] gic_id[0x0001] enabled)
ACPI: GIC (acpi_id[0x0002] gic_id[0x0002] enabled)
ACPI: GIC (acpi_id[0x0003] gic_id[0x0003] enabled)
ACPI: GIC (acpi_id[0x0004] gic_id[0x0004] disabled)
ACPI: GIC (acpi_id[0x0005] gic_id[0x0005] disabled)
ACPI: GIC (acpi_id[0x0006] gic_id[0x0006] disabled)
ACPI: GIC (acpi_id[0x0007] gic_id[0x0007] disabled)
8 CPUs available, 16 CPUs total
ACPI: GIC Distributor (id[0x0000] address[0x2c001000] gsi_base[0])
Using ACPI (MADT) for SMP configuration information
SMP: the system is limited to 4 CPUs
SMP: Allowing 4 CPUs, 0 hotplug CPUs
PERCPU: Embedded 10 pages/cpu @ffffffc87ffaa000 s10368 r8192 d22400 u40960
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1033728
Kernel command line: root=/dev/vda2 consolelog=9 rw console=ttyAMA0 earlyprintk=
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
software IO TLB [mem 0x8f8000000-
Memory: 4057180K/4192256K available (3465K kernel code, 210K rwdata, 1084K rodata, 154K init, 288K bss, 135076K reserved)
Virtual kernel memory layout:
vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000 (245759 MB)
vmemmap : 0xffffffbc01c00000 - 0xffffffbc1f800000 ( 476 MB)
modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB)
.init : 0xffffffc0004f3000 - 0xffffffc000519880 ( 155 kB)
.text : 0xffffffc000080000 - 0xffffffc0004f2494 ( 4554 kB)
.data : 0xffffffc00051c000 - 0xffffffc000550a20 ( 211 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:64 nr_irqs:64 0
GIC CPU mask not found - kernel will fail to boot.
GIC CPU mask not found - kernel will fail to boot.
Architected cp15 timer(s) running at 100.00MHz (phys).
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 256
ACPI: Core revision 20130725
ACPI: All ACPI Tables successfully acquired
CPU0: thread -1, cpu 0, socket 0, mpidr 0x80000000
So what broke? CPU enumeration? This should be recreatable with the acpi working branch (not the leg-kernel), using the boot wrapper, the Linaro 4.8 toolchain, and the attached config file.
Changed in linaro-acpi: | |
status: | New → Won't Fix |
Yes, It seems some thing wrong with the CPU enumeration:
psci: probing function IDs from device-tree
ACPI: Local APIC address 0x2c002000
ACPI: GIC (acpi_id[0x0000] gic_id[0x0000] enabled)
ACPI: GIC (acpi_id[0x0001] gic_id[0x0001] enabled)
ACPI: GIC (acpi_id[0x0002] gic_id[0x0002] enabled)
ACPI: GIC (acpi_id[0x0003] gic_id[0x0003] enabled)
ACPI: GIC (acpi_id[0x0004] gic_id[0x0004] disabled)
ACPI: GIC (acpi_id[0x0005] gic_id[0x0005] disabled)
ACPI: GIC (acpi_id[0x0006] gic_id[0x0006] disabled)
ACPI: GIC (acpi_id[0x0007] gic_id[0x0007] disabled)
8 CPUs available, 16 CPUs total
I saw PSCI is enabled, maybe the config is different from I uased, I will check the config attached.
And I saw that "8 CPUs available, 16 CPUs total", in foundation model, only 4 cpus available, are you sure it is foundation model?