lkml.org 
[lkml]   [2006]   [Jan]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 24 Jan 2006 01:17:21 -0500
FromDave Jones <>
SubjectRe: stradis oopses on modprobe.
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-24 06:24    [from the cache]
©2003-2008