Boot messages problem

Ainsley Pereira marble at
Wed Jan 3 10:56:21 PST 2001

          Shlok Smári Datye <shlok at> wrote:

> It works fine, but one problem occurs. Even though I redirect to /dev/null I
> get this output:
> ---------------
> ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker
> ne2k-pci.c: PCI NE2000 clone 'Winbond 89C940' at I/O 0xe400, IRQ 9.
> eth0: Winbond 89C940 found at 0xe400, IRQ 9, 00:20:78:14:E4:48.
> ---------------
> But I DON'T want to get any output. I have also tried doing "&>/dev/null",
> ">& /dev/null", and "&>/dev/null 1&>2".

> This is exactly the same output as above, just without the top-most line. It
> looks like they add a output-line if it's run from bootup. But isn't that
> strange? I though there were only two kinds of output, stderr and stdout.
> But this one seems to use something else!
> Anyone got idea what's wrong?

Those lines are printed by the kernel, not by your modprobe, and consequently
don't go through the normal redirection mechanism.
To disable them, you must hack the kernel source :) (It's easy, find
/usr/src/linux/drivers/net/ne2k-pci.c and remove the printk() lines, eg.
there's one in init_module. Be careful to remove the "if" if the printk was the
only statement after it too.)
Then recompile the module.


   / Ainsley Pereira       /   aka Marble on Snowplains   /
  /                       / telnet:// /

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list