Re: lguest rebroken in 2.6.22-rc3-mm1

From: Andi Kleen
Date: Mon Jun 04 2007 - 14:12:53 EST



> >
> > Looks like this one got lost in rc3-mm1.
>
> Andi said that he fixed the zero-divide by other means?

I determined it cannot happen in my source tree. When notsc
is passed TSC CPUID is cleared and sched-clock works.

I suspect what happens is that lguest forgets to clear the TSC cpuid
bit when it disables TSC. Then the TSC frequency doesn't get computed
and sched-clock can divide by zero.That's purely a lguest bug that needs
to be fixed in lguest with a
clear_bit(X86_FEATURE_TSC, &boot_cpu_data.x86_capability)
somewhere

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/