Down when i get date from rtc by "hwclock --hctosys"

Bhupender Saharan bhupi.saharan at gmail.com
Fri May 18 02:05:47 EST 2007


Hi Leo,

Looks like your system is unstable when the cache is enabed. It might have
nothing to do with generic RTC driver.

Can you run cachebench or another memory benchmarks tools on the system and
see if memory sub system is OK.

Regards
Bhupi


On 5/17/07, liChunlin <lichl at hotmail.com> wrote:
>
> The system is Embeded Linux with kernel 2.6.14. And the CPU is MPC8270 of
> freescale. The rtc module is "Generic /dev/rtc emulation" and "Extended RTC
> operation". And the chip of rtc is ds1338 with the interface of i2c. The
> module of i2c has been included.
> When i enable the dcache of mpc8270 and use "hwclock --hctosys" or
> "hwclock --show", the system will down. But if i disable dcache, it is ok.
> I found that when it call schedule_work(&genrtc_task) in the function
> "static inline int gen_set_rtc_irq_bit(unsigned char bit)" in file
> genrtc.c it will down.
> Can you help me?
> Thanks.
> Leo
>
>
> ------------------------------
> 中国十大热门旅游景点 了解更多信息!<http://search.msn.com/results.aspx?q=%E4%B8%AD%E5%9B%BD%E5%8D%81%E5%A4%A7%E9%A3%8E%E6%99%AF&mkt=zh-CN&form=QBRE>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070517/52d13505/attachment.htm 


More information about the Linuxppc-embedded mailing list