Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 17:01:07 +0100
From:      Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To:        Ronald Klop <ronald-freebsd8@www.klop.ws>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: panic in drm
Message-ID:  <1214496067.23553.42.camel@buffy.york.ac.uk>
In-Reply-To: <op.udcz9vp28527sy@guido.klop.ws>
References:  <20080616102144.4E3312844C@ronald.office.base.nl> <op.udcz9vp28527sy@guido.klop.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1214496067.23553.42.camel>