public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Gentoo AMD64 + Xen + Ati drivers
@ 2007-12-05 10:33 Florent Ouchet
  2007-12-08 18:27 ` Florent Ouchet
  0 siblings, 1 reply; 5+ messages in thread
From: Florent Ouchet @ 2007-12-05 10:33 UTC (permalink / raw
  To: gentoo-amd64

Hi all,

I experienced some problems with the following combination of software:
 - xen-sources 2.6.20-r6
 - xen-tools 3.1.2
 - ati-drivers 8.40.4
 - linux 2.6.20
 - xorg-server 1.3.0.0-r2 (build with support for fbdev, vesa and fglrx)

The system is a Dom0 of a paravirtualized system:
 - Core 2 Duo 2.4GHz (vT enabled)
 - 2GB RAM
 - ATI Radeon x1300 video card

Is anyone running such a configuration with success? I have to stay with 
the vesa driver without hardware acceleration.

First of all, the "fglrx" kernel module of ati-drivers refuse to be 
loaded because of an inexistent symbol (flush_tlb_page) in the kernel, 
this error is easily solved by patching 
/usr/src/linux/arch/x86_64/kernel/smp.c (note that this patch is applied 
to the i386 arch, why is it missing here? - worth a report to 
xensource). After recompiling the kernel and its modules, rebooting and 
emerging ati-drivers again the fglrx module can be loaded.

an export is missing on line 301:
-----------------------
void flush_tlb_page(struct vm_area_struct * vma, unsigned long va)
{ xen_invlpg_mask(&vma->vm_mm->cpu_vm_mask, va); }
+EXPORT_SYMBOL(flush_tlb_page);
void flush_tlb_all(void)
-----------------------

After doing this, the ati-drivers don't work as expected, running "Xorg 
-configure" raise an exception in the driver:

-----------------------
xenoutch / # Xorg -configure :1

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux xenoutch 2.6.20-xen-r6 #10 SMP Tue Dec 4 
14:55:28 CET 2007 x86_64
Build Date: 04 December 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Dec  5 11:22:43 2007
List of video drivers:
        fglrx
        fbdev
        vesa
        vga

Backtrace:
0: Xorg(xf86SigHandler+0x6d) [0x48f90e]
1: /lib/libc.so.6 [0x2b4d877c4680]
2: /lib/libc.so.6(memcpy+0x46) [0x2b4d8780a636]
3: /usr/lib64/xorg/modules/drivers//fglrx_drv.so(atiddxProbeMain+0xf1) 
[0x2b4d87e3a731]
4: Xorg(DoConfigure+0x1f6) [0x49d2e0]
5: Xorg(InitOutput+0x6a2) [0x465605]
6: Xorg(main+0x275) [0x439aca]
7: /lib/libc.so.6(__libc_start_main+0xf4) [0x2b4d877b1b74]
8: Xorg(FontFileCompleteXLFD+0x211) [0x439039]

Fatal server error:
Caught signal 11.  Server aborting

Aborted
xenoutch / #
--------------------------

Selecting "fglrx" in an existing /etc/X11/xorg.conf makes X server to 
freeze (and local display unusable), all tty cannot be reached, screen 
is black; the system can be rebooted via ssh.

Regards,

Florent

-- 
gentoo-amd64@gentoo.org mailing list



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

end of thread, other threads:[~2007-12-09 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05 10:33 [gentoo-amd64] Gentoo AMD64 + Xen + Ati drivers Florent Ouchet
2007-12-08 18:27 ` Florent Ouchet
2007-12-08 19:07   ` Beso
2007-12-09 13:56     ` Florent Ouchet
2007-12-09 14:33       ` Beso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox