Re: Can't locate module char-major-4
Janos Sziliczi wrote:
I found the following logs in my syslog many-many times:
modprobe: modprobe: Can't locate module char-major-4
last message repeated XX times
I think this alias can be turned off using
'alias char-major-4 off' in modules.conf, but I don't want to do this at
the moment, because I don't know what does this alias.
So this is the question. :-)
Take a look at <linux>/Documentation/devices.txt-- these devices are
virtual consoles, which you don't have because you are running headless.
Removing getty entries for virtual consoles in your /etc/inittab
should prevent this message (see below).
Other things: the previous logs are followed by the next log messages:
init: Id "X" respawning too fast: disabled for 5 minutes
where "X" means: "1", "2", "3", "4" and "5".
This is, again, virtual consoles being spawned. Edit your /etc/inittab
and comment-out the "getty" lines for tty1-tty6. Add a line (if not
already present) for your serial console, something like:
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
I'm not sure what distribution release you are running-- this may well
be done for you by a smart installer, but being a luddite I've not
updated distros in a very long time so somebody more current could comment.