Re: [PATCH] Delete obsolete RAW driver feature.



On Thu, Mar 22, 2007 at 12:17:51AM -0400, Dave Jones wrote:
On Thu, Mar 22, 2007 at 05:12:42AM +0100, Willy Tarreau wrote:
> On Wed, Mar 21, 2007 at 07:43:18PM -0400, Dave Jones wrote:
> > On Thu, Mar 22, 2007 at 12:24:33AM +0100, Willy Tarreau wrote:
> >
> > > Then a printk() on every open() should be enough. We've all been seeing
> > > "Warning: tcpdump uses obsolete AF_PACKET"... and it finally disappeared.
> >
> > There's a difference. We have the source for tcpdump.
>
> But what's the problem with "warning: process XXX uses obsolete raw driver
> and may not work anymore after 2007/XX/XX if not fixed" ?

The target audience isn't going to read it.

Yes they will if you write it with KERN_CRIT. It will show up on all their
consoles every time their process starts up. What is right is that those
people preferably use vendors' distro and generally do not compile their
kernels themselves, unless there are internal skills and good motivation
to do so.

Willy

-
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/



Relevant Pages

  • Re: [PATCH][2.6-mm] Fix 4G/4G X11/vm86 oops
    ... The code with and without the printk() looks _identical_ apart from some ... Btw, you seem to compile with debugging, which makes the assembly ... some subtle code or data placement things, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH] Delete obsolete RAW driver feature.
    ... >>> Then a printk() on every openshould be enough. ... We have the source for tcpdump. ... We're talking about apps here that we don't have the source to, and vendors ...
    (Linux-Kernel)
  • Error compiling loadable kernel module
    ... I wanted to compile the PSI loadable kernel module using gcc 3.4.3 on a ... psi_mod.c:1323: error: conflicting types for 'printk' ... empty parameter name list declaration ...
    (comp.os.linux.development.system)
  • Re: [PATCH] Delete obsolete RAW driver feature.
    ... > Then a printk() on every openshould be enough. ... We have the source for tcpdump. ... The target audience isn't going to read it. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • Re: Update boot problem
    ... but everybody finds the quirk of my old kernels ... diagnosing the tcpdump problem. ... I use tcpdump as a component of an network monitoring tool and to feed ... perhaps the promiscuous mode is not taking effect, ...
    (RedHat)