From owner-freebsd-x11@FreeBSD.ORG Mon Jun 10 11:06:59 2013 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EE9F899 for ; Mon, 10 Jun 2013 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E04041CA5 for ; Mon, 10 Jun 2013 11:06:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5AB6xUw097186 for ; Mon, 10 Jun 2013 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5AB6xxR097184 for freebsd-x11@FreeBSD.org; Mon, 10 Jun 2013 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Jun 2013 11:06:59 GMT Message-Id: <201306101106.r5AB6xxR097184@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/179261 x11 [PATCH] devel/imake: typo fix, use shebangfix, change o ports/179229 x11 x11-servers/xorg-server extra-arch-powerpc patch needs o ports/178994 x11 x11-drivers/xf86-input-mouse: compile error with gcc47 o ports/178670 x11 x11/xorg: X does not refresh upper 1/4 screen in some o ports/178648 x11 Update x11-drivers/xf86-video-ati to the 6.14.6 [patch o ports/178170 x11 [patch] x11-servers/xorg-server: xkb misbehaviour on k f ports/177843 x11 port x11/xcb-proto port broken on arm o ports/177691 x11 [PATCH] x11-drivers/xf86-video-openchrome: update to 0 o ports/177539 x11 x11-drivers/xf86-video-via make fails o ports/177051 x11 graphics/dri compilation searching for headers that se o ports/176705 x11 graphics/libGL : Fix complitation (not useability) on o ports/176703 x11 graphics/dri : Fix complitation (not useability) on AR o ports/176111 x11 [PATCH] x11-servers/xorg-server v.1.10.6_2,1 o ports/175935 x11 x11-clocks/xclock links to iconv o ports/175876 x11 [new port] x11-drivers/xf86-input-wacom: split from in o ports/175819 x11 I have updated x11-drivers/xf86-video-vmware to 13.0.0 o ports/175629 x11 x11-drivers/xf86-video-openchrome too old o ports/175532 x11 x11/xdm: /bin/cp -n /usr/local/share/examples/xdm/Give o ports/175432 x11 [PATCH] x11-fonts/xorg-fonts-truetype: Depend on x11-f o ports/175378 x11 x11/xorg: X won't accept keyboard or mouse input if .x o ports/175299 x11 graphics/dri fails to build with clang o ports/174446 x11 [patch] fix hang on startup in x11-drivers/xf86-video- o ports/173492 x11 x11/xorg: X --configure dies when using 2 video cards o ports/173304 x11 x11/libxcb breaks other applications runtine/build o ports/172745 x11 x11/sessreg does not compile in 9.1-PRERELEASE #23 o ports/172379 x11 x11/Xorg errors: drmOpenDevice, /dev/dri/, /dev/dri/ca o ports/172102 x11 [PATCH] devel/gccmakedep build error with clang-cpp o ports/172101 x11 [PATCH] devel/imake build error with clang-cpp o ports/171422 x11 graphics/libGL build error with python3.2 o ports/171242 x11 x11-drivers/xf86-input-mouse: fail to detect moused(8) o ports/170852 x11 [PATCH] x11-fonts/encodings: encodings.dir includes bo o ports/170690 x11 x11-servers/xorg-server eats memory o ports/170232 x11 x11-drivers/xf86-video-intel package building error wi o ports/170108 x11 x11-fonts/libfontenc: library in the package searches o ports/169794 x11 x11/xdm, several /usr/local/lib/X11/xdm/ files missing o ports/169561 x11 [patch] x11-toolkits/libXmu: disable specs o ports/169560 x11 [patch] x11/libICE: disable specs o ports/169559 x11 [patch] x11-fonts/fontsproto: disable specs o ports/168901 x11 New port: textproc/xorg-sgml-doctools o ports/168645 x11 [UPDATE] x11/luit to 1.1.1 f ports/167797 x11 x11/xorg: graphics/gthumb crashes, dumps core f ports/167654 x11 x11-wm/twm - no mouse cursor o ports/167596 x11 [patch] I have rolled back x11-drivers/xf86-video-vmwa o ports/167228 x11 x11-drivers/xf86-video-intel : Missing dependency (x1 o ports/167194 x11 x11-drivers/xf86-input-synaptics 1.5.0 trackpoint(LENO o ports/166163 x11 graphics/dri: gthumb port crashes (SIGSEGV) within the o ports/165981 x11 devel/imake doesn't play nice with current xorg o ports/165599 x11 x11/xkeyboard-config: x11/xkbcomp as a RUN_DEPENDS f power/165585 x11 x11-servers/xorg-server: Both Xorg and Xorg-server por p ports/164349 x11 [PATCH] x11/libXinerama :1 LeftOf or Above :0 mouse is o ports/161480 x11 [patch] x11/luit: don't depend on pty(4), use openpty( o ports/160968 x11 [patch] ports/x11/libXi broken manpages o ports/160963 x11 [patch] x11/bigreqsproto: disable specs o ports/159792 x11 [patch] USB HID devices support for x11-drivers/xf86-i o ports/158529 x11 [patch] x11-servers/xorg-server: conditionalize --with o ports/158513 x11 Broken Xvideo in x11-drivers/xf86-video-intel drivers o ports/156949 x11 x11-drivers/xf86-video-ati 6.14.1 produce black blank f ports/156424 x11 8.2R xrandr & xf86-video-intel & xorg-server packages o ports/156405 x11 x11-drivers/xf86-video-ati driver: no hardware renderi o ports/156042 x11 x11/xorg hang in combination with KWin-Tiling o ports/155696 x11 [patch] x11-servers/xorg-server: chase AIGLX altered d o ports/155683 x11 x11/xdm [patch] Enabling IPv6 support breaks IPv4 f ports/154510 x11 [patch] x11/xorg: xorg servers have Motif-crippling bu o ports/154502 x11 x11/xdm authorization failure when used with E17 windo o ports/154423 x11 x11-drivers/xf86-video-radeonhd: radeon xorg driver ca o ports/153593 x11 graphics/dri: clutter segfault, something to do with i o ports/153495 x11 x11-drivers/xf86-video-ati wavy line problem for lenov o ports/153358 x11 x11-drivers/xf86-video-intel: Intel driver freeze with o ports/152159 x11 [hang] xorg/x11: X11 freezes with Intel Mobile 965 and o ports/151596 x11 x11/xorg: wacom bamboo button 1 no longer works o ports/150633 x11 x11-servers/xorg-server: KVM switching causing X serve o ports/150155 x11 x11/xorg hangs after xrandr(1) usage o ports/149743 x11 x11/xorg: garbled window since Xorg-7.5 o ports/149636 x11 x11/xorg: buffer overflow in pci_device_freebsd_read_r o ports/148591 x11 information note for x11-drivers/xf86-input-synaptics o ports/148444 x11 [hang] x11-drivers/xf86-video-intel: intel driver free f ports/148340 x11 x11-drivers/xf86-video-neomagic: unresolved symbol xf8 o ports/145649 x11 x11/xorg: X server crashes when starting opengl compos o ports/142069 x11 x11/xorg: After adding on a laptop Toshiba Sattelite L o ports/141660 x11 x11/xorg: X can't determine amount of video memory on o ports/139011 x11 [patch] Add options to support GLX TLS in x11-servers o ports/135276 x11 x11/xorg: GUI running first time only while using Free o ports/134132 x11 x11-servers/xorg-server: Intel i845 - xorg.conf with U o ports/131726 x11 x11-servers/xorg-server: xorg server messes with my eh o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/120947 x11 x11/xsm ignores system.xsm and .xsmstartup 86 problems total. From owner-freebsd-x11@FreeBSD.ORG Mon Jun 10 12:55:22 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 221D6D88 for ; Mon, 10 Jun 2013 12:55:22 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id E008715FA for ; Mon, 10 Jun 2013 12:55:21 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r5ACtL59046171 for ; Mon, 10 Jun 2013 08:55:21 -0400 (EDT) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r5ACtLpi046015; Mon, 10 Jun 2013 08:55:21 -0400 (EDT) (envelope-from portscout) Message-Id: <201306101255.r5ACtLpi046015@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Mon, 10 Jun 2013 08:55:21 -0400 From: portscout@portscout.freebsd.org To: x11@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 12:55:22 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/x11@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ x11-drivers/xf86-video-intel | 2.7.1 | 2.21.9 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-x11@FreeBSD.ORG Tue Jun 11 08:34:37 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 06265C64 for ; Tue, 11 Jun 2013 08:34:37 +0000 (UTC) (envelope-from osidorkin@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id D52C31447 for ; Tue, 11 Jun 2013 08:34:36 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so4365853iec.13 for ; Tue, 11 Jun 2013 01:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=bHEvOEq4FWAApCQtnMHiIHxR9IBvmGSpj+fQDuXiMOM=; b=wmdtr0dZHcg9Ztjc54GNy2o9bI63H4nxDyieDQXNF5crQlFLObnzWg2LOYZK1XHIpn 3w/Yl+kaauPkDgFJ9E/hZvPNXAnzhMagkpTeLIsnLYoTsAJ+BxPxUs1lUbt7tCAiuu8s LGFeHxN2aRrlDyIGNOlItOmhdzh5uU/5BMlIsG+GYiNwzsXJY5YEP9/gsXEtMaBMmmAl xmT6dh1YAi9NqEgpTf7cQP+IFnjLmkP9thFT0Lt+iaxXtubaS595s0w4gCf4sKzxam8p WVkWuslpIzqLAN8WUsoGSJGWi4xGRQt8V+lhz3uIBTKat9aT+9SF7AwyN3niqZ3lSq32 n6Cw== X-Received: by 10.50.50.6 with SMTP id y6mr345924ign.90.1370939676576; Tue, 11 Jun 2013 01:34:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.141 with HTTP; Tue, 11 Jun 2013 01:34:16 -0700 (PDT) From: Oleg Sidorkin Date: Tue, 11 Jun 2013 12:34:16 +0400 Message-ID: Subject: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 08:34:37 -0000 Hello. I'm running recent 9.1/stable with the recent XOrg on the system with G33 chipset. My pciconf -lvb output is here: http://pastebin.com/LDzKzf1i If I add Option "AccelMethod" "sna" to my xorg.conf system panics after few hours: (kgdb) bt #0 doadump (textdump=) at /usr/src/sys/kern/kern_ shutdown.c:272 #1 0xffffffff8050a19f in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 #2 0xffffffff8050a6a3 in panic (fmt=0x104
) at /usr/src/sys/kern/kern_shutdown.c:637 #3 0xffffffff80765f77 in vm_page_insert (m=0xfffffe0226126b50, object=0xfffffe0208de8488, pindex=3) at /usr/src/sys/vm/vm_page.c:914 #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, offset=3, prot=, mres=0xffffff824705b680) at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1429 #5 0xffffffff80747fe3 in dev_pager_getpages (object=0xfffffe0208de8488, ma=0xffffff824705b680, count=1, reqpage=) at /usr/src/sys/vm/device_pager.c:260 #6 0xffffffff80754bb6 in vm_fault_hold (map=0xfffffe000c247188, vaddr=34458505216, fault_type=2 '\002', fault_flags=0, m_hold=0x0) at vm_pager.h:128 #7 0xffffffff80756ca3 in vm_fault (map=0xfffffe000c247188, vaddr=34458505216, fault_type=, fault_flags=0) at /usr/src/sys/vm/vm_fault.c:229 #8 0xffffffff8078e01f in trap_pfault (frame=0xffffff824705bc40, usermode=1) at /usr/src/sys/amd64/amd64/trap.c:762 #9 0xffffffff8078e864 in trap (frame=0xffffff824705bc40) (kgdb) bt full #0 doadump (textdump=) at /usr/src/sys/kern/kern_shutdown.c:272 No locals. #1 0xffffffff8050a19f in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 _ep = (struct eventhandler_entry *) 0x0 _el = (struct eventhandler_list *) 0xfffffe0009c7f700 first_buf_printf = 1 #2 0xffffffff8050a6a3 in panic (fmt=0x104
) at /usr/src/sys/kern/kern_shutdown.c:637 td = (struct thread *) 0x0 bootopt = newpanic = ap = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0xffffff824705b570, reg_save_area = 0xffffff824705b490}} panic_cpu = 3 buf = "vm_page_insert: page already inserted", '\0' #3 0xffffffff80765f77 in vm_page_insert (m=0xfffffe0226126b50, object=0xfffffe0208de8488, pindex=3) at /usr/src/sys/vm/vm_page.c:914 root = 0x0 #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, offset=3, prot=, mres=0xffffff824705b680) (kgdb) up 4 #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, offset=3, prot=, mres=0xffffff824705b680) at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1429 1429 vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); (kgdb) p vm_obj $1 = 0xfffffe0208de8488 (kgdb) p m->object $2 = 0xfffffe0208de8488 It works fine for weeks without Option "AccelMethod" "sna". I replaced vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); with the code if (m->object==NULL){ vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); } else{ if(m->object!=vm_obj) panic("i915_gem_pager_fault: tried to assign already assigned page to the different object"); } and it worked with SNA enabled for about a week with no problems. But I'm not sure that is a good solution. I can provide additional info if required. Thanks -- Oleg Sidorkin From owner-freebsd-x11@FreeBSD.ORG Tue Jun 11 20:18:59 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B1783DE1 for ; Tue, 11 Jun 2013 20:18:59 +0000 (UTC) (envelope-from rehak@tekkirk.org) Received: from mail.tekkirk.org (si-3275-429722.dragon.cz [213.168.181.16]) by mx1.freebsd.org (Postfix) with ESMTP id 702B31A87 for ; Tue, 11 Jun 2013 20:18:57 +0000 (UTC) Received: by mail.tekkirk.org (Postfix, from userid 58) id 93A6D409; Tue, 11 Jun 2013 22:10:27 +0200 (CEST) Received: from marvin.tekkirk.org (mail.tekkirk.org [192.168.0.12]) by mail.tekkirk.org (Postfix) with ESMTP id 42AA3407; Tue, 11 Jun 2013 22:10:27 +0200 (CEST) Date: Tue, 11 Jun 2013 22:10:27 +0200 From: Martin =?utf-8?B?xZhlaMOhaw==?= To: Kevin Oberman Subject: Re: Unable to upgrade compile xkeyboard-config-2.8 Message-ID: <20130611201026.GG98046@marvin.tekkirk.org> References: <20130530114315.GA5370@marvin.tekkirk.org> <20130530203351.GB5370@marvin.tekkirk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-x11@freebsd.org" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 20:18:59 -0000 On 2013.05.30 14:36:51 -0700, Kevin Oberman wrote: > On Thu, May 30, 2013 at 1:33 PM, Martin Řehák wrote: > > > Actually, I did it before I read this. It helped of course. :) Could you > > point me to some bug report or so, so I can understand the problem, > > please? > > > > I have been told that this is the result of updating perl and not updating > all dependencies that include perl modules. I can't swear that it is not > the case, but I'm pretty sure that I have had this pop up when I have not > updated perl. In any case, now when updating perl I always check > /usr/local/lib/perl5/old_ver and /usr/local/lib/perl5/site_perl/old_ver to > make sure nothing has been left behind. > > Of course, you can rebuild everything that depends on perl, but that will > resul tn re-building a lot of ports that don't need it. So I do: > portmaster p5- > which gets almost everything along with net-snmp and libwww (which I know > build perl modules) and then check for anything left behind. Kevin, thanks much for this explanation. I will keep that in mind. Regards -- Martin From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 03:16:31 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5C1ADF82 for ; Wed, 12 Jun 2013 03:16:31 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 213071C12 for ; Wed, 12 Jun 2013 03:16:31 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id r5C3GOQf023925; Tue, 11 Jun 2013 20:16:24 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id r5C3GOfT023924; Tue, 11 Jun 2013 20:16:24 -0700 (PDT) (envelope-from david) Date: Tue, 11 Jun 2013 20:16:24 -0700 From: David Wolfskill To: x11@freebsd.org Subject: Help debugging xfig lockup? Message-ID: <20130612031624.GS1369@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+nLR7g8KNfrRqv5t" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David Wolfskill List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 03:16:31 -0000 --+nLR7g8KNfrRqv5t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The graphics/xfig port is an application I've used since ... well, before FreeBSD (per se) existed. (I was using it on a Sun 3/60 back then....) A few days ago, I happened to want to use it .... and I find that it starts OK, but once a Drawing mode or an Editing action is selected, it locks up -- no other selection appears to have an effect, and causing the application to exit requires some "external assistance" (e.g., from another xterm, "pkill xfig"). I confess that it has been a while since I previously had attempted to use xfig, and one of the things that has occurred not too long before I experienced the above is the event documented in ports/UPDATING entry 20130525: "xorg, including libraries and some drivers, was updated...." (I cite this merely to recognize that it is a change that may be of relevance; I have no evidence at all that there may be a causal relationship between that event and the symptoms I described above.) But debugging an X11 application is something that leaves me rather wondering how to go about it. Any clues? I've set Reply-to, as I'm not subscribed to x11@. FWIW, my recent FreeBSD update history may be found at ; today, it's: FreeBSD 9.1-STABLE #480 r251614M/251616:901504: Tue Jun 11 04:51:55 PDT 20= 13 root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 And (today) my ports tree is at r320544. Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --+nLR7g8KNfrRqv5t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlG36AgACgkQmprOCmdXAD2oPwCeOnQPa0IKBHTqfXAX0Gobur2f KZYAn1AwrxI7Q5mo1y1K6QoZcnzPJp+8 =TNl9 -----END PGP SIGNATURE----- --+nLR7g8KNfrRqv5t-- From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 04:59:28 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 45CB99EF for ; Wed, 12 Jun 2013 04:59:28 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id 23D1B1E7E for ; Wed, 12 Jun 2013 04:59:27 +0000 (UTC) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id C0ACA37B4A0; Tue, 11 Jun 2013 23:59:20 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3bVbTh0YQFzCls; Tue, 11 Jun 2013 23:59:20 -0500 (CDT) Date: Tue, 11 Jun 2013 23:59:20 -0500 From: "Matthew D. Fuller" To: David Wolfskill Subject: Re: Help debugging xfig lockup? Message-ID: <20130612045919.GA1940@over-yonder.net> References: <20130612031624.GS1369@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130612031624.GS1369@albert.catwhisker.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.21-fullermd.4 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 04:59:28 -0000 On Tue, Jun 11, 2013 at 08:16:24PM -0700 I heard the voice of David Wolfskill, and lo! it spake thus: > > A few days ago, I happened to want to use it .... and I find that it > starts OK, but once a Drawing mode or an Editing action is selected, > it locks up -- no other selection appears to have an effect, and > causing the application to exit requires some "external assistance" > (e.g., from another xterm, "pkill xfig"). As a data point (I also use xfig somewhat rarely but repeatedly over a decade+), I just fiddled with it a bit here without trouble, with ports up to date as of yesterday, and -CURRENT as of the weekend. I'd guess the difference is probably in details of X. I'm using the radeon driver on non-WITH_NEW_XORG. > But debugging an X11 application is something that leaves me rather > wondering how to go about it. Any clues? Well, xfig isn't using anything particularly new or exciting in X; I doubt it's even hitting any OpenGL paths or the like. I'd start by just slapping a gdb on it and see if I can get a hint of where in what library it's stuck; maybe that'll make the answer obvious... Going into draw/edit mode does involve changing the cursor; maybe that's the significant bit? -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 06:02:10 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EAE32643 for ; Wed, 12 Jun 2013 06:02:10 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 871591178 for ; Wed, 12 Jun 2013 06:02:10 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id q56so6514876wes.17 for ; Tue, 11 Jun 2013 23:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=8zItFkHUe7lMlFaYs6w8MFMWqy6+sne8TNG8ZyVCliw=; b=bOJl+wzbVmo/ICHyTJFflC81rO0NEyEXYterxZmryHCE9Db/QiVEU42TcMSM+v8k6H stO/hE0VIzBbZaHyi22hsG7G7KjRPgLcsfB5YDrd2REa2oywqmE5jBueTEZXvMSwiKmZ r3+AeOnACGzYPLxGea86xGJk1HuuUubNt/CUWKkC1VDtAQpHNXfsAgveJLYaVekBMX4W b5b3AbqmKwjLF4SWHf66F89cY1zgDPnSyi6NAfYReU7Fa9KPT6vPTWRRNolx+ZuEF1ol 1NtPQLNTzQ5yIeyxUsD0IYQfE6HP6yHYd7ynsqS6t6BBE0KCVLde9JLVuBYN5eGpTUsJ XJAg== X-Received: by 10.180.85.71 with SMTP id f7mr3393636wiz.31.1371016929659; Tue, 11 Jun 2013 23:02:09 -0700 (PDT) Received: from localhost ([2001:660:4701:1014:8965:c6a7:9a26:2f0b]) by mx.google.com with ESMTPSA id fv11sm22173738wic.11.2013.06.11.23.02.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 23:02:09 -0700 (PDT) Date: Wed, 12 Jun 2013 08:02:06 +0200 From: Pierre DAVID To: David Wolfskill Subject: Re: Help debugging xfig lockup? Message-ID: <20130612060206.GA5021@vagabond.ma.maison> References: <20130612031624.GS1369@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130612031624.GS1369@albert.catwhisker.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 06:02:11 -0000 On Tue, Jun 11, 2013 at 08:16:24PM -0700, David Wolfskill wrote: > > The graphics/xfig port is an application I've used since ... well, > before FreeBSD (per se) existed. (I was using it on a Sun 3/60 back > then....) > Same thing here ;-) > > A few days ago, I happened to want to use it .... and I find that it > starts OK, but once a Drawing mode or an Editing action is selected, it > locks up -- no other selection appears to have an effect, and causing > the application to exit requires some "external assistance" (e.g., from > another xterm, "pkill xfig"). > Same thing here. I once opened a PR for this problem, but I don't find it anymore. It seems to occur only with KDE (or may be other environments, I haven't try): with the good old xinit/twm (do you remember? ;-), xfig works like a charm. The problem is very old, i.e. predate the WITH_NEW_XORG=yes, and occurred on vanilla -release as well as -current. The only workaround I found was to recompile without XAW_3D, which involves some configured (I)Makefile modification. Pierre From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 06:04:39 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 811E16E3 for ; Wed, 12 Jun 2013 06:04:39 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4EF11A3 for ; Wed, 12 Jun 2013 06:04:38 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id l18so3022911wgh.2 for ; Tue, 11 Jun 2013 23:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=LJ9RmVM7cwpTSqsSf3LF48ks6bHDrZ8EHbD60GEjCbA=; b=nNjGc4LojZqhhATQMBAg8KLni30LGJsC1ifTTXW9NaIixpsK8z5UMDufotMVRJtC9/ WuC7fJ1CfMFCudXdSQP+QNqKfen6ne8JFAkvq8fdjcvVWuLRZbXxUPgnJu2TgCcMzAHt Am+YX7K4g0VQuD8g/rEHHTCzuW4QfDjKbKfyTuu6mil9WYGZexu27Jhqa/X9fbTsBbYj U/LdmeV0Mrd6Hj45xgq4FpfYj4SABwVj+vaIUbPTJ7bEP0VMZj3FcDbvBfhPJIbmUGiz M7ksHqlkqENCdfYDMuuGKDN447EL4GqmVzAXOROlBqAgNd4fCFKrzPDkkqzTkfwcbB18 LmQg== X-Received: by 10.180.74.10 with SMTP id p10mr3378503wiv.39.1371017078261; Tue, 11 Jun 2013 23:04:38 -0700 (PDT) Received: from localhost ([2001:660:4701:1014:8965:c6a7:9a26:2f0b]) by mx.google.com with ESMTPSA id ft10sm22169381wib.7.2013.06.11.23.04.36 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 23:04:37 -0700 (PDT) Date: Wed, 12 Jun 2013 08:04:35 +0200 From: Pierre DAVID To: David Wolfskill Subject: Re: Help debugging xfig lockup? Message-ID: <20130612060435.GB5021@vagabond.ma.maison> References: <20130612031624.GS1369@albert.catwhisker.org> <20130612060206.GA5021@vagabond.ma.maison> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130612060206.GA5021@vagabond.ma.maison> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 06:04:39 -0000 On Wed, Jun 12, 2013 at 08:02:06AM +0200, Pierre DAVID wrote: > > I once opened a PR for this problem, but I don't find it anymore. > http://www.freebsd.org/cgi/query-pr.cgi?pr=161070&cat= Pierre From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 07:51:54 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B4726F7B for ; Wed, 12 Jun 2013 07:51:54 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com [207.126.144.155]) by mx1.freebsd.org (Postfix) with ESMTP id 1307717DA for ; Wed, 12 Jun 2013 07:51:53 +0000 (UTC) Received: from mail-wg0-f44.google.com ([74.125.82.44]) (using TLSv1) by eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP ID DSNKUbgok8LaaJurq4J9SBWxE2xgm35YDSx2@postini.com; Wed, 12 Jun 2013 07:51:54 UTC Received: by mail-wg0-f44.google.com with SMTP id m15so5599492wgh.35 for ; Wed, 12 Jun 2013 00:51:47 -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:reply-to:in-reply-to :x-gm-message-state; bh=tgHaI94dpfTADAsrPdmbjLW9p2NHZ/kJ+N2SE8O/i5c=; b=SFxmVoRG+qsMutQ/KsgkC6SCxHkTi8StVYfId+U8IvD/WldbkNGaQsF2q18khH0YbT ATeWnLWV83QF0q/pqmybik04/K2DGeLm+3qdro02BLVNfOzMXZwUq74Au+iLLAsm772I dofqJEMi4vMz18fwuk8sUze5x+Ranlc4eZRvnzVIY0WucQ4/4vd0RBahiK6FcpkeBuv7 ZkgzGUaNWOEmEamYpZHFOfOW2VVthGa+vuk0A92L90bsajcGCk8ZW02rXgTXWTu7Ubyo sNeCDmALWK49fT04Vh0pCs5g0SjmkSBEHaKF2cWRBt6/7ri3u4tY4NVUVB8WynJrbuG7 IGWA== X-Received: by 10.180.13.5 with SMTP id d5mr3561432wic.56.1371023507060; Wed, 12 Jun 2013 00:51:47 -0700 (PDT) X-Received: by 10.180.13.5 with SMTP id d5mr3561430wic.56.1371023507006; Wed, 12 Jun 2013 00:51:47 -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 dz8sm1495325wib.11.2013.06.12.00.51.45 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 00:51:46 -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 r5C7phjB010267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Jun 2013 08:51:44 +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 r5C7ph11010266; Wed, 12 Jun 2013 08:51:43 +0100 (BST) (envelope-from mexas) Date: Wed, 12 Jun 2013 08:51:43 +0100 (BST) From: Anton Shterenlikht Message-Id: <201306120751.r5C7ph11010266@mech-cluster241.men.bris.ac.uk> To: david@catwhisker.org, x11@freebsd.org Subject: Re: Help debugging xfig lockup? In-Reply-To: <20130612031624.GS1369@albert.catwhisker.org> X-Gm-Message-State: ALoCoQn9Y/pdMwQdzEWgsmx/8uKxsWjKV3kS93poeqqfIt2uhRCTEdn/BGyajo/Rwi8JXt0YJEdifq55cz91opddWNR6sHt4tnmSpEU3oS+yzGUvPrKSCRhzL8keaTzA+5J95rrJJabH+UP+Jmws1/w/ERosqhooeA== 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: Wed, 12 Jun 2013 07:51:54 -0000 I haven't seen this. I've been using xfig for quite a few years now, on and off, not heavily, on a range of arches and OS versions. Lately I've been using the server/client model. My X setup is bare bones. My X server is sparc64 -current (now at r239940). with PGX64 graphics card, driven by x11-drivers/xf86-video-mach64. My X clients are on ia64 -current (now at r248493) I run xdm on the clients side to which I connect from X server via XDMCP as "X -query ". I run mwm on on the clients side, then xterm and then xfig. Anyway, what I'm trying to say that maybe I haven't seen any problems with xfig because my setup is so simple. I hope you solve your problem, as xfig is still a very useful program. Anton From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 08:11:36 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 A7E4C8A7 for ; Wed, 12 Jun 2013 08:11:36 +0000 (UTC) (envelope-from florent@peterschmitt.fr) Received: from peterschmitt.fr (peterschmitt.fr [5.135.177.31]) by mx1.freebsd.org (Postfix) with ESMTP id 7262C18B5 for ; Wed, 12 Jun 2013 08:11:36 +0000 (UTC) Received: from [172.29.180.39] (unknown [194.214.114.46]) by peterschmitt.fr (Postfix) with ESMTPSA id 0EDD8B75B for ; Wed, 12 Jun 2013 10:11:39 +0200 (CEST) Message-ID: <51B8494B.7080100@peterschmitt.fr> Date: Wed, 12 Jun 2013 10:11:23 +0000 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130610 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Re: Window stucking - can't =?windows-1252?Q?resize/move/close=85?= References: <51AB0AFE.6080205@peterschmitt.fr> <51B0505F.106@peterschmitt.fr> In-Reply-To: <51B0505F.106@peterschmitt.fr> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2WHUOVIBAVITEDRAMRMOC" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 08:11:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2WHUOVIBAVITEDRAMRMOC Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 06.06.2013 09:03, Florent Peterschmitt wrote: > Le 02/06/2013 11:06, Florent Peterschmitt a =E9crit : >> Hi, >> >> It's a problem I have since a long time, when NEW_XORG was out and usi= ng >> FreeBSD-9.1 and now -CURRENT. >> >> I have no custom CFLAGS and just this in make.conf: >> >> WITH_NEW_XORG=3Dyes >> >> The video card is an ATI RV516 [Radeon X1300/X1550 Series] (from lspci= ). >> >> * Problem: >> >> It seems very random but occures many times. Open something, open one >> other or note, use these windows (in a WM like KWin or OpenBox or even= >> TWM) and it will hang on, click another window is impossible, they don= 't >> go in front, impossible to go "into" the window=85 Atl+tab can work=85= or not=85 >> >> It's very strange. Does it is known or am I the only one to have this = ? >> >> Thank you >> >> Florent Peterschmitt >> >=20 > Seems the problem has resolved by himself with the latest upgrade of > X.org libraries. I'll give some news if the bug comes again. >=20 Let's continue a bit this monologue, well, it seems like a hardware problem. I should test on Linux but the problem is probably coming from USB. I hope it's the mouse itself which is broken. --=20 Florent Peterschmitt | Please: florent@peterschmitt.fr | * Avoid HTML/RTF in E-mail. +33 (0)6 64 33 97 92 | * Send PDF for documents. http://florent.peterschmitt.fr | Thank you :) ------enig2WHUOVIBAVITEDRAMRMOC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRuElVAAoJEMtO2Sol0IImCosH/iLdqRSquXYjqW7cbLdYqDWk L8ea/PxHcluALmjrCPRo/HUxOCvJrRRt8hCsn2AyS8PfNTDhNFSdPdcCVAZ7eCIX 59f+MMh/PvcldFqktS6Skrb3nHnZmZcZZVkftVF3xApIDOVhERh/qD9BkgJ9DS8U +870i+2a1NNust8TbrCwZTlFGPfTSI8K0zcQmiESugu+OZSz8h5Qtld1T5lIQfCx FcnohPKi9/aO5fsVibosIWxWToF94quQsdPuy/5NBlndAZ00eMVItINPpkEgR0j6 pClYHBzYOsFRQOR0oILpH+yiBK29aH6z6MYd5jL0zF07eulBX1zltYDQaRLMtBE= =YUus -----END PGP SIGNATURE----- ------enig2WHUOVIBAVITEDRAMRMOC-- From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 19:49:06 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9C627B43 for ; Wed, 12 Jun 2013 19:49:06 +0000 (UTC) (envelope-from neelwebs@gmail.com) Received: from mail-qe0-f66.google.com (mail-qe0-f66.google.com [209.85.128.66]) by mx1.freebsd.org (Postfix) with ESMTP id 684CB1DC3 for ; Wed, 12 Jun 2013 19:49:06 +0000 (UTC) Received: by mail-qe0-f66.google.com with SMTP id 2so1746524qea.1 for ; Wed, 12 Jun 2013 12:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xTH3edCIGKlgSutQaKUhUZqOUEf24Oxol5BGyt9QbCg=; b=O+2zMr4sKuol+R1dWo/EaLqJXBlsommv3rg7SGWLI/iZ3LUnzVNAZrSwXfHTRhOc7x cUNV56Ix9Nqy/Zqh5dh+1Ph3ODZNa1H3H73njmixxJM6kjT61b+mJn5wqrc4rHAnipuY xbshuMziB5wb//T27IGWsQy0aW6gEjjACkRnb5HNs+gjQpE3TVNBdWKHJyS9oFKzU46W bZzODKj9LIxx06dnq2QxkeJMkenOfpKpB/sNCFHyRb0GjWs7hBX2gv3Wh1y1ql6FL1nO SKAb+RlIds/0mp8cuWlMxaqZjQxl+qAjiNNsxNhOHRtF0l25p8ed/E8sOyrcUhigmsyR 8jaQ== MIME-Version: 1.0 X-Received: by 10.49.0.145 with SMTP id 17mr25411581qee.26.1371066539849; Wed, 12 Jun 2013 12:48:59 -0700 (PDT) Received: by 10.49.25.51 with HTTP; Wed, 12 Jun 2013 12:48:59 -0700 (PDT) Date: Wed, 12 Jun 2013 15:48:59 -0400 Message-ID: Subject: Does FreeBSD support kernel mode setting on Intel Haswell? From: Neel Chauhan To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 19:49:06 -0000 Dear freebsd-x11 mailing list, I am assembling a new PC soon and want to know if FreeBSD 9.1 supports kernel mode setting on Intel's new Haswell CPUs. How well is it supported? Am I better off buying a nVidia card to use FreeBSD? Thanks, Neel From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 20:50:02 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AA66C315 for ; Wed, 12 Jun 2013 20:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1AE1182 for ; Wed, 12 Jun 2013 20:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5CKo2ax099159 for ; Wed, 12 Jun 2013 20:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5CKo2bK099158; Wed, 12 Jun 2013 20:50:02 GMT (envelope-from gnats) Date: Wed, 12 Jun 2013 20:50:02 GMT Message-Id: <201306122050.r5CKo2bK099158@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org Cc: From: Jilles Tjoelker Subject: Re: ports/154502: x11/xdm authorization failure when used with E17 window manager X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jilles Tjoelker List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 20:50:02 -0000 The following reply was made to PR ports/154502; it has been noted by GNATS. From: Jilles Tjoelker To: bug-followup@FreeBSD.org, cpt_complain@yahoo.com Cc: Subject: Re: ports/154502: x11/xdm authorization failure when used with E17 window manager Date: Wed, 12 Jun 2013 22:46:57 +0200 In FreeBSD PR 154502, you wrote: > Xdm authorization fails after user login. > The user is unable to start an E17 window manager session, and is > returned to the xdm login screen. > Fix: Need to add the missing option: > DisplayManager*authName: MIT-MAGIC-COOKIE-1 I take it that the error message XDM authorization key matches an existing client! appears in .xsession-errors. I recently encountered this issue when trying to log in using xdm and xfce4-session. Adding the quoted line to xdm-config fixed the problem for me. The cause is that the implementation of XDM-AUTHORIZATION-1 is broken if applications execve or unload/reload libX11/libxcb between connections to the X server. More information can be found in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486606 Since it is unclear whether XDM-AUTHORIZATION-1 will be fixed and if so, where, I think it is best to disable it in xdm. It looks like adding --disable-xdm-auth to xdm's configure flags will do this but I have not tested it. I think the security impact is minimal; gdm does not use XDM-AUTHORIZATION-1 either. -- Jilles Tjoelker From owner-freebsd-x11@FreeBSD.ORG Wed Jun 12 20:58:02 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A617C595 for ; Wed, 12 Jun 2013 20:58:02 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 8062E1202 for ; Wed, 12 Jun 2013 20:58:02 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id r5CKw0CY030227; Wed, 12 Jun 2013 13:58:00 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id r5CKw0sB030226; Wed, 12 Jun 2013 13:58:00 -0700 (PDT) (envelope-from david) Date: Wed, 12 Jun 2013 13:58:00 -0700 From: David Wolfskill To: x11@freebsd.org Subject: Re: Help debugging xfig lockup? Message-ID: <20130612205800.GA1369@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdOeJE8sLwpQaOMV" Content-Disposition: inline In-Reply-To: <201306120751.r5C7ph11010266@mech-cluster241.men.bris.ac.uk> <20130612060435.GB5021@vagabond.ma.maison> <20130612045919.GA1940@over-yonder.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David Wolfskill List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 20:58:02 -0000 --sdOeJE8sLwpQaOMV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 11, 2013 at 11:59:20PM -0500, Matthew D. Fuller wrote: > ... > As a data point (I also use xfig somewhat rarely but repeatedly over a > decade+), I just fiddled with it a bit here without trouble, with > ports up to date as of yesterday, and -CURRENT as of the weekend. >=20 > I'd guess the difference is probably in details of X. I'm using the > radeon driver on non-WITH_NEW_XORG. Hmmm... I've encountered it on my laptop (x11/nvidia-driver), my work desktopm, and a desktop at home (the latter 2 use Intel graphics drivers) -- each running stable/9, i386. > ... > Well, xfig isn't using anything particularly new or exciting in X; I > doubt it's even hitting any OpenGL paths or the like. I'd start by > just slapping a gdb on it and see if I can get a hint of where in what > library it's stuck; maybe that'll make the answer obvious... I tried that, found that it was last in DoLayout(), part of x11-toolkits/Xaw3d. So I rebuilt x11-toolkits/Xaw3d with debugging, as well; found that Xaw3d was being invoked from x11-toolkits/libXt; ebuilt that with debugging. So if I start xfig: d129(9.1-S)[6] dirs /usr/ports/graphics/xfig/work/xfig.3.2.5b=20 d129(9.1-S)[7] gdb ./xfig then select (say) "Text input", the "T" button goes reverse-video, then the application locks up. ^T shows me: load: 0.73 cmd: xfig 33534 [running] 11.41r 5.14u 0.01s 38% 6476k so from another window, I "kill 33534", then back to gdb, "bt" shows: Starting program: /common/ports/graphics/xfig/work/xfig.3.2.5b/xfig=20 load: 0.73 cmd: xfig 33534 [running] 11.41r 5.14u 0.01s 38% 6476k Program received signal SIGTERM, Terminated. 0x28206db1 in DoLayout (bbw=3D0x289eb600, width=3D0, height=3D0,=20 reply_width=3D0xbfbfc29e, reply_height=3D0xbfbfc29c, position=3D0 '\0') at Box.c:179 179 for (i =3D 0; i < bbw->composite.num_children; i++) { (gdb) bt #0 0x28206db1 in DoLayout (bbw=3D0x289eb600, width=3D0, height=3D0,=20 reply_width=3D0xbfbfc29e, reply_height=3D0xbfbfc29c, position=3D0 '\0') at Box.c:179 #1 0x28207346 in PreferredSize (widget=3D0x289eb600, constraint=3D0xbfbfc3= b4,=20 preferred=3D0xbfbfc39c) at Box.c:358 #2 0x28283f86 in XtQueryGeometry (widget=3D0x289eb600, intended=3D0xbfbfc3= b4,=20 reply=3D0xbfbfc39c) at Geometry.c:789 #3 0x2822b71f in ComputeLayout (widget=3D0x289eb300, query=3D1 '\001',=20 destroy_scrollbars=3D1 '\001') at Viewport.c:589 #4 0x28298454 in XtSetValues (w=3D0x289eb300, args=3D0x81b2120, num_args= =3D0) at SetValues.c:407 #5 0x080e2589 in sel_mode_but (widget=3D0x289f1400, closure=3D0x8171944,= =20 event=3D0xbfbfd404, continue_to_dispatch=3D0xbfbfce0b "\001\224'+(\004") at w_modepanel.c:639 #6 0x2828152f in XtDispatchEventToWidget (widget=3D0x289f1400, event=3D0xb= fbfd404) at Event.c:882 #7 0x28281b03 in _XtDefaultDispatcher (event=3D0xbfbfd404) at Event.c:1367 #8 0x28280b10 in XtDispatchEvent (event=3D0xbfbfd404) at Event.c:1423 #9 0x08085768 in main (argc=3DError accessing memory address 0x1e: Bad add= ress. ) at main.c:1551 (gdb) p tool_app $1 =3D 0x2886b0c0 (gdb) p event No symbol "event" in current context. (gdb) p splash_onscreen $2 =3D 0 (gdb) q =46rom a previous attempt, doing the same things, I see: d129(9.1-S)[4] gdb ./xfig GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) r Starting program: /common/ports/graphics/xfig/work/xfig.3.2.5b/xfig=20 load: 0.87 cmd: xfig 24199 [running] 28.43r 15.91u 0.05s 85% 6448k Program received signal SIGTERM, Terminated. 0x28206db1 in DoLayout (bbw=3D0x289eb600, width=3D0, height=3D0,=20 reply_width=3D0xbfbfc29e, reply_height=3D0xbfbfc29c, position=3D0 '\0') at Box.c:179 179 for (i =3D 0; i < bbw->composite.num_children; i++) { (gdb) bt #0 0x28206db1 in DoLayout (bbw=3D0x289eb600, width=3D0, height=3D0,=20 reply_width=3D0xbfbfc29e, reply_height=3D0xbfbfc29c, position=3D0 '\0') at Box.c:179 #1 0x28207346 in PreferredSize (widget=3D0x289eb600, constraint=3D0xbfbfc3= b4,=20 preferred=3D0xbfbfc39c) at Box.c:358 #2 0x28283f86 in XtQueryGeometry () from /usr/local/lib/libXt.so.6 #3 0x2822b71f in ComputeLayout (widget=3D0x289eb300, query=3D1 '\001',=20 destroy_scrollbars=3D1 '\001') at Viewport.c:589 #4 0x28298454 in XtSetValues () from /usr/local/lib/libXt.so.6 #5 0x080e2589 in sel_mode_but (widget=3D0x289f1400, closure=3D0x8171944,= =20 event=3D0xbfbfd404, continue_to_dispatch=3D0xbfbfce0b "\001\224'+(\004") at w_modepanel.c:639 #6 0x2828152f in XtDispatchEventToWidget () from /usr/local/lib/libXt.so.6 #7 0x28281b03 in _XtDefaultDispatcher () from /usr/local/lib/libXt.so.6 #8 0x28280b10 in XtDispatchEvent () from /usr/local/lib/libXt.so.6 #9 0x08085768 in main (argc=3DError accessing memory address 0xb: Bad addr= ess. ) at main.c:1551 (gdb) p i $1 =3D 11 (gdb) p bbw->composite.num_children $2 =3D 33 (gdb) p bbw->composite.children[i]->core.width $3 =3D 64 (gdb) p w $4 =3D 76 (gdb) p h_space $5 =3D 0 (gdb) p width $6 =3D 0 (gdb) p bbw->box.h_space $7 =3D 0 (gdb) p h_space $8 =3D 0 (gdb) q The program is running. Exit anyway? (y or n) y > Going into draw/edit mode does involve changing the cursor; maybe > that's the significant bit? > ... I don't *think* that's it, but I freely admit lack of familiarity with X11 debugging. On Wed, Jun 12, 2013 at 08:04:35AM +0200, Pierre DAVID wrote: > ... > > I once opened a PR for this problem, but I don't find it anymore. > > >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D161070&cat=3D > ... Ah; thanks. Yes, the symptoms do look similar. On Wed, Jun 12, 2013 at 08:51:43AM +0100, Anton Shterenlikht wrote: > I haven't seen this. >=20 > I've been using xfig for quite a few years now, > on and off, not heavily, on a range of arches > and OS versions. Lately I've been using > the server/client model. My X setup is bare bones. > ... Heh. I've just been using my laptop; both X11 client & server on the same machine. I use piewm (a variant of tvtwm, which is based on twm) as my window manager. (And have been using piewm for many years; had used tvtwm back on the Sun 3/60.) > Anyway, what I'm trying to say that maybe I > haven't seen any problems with xfig because my > setup is so simple. :-} > I hope you solve your problem, as xfig is still > a very useful program. > .... Well, I admit that I found it rather more useful when I could use it. :-) (In the case that catalyzed all this, I ended up editing the "fig" file. I'd rather not resort to that again.) What more would be helpful for me to provide in a PR? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --sdOeJE8sLwpQaOMV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlG44NcACgkQmprOCmdXAD0NbACdGBg9H3Z1pmlW3JyJNv1wma0e A5gAnj3LPQLqTmwxcx1d7kORmib8tkfT =IBlO -----END PGP SIGNATURE----- --sdOeJE8sLwpQaOMV-- From owner-freebsd-x11@FreeBSD.ORG Thu Jun 13 07:05:25 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E6F773F3 for ; Thu, 13 Jun 2013 07:05:25 +0000 (UTC) (envelope-from florent@peterschmitt.fr) Received: from peterschmitt.fr (peterschmitt.fr [5.135.177.31]) by mx1.freebsd.org (Postfix) with ESMTP id B21ED1BFF for ; Thu, 13 Jun 2013 07:05:25 +0000 (UTC) Received: from [172.29.180.39] (unknown [194.214.114.46]) by peterschmitt.fr (Postfix) with ESMTPSA id 0ABC2B904 for ; Thu, 13 Jun 2013 09:05:26 +0200 (CEST) Message-ID: <51B96F88.80907@peterschmitt.fr> Date: Thu, 13 Jun 2013 09:06:48 +0200 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Re: Does FreeBSD support kernel mode setting on Intel Haswell? References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2UEBMJPSHQIHHNTCTIHOX" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 07:05:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UEBMJPSHQIHHNTCTIHOX Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Le 12/06/2013 21:48, Neel Chauhan a =E9crit : > Dear freebsd-x11 mailing list, > I am assembling a new PC soon and want to know if FreeBSD 9.1 supports > kernel mode setting on Intel's new Haswell CPUs. How well is it > supported? Am I better off buying a nVidia card to use FreeBSD? > Thanks, > Neel By an nVidia one, the Intel driver and KMS implementation is really not ready. No console back to X.org, if X crashes you have to reboot, if you want to change of WM/DE you have to reboot=85 and display is slow, even o= n my 15" screen. A little nVidia + blob driver will do better work than Intel one. --=20 Florent Peterschmitt | Please: florent@peterschmitt.fr | * Avoid HTML/RTF in E-mail. +33 (0)6 64 33 97 92 | * Send PDF for documents. http://florent.peterschmitt.fr | Thank you :) ------enig2UEBMJPSHQIHHNTCTIHOX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBAgAGBQJRuW+MAAoJEMtO2Sol0IIm200IAI9rqftatWukVujM7n0Wef/7 90opWphQCZDktJ5EIipxjlYQSY81Wa1UeRPpASmHS3fAkxoPPnMgeYw8aM6mXdlJ /GGknXrd7egY6akg3j3QGiF8TK6cuuDnUUZOQhMc6JCzX1O43OraAGRUMXZ8PdIF HaTMYPlJliiaVMvd/9X0a3f07v34kHDNhORxyHaLHqeoEdQo8Di0N0eDlpOU2+ue Js+hqwvB901yC7Da+ou4SFKMlAP8/QJsz0Kj7RxOjpykLUU9K2yXvf0KLERybTPY 0/z2TQ1MlJnBr5ZZ+8yCSQMzVRdV/7orkXhON4VQfOv73rS07eC8mJuNbZCI00A= =rY1t -----END PGP SIGNATURE----- ------enig2UEBMJPSHQIHHNTCTIHOX-- From owner-freebsd-x11@FreeBSD.ORG Thu Jun 13 10:15:01 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 CFE85F87 for ; Thu, 13 Jun 2013 10:15:01 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) by mx1.freebsd.org (Postfix) with ESMTP id 2DBC71372 for ; Thu, 13 Jun 2013 10:15:00 +0000 (UTC) Received: from mail-wg0-f47.google.com ([74.125.82.47]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUbmbivb0x8X2Qh048+/Y7+2M2AOncCx9@postini.com; Thu, 13 Jun 2013 10:15:01 UTC Received: by mail-wg0-f47.google.com with SMTP id l18so4287002wgh.2 for ; Thu, 13 Jun 2013 03:14:34 -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:reply-to:x-gm-message-state; bh=vIvxlHEwxi2xzAQW5YxEwev3ng12agXE7Z4SE3OMuqo=; b=M4KkGoeyMFNvoTIMQzR57MMSM56VNaoGnSYcLZN2HON5PNhjyaPtDPOxq/wJWCRMCR JMtYZ7BqQ6Xr4mXgCIzhCmUzjG6JXD9PGTeHqwKSzpsc/DlPtlXbGI4PcF0rNMk/zz4G TuFxahHvJTK48g5IL87QFIgDahyHzhHrPghnUobMNn1hTSuen0rK7E328/euCxT4RZ5U WqJsYCOspEShjSrQnco4YpE821bPOXz/Bix4UTYSfRKsGT9A4teGln9kJQDCQj6tEgTX ba/+FA9ur0SCYFKmYIu4C74Da/YfjAlrxb3DYdNJv0CS+ytylpbdJTSXU2qF+2gOf//L qHAA== X-Received: by 10.180.20.208 with SMTP id p16mr37766wie.59.1371118473920; Thu, 13 Jun 2013 03:14:33 -0700 (PDT) X-Received: by 10.180.20.208 with SMTP id p16mr37760wie.59.1371118473797; Thu, 13 Jun 2013 03:14:33 -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 k10sm30252406wia.4.2013.06.13.03.14.31 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 03:14:32 -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 r5DAEUgZ030100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Jun 2013 11:14:30 +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 r5DAEUmh030099; Thu, 13 Jun 2013 11:14:30 +0100 (BST) (envelope-from mexas) Date: Thu, 13 Jun 2013 11:14:30 +0100 (BST) From: Anton Shterenlikht Message-Id: <201306131014.r5DAEUmh030099@mech-cluster241.men.bris.ac.uk> To: freebsd-sparc64@freebsd.org, freebsd-x11@freebsd.org Subject: sparc64 machfb: (EE) Unable to map mmio aperture. Invalid argument (22) X-Gm-Message-State: ALoCoQlOZENVkWrEv6qH9v4FO3uUZ13n5EOnJLahW2u39Cho9eNEVXmweKOMFMaf823hKMUxZGVAkJLMPTlPBbumLeB9kZrnzBJLpr/8Ct5z2p9oev4hi81xAZXQePC9EUQ/sR0aIUTsuBoz7h7GBCacHHRUzwOmxfEPUjSgvBf3jMjAkyojPF8= 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: Thu, 13 Jun 2013 10:15:01 -0000 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 Current version of pixman: 0.28.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. 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.0.log", Time: Thu Jun 13 11:07:01 2013 (II) Loader magic: 0x3c5768 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server Extension : 2.0 (--) Using syscons driver with X support (version 8589945424.11) (--) using VT number 11 (--) PCI: (0:0:6:0) 10b9:7101:0000:0000 ULi Electronics Inc. M7101 Power Managem ent Controller [PMU] rev 0 (--) PCI: (0:0:2:0) 1002:4752:0000:0000 Advanced Micro Devices, Inc. [AMD/ATI] R age XL PCI rev 39, Mem @ 0x03000000/16777216, 0x00102000/4096, I/O @ 0x00000b00/ 256, BIOS @ 0x????????/65536 List of video drivers: mach64 (II) LoadModule: "mach64" (II) Loading /usr/local/lib/xorg/modules/drivers/mach64_drv.so (II) Module mach64: vendor="X.Org Foundation" compiled for 1.7.7, module version = 6.9.3 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) MACH64: Driver for ATI Mach64 chipsets (++) Using config file: "/root/xorg.conf.new" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Not automatically adding devices (==) Not automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (**) ModulePath set to "/usr/local/lib/xorg/modules" (EE) Unable to map mmio aperture. Invalid argument (22) (WW) MACH64: Mach64 in slot 0:2:0 could not be detected! Xorg detected your mouse at device /dev/sysmouse. Please check your config if the mouse is still not operational, as by default Xorg tries to autodetect the protocol. Your xorg.conf file is /root/xorg.conf.new To test the server, run 'X -config /root/xorg.conf.new' Maybe I need to rebuild some ports? Please advise Thanks Anton From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 07:15:47 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 2A372AE4; Fri, 14 Jun 2013 07:15:47 +0000 (UTC) (envelope-from artyom.mirgorodsky@gmail.com) Received: from mail-ea0-x229.google.com (mail-ea0-x229.google.com [IPv6:2a00:1450:4013:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id 7BB261739; Fri, 14 Jun 2013 07:15:46 +0000 (UTC) Received: by mail-ea0-f169.google.com with SMTP id h15so135356eak.14 for ; Fri, 14 Jun 2013 00:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=zyPP2uZUstuInTLTYVzYCHTOn4ktrEqswqnbKeCaqfU=; b=l6y0nuM8RKzB+pr5yVdIGhRSQ21hDZpTZXCEZ1L+PnfpZE2PlPNfg2AxaR36F/2kFZ jkU5pe6ixZIEj3aa+RY4eFlWfvKTtJyzWA/RBOz6fHvxC/Gji4ztlc25Vsa9/jVGLCXq zRnLN/g0dXfGhLaz/ycM+4qA2vmj3v+baqK2DXU+eU5l7EnHGX9s/y7+2ZFBfUJImUMn 6nkjcHVchVxFZ5mkcTPjuxo9EBOilTk3GzDysHx8Xe1hzR/8Mo16RoeCMtBjIsEY0Pz0 34D+DhwGOYSYL8nr0I0Q8EZYTewxFC2xj8RA1jluXMagoQ07H2TVueO306CMZGX0CoAn ujrQ== X-Received: by 10.14.7.2 with SMTP id 2mr1340856eeo.145.1371194144539; Fri, 14 Jun 2013 00:15:44 -0700 (PDT) Received: from notebook.alkar.net (nat1.id-telecom.net. [178.215.171.16]) by mx.google.com with ESMTPSA id 3sm1624965een.7.2013.06.14.00.15.43 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Jun 2013 00:15:43 -0700 (PDT) From: Artyom Mirgorodskiy To: freebsd-x11@freebsd.org Subject: Re: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 Date: Fri, 14 Jun 2013 10:16:15 +0300 Message-ID: <4987465.p9MvIyND5v@notebook.alkar.net> User-Agent: KMail/4.10.3 (FreeBSD/10.0-CURRENT; KDE/4.10.3; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 07:15:47 -0000 Thank you! This patch also solve my issue (unable shutdown): http://lists.freebsd.org/pipermail/freebsd-current/2013-May/042011.html On Tuesday 11 June 2013 12:34:16 Oleg Sidorkin wrote: > Hello. > > I'm running recent 9.1/stable with the recent XOrg on the system with > G33 chipset. > My pciconf -lvb output is here: http://pastebin.com/LDzKzf1i > > If I add > Option "AccelMethod" "sna" > to my xorg.conf system panics after few hours: > > (kgdb) bt > #0 doadump (textdump=) > at /usr/src/sys/kern/kern_ > shutdown.c:272 > #1 0xffffffff8050a19f in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:449 > #2 0xffffffff8050a6a3 in panic (fmt=0x104
) > at /usr/src/sys/kern/kern_shutdown.c:637 > #3 0xffffffff80765f77 in vm_page_insert (m=0xfffffe0226126b50, > object=0xfffffe0208de8488, pindex=3) at /usr/src/sys/vm/vm_page.c:914 > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, > offset=3, prot=, mres=0xffffff824705b680) > at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1429 > #5 0xffffffff80747fe3 in dev_pager_getpages (object=0xfffffe0208de8488, > ma=0xffffff824705b680, count=1, reqpage=) > at /usr/src/sys/vm/device_pager.c:260 > #6 0xffffffff80754bb6 in vm_fault_hold (map=0xfffffe000c247188, > vaddr=34458505216, fault_type=2 '\002', fault_flags=0, m_hold=0x0) > at vm_pager.h:128 > #7 0xffffffff80756ca3 in vm_fault (map=0xfffffe000c247188, vaddr=34458505216, > fault_type=, fault_flags=0) > at /usr/src/sys/vm/vm_fault.c:229 > #8 0xffffffff8078e01f in trap_pfault (frame=0xffffff824705bc40, usermode=1) > at /usr/src/sys/amd64/amd64/trap.c:762 > #9 0xffffffff8078e864 in trap (frame=0xffffff824705bc40) > > (kgdb) bt full > #0 doadump (textdump=) > at /usr/src/sys/kern/kern_shutdown.c:272 > No locals. > #1 0xffffffff8050a19f in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:449 > _ep = (struct eventhandler_entry *) 0x0 > _el = (struct eventhandler_list *) 0xfffffe0009c7f700 > first_buf_printf = 1 > #2 0xffffffff8050a6a3 in panic (fmt=0x104
) > at /usr/src/sys/kern/kern_shutdown.c:637 > td = (struct thread *) 0x0 > bootopt = > newpanic = > ap = {{gp_offset = 8, fp_offset = 48, > overflow_arg_area = 0xffffff824705b570, > reg_save_area = 0xffffff824705b490}} > panic_cpu = 3 > buf = "vm_page_insert: page already inserted", '\0' > #3 0xffffffff80765f77 in vm_page_insert (m=0xfffffe0226126b50, > object=0xfffffe0208de8488, pindex=3) at /usr/src/sys/vm/vm_page.c:914 > root = 0x0 > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, > offset=3, prot=, mres=0xffffff824705b680) > > (kgdb) up 4 > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, > offset=3, prot=, mres=0xffffff824705b680) > at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1429 > 1429 vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > (kgdb) p vm_obj > $1 = 0xfffffe0208de8488 > (kgdb) p m->object > $2 = 0xfffffe0208de8488 > > It works fine for weeks without Option "AccelMethod" "sna". > > I replaced > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > with the code > if (m->object==NULL){ > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > } > else{ > if(m->object!=vm_obj) > panic("i915_gem_pager_fault: tried to assign already > assigned page to the different object"); > } > and it worked with SNA enabled for about a week with no problems. But > I'm not sure that is a good solution. > > I can provide additional info if required. > > Thanks > -- > Oleg Sidorkin > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- Artyom Mirgorodskiy From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 14:22:44 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 74D5DD1F for ; Fri, 14 Jun 2013 14:22:44 +0000 (UTC) (envelope-from tmueller@sysgo.com) Received: from mail1.sysgo.com (mail1.sysgo.com [176.9.26.183]) by mx1.freebsd.org (Postfix) with ESMTP id 37D771204 for ; Fri, 14 Jun 2013 14:22:43 +0000 (UTC) Received: from lantia.sysgo.com (unknown [172.22.2.7]) by mail1.sysgo.com (Postfix) with ESMTP id B1E5146170; Fri, 14 Jun 2013 16:13:52 +0200 (CEST) Received: by lantia.sysgo.com (Postfix, from userid 113) id 96E39506085; Fri, 14 Jun 2013 16:13:52 +0200 (CEST) Received: from tmu.ulm.sysgo.com (tmu.ulm.sysgo.com [172.30.3.10]) by lantia.sysgo.com (Postfix) with ESMTP id 543E3506082; Fri, 14 Jun 2013 16:13:52 +0200 (CEST) Date: Fri, 14 Jun 2013 16:13:52 +0200 From: Thomas Mueller To: David Wolfskill Subject: Re: Help debugging xfig lockup? Message-ID: <20130614161352.6b0bdd2d@tmu.ulm.sysgo.com> In-Reply-To: <20130612205800.GA1369@albert.catwhisker.org> References: <20130612045919.GA1940@over-yonder.net> <20130612205800.GA1369@albert.catwhisker.org> Organization: SYSGO AG X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 14:22:44 -0000 On Wed, 12 Jun 2013 13:58:00 -0700, David Wolfskill wrote: > On Tue, Jun 11, 2013 at 11:59:20PM -0500, Matthew D. Fuller wrote: > > ... > > Well, xfig isn't using anything particularly new or exciting in X; I > > doubt it's even hitting any OpenGL paths or the like. I'd start by > > just slapping a gdb on it and see if I can get a hint of where in what > > library it's stuck; maybe that'll make the answer obvious... > > I tried that, found that it was last in DoLayout(), part of > x11-toolkits/Xaw3d. So I rebuilt x11-toolkits/Xaw3d with debugging, as > well; found that Xaw3d was being invoked from x11-toolkits/libXt; ebuilt > that with debugging. > > [...] > > Program received signal SIGTERM, Terminated. > 0x28206db1 in DoLayout (bbw=0x289eb600, width=0, height=0, > reply_width=0xbfbfc29e, reply_height=0xbfbfc29c, position=0 '\0') > at Box.c:179 > 179 for (i = 0; i < bbw->composite.num_children; i++) { > (gdb) bt > #0 0x28206db1 in DoLayout (bbw=0x289eb600, width=0, height=0, > reply_width=0xbfbfc29e, reply_height=0xbfbfc29c, position=0 '\0') > at Box.c:179 > #1 0x28207346 in PreferredSize (widget=0x289eb600, constraint=0xbfbfc3b4, > preferred=0xbfbfc39c) at Box.c:358 > #2 0x28283f86 in XtQueryGeometry (widget=0x289eb600, intended=0xbfbfc3b4, > reply=0xbfbfc39c) at Geometry.c:789 > #3 0x2822b71f in ComputeLayout (widget=0x289eb300, query=1 '\001', > destroy_scrollbars=1 '\001') at Viewport.c:589 > #4 0x28298454 in XtSetValues (w=0x289eb300, args=0x81b2120, num_args=0) > at SetValues.c:407 > #5 0x080e2589 in sel_mode_but (widget=0x289f1400, closure=0x8171944, > event=0xbfbfd404, continue_to_dispatch=0xbfbfce0b "\001\224'+(\004") > at w_modepanel.c:639 > #6 0x2828152f in XtDispatchEventToWidget (widget=0x289f1400, event=0xbfbfd404) > at Event.c:882 > #7 0x28281b03 in _XtDefaultDispatcher (event=0xbfbfd404) at Event.c:1367 > #8 0x28280b10 in XtDispatchEvent (event=0xbfbfd404) at Event.c:1423 > #9 0x08085768 in main (argc=Error accessing memory address 0x1e: Bad address. > ) at main.c:1551 The last few frames look just like what somebody reported back in 2005(!): http://lists.freebsd.org/pipermail/freebsd-x11/2005-September/002206.html In NetBSD's GNATS there is a PR for this issue and it includes a proposed fix, perhaps this solves the problems: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=32445 HTH, -- Thomas Mueller From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 14:40:01 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B2FCA8A3 for ; Fri, 14 Jun 2013 14:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A4A2912AD for ; Fri, 14 Jun 2013 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5EEe14H003057 for ; Fri, 14 Jun 2013 14:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5EEe11F003056; Fri, 14 Jun 2013 14:40:01 GMT (envelope-from gnats) Date: Fri, 14 Jun 2013 14:40:01 GMT Message-Id: <201306141440.r5EEe11F003056@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/179229: commit references a PR X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 14:40:01 -0000 The following reply was made to PR ports/179229; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/179229: commit references a PR Date: Fri, 14 Jun 2013 14:39:31 +0000 (UTC) Author: zeising Date: Fri Jun 14 14:39:18 2013 New Revision: 320937 URL: http://svnweb.freebsd.org/changeset/ports/320937 Log: Fix patching on powerpc with new xorg. PR: ports/179229 Submitted by: jhibbits (PR), zeising (patch) Added: head/x11-servers/xorg-server/files/extra-new-arch-powerpc - copied, changed from r320890, head/x11-servers/xorg-server/files/extra-arch-powerpc head/x11-servers/xorg-server/files/extra-old-arch-powerpc - copied unchanged from r320890, head/x11-servers/xorg-server/files/extra-arch-powerpc Deleted: head/x11-servers/xorg-server/files/extra-arch-powerpc Modified: head/x11-servers/xorg-server/Makefile Modified: head/x11-servers/xorg-server/Makefile ============================================================================== --- head/x11-servers/xorg-server/Makefile Fri Jun 14 14:36:08 2013 (r320936) +++ head/x11-servers/xorg-server/Makefile Fri Jun 14 14:39:18 2013 (r320937) @@ -127,7 +127,11 @@ PLIST_SUB+= IA64_NA="" .if ${ARCH} == powerpc || ${ARCH} == powerpc64 PLIST_SUB+= PPC_NA="@comment " -EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-powerpc +.if defined(WITH_NEW_XORG) +EXTRA_PATCHES= ${.CURDIR}/files/extra-new-arch-powerpc +.else +EXTRA_PATCHES= ${.CURDIR}/files/extra-old-arch-powerpc +.endif .else PLIST_SUB+= PPC_NA="" .endif Copied and modified: head/x11-servers/xorg-server/files/extra-new-arch-powerpc (from r320890, head/x11-servers/xorg-server/files/extra-arch-powerpc) ============================================================================== --- head/x11-servers/xorg-server/files/extra-arch-powerpc Fri Jun 14 08:15:44 2013 (r320890, copy source) +++ head/x11-servers/xorg-server/files/extra-new-arch-powerpc Fri Jun 14 14:39:18 2013 (r320937) @@ -1,14 +1,14 @@ ---- hw/xfree86/os-support/bsd/ppc_video.c.orig 2008-01-02 12:29:21.000000000 +0000 -+++ hw/xfree86/os-support/bsd/ppc_video.c 2008-01-02 12:29:00.000000000 +0000 -@@ -164,7 +164,11 @@ +--- hw/xfree86/os-support/bsd/ppc_video.c.orig 2012-05-17 19:09:03.000000000 +0200 ++++ hw/xfree86/os-support/bsd/ppc_video.c 2013-06-03 13:46:05.165578200 +0200 +@@ -135,7 +135,11 @@ + { - if (ioBase != MAP_FAILED) - { + if (ioBase != MAP_FAILED) { +#if defined(__FreeBSD__) -+ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); ++ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); +#else - munmap(__UNVOLATILE(ioBase), 0x10000); + munmap(__UNVOLATILE(ioBase), 0x10000); +#endif - ioBase = MAP_FAILED; - } + ioBase = MAP_FAILED; + } } Copied: head/x11-servers/xorg-server/files/extra-old-arch-powerpc (from r320890, head/x11-servers/xorg-server/files/extra-arch-powerpc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-servers/xorg-server/files/extra-old-arch-powerpc Fri Jun 14 14:39:18 2013 (r320937, copy of r320890, head/x11-servers/xorg-server/files/extra-arch-powerpc) @@ -0,0 +1,14 @@ +--- hw/xfree86/os-support/bsd/ppc_video.c.orig 2008-01-02 12:29:21.000000000 +0000 ++++ hw/xfree86/os-support/bsd/ppc_video.c 2008-01-02 12:29:00.000000000 +0000 +@@ -164,7 +164,11 @@ + + if (ioBase != MAP_FAILED) + { ++#if defined(__FreeBSD__) ++ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); ++#else + munmap(__UNVOLATILE(ioBase), 0x10000); ++#endif + ioBase = MAP_FAILED; + } + } _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 14:47:58 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B7657129; Fri, 14 Jun 2013 14:47:58 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC88131C; Fri, 14 Jun 2013 14:47:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5EElwNI005074; Fri, 14 Jun 2013 14:47:58 GMT (envelope-from zeising@freefall.freebsd.org) Received: (from zeising@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5EElwdi005073; Fri, 14 Jun 2013 14:47:58 GMT (envelope-from zeising) Date: Fri, 14 Jun 2013 14:47:58 GMT Message-Id: <201306141447.r5EElwdi005073@freefall.freebsd.org> To: jhibbits@FreeBSD.org, zeising@FreeBSD.org, freebsd-x11@FreeBSD.org From: zeising@FreeBSD.org Subject: Re: ports/179229: x11-servers/xorg-server extra-arch-powerpc patch needs to be regenerated X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 14:47:58 -0000 Synopsis: x11-servers/xorg-server extra-arch-powerpc patch needs to be regenerated State-Changed-From-To: open->closed State-Changed-By: zeising State-Changed-When: Fri Jun 14 14:47:58 UTC 2013 State-Changed-Why: Fixed, thanks for the report! http://www.freebsd.org/cgi/query-pr.cgi?pr=179229 From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 18:39:27 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5226A875 for ; Fri, 14 Jun 2013 18:39:27 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 2F90111DF for ; Fri, 14 Jun 2013 18:39:26 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id r5EIdQj3047595; Fri, 14 Jun 2013 11:39:26 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id r5EIdP4B047594; Fri, 14 Jun 2013 11:39:25 -0700 (PDT) (envelope-from david) Date: Fri, 14 Jun 2013 11:39:25 -0700 From: David Wolfskill To: Thomas Mueller Subject: Re: Help debugging xfig lockup? Message-ID: <20130614183925.GP1369@albert.catwhisker.org> References: <20130612045919.GA1940@over-yonder.net> <20130612205800.GA1369@albert.catwhisker.org> <20130614161352.6b0bdd2d@tmu.ulm.sysgo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D5HQcwfjqNcvOcn2" Content-Disposition: inline In-Reply-To: <20130614161352.6b0bdd2d@tmu.ulm.sysgo.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 18:39:27 -0000 --D5HQcwfjqNcvOcn2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 14, 2013 at 04:13:52PM +0200, Thomas Mueller wrote: > .... > The last few frames look just like what somebody reported=20 > back in 2005(!): > http://lists.freebsd.org/pipermail/freebsd-x11/2005-September/002206.ht= ml The expression "The more things change, the more they stay the same" comes to mind.... > In NetBSD's GNATS there is a PR for this issue and it includes a > proposed fix, perhaps this solves the problems: > http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=3D32445 > .... It did not apply cleaning -- patch rejected it. So I applied it by hand, rebuilt, and reinstalled, and... xfig works now! :-) Thomas -- shall I go ahead and file the PR, or did you want the ... honor? (I'll be happy to credit you with the find, if you'd rather I filed the PR.) I really like happy endings.... :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --D5HQcwfjqNcvOcn2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlG7Y10ACgkQmprOCmdXAD19ugCeMAjiK3RRHBeWS4Yqqq9ccD1s a7cAoIgxmavFlxVOm+dEX3Kx5h3Qd4OW =lLiK -----END PGP SIGNATURE----- --D5HQcwfjqNcvOcn2-- From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 19:28:28 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C9EE5F8 for ; Fri, 14 Jun 2013 19:28:28 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 1980413B4 for ; Fri, 14 Jun 2013 19:28:28 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 5FE1B40019 for ; Fri, 14 Jun 2013 21:28:26 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 561D140016; Fri, 14 Jun 2013 21:28:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id CF4AF40015; Fri, 14 Jun 2013 21:28:24 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3bXBgX1chTz8hVn; Fri, 14 Jun 2013 21:28:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id E9K3aqIdhS_A; Fri, 14 Jun 2013 21:28:20 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 3bXBgS3lLpz8hVm; Fri, 14 Jun 2013 21:28:20 +0200 (CEST) Received: from [IPv6:::1] (celes.daemonic.se [IPv6:2001:470:dca9:1::3]) by mail.daemonic.se (Postfix) with ESMTPSA id 3bXBgS2ynYz9Ctq; Fri, 14 Jun 2013 21:28:20 +0200 (CEST) Message-ID: <51BB6EA0.9070606@freebsd.org> Date: Fri, 14 Jun 2013 21:27:28 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: David Wolfskill Subject: Re: Help debugging xfig lockup? References: <20130612045919.GA1940@over-yonder.net> <20130612205800.GA1369@albert.catwhisker.org> <20130614161352.6b0bdd2d@tmu.ulm.sysgo.com> <20130614183925.GP1369@albert.catwhisker.org> In-Reply-To: <20130614183925.GP1369@albert.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130614-1, 2013-06-14), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV using ClamSMTP Cc: x11@freebsd.org, Thomas Mueller X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 19:28:28 -0000 On 2013-06-14 20:39, David Wolfskill wrote: > On Fri, Jun 14, 2013 at 04:13:52PM +0200, Thomas Mueller wrote: >> .... >> The last few frames look just like what somebody reported >> back in 2005(!): >> http://lists.freebsd.org/pipermail/freebsd-x11/2005-September/002206.html > > The expression "The more things change, the more they stay the same" > comes to mind.... > >> In NetBSD's GNATS there is a PR for this issue and it includes a >> proposed fix, perhaps this solves the problems: >> http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=32445 >> .... > > It did not apply cleaning -- patch rejected it. So I applied it by > hand, rebuilt, and reinstalled, and... xfig works now! :-) > > Thomas -- shall I go ahead and file the PR, or did you want the ... > honor? (I'll be happy to credit you with the find, if you'd rather I > filed the PR.) > > I really like happy endings.... :-) > > Peace, > david > Please also consider submitting this patch upstream. :) Regards! -- Niclas From owner-freebsd-x11@FreeBSD.ORG Fri Jun 14 19:30:37 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C2BFD644; Fri, 14 Jun 2013 19:30:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id A24D213C2; Fri, 14 Jun 2013 19:30:37 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id r5EJUaWM047795; Fri, 14 Jun 2013 12:30:36 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id r5EJUajQ047794; Fri, 14 Jun 2013 12:30:36 -0700 (PDT) (envelope-from david) Date: Fri, 14 Jun 2013 12:30:36 -0700 From: David Wolfskill To: Niclas Zeising Subject: Re: Help debugging xfig lockup? Message-ID: <20130614193036.GR1369@albert.catwhisker.org> References: <20130612045919.GA1940@over-yonder.net> <20130612205800.GA1369@albert.catwhisker.org> <20130614161352.6b0bdd2d@tmu.ulm.sysgo.com> <20130614183925.GP1369@albert.catwhisker.org> <51BB6EA0.9070606@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/qX1VF4Euib7a2dq" Content-Disposition: inline In-Reply-To: <51BB6EA0.9070606@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 19:30:37 -0000 --/qX1VF4Euib7a2dq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 14, 2013 at 09:27:28PM +0200, Niclas Zeising wrote: > ... > Please also consider submitting this patch upstream. :) > ... Oh, yeah! And thanks for the reminder. :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --/qX1VF4Euib7a2dq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlG7b1wACgkQmprOCmdXAD1xXgCffNnqksRFZJPLtp6j+LUDQyWL 5wMAoIb/gvlfS80Vg3WdJKZzCXBlKn1x =Lz74 -----END PGP SIGNATURE----- --/qX1VF4Euib7a2dq-- From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 05:17:57 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 958576EA; Sat, 15 Jun 2013 05:17:57 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0BCF219B3; Sat, 15 Jun 2013 05:17:56 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r5F5HklZ024298; Sat, 15 Jun 2013 08:17:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r5F5HklZ024298 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r5F5Hkim024297; Sat, 15 Jun 2013 08:17:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 15 Jun 2013 08:17:46 +0300 From: Konstantin Belousov To: Artyom Mirgorodskiy Subject: Re: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 Message-ID: <20130615051746.GH91021@kib.kiev.ua> References: <4987465.p9MvIyND5v@notebook.alkar.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rn7IEEq3VEzCw+ji" Content-Disposition: inline In-Reply-To: <4987465.p9MvIyND5v@notebook.alkar.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 05:17:57 -0000 --Rn7IEEq3VEzCw+ji Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 14, 2013 at 10:16:15AM +0300, Artyom Mirgorodskiy wrote: > Thank you! This patch also solve my issue (unable shutdown): > http://lists.freebsd.org/pipermail/freebsd-current/2013-May/042011.html >=20 > On Tuesday 11 June 2013 12:34:16 Oleg Sidorkin wrote: > > Hello. > >=20 > > I'm running recent 9.1/stable with the recent XOrg on the system with > > G33 chipset. > > My pciconf -lvb output is here: http://pastebin.com/LDzKzf1i > >=20 > > If I add > > Option "AccelMethod" "sna" > > to my xorg.conf system panics after few hours: > >=20 > > (kgdb) bt > > #0 doadump (textdump=3D) > > at /usr/src/sys/kern/kern_ > > shutdown.c:272 > > #1 0xffffffff8050a19f in kern_reboot (howto=3D260) > > at /usr/src/sys/kern/kern_shutdown.c:449 > > #2 0xffffffff8050a6a3 in panic (fmt=3D0x104
) > > at /usr/src/sys/kern/kern_shutdown.c:637 > > #3 0xffffffff80765f77 in vm_page_insert (m=3D0xfffffe0226126b50, > > object=3D0xfffffe0208de8488, pindex=3D3) at /usr/src/sys/vm/vm_page= =2Ec:914 > > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=3D0xfffffe0208de= 8488, > > offset=3D3, prot=3D, mres=3D0xffffff824705b680) > > at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_ge= m.c:1429 > > #5 0xffffffff80747fe3 in dev_pager_getpages (object=3D0xfffffe0208de84= 88, > > ma=3D0xffffff824705b680, count=3D1, reqpage=3D) > > at /usr/src/sys/vm/device_pager.c:260 > > #6 0xffffffff80754bb6 in vm_fault_hold (map=3D0xfffffe000c247188, > > vaddr=3D34458505216, fault_type=3D2 '\002', fault_flags=3D0, m_hold= =3D0x0) > > at vm_pager.h:128 > > #7 0xffffffff80756ca3 in vm_fault (map=3D0xfffffe000c247188, vaddr=3D3= 4458505216, > > fault_type=3D, fault_flags=3D0) > > at /usr/src/sys/vm/vm_fault.c:229 > > #8 0xffffffff8078e01f in trap_pfault (frame=3D0xffffff824705bc40, user= mode=3D1) > > at /usr/src/sys/amd64/amd64/trap.c:762 > > #9 0xffffffff8078e864 in trap (frame=3D0xffffff824705bc40) > >=20 > > (kgdb) bt full > > #0 doadump (textdump=3D) > > at /usr/src/sys/kern/kern_shutdown.c:272 > > No locals. > > #1 0xffffffff8050a19f in kern_reboot (howto=3D260) > > at /usr/src/sys/kern/kern_shutdown.c:449 > > _ep =3D (struct eventhandler_entry *) 0x0 > > _el =3D (struct eventhandler_list *) 0xfffffe0009c7f700 > > first_buf_printf =3D 1 > > #2 0xffffffff8050a6a3 in panic (fmt=3D0x104
) > > at /usr/src/sys/kern/kern_shutdown.c:637 > > td =3D (struct thread *) 0x0 > > bootopt =3D > > newpanic =3D > > ap =3D {{gp_offset =3D 8, fp_offset =3D 48, > > overflow_arg_area =3D 0xffffff824705b570, > > reg_save_area =3D 0xffffff824705b490}} > > panic_cpu =3D 3 > > buf =3D "vm_page_insert: page already inserted", '\0' > > #3 0xffffffff80765f77 in vm_page_insert (m=3D0xfffffe0226126b50, > > object=3D0xfffffe0208de8488, pindex=3D3) at /usr/src/sys/vm/vm_page= =2Ec:914 > > root =3D 0x0 > > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=3D0xfffffe0208de= 8488, > > offset=3D3, prot=3D, mres=3D0xffffff824705b680) > >=20 > > (kgdb) up 4 > > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=3D0xfffffe0208de= 8488, > > offset=3D3, prot=3D, mres=3D0xffffff824705b680) > > at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_ge= m.c:1429 > > 1429 vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > > (kgdb) p vm_obj > > $1 =3D 0xfffffe0208de8488 > > (kgdb) p m->object > > $2 =3D 0xfffffe0208de8488 > >=20 > > It works fine for weeks without Option "AccelMethod" "sna". > >=20 > > I replaced > > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > > with the code > > if (m->object=3D=3DNULL){ > > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > > } > > else{ > > if(m->object!=3Dvm_obj) > > panic("i915_gem_pager_fault: tried to assign already > > assigned page to the different object"); > > } > > and it worked with SNA enabled for about a week with no problems. But > > I'm not sure that is a good solution. > >=20 > > I can provide additional info if required. > >=20 > > Thanks > > -- > > Oleg Sidorkin > > _______________________________________________ > > freebsd-x11@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > --=20 > Artyom Mirgorodskiy > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" I did not see the original mail with the backtrace. FWIW, it seems that the issue is that other thread might have faulted on the same GTT offset and bound the page before the paniced thread. If this is indeed the situation, then the proper fix is to check for the race, and not to just avoid the insertion. Re-instantiating the fences is particularly wrong IMO. Try this patch (untested, I only compiled it). diff --git a/sys/dev/drm2/i915/i915_gem.c b/sys/dev/drm2/i915/i915_gem.c index 8ce8bec..c505cdb 100644 --- a/sys/dev/drm2/i915/i915_gem.c +++ b/sys/dev/drm2/i915/i915_gem.c @@ -1362,7 +1362,6 @@ unlocked_vmobj: cause =3D ret =3D 0; m =3D NULL; =20 - if (i915_intr_pf) { ret =3D i915_mutex_lock_interruptible(dev); if (ret !=3D 0) { @@ -1372,6 +1371,23 @@ unlocked_vmobj: } else DRM_LOCK(dev); =20 + /* + * Since the object lock was dropped, other thread might have + * faulted on the same GTT address and instantiated the + * mapping for the page. Recheck. + */ + VM_OBJECT_WLOCK(vm_obj); + m =3D vm_page_lookup(vm_obj, OFF_TO_IDX(offset)); + if (m !=3D NULL) { + if ((m->flags & VPO_BUSY) !=3D 0) { + DRM_UNLOCK(dev); + vm_page_sleep(m, "915pee"); + goto retry; + } + goto have_page; + } else + VM_OBJECT_WUNLOCK(vm_obj); + /* Now bind it into the GTT if needed */ if (!obj->map_and_fenceable) { ret =3D i915_gem_object_unbind(obj); @@ -1425,8 +1441,9 @@ unlocked_vmobj: goto retry; } m->valid =3D VM_PAGE_BITS_ALL; - *mres =3D m; vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); +have_page: + *mres =3D m; vm_page_busy(m); =20 CTR4(KTR_DRM, "fault %p %jx %x phys %x", gem_obj, offset, prot, --Rn7IEEq3VEzCw+ji Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJRu/j5AAoJEJDCuSvBvK1BhjcP/ie/EktJ/y90D6HQ+KsCccPr lr1d0l/ulJyOXD6mnpMPQPVjOL1Ko5b+edXFIuymS4VL/1ZZbYVzMbtef21iDBzY Ytjhrk/N6qJFSo3qO7E00wGx491YXbpxxE/QyfiLTfRUmSHiIb9lpONKuApnqf63 M8fa6VjMMLf9+Uc1wyNkYtxGApFimbJxFYvrBIY3a1C/Ra7B1WfiA2CPLGZp9YGN atjlJv6NDjLtOkMet4GdDmzbivdDo38D/DG1tFHhzF1ewG17wLKDIy1830pX/PgZ 6+bhQyf7G0mBLymuy0amdBY42tRt4E7RRAF9W/JjvrfdEZH/PlvzkKF+sXE0oN4Q VeKHrPhNLXkLsrMII53tZLxIcsunDe/tAuTWuMgJdlJEzuc3q58cKhvTTcsKyv+p 1ETE+W32Qh18IFgfQz7RoHal8MKD4i4V90keluFdvIM/ODb5Z5OeigLh+NgsHXMa V/PcXxmkBipdPPdlN/8+ICUnXLcU+1hp6NvyH1cqGr4OT7oMyHKTxQ8D/HusorkI yyoVaH/9d/8ZJbCxrICdqWFyR8tAqj8LhANRCrKiH2OstZ3vQ9TH8QKysz7DmPG4 xMST6G+mjIkDnG6G8Mfwyl5D57lygzspSVUuHrrm6YKGW2sw9LqubM2Rq33AMfNa 6dUVCapMk+MONqW12Tk/ =kpqA -----END PGP SIGNATURE----- --Rn7IEEq3VEzCw+ji-- From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 12:20:08 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A7FA1E63; Sat, 15 Jun 2013 12:20:08 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 83C7E160C; Sat, 15 Jun 2013 12:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FCK8O9067024; Sat, 15 Jun 2013 12:20:08 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5FCK8m3066984; Sat, 15 Jun 2013 12:20:08 GMT (envelope-from edwin) Date: Sat, 15 Jun 2013 12:20:08 GMT Message-Id: <201306151220.r5FCK8m3066984@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/179571: [PATCH] devel/gccmakedep: improve gcpp test (764 dports broke) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 12:20:08 -0000 Synopsis: [PATCH] devel/gccmakedep: improve gcpp test (764 dports broke) Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: edwin Responsible-Changed-When: Sat Jun 15 12:20:08 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=179571 From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 13:47:19 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 749D41F3; Sat, 15 Jun 2013 13:47:19 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 1309E1877; Sat, 15 Jun 2013 13:47:18 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.6/8.14.6/ALCHEMY.FRANKEN.DE) with ESMTP id r5FDlGZW022657; Sat, 15 Jun 2013 15:47:16 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.6/8.14.6/Submit) id r5FDlGsQ022656; Sat, 15 Jun 2013 15:47:16 +0200 (CEST) (envelope-from marius) Date: Sat, 15 Jun 2013 15:47:16 +0200 From: Marius Strobl To: mexas@bristol.ac.uk Subject: Re: sparc64 machfb: (EE) Unable to map mmio aperture. Invalid argument (22) Message-ID: <20130615134716.GA22046@alchemy.franken.de> References: <201306131014.r5DAEUmh030099@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201306131014.r5DAEUmh030099@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-x11@freebsd.org, freebsd-sparc64@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 13:47:19 -0000 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 From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 16:23:00 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 C9264E34 for ; Sat, 15 Jun 2013 16:23:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8FF2F1D8D for ; Sat, 15 Jun 2013 16:23:00 +0000 (UTC) Received: from [88.217.76.24] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UntFb-0007UQ-Oz for freebsd-x11@freebsd.org; Sat, 15 Jun 2013 18:22:51 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r5FGMnff002655 for ; Sat, 15 Jun 2013 18:22:49 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r5FGMmEn002654 for freebsd-x11@freebsd.org; Sat, 15 Jun 2013 18:22:48 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 15 Jun 2013 18:22:48 +0200 From: Matthias Apitz To: freebsd-x11@freebsd.org Subject: resetting alpha console Message-ID: <20130615162247.GA2629@La-Habana> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.76.24 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 16:23:00 -0000 Hello, I investigating Xorg server crashes with gdb via SSH, but this is here not the question, only the background; when the Xorg server crashes, the alpha console from where it was started (and all others) are in an unreadable picture (only coloured stripes, nothing to see); the console is still working fine, for example I just can use CURSOR-UP and ENTER to restart the 'startx' and X comes up fine on the F9-screen; is there some way to reset the video output for the alpha consoles to some good state again? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 18:45: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 9ABDA764; Sat, 15 Jun 2013 18:45:32 +0000 (UTC) (envelope-from artyom.mirgorodsky@gmail.com) Received: from mail-ea0-x236.google.com (mail-ea0-x236.google.com [IPv6:2a00:1450:4013:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id C445613CC; Sat, 15 Jun 2013 18:45:31 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id d10so970191eaj.27 for ; Sat, 15 Jun 2013 11:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=4UV/fEq2ZldeVMIW2p+lDDB/EoKyL07p6DVoXfdr3e4=; b=H8jqoOPMhfn03Fpuwa0F4SBF9FyQvroPW/75l9hbysbTkfmxJGd+KPDHCBP3DaCLLG Ni5YmmNhWM7CB0jNLKF3xS7agCNjTMj5DYzpLJNwBeeH9n5kP117Nnpi7Md152xvhHZc XE4+rmcx7tN5wVg7BOCy/6FB1FCAKvLytoE8BGICVvaP79zSMrDwsLqIHwbKzI3gcqgE 30QqWy5DOLaU/4X2PbJbR7WphMt5QkPLXUo4VHvJcTxBuIVPPY63O6YJgayiSvd2pdA/ JC7CkwiJWyQIOplKIWtiTHcsbN8YNxmeA6v+jnLTttvMf1l4fMVu2mPi8Ob8pUo5Vhty hupg== X-Received: by 10.14.251.73 with SMTP id a49mr9081665ees.45.1371321930842; Sat, 15 Jun 2013 11:45:30 -0700 (PDT) Received: from notebook.alkar.net (nat1.id-telecom.net. [178.215.171.16]) by mx.google.com with ESMTPSA id z52sm11765545eea.1.2013.06.15.11.45.29 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Jun 2013 11:45:30 -0700 (PDT) From: Artyom Mirgorodskiy To: Konstantin Belousov Subject: Re: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 Date: Sat, 15 Jun 2013 21:46:02 +0300 Message-ID: <6440183.K9cfUIuKrT@notebook.alkar.net> User-Agent: KMail/4.10.3 (FreeBSD/10.0-CURRENT; KDE/4.10.3; amd64; ; ) In-Reply-To: <20130615051746.GH91021@kib.kiev.ua> References: <4987465.p9MvIyND5v@notebook.alkar.net> <20130615051746.GH91021@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 18:45:32 -0000 Can you please also create patch for -current? On Saturday 15 June 2013 08:17:46 Konstantin Belousov wrote: > On Fri, Jun 14, 2013 at 10:16:15AM +0300, Artyom Mirgorodskiy wrote: > > Thank you! This patch also solve my issue (unable shutdown): > > http://lists.freebsd.org/pipermail/freebsd-current/2013-May/042011.html > > > > On Tuesday 11 June 2013 12:34:16 Oleg Sidorkin wrote: > > > Hello. > > > > > > I'm running recent 9.1/stable with the recent XOrg on the system with > > > G33 chipset. > > > My pciconf -lvb output is here: http://pastebin.com/LDzKzf1i > > > > > > If I add > > > Option "AccelMethod" "sna" > > > to my xorg.conf system panics after few hours: > > > > > > (kgdb) bt > > > #0 doadump (textdump=) > > > at /usr/src/sys/kern/kern_ > > > shutdown.c:272 > > > #1 0xffffffff8050a19f in kern_reboot (howto=260) > > > at /usr/src/sys/kern/kern_shutdown.c:449 > > > #2 0xffffffff8050a6a3 in panic (fmt=0x104
) > > > at /usr/src/sys/kern/kern_shutdown.c:637 > > > #3 0xffffffff80765f77 in vm_page_insert (m=0xfffffe0226126b50, > > > object=0xfffffe0208de8488, pindex=3) at /usr/src/sys/vm/vm_page.c:914 > > > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, > > > offset=3, prot=, mres=0xffffff824705b680) > > > at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1429 > > > #5 0xffffffff80747fe3 in dev_pager_getpages (object=0xfffffe0208de8488, > > > ma=0xffffff824705b680, count=1, reqpage=) > > > at /usr/src/sys/vm/device_pager.c:260 > > > #6 0xffffffff80754bb6 in vm_fault_hold (map=0xfffffe000c247188, > > > vaddr=34458505216, fault_type=2 '\002', fault_flags=0, m_hold=0x0) > > > at vm_pager.h:128 > > > #7 0xffffffff80756ca3 in vm_fault (map=0xfffffe000c247188, vaddr=34458505216, > > > fault_type=, fault_flags=0) > > > at /usr/src/sys/vm/vm_fault.c:229 > > > #8 0xffffffff8078e01f in trap_pfault (frame=0xffffff824705bc40, usermode=1) > > > at /usr/src/sys/amd64/amd64/trap.c:762 > > > #9 0xffffffff8078e864 in trap (frame=0xffffff824705bc40) > > > > > > (kgdb) bt full > > > #0 doadump (textdump=) > > > at /usr/src/sys/kern/kern_shutdown.c:272 > > > No locals. > > > #1 0xffffffff8050a19f in kern_reboot (howto=260) > > > at /usr/src/sys/kern/kern_shutdown.c:449 > > > _ep = (struct eventhandler_entry *) 0x0 > > > _el = (struct eventhandler_list *) 0xfffffe0009c7f700 > > > first_buf_printf = 1 > > > #2 0xffffffff8050a6a3 in panic (fmt=0x104
) > > > at /usr/src/sys/kern/kern_shutdown.c:637 > > > td = (struct thread *) 0x0 > > > bootopt = > > > newpanic = > > > ap = {{gp_offset = 8, fp_offset = 48, > > > overflow_arg_area = 0xffffff824705b570, > > > reg_save_area = 0xffffff824705b490}} > > > panic_cpu = 3 > > > buf = "vm_page_insert: page already inserted", '\0' > > > #3 0xffffffff80765f77 in vm_page_insert (m=0xfffffe0226126b50, > > > object=0xfffffe0208de8488, pindex=3) at /usr/src/sys/vm/vm_page.c:914 > > > root = 0x0 > > > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, > > > offset=3, prot=, mres=0xffffff824705b680) > > > > > > (kgdb) up 4 > > > #4 0xffffffff814a889d in i915_gem_pager_fault (vm_obj=0xfffffe0208de8488, > > > offset=3, prot=, mres=0xffffff824705b680) > > > at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1429 > > > 1429 vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > > > (kgdb) p vm_obj > > > $1 = 0xfffffe0208de8488 > > > (kgdb) p m->object > > > $2 = 0xfffffe0208de8488 > > > > > > It works fine for weeks without Option "AccelMethod" "sna". > > > > > > I replaced > > > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > > > with the code > > > if (m->object==NULL){ > > > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > > > } > > > else{ > > > if(m->object!=vm_obj) > > > panic("i915_gem_pager_fault: tried to assign already > > > assigned page to the different object"); > > > } > > > and it worked with SNA enabled for about a week with no problems. But > > > I'm not sure that is a good solution. > > > > > > I can provide additional info if required. > > > > > > Thanks > > > -- > > > Oleg Sidorkin > > > _______________________________________________ > > > freebsd-x11@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > > I did not see the original mail with the backtrace. > > FWIW, it seems that the issue is that other thread might have faulted > on the same GTT offset and bound the page before the paniced thread. > If this is indeed the situation, then the proper fix is to check for > the race, and not to just avoid the insertion. Re-instantiating the > fences is particularly wrong IMO. > > Try this patch (untested, I only compiled it). > > diff --git a/sys/dev/drm2/i915/i915_gem.c b/sys/dev/drm2/i915/i915_gem.c > index 8ce8bec..c505cdb 100644 > --- a/sys/dev/drm2/i915/i915_gem.c > +++ b/sys/dev/drm2/i915/i915_gem.c > @@ -1362,7 +1362,6 @@ unlocked_vmobj: > cause = ret = 0; > m = NULL; > > - > if (i915_intr_pf) { > ret = i915_mutex_lock_interruptible(dev); > if (ret != 0) { > @@ -1372,6 +1371,23 @@ unlocked_vmobj: > } else > DRM_LOCK(dev); > > + /* > + * Since the object lock was dropped, other thread might have > + * faulted on the same GTT address and instantiated the > + * mapping for the page. Recheck. > + */ > + VM_OBJECT_WLOCK(vm_obj); > + m = vm_page_lookup(vm_obj, OFF_TO_IDX(offset)); > + if (m != NULL) { > + if ((m->flags & VPO_BUSY) != 0) { > + DRM_UNLOCK(dev); > + vm_page_sleep(m, "915pee"); > + goto retry; > + } > + goto have_page; > + } else > + VM_OBJECT_WUNLOCK(vm_obj); > + > /* Now bind it into the GTT if needed */ > if (!obj->map_and_fenceable) { > ret = i915_gem_object_unbind(obj); > @@ -1425,8 +1441,9 @@ unlocked_vmobj: > goto retry; > } > m->valid = VM_PAGE_BITS_ALL; > - *mres = m; > vm_page_insert(m, vm_obj, OFF_TO_IDX(offset)); > +have_page: > + *mres = m; > vm_page_busy(m); > > CTR4(KTR_DRM, "fault %p %jx %x phys %x", gem_obj, offset, prot, -- Artyom Mirgorodskiy From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 18:48:11 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 120548B4; Sat, 15 Jun 2013 18:48:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7A58C146A; Sat, 15 Jun 2013 18:48:10 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r5FIm8ob094121; Sat, 15 Jun 2013 21:48:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r5FIm8ob094121 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r5FIm8h6094120; Sat, 15 Jun 2013 21:48:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 15 Jun 2013 21:48:08 +0300 From: Konstantin Belousov To: Artyom Mirgorodskiy Subject: Re: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 Message-ID: <20130615184808.GQ91021@kib.kiev.ua> References: <4987465.p9MvIyND5v@notebook.alkar.net> <20130615051746.GH91021@kib.kiev.ua> <6440183.K9cfUIuKrT@notebook.alkar.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bEjdSXxHv0Az5++U" Content-Disposition: inline In-Reply-To: <6440183.K9cfUIuKrT@notebook.alkar.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 18:48:11 -0000 --bEjdSXxHv0Az5++U Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jun 15, 2013 at 09:46:02PM +0300, Artyom Mirgorodskiy wrote: > Can you please also create patch for -current? It is for current. Code in stable/9 should be identical though. --bEjdSXxHv0Az5++U Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJRvLbnAAoJEJDCuSvBvK1BOksP/1fxh3OiE+gwSZ9drOy8+Z4m /7BOquzavtnz10HXbm/tsHCG5iO2vvypQHboo62K/Rf52w1a52AIgvjkhqITIjxt G/bUbpAPXywkyEP4PQQ60R9MzJ1vaAarkABeMzYAyK849kEgYHy65L2M/dt7y78X 6dArc3xfAeO2RZR7Bprph5hS/cwqsEoLMClzglpy1eLuP0mtiJ4bzuVaocwUc6TE Yur7uBGediE/N6LmUgrSpg0egH6dagi4mSw1QDmSM0wSWEMLWm7cS8Dz0KAEDO5A aCCmXBck7Exrf7D4U8euAgYOzmxs7tSps8bHDYNPBoh/xfE74T5aC9gjGxQoeWYV 2pgTR6gErjdXkd2XME63W55x2XYDvemCg+A77D8dTYXZbHxzNHD7QTW046Krxd8c zObQyXQ45+1xTkX27kHFM0oL62vlsjoxe5GwXX1HexwBP/FiyzJNGRlzP7zdTMCh xFa4uvbg+Xp5K4zqfH5NdGs6z2smepkkNjmWZ6NgDaT6jw6Kd1ZbxLz+owwmgVGB 4x7jUJN7Sz4rUwkdg32e+NiCggj39OwN7NKcHH6BjQbSqzTvdLdae9BMl3lh5eAW jt5hesy/H3gCPUtE8ee9E/1y69nwWtgwjdsFhuDBBjp8Ep0l5YWMGpnI/dFhtVHZ MT17QNA9qEhiEsirK91F =S0MO -----END PGP SIGNATURE----- --bEjdSXxHv0Az5++U-- From owner-freebsd-x11@FreeBSD.ORG Sat Jun 15 19:53:38 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A00985CF; Sat, 15 Jun 2013 19:53:38 +0000 (UTC) (envelope-from artyom.mirgorodsky@gmail.com) Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 02F3E175C; Sat, 15 Jun 2013 19:53:37 +0000 (UTC) Received: by mail-ee0-f51.google.com with SMTP id e52so965718eek.38 for ; Sat, 15 Jun 2013 12:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=eQCgMWnRTogkiTES2HUqsigXihkezpbgfIhTm/NarlE=; b=A+Zl9oAJxH3MJA0QvJrzrltR8Wy/+c0hvdF6oOQneAd2ym+WfdBGw6ucm8ldKhiZ/O P2p8F9e6CA72EPOQxFyjMCdb4w2fNV1dKHXgrxZXi7JW9UEyKe8LVp1S26iolX7KZQXz //sVclzIoY+bW5GyG21kHCbVz2uy2D9K21y85VnXQw+9ifOuqbBjL+R9KIHOz8Ou+lVM ENEIxBGHat9nU1dQVXE4aVBDQSLBKfkr15mBplmM5Y7cEJLQ0jlqFP+9Xs/hCoZYONre rPw6FEImoJ46mT4qbzQZa4s733jJT9gDRuu655AoYAj5CFBTFcaT4ZrB4bYhYrYHcPn2 sVcQ== X-Received: by 10.14.199.134 with SMTP id x6mr9268390een.114.1371326015648; Sat, 15 Jun 2013 12:53:35 -0700 (PDT) Received: from notebook.alkar.net (nat1.id-telecom.net. [178.215.171.16]) by mx.google.com with ESMTPSA id bj46sm3379034eeb.13.2013.06.15.12.53.34 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Jun 2013 12:53:35 -0700 (PDT) From: Artyom Mirgorodskiy To: Konstantin Belousov Subject: Re: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 Date: Sat, 15 Jun 2013 22:54:08 +0300 Message-ID: <2196173.6JJmiBSmEt@notebook.alkar.net> User-Agent: KMail/4.10.3 (FreeBSD/10.0-CURRENT; KDE/4.10.3; amd64; ; ) In-Reply-To: <20130615184808.GQ91021@kib.kiev.ua> References: <6440183.K9cfUIuKrT@notebook.alkar.net> <20130615184808.GQ91021@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 19:53:38 -0000 I can't apply patch On Saturday 15 June 2013 21:48:08 Konstantin Belousov wrote: > On Sat, Jun 15, 2013 at 09:46:02PM +0300, Artyom Mirgorodskiy wrote: > > Can you please also create patch for -current? > It is for current. Code in stable/9 should be identical though. -- Artyom Mirgorodskiy