From owner-freebsd-current@FreeBSD.ORG Sat Jul 9 20:10: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 9852C16A41C for ; Sat, 9 Jul 2005 20:10:26 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AECBB43D45 for ; Sat, 9 Jul 2005 20:10:25 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 09 Jul 2005 20:10:24 -0000 Received: from h081217094163.dyn.cm.kabsi.at (EHLO localhost.localdomain) [81.217.94.163] by mail.gmx.net (mp029) with SMTP; 09 Jul 2005 22:10:24 +0200 X-Authenticated: #16703784 From: Stefan Ehmann To: John Baldwin In-Reply-To: <200507091517.57736.jhb@FreeBSD.org> References: <42C92DC5.3060101@gddsn.org.cn> <200507090923.20212.jhb@FreeBSD.org> <1120919774.937.4.camel@taxman.pepperland> <200507091517.57736.jhb@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Date: Sat, 09 Jul 2005 22:10:25 +0200 Message-Id: <1120939825.937.11.camel@taxman.pepperland> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 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 20:10:26 -0000 On Sat, 2005-07-09 at 15:17 -0400, John Baldwin wrote: > 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 写é“: > > > > > > > >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 > at the end of the line. This and changing timer0_max_real_count to timer0_real_max_count made it compilable. But this time the system is immediately very slow (not just after suspend) and I get this strange error message on startup: calcru: runtime went backwards from 68378390 usec to 67512958 usec for pid 11 (idle: cpu0)