Hi, Chris:
Chris Davies escribió:
> Àngel CatalÃ
>> I have installed Debian 4.0 Etch r3 i386 in my laptop and I have a
>> strange problem with clock setting with NTP that I can't solve by my self.
>
> What kind of laptop?
>
My laptop is a HP Compaq nw8440. A month ago, this laptop, was running
Debian 4.0 r0 x64 and time worked fine. Now is running Debian 4.0 r3
i386 and time is not working properly.
>> When I boot my laptop, my clock is always +2 hour over my current time.
>
> I had a similar problem with my DELL, which was nothing to do with ntp
> (other than it refusing to run because the time was so far off) and
> the solution turned out to be to add "HWCLOCKPARS=--directisa" to the
> /etc/default/rcS file.
>
> You can confirm whether you need this fix by trying this command
> (as root):
>
> hwclock --show
>
> If you get the message, "select() to /dev/rtc to wait for clock tick
> timed out" try it again:
>
> hwclock --show --directisa
>
> If this works for you (returning within a second with a time) then you
> need the fix.
>
> Chris
>
I have tryed what you said, and when I typed "hwclock --show" I have got
that message, and for "hwclock --show --directisa" it has worked, so I
hacked /etc/default/rcS, but it still is failing.
Thanks Chris.