|
|
发表于 2006-2-9 10:36:25
|
显示全部楼层
Timer frequency和rtc不是一回事,修改它应该没什么用
出现这个问题和中断发生的频率过高有关
drivers/char/rtc.c里的rtc_dropped_irq()函数会打印这句话
这个函数有这么一段注释
/*
* At IRQ rates >= 4096Hz, an interrupt may get lost altogether.
* (usually during an IDE disk interrupt, with IRQ unmasking off)
* Since the interrupt handler doesn't get called, the IRQ status
* byte doesn't get read, and the RTC stops generating interrupts.
* A timer is set, and will call this function if/when that happens.
* To get it out of this stalled state, we just read the status.
* At least a jiffy of interrupts (rtc_freq/HZ) will have been lost.
* (You *really* shouldn't be trying to use a non-realtime system
* for something that requires a steady > 1KHz signal anyways.)
*/ |
|