Can't locate module char-major-4

2004-04-12 Thread Janos Sziliczi
Hi All,

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. :-)

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.

I have UltraSparc I (netra) with stable Debian, 2.4.25 custom kernel (I've 
compiled it).

Only two UTP patch cables and the power cable are connected (no console,
keyboard etc.)

Thanks in advance,
Jana



PPP network restarting problem

2004-04-12 Thread Janos Sziliczi
Hi All,

I have an ADSL internet connection. My provider cuts the continuous
connection daily (once a day). It isn't problem, because the PPP
tries to connect automatically when the connection is broken.

It works in i386 but not in my sparc (stable Debian).
I found the following logs in /var/log/syslog:

pppd[pid1]: LCP terminated by peer
pppoe[pid2]: Session terminated -- received PADT from peer
pppd[pid1]: Modem hangup
[...]
pppd[pid1]: Couldn't release PPP unit: Invalid argument
kernel: PPPIODETACH file-f_count=3

pppd[pid1]: Serial connection established.
pppd[pid1]: Couldn't create new ppp unit: Inappropriate ioctl for device
pppoe[pid3]: PADS: Service-Name: ''
pppoe[pid3]: PPP session is 34643
pppoe[pid3]: read (asyncReadFromPPP): Input/output error
pppoe[pid3]: Sent PADT

And the last six lines coming again and again.
Sometimes comes the following log also:

modprobe: modprobe: Can't locate module ppp0

When I try to start ppp manually (/etc/init.d/ppp start) it goes up and
works correctly.

Can anybody help me?
ppp: 2.4.1.uus-4, pppoe: 3.3-1.1, kernel: 2.4.25 sparc64

Thanks in advance,
Jana



Re: Can't locate module char-major-4

2004-04-12 Thread Eric Brower



Janos Sziliczi wrote:

Hi All,

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.


E