panic in drm

Ronald Klop ronald-freebsd8 at klop.yi.org
Mon Jul 7 08:15:40 UTC 2008


On Fri, 27 Jun 2008 11:55:45 +0200, Ronald Klop  
<ronald-freebsd8 at klop.yi.org> wrote:

> On Thu, 26 Jun 2008 18:01:07 +0200, Gavin Atkinson  
> <gavin.atkinson at ury.york.ac.uk> 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.


More information about the freebsd-stable mailing list