Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 15:17:56 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Stefan Ehmann <shoesoft@gmx.net>
Cc:        current@FreeBSD.org, Fabian Keil <freebsd-listen@fabiankeil.de>
Subject:   Re: Suspend broken ?
Message-ID:  <200507091517.57736.jhb@FreeBSD.org>
In-Reply-To: <1120919774.937.4.camel@taxman.pepperland>
References:  <42C92DC5.3060101@gddsn.org.cn> <200507090923.20212.jhb@FreeBSD.org> <1120919774.937.4.camel@taxman.pepperland>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <shoesoft@gmx.net> 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 <jhb@FreeBSD.org> =C2=A0<>< =C2=A0http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" =C2=A0=3D =C2=A0http://www.FreeBSD.org



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