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

Re: log & messaggi



Alberto Spelta ha scritto:

Jun  8 11:19:24 debianserver modprobe: modprobe: Can't locate module

char-major-5
ma non capisco dove tenti di caricare il modulo char-major-5;
nel file /etc/modules.conf e nel /etc/modutils/aliases non esiste nuente del
genere

se cerchi con google trovi alcune info

* se aggiungi questa riga dovresti eliminare l'errore

alias char-major-5 off


* per vedere i device con char-major-5

$ ls -l /dev | grep " 5,"


* per vedere a cosa è associato il major-5

$ cat /usr/src/linux/include/linux/major.h | grep MAJOR | grep "[^0-9]5$


* Ma hai ricompilato Linux? Hai configurato correttamente? Hai installato tutto correttamente?

la documentazione relativa dovrebbe essere questa:
$ cat /usr/src/linux/Documentation/devices.txt
[...]
  5 char        Alternate TTY devices
                  0 = /dev/tty          Current TTY device
                  1 = /dev/console      System console
                  2 = /dev/ptmx         PTY master multiplex
                 64 = /dev/cua0         Callout device for ttyS0
                    ...
                255 = /dev/cua191       Callout device for ttyS191

                (5,1) is /dev/console starting with Linux 2.1.71.  See
                the section on terminal devices for more information
                on /dev/console.
[...]

in pratica dovrebbe mancare un modulo per la gestione di I/O seriale (forse serial.o?)

probabilmente è dovuto ad uno di questi parametri settati a Y o M:
$ cat /usr/src/linux/.config | grep CONFIG_SERIAL | less
$ cat /usr/src/linux/.config | grep CONFIG_SOUND | less


Ciao
Davide

--
Linux User: 302090: http://counter.li.org
Prodotti consigliati:
Sistema operativo: Debian: http://www.it.debian.org
Strumenti per l'ufficio: OpenOffice.org: http://it.openoffice.org
Database: PostgreSQL: http://www.postgres.org
Browser: FireFox: http://texturizer.net/firefox
Client di posta: Thunderbird: http://texturizer.net/thunderbird
Enciclopedia: wikipedia: http://it.wikipedia.org
--
Non autorizzo la memorizzazione del mio indirizzo di posta a chi usa
outlook: non voglio essere invaso da spam



Reply to: