[<prev] [next>] [day] [month] [year] [list]
Message-ID: <e2e108260804101102tfc21271id2b71429ac5b5b6@mail.gmail.com>
Date: Thu, 10 Apr 2008 20:02:58 +0200
From: "Bart Van Assche" <bart.vanassche@...il.com>
To: "Jack Harvard" <jack.harvard@...glemail.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: gettimeofday() resolution in Linux?
On Thu, Apr 10, 2008 at 7:57 PM, Jack Harvard
<jack.harvard@...glemail.com> wrote:
> On Thu, Apr 10, 2008 at 6:41 PM, Bart Van Assche
> <bart.vanassche@...il.com> wrote:
> > On Thu, Apr 10, 2008 at 5:59 PM, Jack Harvard
> > <jack.harvard@...glemail.com> wrote:
> >
> > > Here is an example of gettimeofday results, the time rolls back sometimes.
> >
> > If the result of gettimeofday() rolls back, and there is no process on
> > your system that sets the time (like ntpd or hwclock --hctosys) then
> > this is a kernel bug. Which kernel version are you using, and which
> > kernel patches have been applied to that kernel ?
>
> It's an embedded system with an ARM processor, uname -a give the following info:
> Linux (none) 2.6.21-arm1-t2_1 #20 Thu Apr 10 15:20:46 BST 2008 armv6l unknown
Where did the kernel sources come from -- from kernel.org or from an
company that modified the kernel ? Most companies that offer support
for Linux on embedded devices modify the kernel with e.g. hard
real-time support and high resolution timers. It is easy to introduce
bugs by doing so.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists