linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Xfree86-4.0.1, Lombard, Mach64 driver, X-server Crash
@ 2000-09-27 17:22 Jon Erick Ween
  2000-09-27 17:42 ` Olaf Hering
  0 siblings, 1 reply; 17+ messages in thread
From: Jon Erick Ween @ 2000-09-27 17:22 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: schmitz


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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Xfree86-4.0.1, Lombard, Mach64 driver, X-server Crash
@ 2000-09-28  4:41 Jon Erick Ween
  0 siblings, 0 replies; 17+ messages in thread
From: Jon Erick Ween @ 2000-09-28  4:41 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Jon Erick Ween, linuxppc-dev


Benjamin Herrenschmidt <bh40@calva.net> wrote:
>>Here's a copy of my XF86Config file.
>>
>>Two other minor nuisances:
>>
>>Since using yaboot, my console cursor has disappeared. Is this an OF or a

>>yaboot problem? It's very hard to navigate in vi to edit anything
(.config
>>files for one thing) without a cursor!
>
>Completely ? Or does it appear with different colors depending on the VC
>you are on ? I've seen such bug appear here or there but never took the
>time to track it down...

No colors, no blinking no nothing, just blackness,- apart from the text
that prints out nicely. So, as long as you don't have to go back and insert
(in an editor, eg) things work OK. But, to edit a Config file to get it
back, I don't know exactly what to do. All this is in an attempt to get
XF86-4 to work, so I don't have a GUI "fall-back" ;->


>I suspect an atyfb problem ;)

I had no problem with my 2.2.17 kernel build booting from BootX. atyfb is
generic, right?

>
>>Also, I can't figure out how to uninstall BootX. Throwing it away under
>>MacOS doesn't seem to help.
>
>Remove the bootx extension that is in your MacOS Extensions folder. it
>should appear near the top of the list when vieweing them by name.
>
>Ben.
>


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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Xfree86-4.0.1, Lombard, Mach64 driver, X-server Crash
@ 2000-09-28 19:49 Jon Erick Ween
  0 siblings, 0 replies; 17+ messages in thread
From: Jon Erick Ween @ 2000-09-28 19:49 UTC (permalink / raw)
  To: Michael Schmitz, Jon Erick Ween
  Cc: Michael Schmitz, Olaf Hering, linuxppc-dev


Michael Schmitz <schmitz@mail.biophys.uni-duesseldorf.de> wrote:
>> I tried the changes you suggested, no difference. (I couldn't figure out

>> what you meant by "layout at the end.", was there more to the email that

>> didn't get through?)
>
>I meant move the first section (server layout IIRC) to the end of the
>file. Nothing complicated.

OK, I'll try this.

>> But, honestly, I can't see why these changes should influence whether or
not
>> the Xserver detects the video device. That seems to be the main problem.

>> It's looking for a particular device at a particular memory address
>> (presumably specified by the "ati" driver file) and is not finding it. I

>
>Neither do I, and it works perfectly for me ...
>
>I can send you my config if nothing else helps.

Well, I recompiled the server and reinstalled. Now it doesn't exit with an
error, it just hangs, requiring a hard reboot. Looking at the XFree86.0.log
file it seems to be hanging on the ati probe step, suggesting that it finds
the device finally. Previous lines inform of reassigning pci memory
overlaps, but there are no errors. Maybe if I tried your config file and
modified for my ati driver?

Jon


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2000-10-01 11:30 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-27 17:22 Xfree86-4.0.1, Lombard, Mach64 driver, X-server Crash Jon Erick Ween
2000-09-27 17:42 ` 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

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).