[Bug 1023755] New: Crashkernel fails to reserve memory on DELL 5510
http://bugzilla.novell.com/show_bug.cgi?id=1023755 Bug ID: 1023755 Summary: Crashkernel fails to reserve memory on DELL 5510 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: richard.palethorpe@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 712998 --> http://bugzilla.novell.com/attachment.cgi?id=712998&action=edit dmesg -H | head -n 1000 My DELL Precision 5510 occasionally freezes, so I want to take crash dumps. However it refuses to reserve the memory for it. I have 32GB of RAM and have tried various values such as crashkernel=128M =512M =512M,high =512M@64M =512M@2048M =256M =256M@30000M etc. Error messages vary, but with 256MB,high: Cannot reserve 256MB crashkernel low memory, please try smaller size "Memory: 2849516K/33396668K available (7308K kernel code, 1267K rwdata, 5100K rodata, 1772K init, 1468K bss, 697720K reserved, 0K cma-reserved)" If it is simply set to 512MB or 256MB or 128M, it says no suitable memory could be found. Setting it with a low offset like 128M@64M results in a message saying the memory is already reserved. I have a number of large tempfs drives on my system which over commit the RAM, but I assume these are mounted much later in the boot process and don't reserve any memory. I have tried using the default SUSE kernel and vanilla 4.10 RC3. iomem: 00000000-00000fff : reserved 00001000-00057fff : System RAM 00058000-00058fff : reserved 00059000-0005efff : System RAM 0005f000-0005ffff : reserved 00060000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : PCI Bus 0000:00 000c0000-000cfbff : Video ROM 000f0000-000fffff : System ROM 00100000-1cb75017 : System RAM 1cb75018-1cb85057 : System RAM 1cb85058-1cb86017 : System RAM 1cb86018-1cb9f657 : System RAM 1cb9f658-2a6a0fff : System RAM 2a6a1000-2a6d2fff : ACPI Tables 2a6d3000-2c100fff : System RAM 2c101000-2c101fff : ACPI Non-volatile Storage 2c102000-2c14bfff : reserved 2c14c000-2c1a2fff : System RAM 2c1a3000-2c993fff : reserved 2c994000-376a8fff : System RAM 376a9000-3799afff : reserved 3799b000-379adfff : ACPI Tables 379ae000-379e3fff : System RAM 379e4000-38035fff : ACPI Non-volatile Storage 38036000-39816fff : System RAM 39817000-3a4fefff : reserved 3a4ff000-3a4fffff : System RAM 3a500000-3a5fffff : reserved 3a600000-3bffffff : RAM buffer 3c000000-3fffffff : reserved 3c000000-3fffffff : Graphics Stolen Memory 40000000-dfffffff : PCI Bus 0000:00 70000000-7fffffff : 0000:00:02.0 80000000-a1ffffff : PCI Bus 0000:06 80000000-a1ffffff : PCI Bus 0000:07 80000000-a1ffffff : PCI Bus 0000:09 b0000000-c1ffffff : PCI Bus 0000:01 b0000000-bfffffff : 0000:01:00.0 c0000000-c1ffffff : 0000:01:00.0 c2100000-c2afffff : PCI Bus 0000:03 c4000000-da0fffff : PCI Bus 0000:06 c4000000-da0fffff : PCI Bus 0000:07 c4000000-d9efffff : PCI Bus 0000:09 d9f00000-d9ffffff : PCI Bus 0000:3e d9f00000-d9f0ffff : 0000:3e:00.0 d9f00000-d9f0ffff : xhci-hcd da000000-da0fffff : PCI Bus 0000:08 db000000-dbffffff : 0000:00:02.0 dc000000-dd0fffff : PCI Bus 0000:01 dc000000-dcffffff : 0000:01:00.0 dd000000-dd07ffff : 0000:01:00.0 dd100000-ddafffff : PCI Bus 0000:03 dd100000-dd100fff : 0000:03:00.0 dd100000-dd100fff : rtsx_pci ddb00000-ddbfffff : PCI Bus 0000:02 ddb00000-ddb01fff : 0000:02:00.0 ddb00000-ddb01fff : iwlwifi ddc00000-ddc0ffff : 0000:00:1f.3 ddc00000-ddc0ffff : ICH HD audio ddc10000-ddc1ffff : 0000:00:14.0 ddc10000-ddc1ffff : xhci-hcd ddc20000-ddc27fff : 0000:00:04.0 ddc28000-ddc2bfff : 0000:00:1f.3 ddc28000-ddc2bfff : ICH HD audio ddc2c000-ddc2ffff : 0000:00:1f.2 ddc30000-ddc31fff : 0000:00:17.0 ddc30000-ddc31fff : ahci ddc32000-ddc320ff : 0000:00:1f.4 ddc33000-ddc337ff : 0000:00:17.0 ddc33000-ddc337ff : ahci ddc34000-ddc340ff : 0000:00:17.0 ddc34000-ddc340ff : ahci ddc35000-ddc35fff : 0000:00:16.3 ddc36000-ddc36fff : 0000:00:16.0 ddc36000-ddc36fff : mei_me ddc37000-ddc37fff : 0000:00:15.1 ddc37000-ddc371ff : lpss_dev ddc37000-ddc371ff : lpss_dev ddc37200-ddc372ff : lpss_priv ddc37800-ddc37fff : idma64.1 ddc37800-ddc37fff : idma64.1 ddc38000-ddc38fff : 0000:00:15.0 ddc38000-ddc381ff : lpss_dev ddc38000-ddc381ff : lpss_dev ddc38200-ddc382ff : lpss_priv ddc38800-ddc38fff : idma64.0 ddc38800-ddc38fff : idma64.0 ddc39000-ddc39fff : 0000:00:14.2 dffe0000-dfffffff : pnp 00:06 e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff] e0000000-efffffff : reserved e0000000-efffffff : pnp 00:06 fd000000-fe7fffff : PCI Bus 0000:00 fd000000-fdabffff : pnp 00:07 fdac0000-fdacffff : pnp 00:09 fdad0000-fdadffff : pnp 00:07 fdae0000-fdaeffff : pnp 00:09 fdaf0000-fdafffff : pnp 00:09 fdb00000-fdffffff : pnp 00:07 fdc6000c-fdc6000f : iTCO_wdt fdc6000c-fdc6000f : iTCO_wdt fe000000-fe010fff : reserved fe036000-fe03bfff : pnp 00:07 fe03d000-fe3fffff : pnp 00:07 fe410000-fe7fffff : pnp 00:07 fec00000-fec00fff : reserved fec00000-fec003ff : IOAPIC 0 fed00000-fed003ff : HPET 0 fed00000-fed003ff : PNP0103:00 fed10000-fed17fff : pnp 00:06 fed18000-fed18fff : pnp 00:06 fed19000-fed19fff : pnp 00:06 fed20000-fed3ffff : pnp 00:06 fed40000-fed40fff : TPM fed45000-fed8ffff : pnp 00:06 fed90000-fed90fff : dmar0 fed91000-fed91fff : dmar1 fee00000-fee00fff : Local APIC fee00000-fee00fff : reserved ff000000-ffffffff : reserved ff000000-ffffffff : INT0800:00 ff000000-ffffffff : pnp 00:06 100000000-8bdffffff : System RAM 17d000000-17d723609 : Kernel code 17d72360a-17df3cbff : Kernel data 17e101000-17e26ffff : Kernel bss 8be000000-8bfffffff : RAM buffer dmesg -H | head -n 1000: 00000000-00000fff : reserved 00001000-00057fff : System RAM 00058000-00058fff : reserved 00059000-0005efff : System RAM 0005f000-0005ffff : reserved 00060000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : PCI Bus 0000:00 000c0000-000cfbff : Video ROM 000f0000-000fffff : System ROM 00100000-1cb75017 : System RAM 1cb75018-1cb85057 : System RAM 1cb85058-1cb86017 : System RAM 1cb86018-1cb9f657 : System RAM 1cb9f658-2a6a0fff : System RAM 2a6a1000-2a6d2fff : ACPI Tables 2a6d3000-2c100fff : System RAM 2c101000-2c101fff : ACPI Non-volatile Storage 2c102000-2c14bfff : reserved 2c14c000-2c1a2fff : System RAM 2c1a3000-2c993fff : reserved 2c994000-376a8fff : System RAM 376a9000-3799afff : reserved 3799b000-379adfff : ACPI Tables 379ae000-379e3fff : System RAM 379e4000-38035fff : ACPI Non-volatile Storage 38036000-39816fff : System RAM 39817000-3a4fefff : reserved 3a4ff000-3a4fffff : System RAM 3a500000-3a5fffff : reserved 3a600000-3bffffff : RAM buffer 3c000000-3fffffff : reserved 3c000000-3fffffff : Graphics Stolen Memory 40000000-dfffffff : PCI Bus 0000:00 70000000-7fffffff : 0000:00:02.0 80000000-a1ffffff : PCI Bus 0000:06 80000000-a1ffffff : PCI Bus 0000:07 80000000-a1ffffff : PCI Bus 0000:09 b0000000-c1ffffff : PCI Bus 0000:01 b0000000-bfffffff : 0000:01:00.0 c0000000-c1ffffff : 0000:01:00.0 c2100000-c2afffff : PCI Bus 0000:03 c4000000-da0fffff : PCI Bus 0000:06 c4000000-da0fffff : PCI Bus 0000:07 c4000000-d9efffff : PCI Bus 0000:09 d9f00000-d9ffffff : PCI Bus 0000:3e d9f00000-d9f0ffff : 0000:3e:00.0 d9f00000-d9f0ffff : xhci-hcd da000000-da0fffff : PCI Bus 0000:08 db000000-dbffffff : 0000:00:02.0 dc000000-dd0fffff : PCI Bus 0000:01 dc000000-dcffffff : 0000:01:00.0 dd000000-dd07ffff : 0000:01:00.0 dd100000-ddafffff : PCI Bus 0000:03 dd100000-dd100fff : 0000:03:00.0 dd100000-dd100fff : rtsx_pci ddb00000-ddbfffff : PCI Bus 0000:02 ddb00000-ddb01fff : 0000:02:00.0 ddb00000-ddb01fff : iwlwifi ddc00000-ddc0ffff : 0000:00:1f.3 ddc00000-ddc0ffff : ICH HD audio ddc10000-ddc1ffff : 0000:00:14.0 ddc10000-ddc1ffff : xhci-hcd ddc20000-ddc27fff : 0000:00:04.0 ddc28000-ddc2bfff : 0000:00:1f.3 ddc28000-ddc2bfff : ICH HD audio ddc2c000-ddc2ffff : 0000:00:1f.2 ddc30000-ddc31fff : 0000:00:17.0 ddc30000-ddc31fff : ahci ddc32000-ddc320ff : 0000:00:1f.4 ddc33000-ddc337ff : 0000:00:17.0 ddc33000-ddc337ff : ahci ddc34000-ddc340ff : 0000:00:17.0 ddc34000-ddc340ff : ahci ddc35000-ddc35fff : 0000:00:16.3 ddc36000-ddc36fff : 0000:00:16.0 ddc36000-ddc36fff : mei_me ddc37000-ddc37fff : 0000:00:15.1 ddc37000-ddc371ff : lpss_dev ddc37000-ddc371ff : lpss_dev ddc37200-ddc372ff : lpss_priv ddc37800-ddc37fff : idma64.1 ddc37800-ddc37fff : idma64.1 ddc38000-ddc38fff : 0000:00:15.0 ddc38000-ddc381ff : lpss_dev ddc38000-ddc381ff : lpss_dev ddc38200-ddc382ff : lpss_priv ddc38800-ddc38fff : idma64.0 ddc38800-ddc38fff : idma64.0 ddc39000-ddc39fff : 0000:00:14.2 dffe0000-dfffffff : pnp 00:06 e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff] e0000000-efffffff : reserved e0000000-efffffff : pnp 00:06 fd000000-fe7fffff : PCI Bus 0000:00 fd000000-fdabffff : pnp 00:07 fdac0000-fdacffff : pnp 00:09 fdad0000-fdadffff : pnp 00:07 fdae0000-fdaeffff : pnp 00:09 fdaf0000-fdafffff : pnp 00:09 fdb00000-fdffffff : pnp 00:07 fdc6000c-fdc6000f : iTCO_wdt fdc6000c-fdc6000f : iTCO_wdt fe000000-fe010fff : reserved fe036000-fe03bfff : pnp 00:07 fe03d000-fe3fffff : pnp 00:07 fe410000-fe7fffff : pnp 00:07 fec00000-fec00fff : reserved fec00000-fec003ff : IOAPIC 0 fed00000-fed003ff : HPET 0 fed00000-fed003ff : PNP0103:00 fed10000-fed17fff : pnp 00:06 fed18000-fed18fff : pnp 00:06 fed19000-fed19fff : pnp 00:06 fed20000-fed3ffff : pnp 00:06 fed40000-fed40fff : TPM fed45000-fed8ffff : pnp 00:06 fed90000-fed90fff : dmar0 fed91000-fed91fff : dmar1 fee00000-fee00fff : Local APIC fee00000-fee00fff : reserved ff000000-ffffffff : reserved ff000000-ffffffff : INT0800:00 ff000000-ffffffff : pnp 00:06 100000000-8bdffffff : System RAM 17d000000-17d723609 : Kernel code 17d72360a-17df3cbff : Kernel data 17e101000-17e26ffff : Kernel bss 8be000000-8bfffffff : RAM buffer -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023755
http://bugzilla.novell.com/show_bug.cgi?id=1023755#c1
--- Comment #1 from Richard Palethorpe
http://bugzilla.novell.com/show_bug.cgi?id=1023755
http://bugzilla.novell.com/show_bug.cgi?id=1023755#c2
--- Comment #2 from Richard Palethorpe
http://bugzilla.novell.com/show_bug.cgi?id=1023755
Jiri Kosina
http://bugzilla.novell.com/show_bug.cgi?id=1023755
http://bugzilla.novell.com/show_bug.cgi?id=1023755#c3
Jiri Bohac
Error messages vary, but with 256MB,high: Cannot reserve 256MB crashkernel low memory, please try smaller size
If you're puzzled why the kernel is trying to reserve low memory when you specified 256MB,high, then it's because the crash kernel cannot be entirely in the high memory above 4G. So if the region found is above 4G, it will try to allocate an extra low region of 256MB. Your system does not have much low memory; after e820__reserve_setup_data it's basically these three blocks: 0x0000000000100000-0x000000001cb75017 458 MB @ 1 MB 0x000000001cb9f658-0x000000002a6a0fff 219 MB @ 459 MB 0x000000002c994000-0x00000000376a8fff 173 MB @ 713 MB And, I just found a probable bug in the low reservation code, where it can't allocate 256 MB starting under 256 MB; just reported upstream: https://marc.info/?l=linux-kernel&m=149762977921771 This would cause reserve_crashkernel_low to fail. But I don't understand why the 256 MB were not allocated under 4G before calling reserve_crashkernel_low and why your other tries failed with "no suitable memory could be found". Could you try booting with memblock=debug and post the full dmesg output? This should print out memory blocks being allocated prior to te crashkernel reservation, allowing us to see exactly what blocks remain available. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1023755
http://bugzilla.novell.com/show_bug.cgi?id=1023755#c5
--- Comment #5 from Jiri Bohac
participants (1)
-
bugzilla_noreply@novell.com