Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2005 02:28:49 GMT
From:      Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/89825: [em] Thinkpad T42 hangs when going to sleep when em is in kernel (regression)
Message-ID:  <200512020228.jB22SnsY047281@www.freebsd.org>
Resent-Message-ID: <200512020230.jB22U3Aj027687@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89825
>Category:       kern
>Synopsis:       [em] Thinkpad T42 hangs when going to sleep when em is in kernel (regression)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 02 02:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jacques Garrigue
>Release:        6.0-RELEASE
>Organization:
Nagoya University
>Environment:
FreeBSD tet4.kurims.kyoto-u.ac.jp 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Dec  2 10:11:23 JST 2005     garrigue@tet4.kurims.kyoto-u.ac.jp:/usr/src/sys/i386/compile/T42  i386

>Description:
The problem occurs on a Thinkpad T42, with Radeon M10 visual, Intel(R) PRO/1000 Network (em), Atheros 5212 wireless (ath).

When going to sleep under X11, using acpiconf -s3, the machine freezes.
The problem can be mitigated by setting hw.syscons.sc_no_suspend_vtswitch to 1, but I still observe freezes when going to sleep while accessing the disk.

The problem disappears completely when removing em from the kernel (no need for sc_no_suspend_vtswitch.)
It reappears when loading it as a kernel module.

There is no such problem using the generic kernel from 6.0-RC1 (which includes em)

The problem is still there in STABLE as of 2005-12-01.
>How-To-Repeat:
On a Thinkpad T42, go to sleep under X11 without setting sc_no_suspend_vtswitch.
This might occur on other laptops using the em driver.
>Fix:
workaround: remove em from the kernel.
>Release-Note:
>Audit-Trail:
>Unformatted:



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