From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 20:22:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A8D01B2 for ; Sat, 13 Sep 2014 20:22:27 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53286643 for ; Sat, 13 Sep 2014 20:22:26 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-120.adsl.hiwaay.net [216.180.19.120]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8DKMOv6004973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 13 Sep 2014 15:22:25 -0500 Message-ID: <5414A8F6.7040409@hiwaay.net> Date: Sat, 13 Sep 2014 15:28:38 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: New xorg fails with "module ABI major version (6) doesn't match the server's version (12)" References: <2185120.2ReaZYee1X@curlew.lan> <53EC8763.7060708@gmail.com> <1884719.AVqlqasO54@curlew.lan> In-Reply-To: <1884719.AVqlqasO54@curlew.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 13 Sep 2014 20:22:27 -0000 I just had a recurrence of this exact problem after a 'pkg upgrade -y' (which worked AOK since I didn't do any messing w/ ports before :-/ ). I used the portmaster command & also had the same net result (drivers reinstalled by pkg_static, rather than pkg, although they were compiled up locally) .... My question is: Is there a way to get pkg to do this, rather than ports/portmaster ? I prefer all 1 package manager as much as possible, & for me that is pkg, except where necessary to fall back on ports (flash plugin, for example). TIA .... On 08/15/14 10:30, Mike Clarke wrote: > 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. > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.