Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758002AbXFMKWt (ORCPT ); Wed, 13 Jun 2007 06:22:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757075AbXFMKWk (ORCPT ); Wed, 13 Jun 2007 06:22:40 -0400 Received: from TYO200.gate.nec.co.jp ([210.143.35.50]:55613 "EHLO tyo200.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756882AbXFMKWj (ORCPT ); Wed, 13 Jun 2007 06:22:39 -0400 Message-ID: <466FC455.5060001@bx.jp.nec.com> Date: Wed, 13 Jun 2007 19:17:57 +0900 From: Keiichi KII User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Matt Mackall CC: Andrew Morton , David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [RFC][PATCH -mm take5 0/7] proposal for dynamic configurable netconsole Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1798 Lines: 50 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. By adopting my patches, the current netconsole becomes a little complex. But the kernel messages(especially panic messages) is significant information to solve bugs and troubles promptly and we have been losing serial console port with PCs and Servers. I think that we need the environment in which we can collect kernel messages flexibly. 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 take4] -change kernel base from 2.6.21-rc6-mm1 to 2.6.22-rc4-mm2. -update Documentation/networking/netconsole.txt -fix Kconfig -avoid forward-declared statics -fix coding style -use spin_lock_irqsave() and _restore() -fix race condition(netconsole_event()) -remove extra lock(write in sysfs) -change ioctl's location -use kasprintf() -error handling Your comments are very welcome. Signed-off-by: Keiichi KII Signed-off-by: Takayoshi Kochi --- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/