lkml.org 
[lkml]   [2006]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 07:24    [W:0.062 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site