arm64: crash: invalid/unsupported page size: 6144
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crash (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
Utopic |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned | ||
Wily |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
crash in ARM64 can't be used on ubuntu trusty, utopic and vivid when debugging a new kernel like 4.1-rc+
[Test Case]
sudo crash ~/vmlinux
crash will exit with failure log of 'crash: invalid/unknown page size:
6144', see detailed steps in [1].
[Regression Potential]
The proposed patch has been merged upstream, so there shouldn't be potential regression.
Also These changes are to code that only gets compiled on arm64, so
there's no risk to other architectures.
[Other Info]
After running crash from trusty, the failure log in [1] can be observed.
Then I built crash from wily directly, the similar failure[2] can be observed too.
[1] failure log
ubuntu@
crash 7.0.3
Copyright (C) 2002-2013 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.
crash: invalid/unknown page size: 6144
[2]
ubuntu@
[sudo] password for ubuntu:
crash 7.0.8
Copyright (C) 2002-2014 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.
crash: invalid/unsupported page size: 6144
description: | updated |
description: | updated |
Changed in crash (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in crash (Ubuntu Utopic): | |
status: | New → In Progress |
Changed in crash (Ubuntu Vivid): | |
status: | New → In Progress |
The issue can be fixed by the following upstream commit:
commit 7623eee9046015b 65a1f63f6bf07ab 7805c36eb4
Author: Dave Anderson <email address hidden>
Date: Tue May 19 10:20:04 2015 -0400
Fix for the ARM64 page size determination on Linux 4.1 and later
kernels. Without the patch, the crash session fails during
initialization with the message "crash: invalid/unsupported page
size: 98304" on kernels with 64K pages. On kernels with 4K pages,
the message is "crash: invalid/unsupported page size: 6144". In
addition, the "-p <page-size>" command line override option
had no effect on ARM64; that has been fixed as well.
(<email address hidden>)