Bug 205720 - modinfo on diskdump kernel module is not displaying kernel parameters
Summary: modinfo on diskdump kernel module is not displaying kernel parameters
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Takao Indoh
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-08 08:00 UTC by Riaan van Niekerk
Modified: 2013-08-06 03:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-13 16:28:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
linux-2.6.9-diskdump-parmdesc.patch (2.10 KB, patch)
2007-03-07 17:25 UTC, Nobuhiro Tachino
no flags Details | Diff

Description Riaan van Niekerk 2006-09-08 08:00:35 UTC
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):
 kernel 2.6.9-42.EL

How reproducible:
 every time

Steps to Reproduce:
 modinfo -p diskdump 

Actual results:
 displays nothing

Expected results:
 displays the above module parameters and their purpose

Comment 1 Nobuhiro Tachino 2007-03-07 17:25:09 UTC
Created attachment 149471 [details]
linux-2.6.9-diskdump-parmdesc.patch

This patch fixes the problem. With the patch, "modinfo diskdump" shows the
following:

# modinfo diskdump						     
filename:	/lib/modules/2.6.9-49.ELfj1smp/kernel/drivers/block/diskdump.ko

license:	GPL
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.
depends:	
vermagic:	2.6.9-49.ELfj1smp SMP gcc-3.4

Comment 2 Red Hat Bugzilla 2007-10-19 04:05:49 UTC
User ntachino's account has been closed

Comment 3 Linda Wang 2007-11-27 23:51:02 UTC
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.

Comment 4 Riaan van Niekerk 2007-11-28 05:19:09 UTC
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.

Comment 5 Takao Indoh 2011-09-13 16:28:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.