On Sun, 5 Sep 2004 u3557@xxxxxxxxxx wrote:
My X server worked well until I upgrated my kernel to Linux-2.6.8: It still works with kernels up to Linux-2.6.8-pre2, but crashes with segmentation-fault on any kernel from linux-2.6.8-pre3 onward.
So far, this only happens on my AMD computer, and regardless of which video-card I use (I tried three different cards - two AGP and one PCI) and whether I configure the driver to be VESA or not, or even VGA. The exact same software however, works fine when being run on a Pentium-4.
This first happened on XFree 4.3.0, so I just installed the latest XFree 4.4.0, but it makes no difference.
I am using a plain kernel with no modules and no direct rendering, as I do not even require any fancy acceleration, just that I can get into graphics mode from time to time to view the web.
Your /proc/cpuinfo indicates you have an Athlon64, but you are running an X server binary meant for i686's. That's not likely to work.
The question then is how could it work before? The Athlon64 is designed to be fully PC/x86-compatible: it works only in 32-bit mode unless one has a 64-bit operating system that turns on the appropriate hardware bits to make it a 64-bit machine - but I don't have such an operating system, so if the Athlon was operating in 64-bit mode I could not even boot.
The fact is that the exact same program (the X server) and its supporting files, running on exactly the same hardware, was fully functional under the Linux-2.6.8-pre2 and earlier kernels and crash under kernels from Linux-2.6.8-pre3 onward, so it must be either a newly introduced kernel bug, or an old bug in the X server making wrong assumptions about some unpromised kernel behaviour.
Perhaps it would help if I could lay my hands on a binary version of the "X" program that has more debug information that I can present to this list.
Fair enough. I've looked into this a bit more. Please try the attached source patch. It assumes that the problem is due to pre3's mmap() changes.
Marc.
+----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: tsi@xxxxxxxxxxx | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 developer and VP. ATI driver and X server internals.
Attachment:
Amd64Loader.diff.gz
Description: Binary data