Messages in this thread | | | Subject | Re: 2.6.21-rc2-mm2 | From | Thomas Gleixner <> | Date | Tue, 06 Mar 2007 15:47:13 +0100 |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |