Gentoo Archives: gentoo-amd64

From: Florent Ouchet <ouchet.florent@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Gentoo AMD64 + Xen + Ati drivers
Date: Wed, 05 Dec 2007 10:36:08
Message-Id: 47567E7F.7080806@laposte.net
1 Hi all,
2
3 I experienced some problems with the following combination of software:
4 - xen-sources 2.6.20-r6
5 - xen-tools 3.1.2
6 - ati-drivers 8.40.4
7 - linux 2.6.20
8 - xorg-server 1.3.0.0-r2 (build with support for fbdev, vesa and fglrx)
9
10 The system is a Dom0 of a paravirtualized system:
11 - Core 2 Duo 2.4GHz (vT enabled)
12 - 2GB RAM
13 - ATI Radeon x1300 video card
14
15 Is anyone running such a configuration with success? I have to stay with
16 the vesa driver without hardware acceleration.
17
18 First of all, the "fglrx" kernel module of ati-drivers refuse to be
19 loaded because of an inexistent symbol (flush_tlb_page) in the kernel,
20 this error is easily solved by patching
21 /usr/src/linux/arch/x86_64/kernel/smp.c (note that this patch is applied
22 to the i386 arch, why is it missing here? - worth a report to
23 xensource). After recompiling the kernel and its modules, rebooting and
24 emerging ati-drivers again the fglrx module can be loaded.
25
26 an export is missing on line 301:
27 -----------------------
28 void flush_tlb_page(struct vm_area_struct * vma, unsigned long va)
29 { xen_invlpg_mask(&vma->vm_mm->cpu_vm_mask, va); }
30 +EXPORT_SYMBOL(flush_tlb_page);
31 void flush_tlb_all(void)
32 -----------------------
33
34 After doing this, the ati-drivers don't work as expected, running "Xorg
35 -configure" raise an exception in the driver:
36
37 -----------------------
38 xenoutch / # Xorg -configure :1
39
40 X Window System Version 1.3.0
41 Release Date: 19 April 2007
42 X Protocol Version 11, Revision 0, Release 1.3
43 Build Operating System: UNKNOWN
44 Current Operating System: Linux xenoutch 2.6.20-xen-r6 #10 SMP Tue Dec 4
45 14:55:28 CET 2007 x86_64
46 Build Date: 04 December 2007
47 Before reporting problems, check http://wiki.x.org
48 to make sure that you have the latest version.
49 Module Loader present
50 Markers: (--) probed, (**) from config file, (==) default setting,
51 (++) from command line, (!!) notice, (II) informational,
52 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
53 (==) Log file: "/var/log/Xorg.1.log", Time: Wed Dec 5 11:22:43 2007
54 List of video drivers:
55 fglrx
56 fbdev
57 vesa
58 vga
59
60 Backtrace:
61 0: Xorg(xf86SigHandler+0x6d) [0x48f90e]
62 1: /lib/libc.so.6 [0x2b4d877c4680]
63 2: /lib/libc.so.6(memcpy+0x46) [0x2b4d8780a636]
64 3: /usr/lib64/xorg/modules/drivers//fglrx_drv.so(atiddxProbeMain+0xf1)
65 [0x2b4d87e3a731]
66 4: Xorg(DoConfigure+0x1f6) [0x49d2e0]
67 5: Xorg(InitOutput+0x6a2) [0x465605]
68 6: Xorg(main+0x275) [0x439aca]
69 7: /lib/libc.so.6(__libc_start_main+0xf4) [0x2b4d877b1b74]
70 8: Xorg(FontFileCompleteXLFD+0x211) [0x439039]
71
72 Fatal server error:
73 Caught signal 11. Server aborting
74
75 Aborted
76 xenoutch / #
77 --------------------------
78
79 Selecting "fglrx" in an existing /etc/X11/xorg.conf makes X server to
80 freeze (and local display unusable), all tty cannot be reached, screen
81 is black; the system can be rebooted via ssh.
82
83 Regards,
84
85 Florent
86
87 --
88 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Gentoo AMD64 + Xen + Ati drivers Florent Ouchet <ouchet.florent@×××××××.net>