Hi, * Gabor Gombas [2008-04-30 15:38]:Well, looks fine. It's edge triggered. My assumption that the T1_INT_STS must be cleared is wrong since the complete HPET code assumes edge-triggered interrupts. To use level-triggered interrupts, the HPET must be programmed in level triggered mode, i.e. the Tn_INT_TYPE_CNF bit must be set. Which is never done. Back to the original problem. Can you please watch the interrupts from the RTC until the lockup happens with something like ------------------------- 8< ----------------------------------- function get_total_irqs() { sum=0 for n in $(grep rtc /proc/interrupts | \ sed -e 's/.*://g' | \ sed -e 's/[a-zA-Z].*//g' ) ; do sum=$[$sum+$n] done echo $sum } last=$(get_total_irqs) while true ; do sum=$(get_total_irqs) echo $[$sum-$last] last=$sum sleep 1 done ------------------------- >8 ----------------------------------- Also, please send the full .config (maybe via private mail if that's too large for LKML, or upload it). Ok. Maybe don't use the patch I sent, instead use: Bernhard --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -680,6 +680,12 @@ irqreturn_t hpet_rtc_interrupt(int irq, struct rtc_time curr_time; unsigned long rtc_int_flag = 0; + if (printk_ratelimit()) + printk(KERN_DEBUG "hpet_rtc_interrupt %s%s%s\n", + (hpet_rtc_flags & RTC_UIE) ? "RTC_UIE " : "", + (hpet_rtc_flags & RTC_AIE) ? "RTC_AIE " : "", + (hpet_rtc_flags & RTC_PIE) ? "RTC_PIE " : ""); + hpet_rtc_timer_reinit(); memset(&curr_time, 0, sizeof(struct rtc_time)); --
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| David Miller | Re: [RFC/PATCH] Documentation of kernel messages |
| Tony Lindgren | [PATCH 48/90] ARM: OMAP: I2C-1 init fix for 2430 |
git: | |
| Josip Rodin | bnx2_poll panicking kernel |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
