Skip to contentSkip to conversation

rtc: lost some interrupts at 1024Hz.

Qemu-devel Brad Campbell 2 participants 3 messages Jul 10, 2006 – Jul 11, 2006

lore
Share & tools
lore
#0 lore raw

G'day all,

Just wonder if anyone else is seeing this. I've not had a chance to track it down or try to debug it yet.

I'm running latest QEMU CVS with kqemu and the -no-tsc patch on a vanilla 2.6.17.3 kernel with suspend2.

The VM behaves perfectly until I do a suspend/resume of the host. When the machine comes back, most of the time (not all the time however) it ends up flooding my logs with this message.

Jul  8 17:26:03 localhost kernel: [43299223.910000] rtc: lost some interrupts at 1024Hz.
Jul  8 17:26:03 localhost kernel: [43299223.930000] rtc: lost some interrupts at 1024Hz.
Jul  8 17:26:03 localhost kernel: [43299223.950000] rtc: lost some interrupts at 1024Hz.
Jul  8 17:26:03 localhost kernel: [43299223.970000] rtc: lost some interrupts at 1024Hz.

Of course if I shutdown/reboot the VM the problem goes away. I've seen this before but it's been a while from memory. I'm running a vanilla 2.6.17.3 kernel in the guest booted with GRUB and both host and guest are configured with HZ=100.

I seem to recall mplayer does the same thing if I leave something playing over a suspend/resume, but I've not had a chance to look at it further. It's pretty reproducible here with qemu anyway.

This is about the only remaining thing that is preventing me leaving VM's up over suspend/resume now. Other than that, it's all good.

I'll probably get to looking at it in the next couple of weeks if nobody has any pointers. Brad

Signature · 3 lines
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
#1 lore raw

It seems to be a host kernel problem.

Regards,

Fabrice.

Quoted 22 lines · Brad Campbell

G'day all,

Just wonder if anyone else is seeing this. I've not had a chance to track it down or try to debug it yet.

I'm running latest QEMU CVS with kqemu and the -no-tsc patch on a vanilla 2.6.17.3 kernel with suspend2.

The VM behaves perfectly until I do a suspend/resume of the host. When the machine comes back, most of the time (not all the time however) it ends up flooding my logs with this message.

Jul  8 17:26:03 localhost kernel: [43299223.910000] rtc: lost some interrupts at 1024Hz.
Jul  8 17:26:03 localhost kernel: [43299223.930000] rtc: lost some interrupts at 1024Hz.
Jul  8 17:26:03 localhost kernel: [43299223.950000] rtc: lost some interrupts at 1024Hz.
Jul  8 17:26:03 localhost kernel: [43299223.970000] rtc: lost some interrupts at 1024Hz.

Of course if I shutdown/reboot the VM the problem goes away. I've seen this before but it's been a while from memory. I'm running a vanilla 2.6.17.3 kernel in the guest booted with GRUB and both host and guest are configured with HZ=100.

I seem to recall mplayer does the same thing if I leave something playing over a suspend/resume, but I've not had a chance to look at it further. It's pretty reproducible here with qemu anyway.

This is about the only remaining thing that is preventing me leaving VM's up over suspend/resume now. Other than that, it's all good.

I'll probably get to looking at it in the next couple of weeks if nobody has any pointers. Brad

#2 lore raw
Quoted 2 lines · Fabrice Bellard

It seems to be a host kernel problem.

It is a host kernel problem. The kernel does not save/restore the config of the periodic interrupt timer over a suspend/resume cycle. I'm having a cursory look into it.

Brad

Signature · 3 lines
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams