Debugging times

Dominique Goncalves dominique.goncalves at gmail.com
Sun Jul 15 10:06:09 UTC 2007


Hi,

On 7/13/07, Ivan Voras <ivoras at fer.hr> wrote:
> David Malone wrote:
>
> > Ah - that's interesting. Could you look for the comment in
> > src/sys/i386/isa/clock.c that says:
> >
> >       /* Should we set dow = -1 because some clocks don't set it correctly? */
> >
> > and add a line afterwards to say:
> >
> >       ct.dow = -1;
> >
> > and see if that helps?
>
> Yes, it does! Setting ct.dow to -1 fixes the time in a correct way.

It works also for me with qemu 0.9.0.
Thanks.

> I vote this gets committed as soon as possible :)
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>

Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."


More information about the freebsd-hackers mailing list