Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

From: David Miller
Date: Tue May 22 2007 - 05:05:44 EST


From: Mikael Pettersson <mikpe@xxxxxxxx>
Date: Tue, 22 May 2007 10:40:53 +0200

> 2.6.21 works fine on my Ultra5, but with 2.6.22-rc the X
> server (from Aurora 2) fails to mmap() the PCI frame buffer
> (atyfb).
>
> I noticed a lot of PCI-related changes both in `dmesg' and
> /var/log/Xorg.0.log between 2.6.21 and 2.6.22-rc, so my
> guess is that PCI resources get broken somewhere.
>
> I'll try a bisect between 2.6.21 and 2.6.22-rc1 next, but
> I'm also willing to test patches in case anyone thinks they
> know what the fix is.

Start your bisect with the change right before this one:

commit a2fb23af1c31ad6e0c281e56d385f803229d57fa
Author: David S. Miller <davem@xxxxxxxxxxxxxxxxxxxx>
Date: Wed Feb 28 23:35:04 2007 -0800

[SPARC64]: Probe PCI bus using OF device tree.

Almost entirely taken from the 64-bit PowerPC PCI code.

This allowed to eliminate a ton of cruft from the sparc64
PCI layer.

Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

Unfortunately, if the tree works right before this change,
you can't just add this one because a subsequent fix is
needed before ultra5/ultra10 will work again, but it's
this one:

commit 01f94c4a6ced476ce69b895426fc29bfc48c69bd
Author: David S. Miller <davem@xxxxxxxxxxxxxxxxxxxx>
Date: Sun Mar 4 12:53:19 2007 -0800

[SPARC64]: Fix sabre pci controllers with new probing scheme.
...

So you could test these two commits:

deb66c4521e119442aa266553e8cbfc86eb71232
a2fb23af1c31ad6e0c281e56d385f803229d57fa

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