← Back to team overview

kernel-packages team mailing list archive

[Bug 1466686] Re: crash: arm64: don't support some BT commands

 

ubuntu@am2:~$ sudo crash vmlinux
[sudo] password for 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.
 
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 "aarch64-unknown-linux-gnu"...

      KERNEL: vmlinux
    DUMPFILE: /dev/mem
        CPUS: 8
        DATE: Thu Jun 25 21:58:34 2015
      UPTIME: 00:03:29
LOAD AVERAGE: 0.08, 0.03, 0.01
       TASKS: 130
    NODENAME: am2
     RELEASE: 3.13.11-ckt21+
     VERSION: #35 SMP PREEMPT Thu Jun 18 03:19:42 EDT 2015
     MACHINE: aarch64  (unknown Mhz)
      MEMORY: 16 GB
         PID: 1766
     COMMAND: "crash"
        TASK: ffffffc3e79be180  [THREAD_INFO: ffffffc3e3c44000]
         CPU: 3
       STATE: TASK_RUNNING (ACTIVE)

crash> bt -e
PID: 1766   TASK: ffffffc3e79be180  CPU: 5   COMMAND: "crash"
USER-MODE EXCEPTION FRAME AT: ffffffc3e3c47ed0
     PC: 0000007fa68812cc   LR: 000000000047ad2c   SP: 0000007fd2a4c400
    X29: 0000007fd2a4c400  X28: 000000000094b000  X27: 0000000000001000
    X26: 0000007fa67c4710  X25: ffffffc3e3c47000  X24: 0000000000982080
    X23: 00000000009fd488  X22: 0000000000000004  X21: 0000000000001000
    X20: 000000000094b000  X19: 00000043e3c47000  X18: 0000007fd2a4ca60
    X17: 0000007fa68812b0  X16: 0000000000000000  X15: 0000007fa690b590
    X14: 0000000000000000  X13: 0000000000000000  X12: 0000000000000028
    X11: 0000000000000005  X10: 0000000028521830   X9: 0000000000000004
     X8: 000000000000003f   X7: 000000000099a030   X6: 000000000000003f
     X5: 000000000047ac18   X4: 000000000099f9e8   X3: ffffffc3e3c47000
     X2: 0000000000001000   X1: 00000000009fd488   X0: 0000000000000004
    ORIG_X0: 0000000000000004  SYSCALLNO: 3f  PSTATE: 60000000
crash> 
crash> quit
ubuntu@am2:~$ sudo dpkg -l crash
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  crash          7.0.3-3ubunt arm64        kernel debugging utility, allowin
ubuntu@am2:~$ 


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to crash in Ubuntu.
https://bugs.launchpad.net/bugs/1466686

Title:
  crash: arm64: don't support some BT commands

Status in crash package in Ubuntu:
  Fix Released
Status in crash source package in Trusty:
  Fix Committed

Bug description:
  On trusty, some BT commands are missed for ARM64.

  [Impact]
  some BT commands aren't usable, such as bt -e, bt -l, ...

  [Test Case]
  - start crash
  - run bt -e

  crash> bt -e
  PID: 2113   TASK: ffffffc3e3446180  CPU: 5   COMMAND: "crash"
  bt: arm64_eframe_search: function not implemented

  
  [Regression Potential]
  These changes are to code that only gets compiled on arm64, so
  there's no risk to other architectures. Also the proposed change is
  merged to upstream alread.

  The patches in below link can make them workable:

  http://kernel.ubuntu.com/git/ming/crash-
  trusty.git/commit/?id=3d11253387a609283054c8b0d76b0d33704b6e27

  http://kernel.ubuntu.com/git/ming/crash-
  trusty.git/commit/?id=2c43ddb93e0591e14c92c5d7469ed2c6029df5a5

  http://kernel.ubuntu.com/git/ming/crash-
  trusty.git/commit/?id=f384eaa863b82009caaf136bc88c3e6f5c0ceb66

  http://kernel.ubuntu.com/git/ming/crash-
  trusty.git/commit/?id=653aa6bc8b5108bf6a6f737275fe4a1b94ba4703

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/1466686/+subscriptions


References