Re: 2.6.13: Crash in Yenta initialization

From: Andreas Koch
Date: Tue Sep 13 2005 - 07:38:24 EST


Igor,

I just had a chance to do some more testing, and the crash even occurs
in 2.6.13-rc2. I haven't had a chance to get serial console logs yet,
but I assume they will turn out similarly to the ones captured on
2.6.13 (glancing at the text as it scrolled by). So, something must
have changed between 2.6.12-rc6+patches and 2.6.13-rc2 (including the
patches).

Is there anything specific you want me to look for?

Andreas


On Sat, Sep 03, 2005 at 10:34:01PM +0400, Ivan Kokshaysky wrote:
> On Sat, Sep 03, 2005 at 02:45:08AM +0200, Andreas Koch wrote:
> > crucial part seem to be the different bridge initialization sections:
>
> Indeed.
>
> > 2.6.12-rc6 + Ivan's patches:
> ...
> > PCI: Bus 7, cardbus bridge: 0000:06:09.0
> > IO window: 00006000-00006fff
> > IO window: 00007000-00007fff
> > PREFETCH window: 82000000-83ffffff
> > MEM window: 8c000000-8dffffff
> > PCI: Bus 11, cardbus bridge: 0000:06:09.1
> > IO window: 00008000-00008fff
> > IO window: 00009000-00009fff
> > PREFETCH window: 84000000-85ffffff
> > MEM window: 8e000000-8fffffff
> > PCI: Bus 15, cardbus bridge: 0000:06:09.3
> ...
> > ... Versus the much shorter output from 2.6.13
> ...
> > PCI: Bus 7, cardbus bridge: 0000:06:09.0
> > IO window: 00004000-000040ff
> > IO window: 00004400-000044ff
> > PREFETCH window: 82000000-83ffffff
> > MEM window: 88000000-89ffffff
> > PCI: Bridge: 0000:00:1e.0
>
> It's mysterious.
> So 2.6.13 doesn't see cardbus bridge functions 06:09.1 and 06:09.3,
> which means that these devices are not on the per-bus device list.
> OTOH, they are still visible on the global device list, since yenta
> driver found them. No surprise that it crashes with some uninitialized
> pointer.
>
> I'd suspect some change in PCI probing code between 2.6.12-rc6 and
> 2.6.13, but so far I'm unable to find what it was...
>
> Maybe you could try 2.6.12 release and 2.6.13-rc kernels to see where
> it breaks?
> (Note that the PCI setup patches that you're using went into 2.6.13-rc2.)
>
> Ivan.

Attachment: pgp00000.pgp
Description: PGP signature