From owner-freebsd-stable@FreeBSD.ORG Mon Jul 7 08:15:40 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 64EB91065670 for ; Mon, 7 Jul 2008 08:15:40 +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 2512F8FC13 for ; Mon, 7 Jul 2008 08:15:39 +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 1KFlso-0005Td-0o for ; Mon, 07 Jul 2008 10:15:38 +0200 Received: (qmail 1328 invoked from network); 7 Jul 2008 08:15:33 -0000 Received: from localhost (HELO guido.klop.ws) (127.0.0.1) by localhost with SMTP; 7 Jul 2008 08:15:33 -0000 Date: Mon, 07 Jul 2008 10:15:30 +0200 To: "Ronald Klop" , "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: User-Agent: Opera Mail/9.51 (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: Mon, 07 Jul 2008 08:15:40 -0000 On Fri, 27 Jun 2008 11:55:45 +0200, Ronald Klop wrote: > 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. Unfortunately, your change didn't fix it for me. I also added a DRM_ERROR message in the diff and it is never displayed. Ronald.