Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: Matt Turner <mattst88@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: select() to /dev/rtc0 to wait for clock tick timed out
Date: Fri, 19 Aug 2011 13:34:30 -0700	[thread overview]
Message-ID: <1313786070.2970.144.camel@work-vm> (raw)
In-Reply-To: <CAEdQ38H5NC6B+T=gsF4-8Ue2DA=rfrFCi_i+RKC-=DFijjK2=g@mail.gmail.com>

On Fri, 2011-08-19 at 16:06 -0400, Matt Turner wrote:
> Nope, just hangs.
> 
> Current RTC date/time is 19-8-2011, 00:20:51.
> Alarm time now set to 00:20:56.
> Waiting 5 seconds for alarm...

Ok. That confirms the alarm irq isn't working.

> Would it at least help if I booted 2.6.37 to confirm that this test
> program works there? I'd hate to waste a bunch of your time only to
> find out that it's a problem with my patches.

Yea, that's probably a good idea.

>From there we can instrument the code to see why the alarm irq isn't
working.

Thanks again for the testing!
-john

WARNING: multiple messages have this Message-ID (diff)
From: john stultz <johnstul@us.ibm.com>
To: Matt Turner <mattst88@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: select() to /dev/rtc0 to wait for clock tick timed out
Date: Fri, 19 Aug 2011 13:34:30 -0700	[thread overview]
Message-ID: <1313786070.2970.144.camel@work-vm> (raw)
Message-ID: <20110819203430.RHSHEyO1wOD3IcCvU4lOptEy8J2TYGwpvVSHEDDBMbw@z> (raw)
In-Reply-To: <CAEdQ38H5NC6B+T=gsF4-8Ue2DA=rfrFCi_i+RKC-=DFijjK2=g@mail.gmail.com>

On Fri, 2011-08-19 at 16:06 -0400, Matt Turner wrote:
> Nope, just hangs.
> 
> Current RTC date/time is 19-8-2011, 00:20:51.
> Alarm time now set to 00:20:56.
> Waiting 5 seconds for alarm...

Ok. That confirms the alarm irq isn't working.

> Would it at least help if I booted 2.6.37 to confirm that this test
> program works there? I'd hate to waste a bunch of your time only to
> find out that it's a problem with my patches.

Yea, that's probably a good idea.

From there we can instrument the code to see why the alarm irq isn't
working.

Thanks again for the testing!
-john

  reply	other threads:[~2011-08-19 20:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  4:16 select() to /dev/rtc0 to wait for clock tick timed out Matt Turner
2011-08-19 17:23 ` john stultz
2011-08-19 18:07 ` john stultz
2011-08-19 19:41   ` Matt Turner
2011-08-19 19:59     ` john stultz
2011-08-19 20:06       ` Matt Turner
2011-08-19 20:34         ` john stultz [this message]
2011-08-19 20:34           ` john stultz
2011-08-19 20:56           ` Matt Turner
2011-08-19 21:21             ` john stultz
2011-08-19 21:48               ` Matt Turner
2011-08-25 17:30                 ` Matt Turner
2011-08-26 16:05                   ` Atsushi Nemoto
2011-12-30  8:31       ` Xiangfu Liu
2012-03-16  8:53         ` Xiangfu Liu
2012-03-17  1:10         ` John Stultz
2012-03-18  7:03           ` Xiangfu Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313786070.2970.144.camel@work-vm \
    --to=johnstul@us.ibm.com \
    --cc=linux-mips@linux-mips.org \
    --cc=mattst88@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox