From owner-freebsd-stable@FreeBSD.ORG Fri Jun 27 09:55:50 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CB631065678 for ; Fri, 27 Jun 2008 09:55:50 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 69F738FC36 for ; Fri, 27 Jun 2008 09:55:50 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp id 1KCAgG-0005bo-MM for ; Fri, 27 Jun 2008 11:55:48 +0200 Received: (qmail 1652 invoked from network); 27 Jun 2008 09:55:46 -0000 Received: from localhost (HELO guido.klop.ws) (127.0.0.1) by localhost with SMTP; 27 Jun 2008 09:55:46 -0000 Date: Fri, 27 Jun 2008 11:55:45 +0200 To: "Gavin Atkinson" , "Ronald Klop" From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080616102144.4E3312844C@ronald.office.base.nl> <1214496067.23553.42.camel@buffy.york.ac.uk> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <1214496067.23553.42.camel@buffy.york.ac.uk> User-Agent: Opera Mail/9.50 (FreeBSD) Cc: "freebsd-stable@freebsd.org" Subject: Re: panic in drm X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 09:55:50 -0000 On Thu, 26 Jun 2008 18:01:07 +0200, Gavin Atkinson wrote: > On Thu, 2008-06-26 at 16:09 +0200, Ronald Klop wrote: >> Hello, >> >> At my work I see a panic if I do this. >> Leaf my computer on screensaver (don't no if that is necessary) and come >> back the next morning. My monitor is than black, but the light is green, >> so DPMS didn't kick in. >> Keys or mouse don't wake up the system. CTRL-ALT-F1 switches to the >> console and immediately triggers this panic. >> >> I'm running latest x.org with xf86-video-i810-1.7.4_1. The newer >> xf86-video-intel also crashes my system sometimes when I'm working on >> it, >> so a downgraded. >> >> Any ideas, suggestions or fixes available? > > This sounds very familiar to me. I think I was seeing the same panic in > 2006... > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-12/msg00344.html > > Can you add this to src/sys/dev/drm/i915_irq.c > > if (!dev->irqr) { > return DRM_ERR(EINVAL); > } > > just above the DRM_WAIT_ON in i915_driver_vblank_wait() (around line > 140), and see if that prevents the panic? Note that I believe this to > be a workaround, and not really the correct fix. > > (sorry for not supplying patches, I'm not in a position to right now) > > Gavin Thanks, I'll try this next week. Ronald.