linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Jon Erick Ween" <jween@som.llu.edu>
To: <linuxppc-dev@lists.linuxppc.org>
Cc: <schmitz@opal.biophys.uni-duesseldorf.de>
Subject: Xfree86-4.0.1, Lombard, Mach64 driver, X-server Crash
Date: Wed, 27 Sep 2000 10:22:55 -0700	[thread overview]
Message-ID: <B5F77AFE.62A%jween@som.llu.edu> (raw)


>> Can anyone tell me if there are any problems with overlapping memory
>> assignments for the ATY Mach64 chip on a Lombard PB? I'm having trouble
>> getting my 4.0.1 Xserver to detect the device although the system seems to
>> detect the chip alright at bootup. I've been through the Xpert list at
>> XFree86 and we've groud to a halt.

>With a 2.2 kernel:
>You need to use yaboot, or fix up the overlapping PCI resources allocated
>by OF or MacOS yourself when using BootX. I've posted a diff to
>debian-powerpc that  remaps the MMIO region outside the VRAM region,
>without any sanity checks to make sure that region hadn't been mapped
>previously. It's a hack, and won't ever make it into the official kernel.
>
>With 2.3:
>Use Geert's PCI resource allocation patch, posted here a couple of months
>back. Might be in 2.4.0pre already. Or, again, use yaboot.

>BTW: in my case, the X server had no problem _detecting_ the chip, but
>helpfully removed the PCI mapping for the VRAM region. The resulting
>invalid access to MMIO registers aliased at the end of the VRAM region
>(that's where atyfb puts them) crashed the kernel hard. If you get away
>without a kernel crash, your problem might be different. Using yaboot
>instead of BootX is a good idea nonetheless.

OK, I've switched from BootX to Yboot using a stable 2.2.17 kernel and the
most recent XF86-4.0.1 and ati driver sources I can find. I seem to get
different PCI assignments to the ATI chip on boot-up (looking at dmesg
compared with using BootX) but the X-server still doesn't detect the chip
with "startx" or "XFree86" and exits with a "device not found" and "no
screens" error. Any further suggestions?

Thanks

Jon

--
Jon Erik Ween, MD

Cognitive and Cerebrovascular Neurology

Assistant Professor
Loma Linda University School of Medicine

Director, Stroke Program
Loma Linda University Medical Center


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-09-27 17:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-27 17:22 Jon Erick Ween [this message]
2000-09-27 17:42 ` Xfree86-4.0.1, Lombard, Mach64 driver, X-server Crash Olaf Hering
2000-09-27 18:17   ` Michael Schmitz
2000-09-27 19:13     ` Jon Erick Ween
2000-09-27 19:13       ` Michael Schmitz
2000-09-27 19:21       ` Michael Schmitz
2000-09-28 16:51         ` Jon Erick Ween
2000-09-28 18:14           ` Michael Schmitz
2000-09-27 20:35       ` Benjamin Herrenschmidt
2000-09-28  3:50         ` Takashi Oe
2000-09-28 11:08           ` Geert Uytterhoeven
2000-09-28 23:13             ` Takashi Oe
2000-09-29 11:05               ` Geert Uytterhoeven
2000-09-29 16:27                 ` Takashi Oe
2000-10-01 11:30                   ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2000-09-28  4:41 Jon Erick Ween
2000-09-28 19:49 Jon Erick Ween

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B5F77AFE.62A%jween@som.llu.edu \
    --to=jween@som.llu.edu \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=schmitz@opal.biophys.uni-duesseldorf.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).