Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PC164 - 3C509 broadcasting and set time problems
@ 1997-03-03 19:05 Robert Williams
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Williams @ 1997-03-03 19:05 UTC (permalink / raw)


Upon resetting my PC164 system time and rebooting
this morning, the system fails to boot
at the point where the network is brought up,
and the 3C509 card broadcasts continuously,
consuming nearly 100% of the ethernet bandwidth.
I'm not sure these two events are connected.
The system was working over the weekend, with
an incorrect time setting.

This raises another question: Is there documentation
about how system time should be configured?
The RedHat install process gives two choices
with respect to setting system time.
Which one is appropriate for a PC164?

-- 
from Bob Williams, http://bob.usuf2.usuhs.mil/
The opinions expressed herein are those of the author, 
and are not to be construed as representative 
of the University or the Department of Defense.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PC164 - 3C509 broadcasting and set time problems
@ 1997-03-03 19:31 Przemek Klosowski
  1997-03-03 21:51 ` Michal Jaegermann
  0 siblings, 1 reply; 5+ messages in thread
From: Przemek Klosowski @ 1997-03-03 19:31 UTC (permalink / raw)


The RedHat install process gives two choices
   with respect to setting system time.
   Which one is appropriate for a PC164?

I think that all ARC-based systems (including PC164) must use GMT-based
time: the logic of setting time in /etc/rc.d/rc.sysinit is 
    if [ ${CLOCKMODE} = "GMT" ]; then
            clock -u -a
    else
        if [ ${CLOCKMODE} = "ARC" ]; then
            clock -A -a -u
        else
            clock -a
        fi
    fi
Therefore, teh /etc/sysconfig/clock must be "CLOCKMODE="ARC"
and the ARC time should be set to GMC/Universal time.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PC164 - 3C509 broadcasting and set time problems
@ 1997-03-03 20:10 Robert Williams
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Williams @ 1997-03-03 20:10 UTC (permalink / raw)


Robert Williams wrote:
> 
> Upon resetting my PC164 system time and rebooting
> this morning, the system fails to boot
> at the point where the network is brought up,
> and the 3C509 card broadcasts continuously,
> consuming nearly 100% of the ethernet bandwidth.
> I'm not sure these two events are connected.
> The system was working over the weekend, with
> an incorrect time setting.

I've answered one of my own questions.
The clock options are UTC and ARC.  The correct
one for the PC164 appears to be ARC, I think.
There is a file, /etc/sysconfig/clock,
that flags the appropriate setting.
Mine had somehow had both UTC and ARC set.

However, I still can't boot into multiuser mode,
level 3.  Could this be related to my previous
problem with "amd"?

The failure to boot occurs where the system
announces that it is booting to level 3, followed by:

Eth0: setting Rx mode to 1 addresses

then nothing

-- 
from Bob Williams, http://bob.usuf2.usuhs.mil/
The opinions expressed herein are those of the author, 
and are not to be construed as representative 
of the University or the Department of Defense.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PC164 - 3C509 broadcasting and set time problems
  1997-03-03 19:31 Przemek Klosowski
@ 1997-03-03 21:51 ` Michal Jaegermann
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1997-03-03 21:51 UTC (permalink / raw)


> 
> 
>    The RedHat install process gives two choices
>    with respect to setting system time.
>    Which one is appropriate for a PC164?
> 
> I think that all ARC-based systems (including PC164) must use GMT-based
> time: the logic of setting time in /etc/rc.d/rc.sysinit is 
>     if [ ${CLOCKMODE} = "GMT" ]; then
>             clock -u -a
>     else
>         if [ ${CLOCKMODE} = "ARC" ]; then
>             clock -A -a -u
>         else
>             clock -a
>         fi
>     fi
> Therefore, teh /etc/sysconfig/clock must be "CLOCKMODE="ARC"
> and the ARC time should be set to GMC/Universal time.

The above is correct if you do no want touch provided scripts, but
"must" is a bit too strong.  Another option is to edit obviously
buggy script if you are not using UTC for your time base.
In general the stuff above should read somewhat like that:

     if [ ${CLOCKBASE} = "GMT" ]; then
           GMT=" -u"
     else
           GMT=""
     fi
     if [ ${CLOCKMODE} = "ARC" ]; then
           clock -A -a $GMT
     else
           clock -a $GMT
     fi

but this requires changes in a setup process. ARC mode and GMT mode
are independent.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PC164 - 3C509 broadcasting and set time problems
@ 1997-03-04  3:15 Przemek Klosowski
  0 siblings, 0 replies; 5+ messages in thread
From: Przemek Klosowski @ 1997-03-04  3:15 UTC (permalink / raw)


Michal Jaegerman writes:

   ..buggy script if you are not using UTC for your time base.
   In general the stuff [in /etc/rc.d/rc.sysinit] should read somewhat like that:

	if [ ${CLOCKBASE} = "GMT" ]; then
	      GMT=" -u"
	else
	      GMT=""
	fi
	if [ ${CLOCKMODE} = "ARC" ]; then
	      clock -A -a $GMT
	else
	      clock -a $GMT
	fi

   but this requires changes in a setup process. ARC mode and GMT mode
   are independent.

Good point; I think this makes for a good patch suggestion for RedHat;
of course the config-panel time tool should then be changed
accordingly. In general, keeping time in UTC is better (because it is
time-zone independent, duh), unless one also uses a system that can't
deal with conversion from UTC CMOS clock (we know what those are :^)

	p

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-03-04  3:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-03 19:05 PC164 - 3C509 broadcasting and set time problems Robert Williams
  -- strict thread matches above, loose matches on Subject: below --
1997-03-03 19:31 Przemek Klosowski
1997-03-03 21:51 ` Michal Jaegermann
1997-03-03 20:10 Robert Williams
1997-03-04  3:15 Przemek Klosowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox