Skip to contentSkip to conversation

jiffies as clocksource kills box

clocksource [email protected] 1 participant 1 message Feb 2, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

I have a patch pending for the PIT issue. Will add jiffies to this as well.

yes, please.
while trying to analyze a timer issue and learning about that timer stuff, i "killed" my box twice because i didn`t know that "echo jiffies|pit > current_clocksource" is a no-no with dynticks. this happened with vendor kernel and thought i hit a bug, so i tried vanilla but.....same issue.

not a big one, but that patch would be a time-saver for those who don`t know...

roland

Quoted 10 lines
Quoted 5 lines

Per $subject, echo jiffies > current_clocksource pretty thoroughly kills my P4 box, and does so with every kernel I have (2.6.22->present). I can drive the box via mouse clicks and poke around, but trying to select another clocksource thereafter is nogo.. cat current_clocksource emits jiffies, and box remains comatose unless prodded.

I guess your box has high resolution timers and/or dynamic ticks enabled. In that case we really can not switch to jiffies. We also have to prevent PIT from being selected.

Quoted 8 lines

I have a patch pending for the PIT issue. Will add jiffies to this as well.

We'll fix that in .25 as it requires root user interaction and does not show up magically.

Thanks,
tglx

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066