[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: char-major-6



On Wed, Aug 14, 2002 at 11:03:59AM -0400, Mike Kuhar wrote:
> I keep getting the message:
> 
> Aug 14 07:09:21 mkuhar2 modprobe: modprobe: Can't locate module
> char-major-6
> 
> in my syslog.  I've searched /etc/modules.conf and /etc/modutils/* and
> can find no reference to char-major-6.  Anywhere else this module might
> be defined?

The problem is that it isn't defined...

So, let's see what char-major-6 is:

$ ls -l /dev | grep " 6,"
crw-rw----    1 root     lp         6,   0 Nov 30  2000 lp0
crw-rw----    1 root     lp         6,   1 Nov 30  2000 lp1
crw-rw----    1 root     lp         6,   2 Nov 30  2000 lp2
crw-rw----    1 root     lp         6,   0 Nov 30  2000 par0
crw-rw----    1 root     lp         6,   1 Nov 30  2000 par1
crw-rw----    1 root     lp         6,   2 Nov 30  2000 par2

OK, it's parallel port support.  Something's trying to access a
printer and your kernel doesn't have that support built in, so it
looks for a module to handle char-major-6, but modprobe doesn't know
the name of the relevant module and logs a complaint.

To get rid of the complaints, add a line to /etc/modutils/aliases
which says

alias char-major-6 off

and run update-modules to rebuild /etc/modules.conf.  (If you
actually have printer support built as a module, you'll want to alias
char-major-6 to the name of the appropriate module (lp?) instead.)

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss



Reply to: