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

Re: modprobe cant locate char-major-10-135



Hue-Bond wrote:
> 
> thecrow, viernes 19 de octubre de 2001 a la(s) 14:44:47 +0200:
> >
> >> $ grep RTC /usr/src/linux/.config
> >> CONFIG_RTC=y
> >
> >Seguro que lo de RTC es realtime clock?
> 
>          De /usr/src/linux/Documentation/Configure.help:
> 
> Enhanced Real Time Clock Support
> CONFIG_RTC
>   If you say Y here and create a character special file /dev/rtc with
>   major number 10 and minor number 135 using mknod ("man mknod"), you
>   will get access to the real time clock (or hardware clock) built
>   into your computer.
> 
>   Every PC has such a clock built in. It can be used to generate
>   signals from as low as 1Hz up to 8192Hz, and can also be used
>   as a 24 hour alarm. It reports status information via the file
>   /proc/driver/rtc and its behaviour is set by various ioctls on
>   /dev/rtc.
> 
>   If you run Linux on a multiprocessor machine and said Y to
>   "Symmetric Multi Processing" above, you should say Y here to read
>   and set the RTC in an SMP compatible fashion.
> 
>   If you think you have a use for such a device (such as periodic data
>   sampling), then say Y here, and read Documentation/rtc.txt for
>   details.
> 
>   This driver is also available as a module ( = code which can be
>   inserted in and removed from the running kernel whenever you want).
>   The module is called rtc.o. If you want to compile it as a module,
>   say M here and read Documentation/modules.txt.
> 
>          No creo que haya diferencia entre 2.2 y 2.4.


En la documentacion del 2.2.19 tambien me pone lo mismo, pero lo que me
intriga es porque esta dentro del apartado joysticks en .config . Pero
hay otra cosa que me intriga mucho más, es que el rtc no se puede cargar
como modulo en xconfig ni siquiera poniendo la m en .config , y luego
debian se empeña en cargarlo, quizas sea un bug, no lo sé. Al final lo
que hice fue compilandolo estaticamente en el kernel y comentar la line
char-major-10-135 en /etc/modutils/arch/i386, luego ejecutar
"update-modules" que automaticamente me ha configurado /etc/modules.conf
correctamente.
La verdad es que no hay mal que por bien no venga, porque he aprendido
un poco más de esta fabulosa distro que es Debian :P
Salu2 y gracias a todos.



Reply to: