v4.7-rc2 kernel fails to boot when acpi=force

Itaru Kitayama itaru.kitayama at riken.jp
Wed Jun 8 02:28:23 PDT 2016


Hi Mark,

Thanks for the recovery suggestions. EFI edit couldn't read the
grub.cfg for some reason, so I decided to do a clean installation.

Here's the v4.7-rc2+ kernel boot log (earlycon=pl011,0xe1010000 
acpi=force efi=debug):

EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.7.0-rc2+ (admin at r2-a30) (gcc version 
5.3.1 20160406 (Red Hat 5.3.1-6) (GCC) ) #1 SMP Wed Jun 8 04:10:35 CDT 2016
[    0.000000] Boot CPU: AArch64 Processor [411fd072]
[    0.000000] earlycon: pl11 at MMIO 0x00000000e1010000 (options '')
[    0.000000] bootconsole [pl11] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi:   System Table: 0x00000083ff357f18
[    0.000000] efi:   MemMap Address: 0x00000083fb19d618
[    0.000000] efi:   MemMap Size: 0x00000540
[    0.000000] efi:   MemMap Desc. Size: 0x00000030
[    0.000000] efi:   MemMap Desc. Version: 0x00000001
[    0.000000] efi: EFI v2.40 by American Megatrends
[    0.000000] efi:  ACPI 2.0=0x83ff1d9000  SMBIOS 3.0=0x83ff353898
[    0.000000] efi: Processing EFI memory map:
[    0.000000] efi:   0x0000e1050000-0x0000e105ffff [Memory Mapped I/O 
|RUN|  |  |  |  |  |  |   |  |  |  |UC]
[    0.000000] efi:   0x0000e1300000-0x0000e1300fff [Memory Mapped I/O 
|RUN|  |  |  |  |  |  |   |  |  |  |UC]
[    0.000000] efi:   0x0000e8200000-0x0000e827ffff [Memory Mapped I/O 
|RUN|  |  |  |  |  |  |   |  |  |  |UC]
[    0.000000] efi:   0x008000000000-0x008000ffffff [Runtime Data 
|RUN|  |  |  |  |  |  |   |WB|WT|WC|UC]*
[    0.000000] efi:   0x008001000000-0x008001f9ffff [Loader Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x008001fa0000-0x00801fdfffff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x00801fe00000-0x00801fe0ffff [Loader Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x00801fe10000-0x00801fffbfff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x00801fffc000-0x00801fffffff [Boot Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x008020000000-0x00802fffffff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x008030000000-0x008030007fff [Runtime Code 
|RUN|  |  |  |  |  |  |   |WB|WT|WC|UC]*
[    0.000000] efi:   0x008030008000-0x00838cffffff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x00838d000000-0x0083f0ffffff [Loader Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083f1000000-0x0083f101ffff [Boot Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083f1020000-0x0083fb19cfff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083fb19d000-0x0083fcadefff [Loader Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083fcadf000-0x0083fcba8fff [Loader Code 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083fcba9000-0x0083feafafff [Boot Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083feafb000-0x0083fec4dfff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083fec4e000-0x0083ff19cfff [Boot Code 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083ff19d000-0x0083ff1d8fff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083ff1d9000-0x0083ff1dafff [ACPI Reclaim 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]*
[    0.000000] efi:   0x0083ff1db000-0x0083ff21ffff [Conventional 
Memory|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083ff220000-0x0083ff23bfff [Loader Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] efi:   0x0083ff23c000-0x0083ff23cfff [ACPI Memory NVS 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]*
[    0.000000] efi:   0x0083ff23d000-0x0083ff357fff [Runtime Data 
|RUN|  |  |  |  |  |  |   |WB|WT|WC|UC]*
[    0.000000] efi:   0x0083ff358000-0x0083ffe42fff [Runtime Code 
|RUN|  |  |  |  |  |  |   |WB|WT|WC|UC]*
[    0.000000] efi:   0x0083ffe43000-0x0083ffffffff [Boot Data 
|   |  |  |  |  |  |  |   |WB|WT|WC|UC]
[    0.000000] cma: Reserved 512 MiB at 0x00000080e0000000
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000083FF1D9000 000024 (v02 AMDINC)
[    0.000000] ACPI: XSDT 0x00000083FF1D9028 000064 (v01 AMDINC SEATTLE 
00000000 AMI  00010013)
[    0.000000] ACPI: FACP 0x00000083FF1D9090 00010C (v05 AMDINC SEATTLE 
00000000 AMI  00010013)
[    0.000000] ACPI: DSDT 0x00000083FF1D91A0 000D68 (v02 AMDINC SEATTLE 
00000003 INTL 20140926)
[    0.000000] ACPI: MCFG 0x00000083FF1D9F08 00003C (v01 AMDINC SEATTLE 
00000000 MSFT 00000097)
[    0.000000] ACPI: DBG2 0x00000083FF1D9F48 00005A (v00 AMDINC SEATTLE 
00000000 AMI  00000000)
[    0.000000] ACPI: GTDT 0x00000083FF1D9FA8 000060 (v02 AMDINC SEATTLE 
00000000 AMI  00000000)
[    0.000000] ACPI: APIC 0x00000083FF1DA008 0002BC (v03 AMDINC SEATTLE 
00000000 AMI  00000000)
[    0.000000] ACPI: CSRT 0x00000083FF1DA2C8 000060 (v00 AMDINC 
00000000 AMI  00000000)
[    0.000000] ACPI: SSDT 0x00000083FF1DA328 00011B (v02 AMDINC CPUSSDT 
00000000 AMI  00000000)
[    0.000000] ACPI: SPCR 0x00000083FF1DA448 000050 (v02 A M I  APTIO V 
00000000 AMI. 00000005)
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 3 pages/cpu @fffffe03ff030000 s108160 
r8192 d80256 u196608
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] CPU features: enabling workaround for ARM erratum 834220
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on. 
Total pages: 261888
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.7.0-rc2+ 
root=UUID=0b5caf4f-3f72-429d-8924-76b74d6fb528 ro 
earlycon=pl011,0xe1010000 acpi=force efi=debug
[    0.000000] PID hash table entries: 4096 (order: -1, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 2097152 (order: 8, 
16777216 bytes)
[    0.000000] Inode-cache hash table entries: 1048576 (order: 7, 
8388608 bytes)
[    0.000000] software IO TLB [mem 0x80dbff0000-0x80dfff0000] (64MB) 
mapped at [fffffe00dbff0000-fffffe00dffeffff]
[    0.000000] Memory: 16088896K/16777216K available (8124K kernel code, 
1216K rwdata, 3328K rodata, 960K init, 1493K bss, 164032K reserved, 
524288K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xfffffc0000000000 - 0xfffffc0008000000   ( 
   128 MB)
[    0.000000]     vmalloc : 0xfffffc0008000000 - 0xfffffdff5fff0000   ( 
  2045 GB)
[    0.000000]       .text : 0xfffffc0008080000 - 0xfffffc0008860000   ( 
  8064 KB)
[    0.000000]     .rodata : 0xfffffc0008860000 - 0xfffffc0008bb0000   ( 
  3392 KB)
[    0.000000]       .init : 0xfffffc0008bb0000 - 0xfffffc0008ca0000   ( 
   960 KB)
[    0.000000]       .data : 0xfffffc0008ca0000 - 0xfffffc0008dd0200   ( 
  1217 KB)
[    0.000000]        .bss : 0xfffffc0008dd0200 - 0xfffffc0008f457f0   ( 
  1494 KB)
[    0.000000]     fixed   : 0xfffffdff7e7d0000 - 0xfffffdff7ec00000   ( 
  4288 KB)
[    0.000000]     PCI I/O : 0xfffffdff7ee00000 - 0xfffffdff7fe00000   ( 
    16 MB)
[    0.000000]     vmemmap : 0xfffffdff80000000 - 0xfffffe0000000000   ( 
     2 GB maximum)
[    0.000000]               0xfffffdff80000000 - 0xfffffdff81000000   ( 
    16 MB actual)
[    0.000000]     memory  : 0xfffffe0000000000 - 0xfffffe0400000000   ( 
16384 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] GICv2m: range[mem 0xe1180000-0xe1180fff], SPI[64:319]
[    0.000000] Architected cp15 timer(s) running at 250.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff 
max_cycles: 0x7350b89c29, max_idle_ns: 881590431910 ns
[    0.000002] sched_clock: 56 bits at 250MHz, resolution 4ns, wraps 
every 4398046511102ns
[    0.008142] Console: colour dummy device 80x25
[    0.012626] console [tty0] enabled
[    0.016055] bootconsole [pl11] disabled





On 6/7/16 8:05 PM, Mark Rutland wrote:
> On Tue, Jun 07, 2016 at 07:53:53PM +0900, Itaru Kitayama wrote:
>> Mark
>>
>> On 6/7/16 7:23 PM, Mark Rutland wrote:
>>> On Tue, Jun 07, 2016 at 05:06:39PM +0900, Itaru Kitayama wrote:
>>>> Upstream v4.7-rc2 kernel does not boot if parameter acpi is set to force
>>>> on Overdrive. (acpi=off gets to the prompt)
>>>
>>> Did acpi=force work on this board with an earlier kernel (e.g. v4.6)?
>>
>> v4.6 boots fine with acpi=foce.
>
> Ok.
>
>>>> When set to force it doesn't get to the Linux boot process and stalls.
>>>
>>> What output do you get before it stalls?
>>>
>>> I assume that you at least have output from the EFI stub?
>>
>> Yes.
>
> Do you get anything else? A full log woould be helpful.
>
>>> Which command line options are you passing?
>>
>> At the time of trying, only acpi=foce efi=debug
>
>>> If you get nothing after the stub, try also passing:
>>>
>>> earlycon=pl011,0xe1010000
>>
>> Adding it in the /etc/default/grub file and updating grub via
>> mkgrub2-config seems to made the board always falls on the grub prompt.
>> I am able to switch to the EFI shell, but is there an easy way to
>> recover it? (I'm accessing the board remotely)
>
> If you can open GRUB, press 'e', and you can edit the command line.
>
> If GRUB doesn't work at all, you might be able to use the 'edit' command
> to modify the GRUB onfiguration file.
>
> Thanks,
> Mark.
>
>>> Which may give an indication of what's going on.
>>>
>>>> Here's the BIOS info:
>>>>
>>>> Version 2.17.1249. Copyright (C) 2015 American Megatrends, Inc.
>>>> BIOS Date: 09/03/2015 13:52:32 Ver: ROD0084E00
>>>
>>> I don't know if the FW from a year ago provided everything necessary. It
>>> may be something like the SPCR is simply missing, and there's no
>>> console= passed to the kernel.
>>>
>>> Thanks,
>>> Mark.
>>>
>>



More information about the linux-arm-kernel mailing list