Re: Hibernation and time and dhcp

From: Michal Semler
Date: Thu Oct 21 2004 - 19:27:45 EST


Dne čt 21. října 2004 14:31 Denis Vlasenko napsal(a):
> On Wednesday 20 October 2004 21:45, Michal Semler wrote:
> > Hi guys,
> >
> > with 2.6.9 hibernation to disk finally works! Thanks
> > To ram it still don't work, system starts with lcd disabled - but it is
> > another story.
> >
> > I have now this problem - when I hibernate and then system is started up
> > in other company, it don't update time and shows still for example 14:00
> > - when I rehibernate for example in 20:00 - could you ask bios for
> > current time? It's better to have bad time about few seconds instead of
> > hours.
> >
> > Same problem with dhcp - it should ask for IP when rehibernate.
>
> These should be handled in userspace. You can put together
> some simple shell script to do it with (hwclock or ntpdate) and [u]dhcp*
> --
> vda

Yes, it's possible, but many programs crashes when time is moved about hours
or days. And till time they will be repaired, we should ask for time BIOS to
have little time difference.

Michal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/