From owner-freebsd-stable@FreeBSD.ORG Thu Jun 26 16:32:15 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 0D5001065675 for ; Thu, 26 Jun 2008 16:32:15 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.freebsd.org (Postfix) with ESMTP id 255658FC19 for ; Thu, 26 Jun 2008 16:32:13 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw1.york.ac.uk (8.13.6/8.13.6) with ESMTP id m5QG18M4002353; Thu, 26 Jun 2008 17:01:08 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KBtuG-0000bl-BP; Thu, 26 Jun 2008 17:01:08 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m5QG17Hr090255; Thu, 26 Jun 2008 17:01:08 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m5QG17oH090254; Thu, 26 Jun 2008 17:01:07 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Ronald Klop In-Reply-To: References: <20080616102144.4E3312844C@ronald.office.base.nl> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 26 Jun 2008 17:01:07 +0100 Message-Id: <1214496067.23553.42.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk 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: Thu, 26 Jun 2008 16:32:15 -0000 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