Hi Leo,<br><br>Looks like your system is unstable when the cache is enabed. It might have nothing to do with generic RTC driver.<br><br>Can you run cachebench or another memory benchmarks tools on the system and see if memory sub system is OK.
<br><br>Regards<br>Bhupi<br><br><br><div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">liChunlin</b> <<a href="mailto:lichl@hotmail.com">lichl@hotmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>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.
<br>
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. <br>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.<br>
Can you help me? <br>
Thanks.<br>Leo<br><br><br><hr>中国十大热门旅游景点 <a href="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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
了解更多信息!</a></div>
<br>_______________________________________________<br>Linuxppc-embedded mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded" target="_blank">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a><br></blockquote></div><br>