Re: stradis oopses on modprobe.

From: Dave Jones
Date: Tue Jan 24 2006 - 01:21:52 EST


On Tue, Jan 24, 2006 at 01:01:03AM -0500, Dave Jones wrote:

> The backtrace is a bit of a mess, but what seems to happen is that we're oopsing
> on the saawrite(0xffff0000, SAA7146_MC1) in init_saa7146
> saawrite does a writel((dat), saa->saa7146_mem+(adr)), and as we've already
> dereferenced 'saa' a few lines above, the oops is due to saa7146_mem being NULL
> however that should be set up by configure_saa7146, which gets called in stradis_probe()
> prior to calling init_saa7146.
>
> *puzzled*.

This came from Jiri's PCI probing cleanups in 9ae82293ff3a3057d939b4f56d57eeea2f91bbec

There's a memset in init_saa7146 now, which wipes out the whole struct,
so we lose track of saa7146_mem

Jiri ?

Dave

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