From owner-freebsd-stable@FreeBSD.ORG Sat Dec 3 20:35:21 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA14616A41F; Sat, 3 Dec 2005 20:35:21 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B93743D5C; Sat, 3 Dec 2005 20:35:20 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 8815D21C8; Sat, 3 Dec 2005 12:34:48 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 43E8921B6; Sat, 3 Dec 2005 12:34:48 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB3KZKYB010608; Sat, 3 Dec 2005 12:35:20 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB3KZJEh010603; Sat, 3 Dec 2005 12:35:19 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17298.391.583821.620322@satchel.alerce.com> Date: Sat, 3 Dec 2005 12:35:19 -0800 To: Jacques Garrigue In-Reply-To: <20051203.080110.45744408.garrigue@math.nagoya-u.ac.jp> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> <20051203.080110.45744408.garrigue@math.nagoya-u.ac.jp> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-stable@freebsd.org, hartzell@alerce.com, freebsd-mobile@freebsd.org Subject: Re: IBM T42 freezes when going to sleep under X11 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 20:35:21 -0000 Jacques Garrigue writes: > From: George Hartzell > > > Jacques Garrigue writes: > > > From: Jacques Garrigue > > > > I've got a strange problem with my IBM T42 / Radeon M10 setup. > > > > > > > > When using the 6.0-RELEASE kernel (including GENERIC), I cannot go to > > > > sleep when X11 is running: the machine freezes, display still on. I > > > > tried disabling DRI, but this does not seem to be the problem: I have > > > > no DRM anyway. > > > > > > > > On the other hand, everything works fines with a 6.0-RC1 kernel. > > > > Was there a big change in between, such that I need to change my > > > > configuration? > > > > > > I finally found the cause of my problems: there has been changes in > > > the em driver (Gb ethernet), such that the machine freezes when trying > > > to switch automatically from the X11 VT to the system console, before > > > going to sleep. The interaction is surprising, but clearly the problem > > > disappears when I remove "device em" from the kernel configuration, > > > and it reappears when I do "kldload if_em". Since I'm using only ath > > > (wireless) anyway, this is fine with me... > > > > I don't seem to have any problem with my T42p using a kernel compiled > > on 11/29 11:21 > > > > My copy of if_em.c is: > > > > /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ > > The very same version I could reproduce the bug with... > > I suppose the cause is a complex interaction. > For instance it only appears under X11. > So part of the reason might be the difference between the radeon M10 > and the FIRE GL T2. Or the fact I'm simultaneously using > ath. Or anything else... > My point was just that the direct trigger was a change in em between > 6.0-RC1 and 6.0-RELEASE. But if it cannot be reproduced on any other > machine, this is going to be difficult to track down. > [...] I've been enabling more of the laptop-y features as I polish off my upgrade (I'm going from 5.4BETAsomething to 6.0-STABLE, encouraged by losing my hard drive and being handed the clean slate). I *have* started getting occasional hangs after a suspend/resume cycle. It seems to be related to the mouse. I get it with both X and on the console. I've disabled the psm flag that mega-kicks the device (0x300000?) and end up with a dead mouse. Restarting the moused via /etc/rc.d/moused gets my mouse back, but I'll frequently hand immediately afterwards. I've disabled synaptics support and am waiting to see if that makes a difference, other than disabling my middle mouse button.... g.