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@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



中国十大热门旅游景点 了解更多信息!

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded