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

Re: char-major-10



Hi,

> > Sep  9 03:53:44 sim modprobe: Can't locate module char-major-10
> 
> You are running kerneld. You go to open a character device with major
> number 10. There is no driver for the device and kerneld tries to load
> it.

char-major-10 is handled by the drivers/char/misc.o 

(which will be installed in the kernel if:

#if defined (CONFIG_BUSMOUSE) || defined(CONFIG_UMISC) || \
    defined (CONFIG_PSMOUSE) || defined (CONFIG_MS_BUSMOUSE) || \
    defined (CONFIG_ATIXL_BUSMOUSE) || defined(CONFIG_SOFT_WATCHDOG) || \
    defined (CONFIG_PCWATCHDOG) || \
    defined (CONFIG_APM) || defined (CONFIG_RTC) || defined (CONFIG_SUN_MOUSE)
). If none of those options are installed into the kernel, and it will be
compiled as a module if one of the above options are build as modules.

Therefore there is one alias needed:

alias char-major-10 misc

Each single device with major 10 will be requested from kerneld with:

char-major-10-%d, therefore the following aliases are needed in addition:

alias char-major-10-0 busmouse
alias char-major-10-1 psaux
alias char-major-10-2 msbusmouse
alias char-major-10-4 amigamouse
alias char-major-10-5 atarimouse
alias char-major-10-6 ?
alias char-major-10-130 wdt (or softdog)
alias char-major-10-131 wdt
alias char-major-10-134 apm_bios
alias char-major-10-135 rtc

(this is what i read from the source, it is neighter complete nor i am sure
if it is correct).

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )   ecki@{lina.inka.de,linux.de}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/A2C51749  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy



Reply to: