From owner-freebsd-x11@FreeBSD.ORG Tue Jun 18 14:07:32 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F39DC48B for ; Tue, 18 Jun 2013 14:07:31 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog105.obsmtp.com (eu1sys200aog105.obsmtp.com [207.126.144.119]) by mx1.freebsd.org (Postfix) with ESMTP id 44FBD1BA6 for ; Tue, 18 Jun 2013 14:07:30 +0000 (UTC) Received: from mail-wi0-f172.google.com ([209.85.212.172]) (using TLSv1) by eu1sys200aob105.postini.com ([207.126.147.11]) with SMTP ID DSNKUcBpiC3wKQCfb0eS/2r1bf5t9L/YXfwD@postini.com; Tue, 18 Jun 2013 14:07:31 UTC Received: by mail-wi0-f172.google.com with SMTP id c10so3475006wiw.5 for ; Tue, 18 Jun 2013 07:07:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:cc:reply-to:in-reply-to :x-gm-message-state; bh=3U3H54lLKkKVguFwASArt/S66uDGCuqOlAAFB9BwAkM=; b=eLijmKfiZrx/VadwvgcPHJpD59pPbfziIvTcacvH0++4H2k0ug5IJXFwlDLP9XVytD eAOWKiW6wrFI2+NwFKKDsHIkfxkHqMAd4BammDhQo2NVSLCwFWdTQsfjN7rT0SHcCXBu Mo8HPav2Qnw8oPjifPxgxxhkqmfBdrYUqLOSwWaO9IvRXAF3i4o0pXmbZji43Rge0ev0 gCNz8WskmJaPb7NVpM0Bk4pbuHjby/7cbkWpc00EOu5BbP385/M2QZIIpxlpLTnB7mPP 7o/55F0sdmLbcZCa4V8w57YrE+1cT0an3NrHYKXFnWh4/dMsk8BkjxgbIj5cJAKwmkUY daVA== X-Received: by 10.194.249.69 with SMTP id ys5mr11518625wjc.39.1371564424214; Tue, 18 Jun 2013 07:07:04 -0700 (PDT) X-Received: by 10.194.249.69 with SMTP id ys5mr11518617wjc.39.1371564424086; Tue, 18 Jun 2013 07:07:04 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id o14sm2329441wiv.3.2013.06.18.07.07.02 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Jun 2013 07:07:03 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r5IE70FY001722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 18 Jun 2013 15:07:00 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r5IE709i001721; Tue, 18 Jun 2013 15:07:00 +0100 (BST) (envelope-from mexas) Date: Tue, 18 Jun 2013 15:07:00 +0100 (BST) From: Anton Shterenlikht Message-Id: <201306181407.r5IE709i001721@mech-cluster241.men.bris.ac.uk> To: marius@alchemy.franken.de, mexas@bristol.ac.uk Subject: Re: sparc64 machfb: (EE) Unable to map mmio aperture. Invalid argument (22) In-Reply-To: <20130615134716.GA22046@alchemy.franken.de> X-Gm-Message-State: ALoCoQkiqK/GB+Dx0YEmAUEWIu5Y3X4OgtH7VSmirVq8flNVKfg7A9GAz8SCYx83RLHRkZYbTr0D1cWbZ/sUAKk5Q8imXy53Aw16JP6f1xLSm5gIOWa7d9G2q8xSv1bihFMySlZ8f8P0XHoy9OqeRmY4I35frOf1HZjZQaGaFO3XZGVpWKXpcXw= Cc: freebsd-x11@freebsd.org, freebsd-sparc64@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 14:07:32 -0000 From marius@alchemy.franken.de Sat Jun 15 15:45:54 2013 On Thu, Jun 13, 2013 at 11:14:30AM +0100, Anton Shterenlikht wrote: > I've just updated my Sun Blade 1500 silver > to 10.0-CURRENT #11 r251648. The graphics broke. > I get: > > (EE) Unable to map mmio aperture. Invalid argument (22) > > from X -configure > > # dmesg|grep mach > machfb0: port 0xb00-0xbff mem 0x3000000-0x3ffffff,0x102000-0x102ff > f at device 2.0 on pci0 > machfb0: console > machfb0: 16 MB aperture at 0xfddcc000 not swapped > machfb0: 8188 KB SGRAM 114.992 MHz, maximum RAMDAC clock 230 MHz, DSP > machfb0: resolution 1280x1024 at 8 bpp > # > > # pkg info -xo mach6 > xf86-video-mach64-6.9.3: x11-drivers/xf86-video-mach64 > # > > # cat /var/log/Xorg.0.log > > X.Org X Server 1.7.7 > Release Date: 2010-05-04 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 10.0-CURRENT sparc64 > Current Operating System: FreeBSD mech-anton240.men.bris.ac.uk 10.0-CURRENT Free > BSD 10.0-CURRENT #11 r251648: Thu Jun 13 10:20:15 BST 2013 root@mech-anton24 > 0.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF sparc64 > Build Date: 03 June 2013 03:14:51PM Well, at least machfb(4) hasn't changed in quite some time so it's not immediately obvious what is causing this problem. However, that Xorg.0.log suggests that the server also has been rebuilt recently and in fact there was an Xorg update on May 25. Could you please determine (at least by using the old/previous known-working kernel) whether a change to the kernel or to ports is the culprit? Marius I did some detective work. It seems the ports are to blame. I'm still on r251648. I reverted the whole ports tree to r319054, the last revision prior to the X update. I tried to rebuid xorg-server and all ports on which xorg-server depends. This failed, because several ports complained on security vulnerabilities. So I updated back those ports, several libs, I think. Anyway, I no longer get the original error on X -configure, but I get this error on X -config /root/xorg.conf.new -retro: (EE) [drm] drmOpen failed. (EE) MACH64(0): [dri] DRIScreenInit Failed This is likely due to the inconsistent state of the ports tree: I'm not sure how to proceed systematically to debug this further. Please advise Thanks Anton