Incompatibility with 4.2 prints: crash: page excluded: kernel virtual address: ffff88105b1a0000 type: "fill_task_struct"

Bug #1523606 reported by Dave Chiluk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
crash (Ubuntu)
Fix Released
Low
Dave Chiluk
Trusty
Fix Released
Low
Dave Chiluk
Vivid
Fix Released
Low
Dave Chiluk
Wily
Fix Released
Low
Dave Chiluk
Xenial
Fix Released
Low
Dave Chiluk

Bug Description

[Impact]

  * Crash prints
"crash: page excluded: kernel virtual address: ffff8808595a0000 type: "fill_task_struct" "
      on dumps for 4.2 and newer levels of the kernel.
  * This is related to variable task_struct_size being variable on 4.2 and newer kernels.

[Test Case]

An example of the issue.
$ crash ddeb/usr/lib/debug/boot/vmlinux-4.2.0-18-generic 00092116-dump.201511300126

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.

GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...

please wait... (gathering task table data)
crash: page excluded: kernel virtual address: ffff88105b1a0000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff881052fa8000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff880111770000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff880836578000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff880859e68000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff88085b858000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff88084c448000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff88105b530000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff8808595a0000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff8801065a0000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff8808488d0000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff880859dd0000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff880855750000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff881058cd0000 type: "fill_task_struct"

crash: page excluded: kernel virtual address: ffff880bb5150000 type: "fill_task_struct"
      KERNEL: ddeb/usr/lib/debug/boot/vmlinux-4.2.0-18-generic
    DUMPFILE: 00092116-dump.201511300126 [PARTIAL DUMP]
        CPUS: 24
        DATE: Thu Jan 1 00:00:00 1970
      UPTIME: 3 days, 13:28:22
LOAD AVERAGE: 528.67, 526.12, 465.03
       TASKS: 1208
    NODENAME: <redacted>
     RELEASE: 4.2.0-18-generic
     VERSION: #22~14.04.1-Ubuntu SMP Fri Nov 6 22:20:11 UTC 2015
     MACHINE: x86_64 (2397 Mhz)
      MEMORY: 63.9 GB
       PANIC: "Kernel panic - not syncing: NMI IOCK error: Not continuing"
         PID: 0
     COMMAND: "swapper/0"
        TASK: ffffffff81c14500 (1 of 24) [THREAD_INFO: ffffffff81c00000]
         CPU: 0
       STATE: TASK_RUNNING (PANIC)

[Regression Potential]
 * Change is available in upstream crash
 * This has been tested with both 3.13 and 4.2 crash dumps.

[Other Info]

 * https://github.com/crash-utility/crash/commit/80b49a879e0ba8ce7c365a2fd88693128a79310f
is the fix for this issue.

* Related conversation on mailing list.
https://www.redhat.com/archives/crash-utility/2015-November/msg00022.html

Revision history for this message
Dave Chiluk (chiluk) wrote :

Solution, packaged up and tested.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1523606.trusty.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
tags: added: trusty
Revision history for this message
Dave Chiluk (chiluk) wrote :

I'll do the ports for vivid, wily, and xenial once I get a chance as well.

Changed in crash (Ubuntu):
assignee: nobody → Dave Chiluk (chiluk)
Revision history for this message
Dave Chiluk (chiluk) wrote :

wily and xenial are currently at the same revision so this patch should work on both.

Dave Chiluk (chiluk)
description: updated
Dave Chiluk (chiluk)
description: updated
Revision history for this message
Dave Chiluk (chiluk) wrote :

Per apw's request I signed and uploaded all packages to
http://people.canonical.com/~chiluk/lp1523606/

I also added dep3 header information.

For ease of review I attached the updated xenial debdiff here, and deleted all old debdiffs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crash - 7.1.1-1ubuntu5

---------------
crash (7.1.1-1ubuntu5) xenial; urgency=medium

  * Fix for crash: page excluded: kernel virtual address: ffff881052fa8000
    type: "fill_task_struct" (LP: #1523606)

 -- Dave Chiluk <email address hidden> Tue, 15 Dec 2015 16:31:54 -0600

Changed in crash (Ubuntu Xenial):
status: New → Fix Released
Andy Whitcroft (apw)
Changed in crash (Ubuntu Wily):
status: New → In Progress
Changed in crash (Ubuntu Vivid):
status: New → In Progress
Changed in crash (Ubuntu Trusty):
status: New → In Progress
Changed in crash (Ubuntu Wily):
importance: Undecided → Low
Changed in crash (Ubuntu Vivid):
importance: Undecided → Low
Changed in crash (Ubuntu Trusty):
importance: Undecided → Low
Changed in crash (Ubuntu Wily):
assignee: nobody → Dave Chiluk (chiluk)
Changed in crash (Ubuntu Vivid):
assignee: nobody → Dave Chiluk (chiluk)
Changed in crash (Ubuntu Trusty):
assignee: nobody → Dave Chiluk (chiluk)
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Dave, or anyone else affected,

Accepted crash into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/crash/7.0.3-3ubuntu4.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in crash (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in crash (Ubuntu Vivid):
status: In Progress → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Dave, or anyone else affected,

Accepted crash into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/crash/7.0.8-1ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in crash (Ubuntu Wily):
status: In Progress → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Dave, or anyone else affected,

Accepted crash into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/crash/7.1.1-1ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Dave Chiluk (chiluk) wrote :

Verified.. Looks good.

chiluk@rotom:~/bugs/⟫ ./runcrash 00092116-dump.201511300126

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.

GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...

  SYSTEM MAP: ./deb/boot/System.map-4.2.0-18-generic
DEBUG KERNEL: ddeb/usr/lib/debug/boot/vmlinux-4.2.0-18-generic (4.2.0-18-generic)
    DUMPFILE: 00092116-dump.201511300126 [PARTIAL DUMP]
        CPUS: 24
        DATE: Thu Jan 1 00:00:00 1970
      UPTIME: 3 days, 13:28:22
LOAD AVERAGE: 528.67, 526.12, 465.03
       TASKS: 1223
    NODENAME: tcswobj-z1-hs18
     RELEASE: 4.2.0-18-generic
     VERSION: #22~14.04.1-Ubuntu SMP Fri Nov 6 22:20:11 UTC 2015
     MACHINE: x86_64 (2397 Mhz)
      MEMORY: 63.9 GB
       PANIC: "Kernel panic - not syncing: NMI IOCK error: Not continuing"
         PID: 0
     COMMAND: "swapper/0"
        TASK: ffffffff81c14500 (1 of 24) [THREAD_INFO: ffffffff81c00000]
         CPU: 0
       STATE: TASK_RUNNING (PANIC)

crash> quit

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crash - 7.0.3-3ubuntu4.4

---------------
crash (7.0.3-3ubuntu4.4) trusty; urgency=medium

  * Fix for crash: page excluded: kernel virtual address: ffff881052fa8000
    type: "fill_task_struct" (LP: #1523606)

 -- Dave Chiluk <email address hidden> Mon, 07 Dec 2015 11:38:05 -0600

Changed in crash (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for crash has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crash - 7.0.8-1ubuntu3.2

---------------
crash (7.0.8-1ubuntu3.2) vivid; urgency=medium

  * Fix for crash: page excluded: kernel virtual address: ffff881052fa8000
    type: "fill_task_struct" (LP: #1523606)

 -- Dave Chiluk <email address hidden> Tue, 15 Dec 2015 16:18:33 -0600

Changed in crash (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crash - 7.1.1-1ubuntu4.1

---------------
crash (7.1.1-1ubuntu4.1) wily; urgency=medium

  * Fix for crash: page excluded: kernel virtual address: ffff881052fa8000
    type: "fill_task_struct" (LP: #1523606)

 -- Dave Chiluk <email address hidden> Tue, 15 Dec 2015 16:31:54 -0600

Changed in crash (Ubuntu Wily):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.