From: Keiichi KII <k-keiichi@bx.jp.nec.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: mpm@selenic.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole
Date: Tue, 26 Dec 2006 13:52:54 +0900 [thread overview]
Message-ID: <4590AAA6.1010106@bx.jp.nec.com> (raw)
In-Reply-To: <20061222103615.6e074f4e@localhost.localdomain>
Thank you for your comments.
>> So, I propose the following extended features for netconsole.
>>
>> 1) support for multiple logging agents.
>> 2) add interface to access each parameter of netconsole
>> using sysfs.
>>
>> This patch is for linux-2.6.20-rc1-mm1 and is divided to each function.
>> Your comments are very welcome.
>
> Rather than extending the existing kludge with module parameter, to
> sysfs. I would rather see a better API for this. Please build think
> about doing a better API with a basic set of ioctl's. Some additional
What advantage do we use a set of ioctl's compared to sysfs?
I think that sysfs is easier and more readable than the ioctl's
to change configurations(IP address and port number and so on).
ex)
# cat /sys/class/misc/netconsole/port1/remote_ip
192.168.0.1
# echo 172.16.0.1 > /sys/class/misc/netconsole/port1/remote_ip
# cat /sys/class/misc/netconsole/port1/remote_ip
172.16.0.1
And the sysfs doesn't need to create access program such as the ioctl's.
If you change configurations related to netconsole through the sysfs interface,
a simple script file including a set of commands such as above echo
will help you set up automatically.
> things:
> - shouldn't just be IPV4 specific, should handle IPV6 as well
I would like to implement handling IPV6 on demand in the future.
> - shouldn't specify MAC address, it can do network discovery/arp to
> find that when adding addresses
I think a userland application would rather find target MAC address and
change it through the sysfs.
--
Keiichi KII
NEC Corporation OSS Promotion Center
E-mail: k-keiichi@bx.jp.nec.com
prev parent reply other threads:[~2006-12-26 4:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-22 12:01 [RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole Keiichi KII
2006-12-22 12:14 ` [RFC][PATCH -mm 3/5] add interface for netconsole using sysfs Keiichi KII
2006-12-24 5:34 ` Randy Dunlap
2006-12-26 4:53 ` Keiichi KII
2006-12-22 12:15 ` [RFC][PATCH -mm 4/5] switch function of netpoll Keiichi KII
2006-12-22 12:18 ` [RFC][PATCH -mm 5/5] add "add" element in /sys/class/misc/netconsole Keiichi KII
2006-12-22 18:36 ` [RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole Stephen Hemminger
2006-12-26 4:52 ` Keiichi KII [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4590AAA6.1010106@bx.jp.nec.com \
--to=k-keiichi@bx.jp.nec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).