lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 30 May 2007 21:33:18 +0200 (MEST)
From:	Mikael Pettersson <mikpe@...uu.se>
To:	davem@...emloft.net, mikpe@...uu.se
Cc:	linux-kernel@...r.kernel.org, sparclinux@...r.kernel.org
Subject: Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

On Tue, 22 May 2007 02:05:34 -0700 (PDT), David Miller <davem@...emloft.net> wrote:
> From: Mikael Pettersson <mikpe@...uu.se>
> 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@...set.davemloft.net>
> 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@...emloft.net>
> 
> 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@...ra5.davemloft.net>
> Date:   Sun Mar 4 12:53:19 2007 -0800
> 
>     [SPARC64]: Fix sabre pci controllers with new probing scheme.

You were spot on. 2.6.21 + patches up to but not including
the first one above works. Adding that one gave me a kernel
that wouldn't boot (hung after "uncompressing kernel").
Adding the second one above gave me a kernel that booted, but
where X failed to mmap() the frame buffer as I described.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ