From nobody@FreeBSD.org  Sun Mar  6 19:29:25 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E20841065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Mar 2011 19:29:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id CFB8A8FC2A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Mar 2011 19:29:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p26JTPp4037960
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Mar 2011 19:29:25 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p26JTPKU037959;
	Sun, 6 Mar 2011 19:29:25 GMT
	(envelope-from nobody)
Message-Id: <201103061929.p26JTPKU037959@red.freebsd.org>
Date: Sun, 6 Mar 2011 19:29:25 GMT
From: Martin Birgmeier <martin.birgmeier@siemens.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cpufreq/powerd + xorg-7.5.1 + xf86-video-intel-2.7.1_4 leads to freeze
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         155320
>Category:       kern
>Synopsis:       [hang] cpufreq/powerd + xorg-7.5.1 + xf86-video-intel-2.7.1_4 leads to freeze
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 06 19:30:09 UTC 2011
>Closed-Date:    
>Last-Modified:  Mon Mar 07 05:02:27 UTC 2011
>Originator:     Martin Birgmeier
>Release:        7.4.0 i386
>Organization:
MBi at home
>Environment:
FreeBSD a.xyzzy 7.4-RELEASE FreeBSD 7.4-RELEASE #1: Sun Feb 20 20:18:26 CET 2011     root@v901.xyzzy:/.../hal/z/OBJ/FreeBSD/i386/RELENG_7_4_0_RELEASE/src/sys/XYZZY_SMP_NA  i386
>Description:
Since the recent upgrade of xorg the machine freezes without apparent reason. No core dump is produced, the screen remains steady. This can only be terminated by a hard power off.

Not running powerd seems to avoid the problem.

Note 1: Before completely freezing, the machine from time to time hangs for from a few tenths to several seconds. After such a freeze, "xload" shows a sharp spike from near zero to approx. 1.5..2 load which subsequently decays exponentially.

Note 2: At the end of last December, I tried to upgrade this machine to 8.1 amd64. This produced totally unstable behavior/crashes, most likely also related to the video driver. At that time, I did not yet suspect cpufreq/powerd.

The machine uses the following graphics controller:

vgapci0@pci0:0:2:0:     class=0x030000 card=0x13f710cf chip=0x2a028086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 965 Express Integrated Graphics Controller'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:     class=0x038000 card=0x13f710cf chip=0x2a038086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 965 Express Integrated Graphics Controller'
    class      = display

The chipset is ICH8.


>How-To-Repeat:
See the description above. Generally, this cannot be reproduced easily, however, the machine will crash within seconds to hours from starting X.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
