Skip to contentSkip to conversation

Realtime Kernel Slows My Clock

DISCUSSION Chuck Martin 2 participants 4 messages Mar 3, 2006 – Mar 4, 2006

lore
Share & tools
lore
#0 lore raw

I've recently been trying to compile a realtime kernel for audio work, and am having a problem. The clock seems to run very slow, causing my time to be off. Commands with a delay are also slowed from 10 to 30 times what they should be. For example, "sleep 1" will sometimes take up to thirty seconds.

I originally tried both patch-2.6.15-rt12 and patch-2.6.15-rt16 applied to both kernel 2.6.15 and 2.6.15.2, and after having no luck with them, I tried patch-2.6.15-rt1 applied to kernel 2.6.15, and all of them gave the same results, but both of these kernels work fine unpatched. I've since tried a number of older patched kernels, and it seems the problem originated with patch-2.6.13-rt13 (patch-2.6.13-rt12 does not exhibit the problem).

I've brought this up on the linux-audio-users mailing list, and no one seems to know what the problem might be. It was suggested that I post my problem to this list (and CC Ingo Molnar), which is why I'm here. Does anyone have any ideas what the problem might be? I'm not subscribed to the list (I would, but I don't know if I want that much e-mail at the moment), so please CC me with any replies. Thanks.

Chuck

#1 lore raw
Quoted 5 lines · Chuck Martin

I've recently been trying to compile a realtime kernel for audio work, and am having a problem. The clock seems to run very slow, causing my time to be off. Commands with a delay are also slowed from 10 to 30 times what they should be. For example, "sleep 1" will sometimes take up to thirty seconds.

Please post your kernel .config. Is this a dual core AMD?

Lee

#2 lore raw
Quoted 8 lines · Lee Revell rlrevell-at-joe-job.com |LKML|
Quoted 5 lines · Chuck Martin

I've recently been trying to compile a realtime kernel for audio work, and am having a problem. The clock seems to run very slow, causing my time to be off. Commands with a delay are also slowed from 10 to 30 times what they should be. For example, "sleep 1" will sometimes take up to thirty seconds.

Please post your kernel .config. Is this a dual core AMD?

No, it's a pentium III. Which kernel would you like the .config from? I have them for 2.6.13, 2.6.14, and 2.6.15 (patched, of course).

Chuck

#3 lore raw
Quoted 8 lines · Chuck Martin
Quoted 7 lines · Lee Revell rlrevell-at-joe-job.com |LKML|
Quoted 5 lines · Chuck Martin

I've recently been trying to compile a realtime kernel for audio work, and am having a problem. The clock seems to run very slow, causing my time to be off. Commands with a delay are also slowed from 10 to 30 times what they should be. For example, "sleep 1" will sometimes take up to thirty seconds.

Quoted 4 lines
Quoted 1 line

Please post your kernel .config. Is this a dual core AMD?

No, it's a pentium III. Which kernel would you like the .config from? I have them for 2.6.13, 2.6.14, and 2.6.15 (patched, of course).

The most recent one (you can post it on the web or mail it to me, no need to post it to the list)

Lee