From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrei Warkentin Subject: NetKGDB v3 Date: Sun, 26 Feb 2012 22:30:08 -0500 Message-ID: <1330313411-845-1-git-send-email-andrey.warkentin@gmail.com> References: <1330137851-4716-1-git-send-email-andrey.warkentin@gmail.com> To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: In-Reply-To: <1330137851-4716-1-git-send-email-andrey.warkentin@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi, This is v3 of the tentative patch set I am sending for feedback. It implements a network I/O backend for KDB/KGDB, the kernel debugger. NetKGDB is very similar to netconsole, on which it is based, but with a crucial difference - netkgdb is designed to accept connections from any hosts, i.e. it is not necessary to specify these ahead of time. This makes it that much more useful in a "this host crashed and a I want a developer to take a look at it" scenario, common to large scale test/QA farms and automated testing harnesses. This involves a minor change to the netpoll rx_hook, namely, to provide source connection information. This differs from v2 in adding the flush() callback in kgdb_io, which would be necessary for correct behavior in gdbstub mode, and enhances the debug core to support registering multiple I/O ops. The later allows both kgdboc, netkgdb and any other providers to coexist peacefully, and allow debugging both interactively and via the network. V2 cleaned up a lot of the strange cruft in v1 surrounding dealing with netdev notifiers. [PATCHv3 1/3] NETPOLL: Extend rx_hook support. [PATCHv3 2/3] NETKGDB: Ethernet/UDP/IP KDB transport. [PATCHv3 3/3] KGDB: Allow registering multiple I/O ops. Thanks, A