Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: X server through the xsrc sets on PowerBook G4 with NVidia card
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Mar 21, 2010, at 7:46 PM, Taylor R Campbell wrote:
Date: Sun, 21 Mar 2010 19:29:35 -0400
From: Michael <macallan%netbsd.org@localhost>
Probably Yet Another Dumbass Linuxism - unlike NetBSD Linux lets you
map unused PCI space, and apparently the driver doesn't bother
checking if the mmap() succeeded. What we need is the pcictl dump
output for the graphics chip ( or alternatively, your /var/log/Xorg.
0.log, it should provide the relevant information as well ), I'd
almost bet the driver tries to map more than the graphic chip's BARs
cover.
$ pcictl pci0 list
Base address register at 0x10
type: 32-bit nonprefetchable memory
base: 0x91000000, not sized
Base address register at 0x14
type: 32-bit prefetchable memory
base: 0x94000000, not sized
Base address register at 0x18
type: 32-bit prefetchable memory
base: 0x00000000, not sized
vs.
1067 1 Xorg CALL mmap(0,0x1000000,3,1,7,0,0,0x91000000)
hrm, there goes that theory.
I don't really see a good reason why the mmap() call would fail,
unless you're using some odd and old kernel, or your X packages are
significantly newer then the kernel. Please check if your kernel's
pci_usrreq.c is version 1.16.6.3, or if it's newer than 9/16/2009.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBS60l1MpnzkX8Yg2nAQJXRAf8DwXMOv7nq+LN/F5QCdxTP00vTJoKuRxt
rBVfQqKSCBU9BP0SL7zpqUZgmEn0iLYU3PrkHlCn9pVnGhEJNRC0R0I5qiP+JpeD
YR2yOfCC2h28FQuoDN2T0qXr3yg/nIIYjt8qhT28tzliGigZThdFiU6Y68s3u+sU
uNgiIqIrvbOd1IUL9mwRCLH6a4lDNVkuxi0eSFaWUrXvAc/heGKM1mU9AhlUmaM9
P4mgXGhfDfZ2vLxowhLXQG2EZzBrIjwTn4QcKf5/3igrrs6+RLfz8GMPO5a3EKGw
r8cqY4rQOKJ1QYJsZb0M1SJn5USYkwQ2DUQBWxlm1jrhZm/iYmBJ/g==
=PI53
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index