Akio Takebe wrote:
Hi, Dave
The belows are great information for xen-ia64.
We are happy because of starting support it.
>- Introduced support for xendumps of para-virtualized ia64 kernels.
> It should be noted that currently the ia64 Xen kernel does not
> lay down a switch_stack for the panic task, so only raw "bt -t"
> backtraces can be done on the panic task. (anderson(a)redhat.com)
>
>- Introduced support for "xm save" dumpfiles of para-virtualized ia64
> kernels, which use a completely different format than that used for
> x86 and x86_64. (anderson(a)redhat.com)
>
Can we use bt with "xm save" dumpfiles of para-virtualized ia64?
Is "xm save" dumpfile better for crash-utils than "xendump" file?
Best Regards,
Akio Takebe
Here's what my test "xm save" dump session looks like:
# crash /usr/dumps/xensave/*
crash 4.0-3.15
Copyright (C) 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006 Fujitsu Limited
Copyright (C) 2006 VA Linux Systems Japan K.K.
Copyright (C) 2005 NEC Corporation
Copyright (C) 1999, 2002 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 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB 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.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "ia64-unknown-linux-gnu"...
KERNEL: /usr/dumps/xensave/vmlinux-2.6.18-1.2839.el5.xi5xen
DUMPFILE: /usr/dumps/xensave/xen-ia64-guest-xm-save.vmcore
CPUS: 1
DATE: Fri Dec 8 09:16:34 2006
UPTIME: 00:01:43
LOAD AVERAGE: 0.53, 0.30, 0.11
TASKS: 62
NODENAME:
dhcp83-121.boston.redhat.com
RELEASE: 2.6.18-1.2839.el5.xi5xen
VERSION: #1 SMP Thu Dec 7 10:14:34 EST 2006
MACHINE: ia64 (900 Mhz)
MEMORY: 960 MB
PID: 1523
COMMAND: "suspend"
TASK: e0000000301e0000 [THREAD_INFO: e0000000301e0fc0]
CPU: 0
STATE: TASK_RUNNING (SUSPEND)
crash> ps
PID PPID CPU TASK ST %MEM VSZ RSS COMM
0 0 0 a000000100734000 RU 0.0 0 0 [swapper]
1 0 0 e0000000005e0000 IN 0.2 4448 1728 init
2 1 0 e000000000608000 IN 0.0 0 0 [migration/0]
3 1 0 e000000000610000 IN 0.0 0 0 [ksoftirqd/0]
4 1 0 e000000000618000 IN 0.0 0 0 [watchdog/0]
5 1 0 e000000004c38000 IN 0.0 0 0 [events/0]
6 1 0 e0000000009e8000 IN 0.0 0 0 [khelper]
7 1 0 e0000000056e0000 IN 0.0 0 0 [kthread]
9 7 0 e0000000056c8000 IN 0.0 0 0 [xenwatch]
10 7 0 e0000000056d0000 IN 0.0 0 0 [xenbus]
15 7 0 e000000005608000 IN 0.0 0 0 [kblockd/0]
16 7 0 e000000005630000 IN 0.0 0 0 [kacpid]
26 7 0 e000000004c80000 IN 0.0 0 0 [cqueue/0]
30 7 0 e000000005680000 IN 0.0 0 0 [khubd]
32 7 0 e000000004c90000 IN 0.0 0 0 [kseriod]
83 7 0 e0000000054e8000 IN 0.0 0 0 [pdflush]
84 7 0 e0000000054f0000 IN 0.0 0 0 [pdflush]
85 7 0 e0000000054f8000 IN 0.0 0 0 [kswapd0]
86 7 0 e000000005518000 IN 0.0 0 0 [aio/0]
211 7 0 e000000000a78000 IN 0.0 0 0 [kpsmoused]
231 7 0 e000000000c60000 IN 0.0 0 0 [kmirrord]
236 7 0 e000000000cb0000 IN 0.0 0 0 [ksnapd]
239 7 0 e000000000cd0000 IN 0.0 0 0 [kjournald]
261 7 0 e00000003b090000 IN 0.0 0 0 [kauditd]
289 1 0 e00000000d948000 IN 0.1 5536 1408 udevd
1024 1 0 e000000036140000 IN 0.1 5376 1216 dhclient
1115 1 0 e0000000337f0000 IN 0.2 14960 1600 auditd
1116 1 0 e000000033818000 IN 0.2 14960 1600 auditd
1117 1115 0 e000000033820000 IN 0.9 73056 8960 python
1130 1 0 e000000033908000 IN 0.1 4528 1472 syslogd
1133 1 0 e000000033b78000 IN 0.1 4352 1088 klogd
1163 1 0 e0000000324b8000 IN 0.1 4736 1472 portmap
1183 1 0 e000000032528000 IN 0.2 5088 2080 rpc.statd
1214 1 0 e000000031568000 IN 0.2 12096 1840 rpc.idmapd
1231 1 0 e00000003a810000 IN 0.2 6112 2272 dbus-daemon
1241 1 0 e00000003a7e8000 IN 0.2 5456 1872 hcid
1245 1 0 e000000031ca8000 IN 0.1 4512 1296 sdpd
1267 1 0 e000000031ff0000 IN 0.0 0 0 [krfcommd]
1303 1 0 e000000031ce8000 IN 0.3 15120 2656 pcscd
1317 1 0 e000000030238000 IN 0.1 5408 1216 hidd
1328 1 0 e0000000304e0000 IN 0.3 15120 2656 pcscd
1332 1 0 e000000030518000 IN 0.3 57680 2832 automount
1333 1 0 e000000030520000 IN 0.3 57680 2832 automount
1334 1 0 e000000030528000 IN 0.3 57680 2832 automount
1337 1 0 e0000000306b0000 IN 0.3 57680 2832 automount
1340 1 0 e0000000306b8000 IN 0.3 57680 2832 automount
1350 1 0 e000000030650000 IN 0.1 4336 1344 acpid
1360 1 0 e000000030988000 IN 0.6 74880 5632 cupsd
1373 1 0 e000000030240000 IN 0.3 12224 2768 sshd
1392 1 0 e000000030e10000 IN 0.4 19280 4304 sendmail
1400 1 0 e000000030ff0000 IN 0.4 16944 3744 sendmail
1419 1 0 e00000002f080000 IN 0.1 4448 1248 gpm
1445 1 0 e00000002f100000 IN 0.2 63200 2352 crond
1455 1 0 e00000002f190000 IN 0.1 3408 1392 anacron
1464 1 0 e00000002f240000 IN 0.1 5952 1344 atd
1476 1 0 e00000002ec78000 IN 2.5 106560 24224 yum-updatesd
1486 1 0 e00000002ec08000 IN 0.6 9888 5920 hald
1487 1486 0 e00000002f1c8000 IN 0.3 6832 2752 hald-runner
1493 1487 0 e00000002ef20000 IN 0.2 4400 2032 hald-addon-acpi
1519 1 0 e00000002d1d8000 IN 0.1 4688 944 smartd
1522 1 0 e00000002d380000 IN 0.1 3456 1376 agetty
1523 7 0 e0000000301e0000 RU 0.0 0 0
[suspend]
crash> bt
PID: 1523 TASK: e0000000301e0000 CPU: 0 COMMAND: "suspend"
#0 [BSP:e0000000301e11a8] schedule at a0000001005e0420
#1 [BSP:e0000000301e1168] read_reply at a0000001003ca070
#2 [BSP:e0000000301e1120] xs_talkv at a0000001003ca520
#3 [BSP:e0000000301e10f0] xs_unwatch at a0000001003ca7a0
#4 [BSP:e0000000301e10d0] xs_suspend at a0000001003cb200
#5 [BSP:e0000000301e10b0] xenbus_suspend at a0000001003cddb0
crash>
Dave