Syslog/kernlog filling up with "did not claim interface N before use"

Posted by Wayne Werner on Ask Ubuntu See other posts from Ask Ubuntu or by Wayne Werner
Published on 2012-09-10T15:04:22Z Indexed on 2012/09/10 15:49 UTC
Read the original article Hit count: 401

Filed under:
|
|

As I discovered when asking this question, it appears that demond_nscan is trying to use a device without claiming it. And it does it.... hundreds of time per second apparently. This makes kern.log and syslog huge (100GB >).

In this particular case the problem is directly a result of some Lexmark drivers that were installed (found at /usr/local/lexmark/unix_scan_drivers/bin/demond_nscan).

Here are a few things I know:

  • The drivers are for an all-in-one printer/scanner device.
  • There was a previous lexmark printer-only that was installed with CUPS
  • This driver was the one for CUPS systems, and I think that it automatically added it to the list of printers in CUPS.
  • The issue started spamming kern/syslog only after these drivers were installed, using the lexmark installers

While googling around I found this thread that's not completely related, but it does mention that it might be happening when two drivers try to control the same device at the same time.

How can I resolve this issue so that either I only have one driver, or get the driver to claim the device before usage?

© Ask Ubuntu or respective owner

Related posts about drivers

Related posts about syslog