From owner-freebsd-questions@FreeBSD.ORG Fri Aug 15 15:34:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9D6920E for ; Fri, 15 Aug 2014 15:34:11 +0000 (UTC) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id 5CCB82EE8 for ; Fri, 15 Aug 2014 15:34:10 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id f3Wy1o005516WCc013Wzyy; Fri, 15 Aug 2014 16:30:59 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=ANQ+opto c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=_gelNhxkGRwA:10 a=KCMKeSVDv8UA:10 a=C5BsU1_K3_kA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=RDwDGcU7sK2cpLBwVSIA:9 a=wPNLvfGTeEIA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.83) (envelope-from ) id 1XIJT0-0000gT-6Z for freebsd-questions@freebsd.org; Fri, 15 Aug 2014 16:30:58 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Fri, 15 Aug 2014 16:30:57 +0100 Message-ID: <1884719.AVqlqasO54@curlew.lan> User-Agent: KMail/4.12.5 (FreeBSD/9.1-RELEASE-p17; KDE/4.12.5; amd64; ; ) In-Reply-To: <53EC8763.7060708@gmail.com> References: <2185120.2ReaZYee1X@curlew.lan> <53EC8763.7060708@gmail.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: New xorg fails with "module ABI major version (6) doesn't match the server's version (12)" Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2014 15:34:12 -0000 On Thursday 14 August 2014 10:54:43 Jamie Griffin wrote: > This is simple to fix - run 'portmaster xf86-' and it will rebuild > the drivers beginning with xf86- and will then match the servers > version. > > For some reason when building the ports for new xorg the drivers > built and installed are for an older version of xorg server as > you've seen when checking pkg info. Thanks, that fixed it. The odd thing is that neither pkg version nor portmaster gave any indication that the drivers were out of date. All the packages for xorg were installed in a single run of pkg install so I wouldd have expected the new repository to have supplied all the relevant drivers. Portmaster just re-installed the drivers rather than upgrading them. ################################## curlew:/root# portmaster xf86-input-mouse xf86-video-vesa xf86-video- nv xf86-input-keyboard ===>>> Working on: xf86-input-mouse-1.9.0_3 xf86-video-vesa-2.3.3_3 xf86-video-nv-2.1.20_4 xf86-input-keyboard-1.8.0_2 [snip] ===>>> The following actions were performed: Installation of devel/pkgconf (pkgconf-0.9.6_1) Installation of devel/xorg-macros (xorg-macros-1.19.0) Installation of x11/glproto (glproto-1.4.17) Installation of x11/resourceproto (resourceproto-1.2.0) Installation of x11/xf86driproto (xf86driproto-2.1.1) Re-installation of xf86-input-mouse-1.9.0_3 Re-installation of xf86-video-vesa-2.3.3_3 Re-installation of xf86-video-nv-2.1.20_4 Re-installation of xf86-input-keyboard-1.8.0_2 ################################## But I still don't understand why pkg install failed to get the drivers from the FreeBSD_new_xorg repository which does appear to have them. ################################## curlew:/root# pkg rquery -r FreeBSD_new_xorg "%n %v" xf86-input-mouse\ ? xf86-video-vesa xf86-video-nv xf86-input-keyboard xf86-input-mouse 1.9.0_3 xf86-video-vesa 2.3.3_3 xf86-video-nv 2.1.20_4 xf86-input-keyboard 1.8.0_2 ################################## In fact if I use "pkg install -r FreeBSD_new_xorg xf86-video-vesa" I do get it from FreeBSD_new_xorg and X works fine with it. But without the -r option it defaults to giving me the version from the FreeBSD repository. And Sod's law appears to apply here - pkg install did get the ati and intel video drivers from FreeBSD_new_xorg. Wrong versions of these Would not have affected me. -- Mike Clarke