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

Re: char-major-6




> From: Dave Sherohman <esper@sherohman.org>
> 
> 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
...


Where is it defined in the kernel that character major device number 6 is 
parallel port support?  

- Is that definition only within the parallel-port support module?  
- Is that definition known only once the module is loaded?
- Can the kernel (or the module loader) be informed about the
  definition (the mapping from the number to the module name)
  so that that module can be loaded when the device is accessed?
  If so, how?

Thanks.


Daniel
-- 
Daniel Barclay
dsb@smart.net



Reply to: