Red Hat Bugzilla – Bug 205720
modinfo on diskdump kernel module is not displaying kernel parameters
Last modified: 2013-08-05 23:49:31 EDT
Description of problem:
diskdump kernel module is not displaying its parameters when using modinfo:
block_order, sample_rate, dump_level, compress
Version-Release number of selected component (if applicable):
Steps to Reproduce:
modinfo -p diskdump
displays the above module parameters and their purpose
Created attachment 149471 [details]
This patch fixes the problem. With the patch, "modinfo diskdump" shows the
# modinfo diskdump
parm: compress:Specify whether compression for dump data is enabled
or not. The default value is 0, which means that memory pages will be dumped
without compression. If the value is 1, memory pages will be compressed using
the deflation algorithm, GZIP.
parm: dump_level:A memory collection level that specifies which
memory pages will be dumped. Default value of 0 dumps all pages of physical RAM
into the vmcore file. To avoid excessively large vmcore files, page cache
pages, zero-filled pages, free pages, and user application pages may be
eliminated from the file. Please refer README in diskdumputils package for more
detail of each value
parm: sample_rate:Determine how many blocks in the dump partition are
verified before actual memory dumping begins. Default value is 8, which means
one of every "1<<8" (256) blocks are verified. Specifying zero means all blocks
in the partition are verified, and a minus value disables verification.
parm: block_order:Specifies the dump-time I/O block size. Default
value is 2, which sets the I/O block size equal to "page-size << 2", or 16
kbytes on an i386 machine. Larger values may make for better performance, but
occupies more module memory.
vermagic: 2.6.9-49.ELfj1smp SMP gcc-3.4
User email@example.com's account has been closed
please give the patch in comment#1, linux-2.6.9-diskdump-parmdesc.patch
a try, and let us know if it works for you or not.
Unfortunately I do not have a system set up to try out this patch. I have
looked at the patch as well as the usage (modinfo diskdump) and both look OK.
If you want more definite confirmation, please generate a test RPM package, and
I will test that instead.
This is very old bz and I think as of now nobody needs this, so I close this bz. Please reopen if anyone need this.