From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keiichi KII Subject: Re: [PATCH -mm 8/9] netconsole: Update documentation for dynamic reconfigurability Date: Thu, 05 Jul 2007 21:58:20 +0900 Message-ID: <468CEAEC.7040102@bx.jp.nec.com> References: <20070704110739.28520.5036.sendpatchset@cselinux1.cse.iitk.ac.in> <20070704110819.28520.50445.sendpatchset@cselinux1.cse.iitk.ac.in> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: Linux Kernel Mailing List , Netdev , Joel Becker , Matt Mackall , Andrew Morton , David Miller To: Satyam Sharma Return-path: Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:56069 "EHLO tyo202.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758380AbXGENBY (ORCPT ); Thu, 5 Jul 2007 09:01:24 -0400 In-Reply-To: <20070704110819.28520.50445.sendpatchset@cselinux1.cse.iitk.ac.in> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi Satyam, > + cat enabled # check if enabled is 1 > + echo 0 > enabled # disable the target (if required) > + echo eth2 > dev_name # set local interface I think that the above line should change from "echo eth2 > dev_name" to "echo -n eth2 > dev_name" or the newline should be removed at store_dev_name(). The default behavior of echo(1) outputs the newline. So, if we write appropriate network device name to dev_name, the netpoll can't find net_device in netpoll_setup(). I don't have enough time now. So I will check your patches more specific at the weekend. Thanks -- Keiichi KII NEC Corporation OSS Platform Development Division E-mail: k-keiichi@bx.jp.nec.com