Re: [PATCH v1 00/12] netoops support

Mike Waychison
2010-11-03T20:29:13Z

Mike Waychison wrote:
> FWIW, another semantic difference between netconsole and netoops (that
> I had missed in the last email) is filtering: we really do want to get
> the whole log when a crash happens, debug messages and all.
> Netconsole is subject to console filtering (which we _do_ want as
> debug messages going out the uart slows the whole world down).
>
> netconsole and netoops _do_ have bits in common, for instance the
> handling of NETDEV events and source+target configuration. I'd rather
> those bits become common between the two than figure out how to jam
> the semantics we need into netconsole.

Hi Matt,

I've been reading through the netconsole driver in response to Greg's
comments on this thread, and it is definitely more robust in terms of
configuration and handling of network device events than the netoops
driver I proposed.

What are your thoughts on extending netconsole with the same sort of
semantics that are in the netoops patchset?

I'd still like to have blit-dmesg-to-the-network-on-oops semantics,
which seems doable by having a per-target flag for streaming of console
messages (enabled by default) and a flag to emit a structured full dmesg
dump (disabled by default).

I'd be happy to change this patchset to modify the netconsole driver if
you agree.

Thanks,

Mike Waychison