[Crash-utility] [PATCH]Fixing swap command
Dave Anderson
anderson at redhat.com
Wed Apr 7 12:33:08 UTC 2010
----- "Sharyathi Nagesh" <sharyath at in.ibm.com> wrote:
> Description
> Sub-command "swap" in crash command doesn't show any info about swap
> partition in kernel versions 2.6.28 and above
>
> crash> swap
> FILENAME TYPE SIZE USED PCT PRIORITY
> crash> q
> feastlp4:~ #
Yes, I was already aware of that issue (big-endian only), and have a
patch queued for 5.0.3:
- Fix for "swap" and "kmem -i" commands on 2.6.29 or later, big-endian,
ppc64 kernels, where the swap_info_struct.flags member was changed
from an int to a long. Without the patch, the "swap" command does
not display any swap data, and the "kmem -i" command indicates that
there is no swap memory used or available.
(anderson at redhat.com)
Thanks,
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swap.patch
Type: text/x-patch
Size: 1077 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20100407/e870dc45/attachment.bin>
More information about the Crash-utility
mailing list