Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOzgRda8+u9GFNv4VZ+10Aj0SaG0sfXd1==2mrsCNfqhfHLbyg@mail.gmail.com>
Date: Sat, 2 Nov 2019 13:42:17 +0800
From: youling 257 <youling257@...il.com>
To: Lukas Odzioba <lukas.odzioba@...il.com>
Cc: Kees Cook <keescook@...omium.org>, kernel-hardening@...ts.openwall.com, 
	munisekharrms@...il.com
Subject: Re: How to get the crash dump if system hangs?

On my v891w, i add "memmap=1M!2047M ramoops.mem_size=1048576
ramoops.ecc=1 ramoops.mem_address=0x7ff00000
ramoops.console_size=16384 ramoops.ftrace_size=16384
ramoops.pmsg_size=16384 ramoops.record_size=32768" boot parameter,
[ 0.483935] printk: console [pstore-1] enabled
[ 0.484034] pstore: Registered ramoops as persistent store backend
[ 0.484121] ramoops: using 0x100000@...ff00000, ecc: 16

But on my ezpad 6 m4, i add "memmap=1M!4095M ramoops.mem_size=1048576
ramoops.ecc=1 ramoops.mem_address=0xfff00000
ramoops.console_size=16384 ramoops.ftrace_size=16384
ramoops.pmsg_size=16384 ramoops.record_size=32768" boot parameter, it
can't boot, stop at "boot command list", no anyting happen, no dmesg.
I test boot parameter one by one, just add ramoops.mem_size=1048576,
will cause can't boot.

youling 257 <youling257@...il.com> 于2019年10月21日周一 下午6:22写道:
>
> When add cmdline memmap=1M!2047M, the iomem will be 7ef00001-7fefffff : RAM buffer 7ff00000-7fffffff : Persistent Memory (legacy) 7ff00000-7ff00fff : MSFT0101:00,
> so ramoops.mem_address=0x7ff00000.
>
> Lukas Odzioba <lukas.odzioba@...il.com> 于 2019年10月21日周一 下午4:39写道:
>>
>> youling257 <youling257@...il.com> wrote:
>> >
>> > I don't know my ramoops.mem_address, please help me.
>> >
>> > what is ramoops.mem_address?
>>
>> It is a Linux kernel parameter, see documentation below:
>> https://www.kernel.org/doc/Documentation/admin-guide/ramoops.rst
>>
>> It requires memory which can hold data between reboots, so i'm not
>> sure how it will suit your case.
>>
>> Thanks,
>> Lukas

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.