Re: select() to /dev/rtc0 to wait for clock tick timed out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 19, 2011 at 2:07 PM, john stultz <johnstul@xxxxxxxxxx> wrote:
> On Fri, 2011-08-19 at 00:16 -0400, Matt Turner wrote:
>> Hi John,
>>
>> I just sent a patch series to linux-mips@ that enables the RTC on a
>> particular Broadcom MIPS motherboard (BCM91250A SWARM). The RTC is an
>> M41T80.
>>
>> When I first found the patchset (it was originally sent a a few years
>> ago) and applied it to 2.6.37, it worked perfectly.
>>
>> Applied to 3.x (and I think even 2.6.38) I get the following when I run hwclock:
>>
>> # hwclock --systohc
>> select() to /dev/rtc0 to wait for clock tick timed out
>
> So do alarm interrupts actually work on the hardware?
>
> The rtc-m41t80.c driver looks like it should support them ok.
>
> Does the test program at the end of Documentation/rtc.txt do much?
>
> thanks
> -john

Counting 5 update (1/sec) interrupts from reading /dev/rtc0:

... and then it doesn't count.

Would it help if I tried to bisect this? (Is there an easy way to
bisect 2.6.37..master with my patches applied to each iteration?)

Thanks,
Matt



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux