Re: 2.6.39 crashes BUG: unable to handle kernel NULL pointerdereference at 000000000000042 .. cmos_checkintr+0x4d/0x55 under Xen as PVguest.

From: Konrad Rzeszutek Wilk
Date: Tue Mar 22 2011 - 10:39:04 EST


> > No. 2.6.38 vaniall works great.
>
> Ok. Hrm.
>
> > > Any insight there?
> >
> > I hoped you might have :-)
>
> Could you help me understand where in the probe logic xen bombs out of
> the cmos code?

Sure. The issue is that rtc_update_irq calls schedule_work with rtc->irqwork
which has not been initialized. The reason for that is that rtc_device_register
has never been called.. uh wait, that does not make sense, it is called in
cmos_do_probe. Hmm, let get find out exactly on which variable queue_work_on
bombs out on.

--
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/