From owner-freebsd-current@FreeBSD.ORG Sat Jul 9 19:18:55 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 21E2C16A41C for ; Sat, 9 Jul 2005 19:18:55 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD87043D49 for ; Sat, 9 Jul 2005 19:18:54 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 26955 invoked from network); 9 Jul 2005 19:18:54 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Jul 2005 19:18:50 -0000 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j69JIARC034190; Sat, 9 Jul 2005 15:18:12 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Stefan Ehmann Date: Sat, 9 Jul 2005 15:17:56 -0400 User-Agent: KMail/1.8 References: <42C92DC5.3060101@gddsn.org.cn> <200507090923.20212.jhb@FreeBSD.org> <1120919774.937.4.camel@taxman.pepperland> In-Reply-To: <1120919774.937.4.camel@taxman.pepperland> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507091517.57736.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: current@FreeBSD.org, Fabian Keil Subject: Re: Suspend broken ? 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: Sat, 09 Jul 2005 19:18:55 -0000 On Saturday 09 July 2005 10:36 am, Stefan Ehmann wrote: > On Sat, 2005-07-09 at 09:23 -0400, John Baldwin wrote: > > On Tuesday 05 July 2005 01:37 pm, Stefan Ehmann wrote: > > > On Mon, 2005-07-04 at 20:48 +0200, Fabian Keil wrote: > > > > Stefan Ehmann wrote: > > > > > On Mon, 2005-07-04 at 21:33 +0800, Huang wen hui wrote: > > > > > > Huang wen hui =C3=A5=E2=80=A0=E2=84=A2=C3=A9=E2=80=9C: > > > > > > >Hi, > > > > > > >For my T42p, suspend operation could not work from jun 2, > > > > > > >It does work under CURRENT using Jun 1 cvsup. > > > > > > >/sys/i386/isa/clock.c revert to v1.220. > > > > > > > > > > > > but /sys/i386/isa/clock.c revert to v1.220 help that. > > > > > > > > > > Thanks for tracking that down, helps in my case too. > > > > > > > > > > I'm running a Toshiba M-30X notebook. For me, resume basically > > > > > worked but everything was as slow as if it was running on my old > > > > > calculator. (e.g. it takes several seconds from typing a character > > > > > until it is displayed on the console). > > > > > > > > I had these symptoms before I put "device pmtimer" in the kernel. > > > > I'm still on 5.4, therefore I don't know if this has anything to > > > > do with your problem. > > > > > > Does not seem to be related. I already had pmtimer in my kernel. And > > > this problem also hasn't occured before /sys/i386/isa/clock.c rev 221. > > > > Try this patch: I'm going to try to get it committed soon. > > Applies cleanly with latest sources but I get errors during make kernel: > > /usr/src/sys/i386/isa/clock.c: In function `set_timer_freq': > /usr/src/sys/i386/isa/clock.c:541: error: syntax error before "else" > /usr/src/sys/i386/isa/clock.c:547: error: `timer0_max_real_count' > undeclared (first use in this function) > /usr/src/sys/i386/isa/clock.c:547: error: (Each undeclared identifier is > reported only once > /usr/src/sys/i386/isa/clock.c:547: error: for each function it appears > in.) > ... > > and a bunch of more errors and warnings I think you just need to remove the extra { after the if statement on line = 539=20 at the end of the line. =2D-=20 John Baldwin =C2=A0<>< =C2=A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =C2=A0=3D =C2=A0http://www.FreeBSD.org