[RFC][PATCH -mm take4 1/6] marking __init

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Acked-by: Matt Mackall [EMAIL PROTECTED] Signed-off-by: Keiichi KII [EMAIL PROTECTED] Signed-off-by: Takayoshi Kochi [EMAIL

[RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes for supporting multiple logging agents. 1. extend netconsole to multiple netpolls To send kernel messages to multiple logging agents, extend netcosnole to be able to use multiple netpolls. Each netpoll sends

[RFC][PATCH -mm take4 3/6] add interface for netconsole using sysfs

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH -mm take4 4/6] using symlink for the net_device

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] We use symbolic link for net_device. The link in sysfs represents the corresponding network etherdevice. -+- /sys/class/misc/ |-+- netconsole/ |-+- port1/ | |--- id [r--r--r--] id | |--- net:net_dev [rw-r--r--] net_dev: eth0,eth1

[RFC][PATCH -mm take4 5/6] switch function of netpoll

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

[RFC][PATCH -mm take4 6/6] add ioctls for adding/removing target

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] We add ioctls for adding/removing target. If we use NETCONSOLE_ADD_TARGET ioctl, we can dynamically add netconsole target. If we use NETCONSOLE_REMOVE_TARGET ioctl, we can dynamically remoe netconsole target. We attach a sample program for ioctl. Signed-off

[RFC][PATCH -mm take4 0/6] proposal for dynamic configurable netconsole

2007-04-18 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Keiichi KII
and reviews. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Keiichi KII
Please include an update to Documentation/networking/netconsole.txt OK, I update the documnet for the added functions in next patches. Thank you for your comments. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-24 Thread Keiichi KII
On Fri, 20 Apr 2007 18:51:13 +0900 Keiichi KII [EMAIL PROTECTED] wrote: I started to do some cleanups and fixups here, but abandoned it when it was all getting a bit large. Here are some fixes against this patch: I'm going to fix my patches by following your reviews and send new patches

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-24 Thread Keiichi KII
procfs instead of sysfs to show the configurations of netconsole? If so, I have a question. I thought that procfs use things related to process as far as possible. Is it no problem to use procfs here? -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED

[RFC][PATCH -mm take3 0/6][resend] proposal for dynamic configurable netconsole

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

[RFC][PATCH -mm take3 1/6][resend] marking __init

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Signed-off-by: Keiichi KII [EMAIL PROTECTED] Signed-off-by: Takayoshi Kochi [EMAIL PROTECTED] --- Index: linux-mm/drivers/net

[RFC][PATCH -mm take3 2/6][resend] support multiple logging

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes for supporting multiple logging agents. 1. extend netconsole to multiple netpolls To send kernel messages to multiple logging agents, extend netcosnole to be able to use multiple netpolls. Each netpoll sends

[RFC][PATCH -mm take3 3/6][resend] add interface for netconsole using sysfs

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH -mm take3 4/6][resend] using symlink for the net_device

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] We use symbolic link for net_device. The link in sysfs represents the corresponding network etherdevice. -+- /sys/class/misc/ |-+- netconsole/ |-+- port1/ | |--- id [r--r--r--] id | |--- net:net_dev [rw-r--r--] net_dev: eth0,eth1

[RFC][PATCH -mm take3 5/6][resend] switch function of netpoll

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

[RFC][PATCH -mm take3 6/6][resend] add ioctls for adding/removing target

2007-03-20 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] We add ioctls for adding/removing target. If we use NETCONSOLE_ADD_TARGET ioctl, we can dynamically add netconsole target. If we use NETCONSOLE_REMOVE_TARGET ioctl, we can dynamically remoe netconsole target. We attach a sample program for ioctl. Signed-off

Re: [RFC][PATCH -mm take3 2/6][resend] support multiple logging

2007-03-22 Thread Keiichi KII
Alexey Dobriyan wrote: On 3/20/07, Keiichi KII [EMAIL PROTECTED] wrote: This patch contains the following changes for supporting multiple logging agents. +#define CONFIG_SEPARATOR ; CONFIG_* is reserved for configuration options. Since you use it in only one place just use semicolon

Re: [RFC][PATCH -mm take3 6/6][resend] add ioctls for adding/removing target

2007-03-22 Thread Keiichi KII
Sorry, I sent the incomplete sample program. So, I send the complete one again. Any comments welcom. #include stdio.h #include unistd.h #include string.h #include stdlib.h #include stropts.h #include fcntl.h #include arpa/inet.h #include net/if.h #include linux/if_ether.h #include

[PATCH 1/2] fix typo in SubmittingPatches

2007-10-26 Thread Keiichi KII
From: Keiichi Kii [EMAIL PROTECTED] Fix typo. Signed-off-by: Keiichi Kii [EMAIL PROTECTED] Cc: Andy Whitcroft [EMAIL PROTECTED] --- Index: trunk/Documentation/SubmittingPatches === --- trunk.orig/Documentation/SubmittingPatches

[PATCH 2/2] add SubmittingPatches to Documentation/ja_JP

2007-10-26 Thread Keiichi KII
From: Keiichi Kii [EMAIL PROTECTED] This patch adds SubmittingPatches translated into Japanese to Documentation/ja_JP directory. I attach the patch because there is a possibility that MUA will change the character encoding sometimes. Signed-off-by: Keiichi KII [EMAIL PROTECTED] -- Keiichi

[PATCH 0/2] Japanese translation of Documentation/SubmittingPatches

2007-10-26 Thread Keiichi KII
From: Keiichi Kii [EMAIL PROTECTED] Hi all, Currently, HOWTO and stable_api_nonsense.txt are included in Documentation/each country/ as policy documents. Greg K-H said the following in this thread: (http://www.uwsg.iu.edu/hypermail/linux/kernel/0706.1/0897.html) So I really do want to see

Re: [PATCH 2/2] add SubmittingPatches to Documentation/ja_JP

2007-10-26 Thread Keiichi KII
there was no probelm in my environment. But, I used mew as MUA and the patch was recognized as Ascii, not UTF-8. I think alternative based on your suggestions. Thanks --yoshfuji In article [EMAIL PROTECTED] (at Fri, 26 Oct 2007 15:55:24 +0900), Keiichi KII [EMAIL PROTECTED] says: From: Keiichi Kii

Re: [PATCH 1/2] fix typo in SubmittingPatches

2007-10-29 Thread Keiichi KII
in the same patch which moves it. Tahnks for your point. I will fix this sentence as above. -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 1/2] fix typo in SubmittingPatches

2007-10-29 Thread Keiichi KII
From: Keiichi Kii [EMAIL PROTECTED] Greg, could you replace old patch with new one? Fix typo and insert -- between clauses. Signed-off-by: Keiichi Kii [EMAIL PROTECTED] Cc: Andy Whitcroft [EMAIL PROTECTED] --- Index: trunk/Documentation/SubmittingPatches

[PATCH] netconsole: avoid null pointer dereference at show_local_mac()

2008-02-15 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch avoids a null pointer dereference when we read local_mac for netconsole in configfs and shows default local mac address value. A null pointer dereference occurs when we call show_local_mac() via local_mac entry in configfs before we setup

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-25 Thread Keiichi KII
comments. Any comments very welcome. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC][PATCH 2.6.19 2/6] support multiple logging agents

2006-12-20 Thread Keiichi KII
number are subject to change on the way sending packets. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

[RFC][PATCH 2.6.19 take2 0/5] proposal for dynamic configurable netconsole

2006-12-21 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

[RFC][PATCH 2.6.19 take2 1/5] marking __init and remove drop initialization

2006-12-21 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). - remove drop initialization in the netpoll structure. Signed-off-by: Keiichi KII [EMAIL PROTECTED] --- [changes] 1. stop to use

[RFC][PATCH 2.6.19 take2 3/5] add interface for netconsole using sysfs

2006-12-21 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH 2.6.19 take2 4/5] switch function of netpoll

2006-12-21 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

[RFC][PATCH 2.6.19 take2 5/5] add add element in /sys/class/misc/netconsole

2006-12-21 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. To add port dynamically, create add element in /sys/class/misc/netconsole. ex) echo @/eth0,@192.168.0.1/ /sys/class/misc/netconsole/add then the port is added with the settings sending kernel messages

[RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole

2006-12-22 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

[RFC][PATCH -mm 3/5] add interface for netconsole using sysfs

2006-12-22 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH -mm 4/5] switch function of netpoll

2006-12-22 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

[RFC][PATCH -mm 5/5] add add element in /sys/class/misc/netconsole

2006-12-22 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. To add port dynamically, create add element in /sys/class/misc/netconsole. ex) echo @/eth0,@192.168.0.1/ /sys/class/misc/netconsole/add then the port is added with the settings sending kernel messages

Re: [RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole

2006-12-25 Thread Keiichi KII
and change it through the sysfs. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

Re: [RFC][PATCH -mm 3/5] add interface for netconsole using sysfs

2006-12-25 Thread Keiichi KII
to follow the current implementation of netpoll. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

[PATCH -mm take2 0/5] proposal for dynamic configurable netconsole

2006-12-25 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

[RFC][PATCH -mm take2 1/5] marking __init

2006-12-25 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Signed-off-by: Keiichi KII [EMAIL PROTECTED] Signed-off-by: Takayoshi Kochi [EMAIL PROTECTED] --- --- linux-mm/drivers/net

[RFC][PATCH -mm take2 3/5] add interface for netconsole using sysfs

2006-12-25 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH -mm take2 4/5] switch function of netpoll

2006-12-25 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

[RFC][PATCH -mm take2 5/5] add add element in /sys/class/misc/netconsole

2006-12-25 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

Re: [RFC][PATCH -mm take2 3/5] add interface for netconsole using sysfs

2007-01-10 Thread Keiichi KII
to rethink the interface for netconsole. Thanks for your comments. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[RFC][PATCH 2.6.19 0/6] proposal for dynamic configurable netconsole

2006-12-11 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

[RFC][PATCH 2.6.19 1/6] cleanup for netconsole

2006-12-11 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). - define name of magic number. Signed-off-by: Keiichi KII [EMAIL PROTECTED] --- --- linux-2.6.19/drivers/net/netconsole.c 2006

[RFC][PATCH 2.6.19 3/6] add interface for netconsole using sysfs

2006-12-11 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH 2.6.19 4/6] switch function of netpoll

2006-12-11 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. if enable attribute of certain port is '1', this port is used. if enable attribute of certain port is '0', this port isn't used. active_netconsole_dev list manages a list of active ports. inactive_netconsole_dev

[RFC][PATCH 2.6.19 5/6] add add element in /sys/class/misc/netconsole

2006-12-11 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. To add port dynamically, create add element in /sys/class/misc/netconsole. ex) 1. echo eth0 /sys/clas/misc/netconsole/add then the port is added with the default settings. 2. echo @/eth0,@192.168.0.1/ /sys

[RFC][PATCH 2.6.19 6/6] update modification history

2006-12-11 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] Update modification history. Signed-off-by: Keiichi KII [EMAIL PROTECTED] --- --- linux-2.6.19/drivers/net/netconsole.c 2006-12-12 14:57:45.588967500 +0900 +++ enhanced-netconsole/drivers/net/netconsole.c.sign 2006-12-12 14:54:49.541965250 +0900

Re: [RFC][PATCH 2.6.19 0/6] proposal for dynamic configurable netconsole

2006-12-13 Thread Keiichi KII
Matt Mackall wrote: On Tue, Dec 12, 2006 at 03:17:48PM +0900, Keiichi KII wrote: FYI, there's a robot named Dave Miller who will eventually notice your email and scold you for not cc:ing it to netdev, claiming that he doesn't read LKML. Thank you for your replies and reviews. When I

Re: [RFC][PATCH v2 -mm 0/9] netconsole: Multiple targets and dynamic reconfigurability

2007-07-11 Thread Keiichi KII
Hi Satyam, I'm going to test/review these patches and report the result of tests on IA64/x86 until this Friday. [0/9] netconsole: Multiple targets and dynamic reconfigurability This patchset is a rework of the original idea and patches posted by Keiichi Kii and Takayoshi Kochi at: http

Re: [PATCH v2 -mm 9/9] netconsole: Support dynamic reconfiguration using configfs

2007-07-12 Thread Keiichi KII
-by: Keiichi Kii [EMAIL PROTECTED] Index: mm/drivers/net/netconsole.c === --- mm.orig/drivers/net/netconsole.c +++ mm/drivers/net/netconsole.c @@ -94,8 +94,8 @@ struct netconsole_target { struct list_headlist; #ifdef

[RFC][PATCH -mm take5 0/7] proposal for dynamic configurable netconsole

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent

[RFC][PATCH -mm take5 1/7] marking __init

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Acked-by: Matt Mackall [EMAIL PROTECTED] Signed-off-by: Keiichi KII [EMAIL PROTECTED] Signed-off-by: Takayoshi Kochi [EMAIL

[RFC][PATCH -mm take5 2/7] support multiple logging

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes for supporting multiple logging agents. 1. extend netconsole to multiple netpolls To send kernel messages to multiple logging agents, extend netcosnole to be able to use multiple netpolls. Each netpoll sends

[RFC][PATCH -mm take5 3/7] add interface for netconsole using sysfs

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH -mm take5 4/7] using symlink for the net_device

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] We use symbolic link for net_device. The link in sysfs represents the corresponding network etherdevice. -+- /sys/class/misc/ |-+- netconsole/ |-+- port1/ | |--- id [r--r--r--] id | |--- net:net_dev [r--r--r--] net_dev: eth0,eth1

[RFC][PATCH -mm take5 5/7] switch function of netpoll

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] This patch contains switch function of netpoll. If enabled attribute of certain port is '1', this port is used and the configurations of this port are unable to change. If enabled attribute of certain port is '0', this port isn't used and the configurations

[RFC][PATCH -mm take5 6/7] add ioctls for adding/removing target

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] We add ioctls for adding/removing target. If we use NETCONSOLE_ADD_TARGET ioctl, we can dynamically add netconsole target. If we use NETCONSOLE_REMOVE_TARGET ioctl, we can dynamically remoe netconsole target. We attach a sample program for ioctl. Signed-off

[RFC][PATCH -mm take5 7/7] update documentation

2007-06-13 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] update Documentation/networking/netconsole.txt - how to use sysfs for dynamic configurability - how to use ioctl for dynamic configurability Signed-off-by: Keiichi KII [EMAIL PROTECTED] --- Index: mm/Documentation/networking/netconsole.txt

Re: [RFC][PATCH -mm take5 3/7] add interface for netconsole using sysfs

2007-06-19 Thread Keiichi KII
miscdev_configured; Is this really required? We just return with error if misc_register() fails during module init time itself, so it's not really useful ever, is it? You're right. It isn't required. Thanks -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED

Re: [RFC][PATCH -mm take5 4/7] using symlink for the net_device

2007-06-19 Thread Keiichi KII
misplacing the abobe code? or it isn't appropriate about coding style? Thanks -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [RFC][PATCH -mm take5 4/7] using symlink for the net_device

2007-06-19 Thread Keiichi KII
-- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [RFC][PATCH -mm take5 6/7] add ioctls for adding/removing target

2007-06-19 Thread Keiichi KII
. 4. Netlink does feel like overkill for this. Although newer generic netlink makes it easier. So, I implemented ioctls to add/remove port like this patch on the tty driver. But I'm going to search configfs. Thank you for you information. Thanks -- Keiichi KII NEC Corporation OSS Platform

Re: [RFC][PATCH -mm take5 4/7] using symlink for the net_device

2007-06-21 Thread Keiichi KII
functionality here. I understand. The wrapper method such as make_netdev_class_name() isn't appropriate in this case. Thanks -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [RFC][PATCH -mm take5 6/7] add ioctls for adding/removing target

2007-06-21 Thread Keiichi KII
configfs and modify interface to configfs. Thanks -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [RFC][PATCH -mm 0/9] netconsole: Multiple targets and dynamic reconfigurability

2007-07-04 Thread Keiichi KII
to this list again? Anybody could give me an advice? -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH -mm 8/9] netconsole: Update documentation for dynamic reconfigurability

2007-07-05 Thread Keiichi KII
more specific at the weekend. Thanks -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [RFC][PATCH 2.6.19 2/6] support multiple logging agents

2006-12-20 Thread Keiichi KII
netpoll_lock is for each structure containing information related to netpoll (remote IP address and port, local IP address and port and so on). If we don't take a spinlock for each structure, the target IP address and port number are subject to change on the way sending packets. -- Keiichi KII NEC Co

[RFC][PATCH 2.6.19 take2 0/5] proposal for dynamic configurable netconsole

2006-12-21 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging

[RFC][PATCH 2.6.19 take2 1/5] marking __init and remove drop initialization

2006-12-21 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). - remove "drop" initialization in the netpoll structure. Signed-off-by: Keiichi KII <[EMAIL PROTECTED]>

[RFC][PATCH 2.6.19 take2 3/5] add interface for netconsole using sysfs

2006-12-21 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number

[RFC][PATCH 2.6.19 take2 4/5] switch function of netpoll

2006-12-21 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. If "enabled" attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If "enabled" attribute of certain port is

[RFC][PATCH 2.6.19 take2 5/5] add "add" element in /sys/class/misc/netconsole

2006-12-21 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. To add port dynamically, create "add" element in /sys/class/misc/netconsole. ex) echo "@/eth0,@192.168.0.1/" > /sys/class/misc/netconsole/add then the port is added with the set

[RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole

2006-12-22 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging

[RFC][PATCH -mm 3/5] add interface for netconsole using sysfs

2006-12-22 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number

[RFC][PATCH -mm 4/5] switch function of netpoll

2006-12-22 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. If "enabled" attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If "enabled" attribute of certain port is

[RFC][PATCH -mm 5/5] add "add" element in /sys/class/misc/netconsole

2006-12-22 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. To add port dynamically, create "add" element in /sys/class/misc/netconsole. ex) echo "@/eth0,@192.168.0.1/" > /sys/class/misc/netconsole/add then the port is added with the set

Re: [RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole

2006-12-25 Thread Keiichi KII
MAC address and change it through the sysfs. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.

Re: [RFC][PATCH -mm 3/5] add interface for netconsole using sysfs

2006-12-25 Thread Keiichi KII
ucture. So, You can't use NIPQUAD to follow the current implementation of netpoll. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor

[PATCH -mm take2 0/5] proposal for dynamic configurable netconsole

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging

[RFC][PATCH -mm take2 1/5] marking __init

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Signed-off-by: Keiichi KII <[EMAIL PROTECTED]> Signed-off-by: Takayoshi Kochi <[EMAIL PROTECTED]> --- --- li

[RFC][PATCH -mm take2 3/5] add interface for netconsole using sysfs

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number

[RFC][PATCH -mm take2 4/5] switch function of netpoll

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. If "enabled" attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If "enabled" attribute of certain port is

[RFC][PATCH -mm take2 5/5] add "add" element in /sys/class/misc/netconsole

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. If "enabled" attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If "enabled" attribute of certain port is

Re: [RFC][PATCH -mm take2 3/5] add interface for netconsole using sysfs

2007-01-10 Thread Keiichi KII
ld crash... > > > Maybe having a state variable/sysfs file so you could setup the port and > turn it on/off with write. You are right. When I tested above program, my machine crashed. I'm going to rethink the interface for netconsole. Thanks for your comments. -- Keiichi KII NEC C

[RFC][PATCH 2.6.19 0/6] proposal for dynamic configurable netconsole

2006-12-11 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging

[RFC][PATCH 2.6.19 1/6] cleanup for netconsole

2006-12-11 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). - define name of magic number. Signed-off-by: Keiichi KII <[EMAIL PROTECTED]> --- --- linux-2.6.19/drivers/net/

[RFC][PATCH 2.6.19 3/6] add interface for netconsole using sysfs

2006-12-11 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number

[RFC][PATCH 2.6.19 4/6] switch function of netpoll

2006-12-11 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. if "enable" attribute of certain port is '1', this port is used. if "enable" attribute of certain port is '0', this port isn't used. active_netconsole_dev list mana

[RFC][PATCH 2.6.19 5/6] add "add" element in /sys/class/misc/netconsole

2006-12-11 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. To add port dynamically, create "add" element in /sys/class/misc/netconsole. ex) 1. echo "eth0" > /sys/clas/misc/netconsole/add then the port is added with the default settings.

[RFC][PATCH 2.6.19 6/6] update modification history

2006-12-11 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> Update modification history. Signed-off-by: Keiichi KII <[EMAIL PROTECTED]> --- --- linux-2.6.19/drivers/net/netconsole.c 2006-12-12 14:57:45.588967500 +0900 +++ enhanced-netconsole/drivers/net/netconsole.c.sign 2006-12-12 14:54:49.541

Re: [RFC][PATCH 2.6.19 0/6] proposal for dynamic configurable netconsole

2006-12-13 Thread Keiichi KII
Matt Mackall wrote: > On Tue, Dec 12, 2006 at 03:17:48PM +0900, Keiichi KII wrote: > > FYI, there's a robot named Dave Miller who will eventually notice your > email and scold you for not cc:ing it to netdev, claiming that he > doesn't read LKML. > Thank you for your replies

[RFC][PATCH -mm take3 0/6][resend] proposal for dynamic configurable netconsole

2007-03-20 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging

[RFC][PATCH -mm take3 1/6][resend] marking __init

2007-03-20 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Signed-off-by: Keiichi KII <[EMAIL PROTECTED]> Signed-off-by: Takayoshi Kochi <[EMAIL PROTECTED]> --- Index: li

[RFC][PATCH -mm take3 2/6][resend] support multiple logging

2007-03-20 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes for supporting multiple logging agents. 1. extend netconsole to multiple netpolls To send kernel messages to multiple logging agents, extend netcosnole to be able to use multiple netpolls. Each netpoll

[RFC][PATCH -mm take3 3/6][resend] add interface for netconsole using sysfs

2007-03-20 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number

  1   2   >