From: Dani Camps on
I use Fedora Core 3. I want to start my system in runlevel 3, to log
in text mode, but it is impossible because in the screen I have all
the time the following logs:

hub 1-0:1.0: over-current change on port 1
hub 1-0:1.0: over-current change on port 2
hub 1-0:1.0: over-current change on port 1
hub 1-0:1.0: over-current change on port 2
....

Without stopping. I have two ethernet cards in this machine one
connected to a hub, but I don't know why do appear these messages
related with that hub if this is the case.

I tried to disable those messages using syslog, this is my
/etc/syslog.conf:

#kern.* /dev/console
#kern.warn
/var/log/firewall
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none
/var/log/messages

# The authpriv file has restricted access.
authpriv.*
/var/log/secure

# Log all the mail messages in one place.
mail.*
-/var/log/maillog


# Log cron stuff
cron.* /var/log/cron

# Everybody gets emergency messages
#*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit
/var/log/spooler
# Save boot messages also to boot.log
local7.*
/var/log/boot.log

I have the kern.* and the emergency messages disables, so I don't know
where those logs come from and how to disable them.

Any ideas ?


Thanks!
From: Dances With Crows on
On 4 Feb 2005 05:50:29 -0800, Dani Camps staggered into the Black Sun
and said:
> I use Fedora Core 3. I want to start my system in runlevel 3, to log
> in text mode

If you have a system capable of running FC 3, you have a system that can
run X. xterms/eterms/konsoles have many advantages over virtual
consoles, so why not use X?

> but it is impossible because in the screen I have all the time the
> following logs:
> hub 1-0:1.0: over-current change on port 1
> hub 1-0:1.0: over-current change on port 2
> Without stopping. I have two ethernet cards in this machine one
> connected to a hub, but I don't know why do appear these messages

That message is coming from the USB hub module, not anything to do with
Ethernet. It's informing you over and over again with a level of
KERN_ERR that one of your USB devices has gone from "over current" to
"normal" or vice versa. The fact that it keeps happening over and over
again suggests A) a flaky device on the USB chain B) a software problem
with the USB subsystem C) a hardware problem with the USB ports.

> /etc/syslog.conf:
> #kern.* /dev/console
> #kern.warn
>
> I have the kern.* and the emergency messages disables, so I don't know
> where those logs come from and how to disable them. Any ideas ?

Good question. I haven't used syslog in years (metalog >> syslog) and
don't have any of the man pages for syslog, but you might want to fix
the problem instead of ignoring it. In extremis, you can edit
/usr/src/linux/drivers/usb/hub.c , grep for "over-current change",
switch it from err() to dbg() , recompile the modules, then rmmod
everything USB and modprobe it again. That'd keep the messages from
being displayed. HTH,

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / Hire me!
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
From: Dani Camps on
Dances With Crows <danSPANceswitTRAPhcrows(a)gmail.com> wrote in message news:<slrnd073cn.av4.danSPANceswitTRAPhcrows(a)samantha.crow202.dyndns.org>...
> On 4 Feb 2005 05:50:29 -0800, Dani Camps staggered into the Black Sun
> and said:
> > I use Fedora Core 3. I want to start my system in runlevel 3, to log
> > in text mode
>
> If you have a system capable of running FC 3, you have a system that can
> run X. xterms/eterms/konsoles have many advantages over virtual
> consoles, so why not use X?
>
> > but it is impossible because in the screen I have all the time the
> > following logs:
> > hub 1-0:1.0: over-current change on port 1
> > hub 1-0:1.0: over-current change on port 2
> > Without stopping. I have two ethernet cards in this machine one
> > connected to a hub, but I don't know why do appear these messages
>
> That message is coming from the USB hub module, not anything to do with
> Ethernet. It's informing you over and over again with a level of
> KERN_ERR that one of your USB devices has gone from "over current" to
> "normal" or vice versa. The fact that it keeps happening over and over
> again suggests A) a flaky device on the USB chain B) a software problem
> with the USB subsystem C) a hardware problem with the USB ports.
>
> > /etc/syslog.conf:
> > #kern.* /dev/console
> > #kern.warn
> >
> > I have the kern.* and the emergency messages disables, so I don't know
> > where those logs come from and how to disable them. Any ideas ?
>
> Good question. I haven't used syslog in years (metalog >> syslog) and
> don't have any of the man pages for syslog, but you might want to fix
> the problem instead of ignoring it. In extremis, you can edit
> /usr/src/linux/drivers/usb/hub.c , grep for "over-current change",
> switch it from err() to dbg() , recompile the modules, then rmmod
> everything USB and modprobe it again. That'd keep the messages from
> being displayed. HTH,


I mainly want to use the runlevel 3 because this machine is a gateway
and nobody is working directly with it, so in runlevel 3 it should be
a faster boot, but then because of this messages is impossible to use
it at all.

So let's try to solve it !, I have to admit I have no idea on how to
start :-), I have two USB ports in that machine, and in one there is
the mouse plugged, it works perfectly, the other port is empty, so I
think there is no hardware problem there. Maybe is then a problem with
the USB subsystem, but any idea on how to start trying to solve it ?

Thanks !
 | 
Pages: 1
Next: Best Linux Distro for a home user?