Re: Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-21 Thread Keith Owens

On Thu, 21 Dec 2000 02:26:12 + (GMT), 
Ian Stirling <[EMAIL PROTECTED]> wrote:
>I've not noticed this on earlier kernel versions, is there something
>silly I'm missing that's making my DEC hinote VP (p100 laptop)s 
>system clock slow by a factor of five or so after resume?
>Not the CPU or cmos clock, only the system clock.

Try this.

Index: 0-test13-pre3.2/arch/i386/kernel/apm.c
--- 0-test13-pre3.2/arch/i386/kernel/apm.c Mon, 11 Dec 2000 09:23:40 +1100 kaos 
(linux-2.4/z/c/34_apm.c 1.1.1.7.2.5 644)
+++ 0-test13-pre3.2(w)/arch/i386/kernel/apm.c Fri, 22 Dec 2000 09:04:28 +1100 kaos 
+(linux-2.4/z/c/34_apm.c 1.1.1.7.2.5 644)
@@ -262,6 +262,7 @@ extern int (*console_blank_hook)(int);
  * David Chen <[EMAIL PROTECTED]>
  */
 #undef INIT_TIMER_AFTER_SUSPEND
+#define INIT_TIMER_AFTER_SUSPEND
 
 #ifdef INIT_TIMER_AFTER_SUSPEND
 #include 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-21 Thread Keith Owens

On Thu, 21 Dec 2000 02:26:12 + (GMT), 
Ian Stirling [EMAIL PROTECTED] wrote:
I've not noticed this on earlier kernel versions, is there something
silly I'm missing that's making my DEC hinote VP (p100 laptop)s 
system clock slow by a factor of five or so after resume?
Not the CPU or cmos clock, only the system clock.

Try this.

Index: 0-test13-pre3.2/arch/i386/kernel/apm.c
--- 0-test13-pre3.2/arch/i386/kernel/apm.c Mon, 11 Dec 2000 09:23:40 +1100 kaos 
(linux-2.4/z/c/34_apm.c 1.1.1.7.2.5 644)
+++ 0-test13-pre3.2(w)/arch/i386/kernel/apm.c Fri, 22 Dec 2000 09:04:28 +1100 kaos 
+(linux-2.4/z/c/34_apm.c 1.1.1.7.2.5 644)
@@ -262,6 +262,7 @@ extern int (*console_blank_hook)(int);
  * David Chen [EMAIL PROTECTED]
  */
 #undef INIT_TIMER_AFTER_SUSPEND
+#define INIT_TIMER_AFTER_SUSPEND
 
 #ifdef INIT_TIMER_AFTER_SUSPEND
 #include linux/timex.h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-20 Thread Douglas Gilbert

Ian Stirling <[EMAIL PROTECTED]> wrote:

> I've not noticed this on earlier kernel versions, is there something
> silly I'm missing that's making my DEC hinote VP (p100 laptop)s 
> system clock slow by a factor of five or so after resume?
> Not the CPU or cmos clock, only the system clock.
> Thoughts welcome.

I saw something like this on my thinkpad (RH6.2)
and it turned out to be connected to /etc/adjtime .
It was cured by changing the large numbers in
there to zeroes.

Could someone explain the mechanism?

Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-20 Thread Ian Stirling

I've not noticed this on earlier kernel versions, is there something
silly I'm missing that's making my DEC hinote VP (p100 laptop)s 
system clock slow by a factor of five or so after resume?
Not the CPU or cmos clock, only the system clock.
Thoughts welcome.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-20 Thread Douglas Gilbert

Ian Stirling [EMAIL PROTECTED] wrote:

 I've not noticed this on earlier kernel versions, is there something
 silly I'm missing that's making my DEC hinote VP (p100 laptop)s 
 system clock slow by a factor of five or so after resume?
 Not the CPU or cmos clock, only the system clock.
 Thoughts welcome.

I saw something like this on my thinkpad (RH6.2)
and it turned out to be connected to /etc/adjtime .
It was cured by changing the large numbers in
there to zeroes.

Could someone explain the mechanism?

Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/