All of lore.kernel.org
 help / color / mirror / Atom feed
  • * Re: Crash in RTC
           [not found] <CAPMcbCp+wRecC+WPTDJyyLLWbybnAO-W40i8rRZFDGqRtBvfdg@mail.gmail.com>
           [not found] ` <CAPMcbCrySmarW0GPzvSx6ZwknPK5gKJmADM9G6xTJvBHDT4o3Q@mail.gmail.com>
    @ 2023-01-30  8:31 ` Konstantin Kostiuk
      1 sibling, 0 replies; 2+ messages in thread
    From: Konstantin Kostiuk @ 2023-01-30  8:31 UTC (permalink / raw)
      To: Paolo Bonzini, Michael S. Tsirkin; +Cc: QEMU, Vadim Rozenfeld
    
    [-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
    
    ping
    
    On Wed, Aug 24, 2022 at 5:37 PM Konstantin Kostiuk <kkostiuk@redhat.com>
    wrote:
    
    > Hi Michael and Paolo,
    >
    > I write to you as maintainers of mc146818rtc.c. I am working on bug
    > https://bugzilla.redhat.com/show_bug.cgi?id=2054781
    > and reproduced it on the current master branch.
    >
    > I added some print at line 202 (before assert(lost_clock >= 0),
    > https://gitlab.com/qemu-project/qemu/-/blob/master/hw/rtc/mc146818rtc.c#L202)
    > and got the following values:
    >
    > next_periodic_clock, old_period, last_periodic_clock, cur_clock,
    > lost_clock, current_time
    > 54439076429968, 32, 54439076429936, 54439076430178, 242,
    > 1661348768010822000
    > 54439076430224, 512, 54439076429712, 54439076430188, 476,
    > 1661348768011117000
    > 54439076430224, 32, 54439076430192, 54439076429884, -308,
    > 1661348768001838000
    >
    > The current_time value in the last print is lower than in the previous one.
    > So, the error occurs because time has gone backward.
    >
    > I think this is a possible situation during time synchronization.
    > My question is what should we do in this case?
    >
    > Best Regards,
    > Konstantin Kostiuk.
    >
    
    [-- Attachment #2: Type: text/html, Size: 1690 bytes --]
    
    ^ permalink raw reply	[flat|nested] 2+ messages in thread

  • end of thread, other threads:[~2023-01-30  8:32 UTC | newest]
    
    Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <CAPMcbCp+wRecC+WPTDJyyLLWbybnAO-W40i8rRZFDGqRtBvfdg@mail.gmail.com>
         [not found] ` <CAPMcbCrySmarW0GPzvSx6ZwknPK5gKJmADM9G6xTJvBHDT4o3Q@mail.gmail.com>
         [not found]   ` <CAPMcbCrtGETc-nKmWHHhJGx0hiAO3Yj0Lzo9sVa_W3E8eA45Rg@mail.gmail.com>
         [not found]     ` <CAKiOO4unENQQHp7w7MUUdTStyBS7ZFi8wFKWtpe10_GGqg1URQ@mail.gmail.com>
    2022-10-27  7:49       ` Crash in RTC Konstantin Kostiuk
    2023-01-30  8:31 ` Konstantin Kostiuk
    

    This is an external index of several public inboxes,
    see mirroring instructions on how to clone and mirror
    all data and code used by this external index.