lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YG2rfzRvHIZKXkf/@Red>
Date:   Wed, 7 Apr 2021 14:54:23 +0200
From:   Corentin Labbe <clabbe.montjoie@...il.com>
To:     ebiederm@...ssion.com, kexec@...ts.infradead.org
Cc:     linux-kernel@...r.kernel.org
Subject: crashkernel reservation failed - No suitable area found on a
 cortina/gemini SoC

Hello

I try to do kexec on a cortina/gemini SoC.
On a "normal" boot, kexec fail to find memory so I added crashkernel=8M to cmdline. (kernel size is ~6M).
But now, kernel fail to reserve memory:
Load Kern image from 0x30020000 to 0x800000 size 7340032                                            
Booting Linux on physical CPU 0x0                                                                   
Linux version 5.12.0-rc5-next-20210401+ (compile@Red) (armv7a-unknown-linux-gnueabihf-gcc (Gentoo 9.3.0-r2 p4) 9.3.0, GNU ld (Gentoo 2.34 p6) 2.34.0) #98 PREEMPT Wed Apr 7 14:14:08 CEST 2021
CPU: FA526 [66015261] revision 1 (ARMv4), cr=0000397f                                               
CPU: VIVT data cache, VIVT instruction cache                                                        
OF: fdt: Machine model: Edimax NS-2502                                                              
Memory policy: Data cache writeback                                                                 
Zone ranges:                                                                                        
  Normal   [mem 0x0000000000000000-0x0000000007ffffff]                                              
  HighMem  empty                                                                                    
Movable zone start for each node                                                                    
Early memory node ranges                                                                            
  node   0: [mem 0x0000000000000000-0x0000000007ffffff]                                             
Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]                                    
crashkernel reservation failed - No suitable area found.                                            
Built 1 zonelists, mobility grouping on.  Total pages: 32512                                        
Kernel command line: console=ttyS0,19200n8 ip=dhcp crashkernel=8M                                   
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)                              
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)                                
mem auto-init: stack:off, heap alloc:off, heap free:off                                             
Memory: 119476K/131072K available (5034K kernel code, 579K rwdata, 1372K rodata, 3020K init, 210K bss, 11596K reserved, 0K cma-reserved, 0K highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                          

What can I do ?

Thanks
Regards

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ