From owner-freebsd-current@FreeBSD.ORG Thu Aug 18 12:16:26 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B75B16A41F for ; Thu, 18 Aug 2005 12:16:26 +0000 (GMT) (envelope-from huang@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 738AC43D49 for ; Thu, 18 Aug 2005 12:16:24 +0000 (GMT) (envelope-from huang@gddsn.org.cn) Received: from [192.168.1.5] (unknown [218.20.228.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 806FA38CB4D for ; Thu, 18 Aug 2005 19:54:37 +0800 (CST) Message-ID: <430476F7.6030007@gddsn.org.cn> Date: Thu, 18 Aug 2005 19:54:31 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050812) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: suspend/resume operation broken with usb mouse X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 12:16:26 -0000 hi, Using today's CURRENT, my TP42P could not resume with usb mouse. cause "double fault" panic. With internal TrackPoint is OK, The DDB backtrace message can be found: http://hwh.gddsn.org.cn:8180/suc50848.jpg Revert the following commit also help that. phk 2005-08-17 08:19:53 UTC FreeBSD src repository Modified files: sys/fs/devfs devfs_vnops.c sys/kern kern_conf.c sys/sys conf.h Log: Handle device drivers with D_NEEDGIANT in a way which does not penalize the 'good' drivers: Allocate a shadow cdevsw and populate it with wrapper functions which grab Giant Revision Changes Path 1.120 +0 -24 src/sys/fs/devfs/devfs_vnops.c 1.190 +155 -9 src/sys/kern/kern_conf.c 1.226 +1 -0 src/sys/sys/conf.h Thanks, --hwh