From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keiichi KII Subject: [RFC][PATCH -mm take3 0/6][resend] proposal for dynamic configurable netconsole Date: Tue, 20 Mar 2007 21:10:25 +0900 Message-ID: <45FFCF31.3040000@bx.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: mpm@selenic.com Return-path: Received: from TYO200.gate.nec.co.jp ([210.143.35.50]:36842 "EHLO tyo200.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753842AbXCTMOt (ORCPT ); Tue, 20 Mar 2007 08:14:49 -0400 Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Keiichi KII 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, in the case of built-in netconsole, you can't change config except for changing boot parameter and rebooting your system, or in the case of module netconsole, you need to remove it and reload with different parameters. 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. [changes since take2] -changing kernel base from 2.6.20-rc1-mm1 to 2.6.21-rc3.mm2. -using symbolic link for network device. -changing in part interface from sysfs to ioctl, because Stephen Hemminger advised us that it is a misuse that sysfs has the behavior with magic side effect such as adding/removing port. This patch is for linux-2.6.21-rc3-mm2 and is divided to each function. Your comments are very welcome. Signed-off-by: Keiichi KII Signed-off-by: Takayoshi Kochi ---