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

From: Keiichi KII
Date: Thu Jul 05 2007 - 09:01:36 EST


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@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/