From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Izrbs-0006Tl-BE for garchives@archives.gentoo.org; Wed, 05 Dec 2007 10:36:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lB5AYE6O007143; Wed, 5 Dec 2007 10:34:14 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lB5AYDkJ007137 for ; Wed, 5 Dec 2007 10:34:14 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 92BB964F10 for ; Wed, 5 Dec 2007 10:34:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.189 X-Spam-Level: X-Spam-Status: No, score=-0.189 required=5.5 tests=[AWL=2.410, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zA931a2ODQnx for ; Wed, 5 Dec 2007 10:34:07 +0000 (UTC) Received: from smtp2b.orange.fr (smtp2b.orange.fr [80.12.242.144]) by smtp.gentoo.org (Postfix) with ESMTP id 90A8A648EF for ; Wed, 5 Dec 2007 10:34:06 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b04.orange.fr (SMTP Server) with ESMTP id C601E70000AC for ; Wed, 5 Dec 2007 11:34:04 +0100 (CET) Received: from [192.168.1.11] (AGrenoble-156-1-30-40.w90-37.abo.wanadoo.fr [90.37.125.40]) by mwinf2b04.orange.fr (SMTP Server) with ESMTP id 97CEE700008B for ; Wed, 5 Dec 2007 11:34:04 +0100 (CET) X-ME-UUID: 20071205103404621.97CEE700008B@mwinf2b04.orange.fr Message-ID: <47567E7F.7080806@laposte.net> Date: Wed, 05 Dec 2007 11:33:35 +0100 From: Florent Ouchet User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 To: gentoo-amd64@lists.gentoo.org Subject: [gentoo-amd64] Gentoo AMD64 + Xen + Ati drivers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 8f8b2208-be36-453e-9f94-9442ce343812 X-Archives-Hash: 6d5d99c2a20295615efc8d66e30d7176 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