Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634219

[RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash

From Xishi Qiu <qiuxishi@huawei.com>
Newsgroups linux.kernel
Subject [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash
Date 2017-05-02 10:10 +0200
Message-ID <tCB2F-3YK-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi, I use "memtester -p 0x6c80000000000 10G" to test physical address 0x6c80000000000
Because this physical address is invalid, and valid_mmap_phys_addr_range()
always return 1, so it causes crash.

My question is that should the user assure the physical address is valid?

...
[ 169.147578] ? panic+0x1f1/0x239
[ 169.150789] oops_end+0xb8/0xd0
[ 169.153910] pgtable_bad+0x8a/0x95
[ 169.157294] __do_page_fault+0x3aa/0x4a0
[ 169.161194] do_page_fault+0x30/0x80
[ 169.164750] ? do_syscall_64+0x175/0x180
[ 169.168649] page_fault+0x28/0x30

Thanks,
Xishi Qiu

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash Xishi Qiu <qiuxishi@huawei.com> - 2017-05-02 10:10 +0200
  Re: [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash Michal Hocko <mhocko@kernel.org> - 2017-05-02 10:50 +0200
    Re: [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash Xishi Qiu <qiuxishi@huawei.com> - 2017-05-02 11:00 +0200
      Re: [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash Michal Hocko <mhocko@kernel.org> - 2017-05-02 11:20 +0200
        Re: [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash Xishi Qiu <qiuxishi@huawei.com> - 2017-05-02 11:40 +0200

csiph-web