SUMMARY: Retrieve the parameters for kernel module

From: <ketan.patel_at_uk.nomura.com>
Date: Thu Jan 31 2008 - 10:05:20 EST
Thanks for the responses - Tim Bradshaw, Mehran Salehi, Peter
Winterflood, Joe A, Peter Dowling.

Peter Dowling's answer was very much on target - using adb -k /dev/ksyms
/dev/mem to check the parameters. I could check the parameters such as
max_nprocs, npty but not hba0-xxxx etc. May be qla module doesn't reply
those queries.

Thanks
Ketan
-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Patel, Ketan
(IT/UK)
Sent: 30 January 2008 17:32
To: sunmanagers@sunmanagers.org
Subject: Retrieve the parameters for kernel module

Gurus,

Is there any way to find out what values are set for parameters of a
particular module in kernel?

To elaborate - HP branded Qlogic card configuration is set in
/kernel/drv/qla2300.conf and the module is qla2300 in the kernel
(obtained from modinfo). I want to know the values of parameters such as
hba0-link-down-timeout, hba0-port-down-retry-count etc that are set in
kernel. I can see the values from the file itself but the file has been
modified and I want to make sure the values in kernel are indeed the
values specified in qla2300.conf.

One more reason to know this is - I would like to change and verify
these parameters on the fly by using modunload and modload after making
the changes to qla2300.conf.

Thanks in advance,
Ketan



This e-mail (including any attachments) is confidential, may contain
proprietary or privileged information and is intended for the named
recipient(s) only. Unintended recipients are prohibited from taking
action
on the basis of information in this e-mail and must delete all copies.
Nomura will not accept responsibility or liability for the accuracy or
completeness of, or the presence of any virus or disabling code in, this
e-mail. If verification is sought please request a hard copy. Any
reference
to the terms of executed transactions should be treated as preliminary
only
and subject to formal written confirmation by Nomura. Nomura reserves
the
right to monitor e-mail communications through its networks (in
accordance
with applicable laws). No confidentiality or privilege is waived or lost
by
Nomura by any mistransmission of this e-mail. Any reference to "Nomura"
is
a reference to any entity in the Nomura Holdings, Inc. group. Please
read
our Electronic Communications Legal Notice which forms part of this
e-mail:
http://www.Nomura.com/email_disclaimer.htm
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This e-mail (including any attachments) is confidential, may contain
proprietary or privileged information and is intended for the named
recipient(s) only. Unintended recipients are prohibited from taking action
on the basis of information in this e-mail and must delete all copies.
Nomura will not accept responsibility or liability for the accuracy or
completeness of, or the presence of any virus or disabling code in, this
e-mail. If verification is sought please request a hard copy. Any reference
to the terms of executed transactions should be treated as preliminary only
and subject to formal written confirmation by Nomura. Nomura reserves the
right to monitor e-mail communications through its networks (in accordance
with applicable laws). No confidentiality or privilege is waived or lost by
Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is
a reference to any entity in the Nomura Holdings, Inc. group. Please read
our Electronic Communications Legal Notice which forms part of this e-mail:
http://www.Nomura.com/email_disclaimer.htm
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 31 10:06:46 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:10 EST