Re: 2.6.21-rc2-mm2

Thomas Gleixner
2007-03-06T14:41:14Z

On Wed, 2007-03-07 at 00:24 +1100, Con Kolivas wrote:
> > printk(KERN_INFO "Time: %s clocksource has been installed.\n",
> > clock->name);
> > }
> >
> > So clock seems to be NULL, but was accessed before
> > clocksource_calculate_interval() as well.
>
> It seems to be specifically tripping at c->mult after reading c->shift if I'm
> reading it correctly.
>
> Note again, this is qemu, not real hardware and it will likely be giving very
> unrealistic values for timer calibrations.

I know, but this does not really explain why the

tmp += c->mult/2;

results in a NULL pointer access after

tmp <<= c->shift;

Does disassembling the code in question give some info ? You might also
try to look with GDB at it.

tglx