Re: [OT] Major Clock Drift

2001-02-12 Thread Abramo Bagnara
Andrew Morton wrote: > > Alan Cox wrote: > > > > > > queued_writes=1; > > > > return; > > > > } > > > > } > > > > > > Unfortunately, that means that if machine crashes in interrupt, it may > > > "loose" printk message. That is considered

Re: Major Clock Drift

2001-02-12 Thread Josh Myer
Hello again, When i originally posted this, it was _highly_ OT. the machine in question runs windows ME, but i figured the best place to find hardware gurus was here. the topic has rather degraded, and while i enjoy getting mail from alan, the fact that it has nothing to do with me dampens the

Re: Major Clock Drift

2001-02-12 Thread george anzinger
I may be off base here, but the problem as described below does _NOT_ seem to be OT so I removed that from the subject line. A clock drift change with an OS update is saying _something_ about the OS, not the hardware. In this case it seems to be the 2.4.x OS that is loosing time. I suspect the

Re: [OT] Major Clock Drift

2001-02-12 Thread James Sutherland
On Mon, 12 Feb 2001, Alan Cox wrote: > > > queued_writes=1; > > > return; > > > > Just what happens when you run out of dmesg ring in an interrupt ? > > You lose a couple of lines. Big deal. I'd rather lose two lines a year on > a problem (and the dmesg ring

Re: [OT] Major Clock Drift

2001-02-12 Thread Andrew Morton
Alan Cox wrote: > > > > queued_writes=1; > > > return; > > > } > > > } > > > > Unfortunately, that means that if machine crashes in interrupt, it may > > "loose" printk message. That is considered bad (tm). > > The alternative is that the

Re: [OT] Major Clock Drift

2001-02-12 Thread Alan Cox
> > queued_writes=1; > > return; > > } > > } > > Unfortunately, that means that if machine crashes in interrupt, it may > "loose" printk message. That is considered bad (tm). The alternative is that the machine clock slides continually and

Re: [OT] Major Clock Drift

2001-02-12 Thread Pavel Machek
Hi! > > > Why are interrupts being disabled for vesafb scrolling anyway ? > > > > Console writes happen under spin_lock_irq(console_lock). > > > > The only reason for this which I can see: the kernel > > can call printk() from interrupt context. > > We certainly need to be able to call printk

Re: [OT] Major Clock Drift

2001-02-12 Thread Alan Cox
> > queued_writes=1; > > return; > > Just what happens when you run out of dmesg ring in an interrupt ? You lose a couple of lines. Big deal. I'd rather lose two lines a year on a problem (and the dmesg ring buffer is pretty big) than two minutes an hour

Re: [OT] Major Clock Drift

2001-02-12 Thread Andi Kleen
Alan Cox <[EMAIL PROTECTED]> writes: > Suppose vesafb did something like this, dropping the printk lock > > if(test_and_set_bit(0, _lock)) > { > if(in_interrupt()) > { > // remember which bit of the dmesg ring to queue >

Re: [OT] Major Clock Drift

2001-02-12 Thread Alan Cox
> > Why are interrupts being disabled for vesafb scrolling anyway ? > > Console writes happen under spin_lock_irq(console_lock). > > The only reason for this which I can see: the kernel > can call printk() from interrupt context. We certainly need to be able to call printk from interrupt

Re: [OT] Major Clock Drift

2001-02-12 Thread Alan Cox
Why are interrupts being disabled for vesafb scrolling anyway ? Console writes happen under spin_lock_irq(console_lock). The only reason for this which I can see: the kernel can call printk() from interrupt context. We certainly need to be able to call printk from interrupt context so

Re: [OT] Major Clock Drift

2001-02-12 Thread Andi Kleen
Alan Cox [EMAIL PROTECTED] writes: Suppose vesafb did something like this, dropping the printk lock if(test_and_set_bit(0, vesafb_lock)) { if(in_interrupt()) { // remember which bit of the dmesg ring to queue

Re: [OT] Major Clock Drift

2001-02-12 Thread Alan Cox
queued_writes=1; return; Just what happens when you run out of dmesg ring in an interrupt ? You lose a couple of lines. Big deal. I'd rather lose two lines a year on a problem (and the dmesg ring buffer is pretty big) than two minutes an hour every

Re: [OT] Major Clock Drift

2001-02-12 Thread Pavel Machek
Hi! Why are interrupts being disabled for vesafb scrolling anyway ? Console writes happen under spin_lock_irq(console_lock). The only reason for this which I can see: the kernel can call printk() from interrupt context. We certainly need to be able to call printk from interrupt

Re: [OT] Major Clock Drift

2001-02-12 Thread Alan Cox
queued_writes=1; return; } } Unfortunately, that means that if machine crashes in interrupt, it may "loose" printk message. That is considered bad (tm). The alternative is that the machine clock slides continually and the

Re: [OT] Major Clock Drift

2001-02-12 Thread Andrew Morton
Alan Cox wrote: queued_writes=1; return; } } Unfortunately, that means that if machine crashes in interrupt, it may "loose" printk message. That is considered bad (tm). The alternative is that the machine clock slides

Re: Major Clock Drift

2001-02-12 Thread george anzinger
I may be off base here, but the problem as described below does _NOT_ seem to be OT so I removed that from the subject line. A clock drift change with an OS update is saying _something_ about the OS, not the hardware. In this case it seems to be the 2.4.x OS that is loosing time. I suspect the

Re: Major Clock Drift

2001-02-12 Thread Josh Myer
Hello again, When i originally posted this, it was _highly_ OT. the machine in question runs windows ME, but i figured the best place to find hardware gurus was here. the topic has rather degraded, and while i enjoy getting mail from alan, the fact that it has nothing to do with me dampens the

Re: [OT] Major Clock Drift

2001-02-12 Thread Abramo Bagnara
Andrew Morton wrote: Alan Cox wrote: queued_writes=1; return; } } Unfortunately, that means that if machine crashes in interrupt, it may "loose" printk message. That is considered bad (tm). The alternative

Re: [OT] Major Clock Drift

2001-02-11 Thread Andrew Morton
Alan Cox wrote: > > > Hmm, I can make it loose 30 seconds in 12 seconds. Just cat > > /etc/termcap. Vesafb does this kind of stuff. [Yes, 3 times slower > > clock]. > > Why are interrupts being disabled for vesafb scrolling anyway ? Console writes happen under spin_lock_irq(console_lock). The

Re: [OT] Major Clock Drift

2001-02-11 Thread Alan Cox
> Hmm, I can make it loose 30 seconds in 12 seconds. Just cat > /etc/termcap. Vesafb does this kind of stuff. [Yes, 3 times slower > clock]. Why are interrupts being disabled for vesafb scrolling anyway ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [OT] Major Clock Drift

2001-02-11 Thread Peter Horton
On Sun, Feb 11, 2001 at 12:06:14PM +0100, Pavel Machek wrote: > > > > > > >I've discovered that heavy use of vesafb can be a major source of clock > > > > > >drift on my system, especially if I don't specify "ypan" or "ywrap". On my > > > > > > > > > > This is extremely interesting. What version

Re: [OT] Major Clock Drift

2001-02-11 Thread Andrew Morton
Pavel Machek wrote: > > > > Vesafb is happy to block interrupts for half a second. > > > > And has this been observed to cause clock drift? > > YEs. I've seen time running 3 times slower. Just do cat /etc/termcap > with loaded PCI bus. Yesterday I lost 20 minutes during 2 hours -- I > have been

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! > > > > >I've discovered that heavy use of vesafb can be a major source of clock > > > > >drift on my system, especially if I don't specify "ypan" or "ywrap". On my > > > > > > > > This is extremely interesting. What version of ntp are you using? > > > > > > Is vesafb one of the drivers

Re: [OT] Major Clock Drift

2001-02-11 Thread Andrew Morton
Pavel Machek wrote: > > Hi! > > > > >I've discovered that heavy use of vesafb can be a major source of clock > > > >drift on my system, especially if I don't specify "ypan" or "ywrap". On my > > > > > > This is extremely interesting. What version of ntp are you using? > > > > Is vesafb one of

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! > I've discovered that heavy use of vesafb can be a major source of clock > drift on my system, especially if I don't specify "ypan" or "ywrap". On my > system (similar Hw/Sw configuration to yours), a 2.4 kernel "make dep" > from a vesafb console will cause the system clock to drift 10-12 >

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! > > >I've discovered that heavy use of vesafb can be a major source of clock > > >drift on my system, especially if I don't specify "ypan" or "ywrap". On my > > > > This is extremely interesting. What version of ntp are you using? > > Is vesafb one of the drivers which blocks interrupts

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! > I know this _really_ isn't the forum for this, but a friend of mine has > noticed major, persistent clock drift over time. After several weeks, the > clock is several minutes slow (always slow). Any thoughts on the > cause? (Google didn't show up anything worthwhile in the first couple of

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using? Is vesafb one of the drivers which blocks interrupts for (many)

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my system (similar Hw/Sw configuration to yours), a 2.4 kernel "make dep" from a vesafb console will cause the system clock to drift 10-12

Re: [OT] Major Clock Drift

2001-02-11 Thread Andrew Morton
Pavel Machek wrote: Hi! I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using? Is vesafb one of the drivers which

Re: [OT] Major Clock Drift

2001-02-11 Thread Pavel Machek
Hi! I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using? Is vesafb one of the drivers which blocks interrupts for

Re: [OT] Major Clock Drift

2001-02-11 Thread Andrew Morton
Pavel Machek wrote: Vesafb is happy to block interrupts for half a second. And has this been observed to cause clock drift? YEs. I've seen time running 3 times slower. Just do cat /etc/termcap with loaded PCI bus. Yesterday I lost 20 minutes during 2 hours -- I have been using USB

Re: [OT] Major Clock Drift

2001-02-11 Thread Peter Horton
On Sun, Feb 11, 2001 at 12:06:14PM +0100, Pavel Machek wrote: I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using?

Re: [OT] Major Clock Drift

2001-02-11 Thread Alan Cox
Hmm, I can make it loose 30 seconds in 12 seconds. Just cat /etc/termcap. Vesafb does this kind of stuff. [Yes, 3 times slower clock]. Why are interrupts being disabled for vesafb scrolling anyway ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [OT] Major Clock Drift

2001-02-11 Thread Andrew Morton
Alan Cox wrote: Hmm, I can make it loose 30 seconds in 12 seconds. Just cat /etc/termcap. Vesafb does this kind of stuff. [Yes, 3 times slower clock]. Why are interrupts being disabled for vesafb scrolling anyway ? Console writes happen under spin_lock_irq(console_lock). The only

Re: [OT] Major Clock Drift

2001-02-05 Thread Andrew Morton
Hacksaw wrote: > > >I've discovered that heavy use of vesafb can be a major source of clock > >drift on my system, especially if I don't specify "ypan" or "ywrap". On my > > This is extremely interesting. What version of ntp are you using? Is vesafb one of the drivers which blocks interrupts

Re: [OT] Major Clock Drift

2001-02-04 Thread Michael B. Trausch
On Sun, 4 Feb 2001, Tom Eastep wrote: > Thus spoke Michael B. Trausch: > > > On Sat, 3 Feb 2001, Josh Myer wrote: > > > > > Hello all, > > > > > > I know this _really_ isn't the forum for this, but a friend of mine has > > > noticed major, persistent clock drift over time. After several weeks,

Re: [OT] Major Clock Drift

2001-02-04 Thread Alan Chandler
On Sun, 04 Feb 2001 10:31:35 -0500, you wrote: >Technical explanations aside, some sort of clock drift exists in all >computers. My experience with Sun hardware, for instance, was that the >hardware and software clocks rarely agreed. > >You should set up your machines to use some sort of time

Re: [OT] Major Clock Drift

2001-02-04 Thread Tom Eastep
Thus spoke Hacksaw: > >I've discovered that heavy use of vesafb can be a major source of clock > >drift on my system, especially if I don't specify "ypan" or "ywrap". On my > > This is extremely interesting. What version of ntp are you using? > The RH7 rpm -- ntp-4.0.99k-5 -Tom -- Tom Eastep

Re: [OT] Major Clock Drift

2001-02-04 Thread Hacksaw
>I've discovered that heavy use of vesafb can be a major source of clock >drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [OT] Major Clock Drift

2001-02-04 Thread Tom Eastep
Thus spoke Michael B. Trausch: > On Sat, 3 Feb 2001, Josh Myer wrote: > > > Hello all, > > > > I know this _really_ isn't the forum for this, but a friend of mine has > > noticed major, persistent clock drift over time. After several weeks, the > > clock is several minutes slow (always slow).

Re: [OT] Major Clock Drift

2001-02-04 Thread Hacksaw
Technical explanations aside, some sort of clock drift exists in all computers. My experience with Sun hardware, for instance, was that the hardware and software clocks rarely agreed. You should set up your machines to use some sort of time synchronization software, such as ntp or rdate. When

Re: [OT] Major Clock Drift

2001-02-04 Thread Steve Underwood
"Michael B. Trausch" wrote: > > On Sat, 3 Feb 2001, Josh Myer wrote: > > > Hello all, > > > > I know this _really_ isn't the forum for this, but a friend of mine has > > noticed major, persistent clock drift over time. After several weeks, the > > clock is several minutes slow (always slow).

Re: [OT] Major Clock Drift

2001-02-04 Thread Michael B. Trausch
On Sat, 3 Feb 2001, Josh Myer wrote: > Hello all, > > I know this _really_ isn't the forum for this, but a friend of mine has > noticed major, persistent clock drift over time. After several weeks, the > clock is several minutes slow (always slow). Any thoughts on the > cause? (Google didn't

Re: [OT] Major Clock Drift

2001-02-04 Thread Michael B. Trausch
On Sat, 3 Feb 2001, Josh Myer wrote: Hello all, I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is several minutes slow (always slow). Any thoughts on the cause? (Google didn't show up

Re: [OT] Major Clock Drift

2001-02-04 Thread Steve Underwood
"Michael B. Trausch" wrote: On Sat, 3 Feb 2001, Josh Myer wrote: Hello all, I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is several minutes slow (always slow). Any thoughts on

Re: [OT] Major Clock Drift

2001-02-04 Thread Hacksaw
Technical explanations aside, some sort of clock drift exists in all computers. My experience with Sun hardware, for instance, was that the hardware and software clocks rarely agreed. You should set up your machines to use some sort of time synchronization software, such as ntp or rdate. When

Re: [OT] Major Clock Drift

2001-02-04 Thread Tom Eastep
Thus spoke Michael B. Trausch: On Sat, 3 Feb 2001, Josh Myer wrote: Hello all, I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is several minutes slow (always slow). Any thoughts

Re: [OT] Major Clock Drift

2001-02-04 Thread Hacksaw
I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [OT] Major Clock Drift

2001-02-04 Thread Tom Eastep
Thus spoke Hacksaw: I've discovered that heavy use of vesafb can be a major source of clock drift on my system, especially if I don't specify "ypan" or "ywrap". On my This is extremely interesting. What version of ntp are you using? The RH7 rpm -- ntp-4.0.99k-5 -Tom -- Tom Eastep

Re: [OT] Major Clock Drift

2001-02-04 Thread Alan Chandler
On Sun, 04 Feb 2001 10:31:35 -0500, you wrote: Technical explanations aside, some sort of clock drift exists in all computers. My experience with Sun hardware, for instance, was that the hardware and software clocks rarely agreed. You should set up your machines to use some sort of time

Re: [OT] Major Clock Drift

2001-02-04 Thread Michael B. Trausch
On Sun, 4 Feb 2001, Tom Eastep wrote: Thus spoke Michael B. Trausch: On Sat, 3 Feb 2001, Josh Myer wrote: Hello all, I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is

Re: [OT] Major Clock Drift

2001-02-03 Thread Manfred Bartz
Josh Myer <[EMAIL PROTECTED]> writes: > I know this _really_ isn't the forum for this, but a friend of mine has > noticed major, persistent clock drift over time. After several weeks, the > clock is several minutes slow (always slow). Any thoughts on the > cause? (Google didn't show up anything

[OT] Major Clock Drift

2001-02-03 Thread Josh Myer
Hello all, I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is several minutes slow (always slow). Any thoughts on the cause? (Google didn't show up anything worthwhile in the first couple of

[OT] Major Clock Drift

2001-02-03 Thread Josh Myer
Hello all, I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is several minutes slow (always slow). Any thoughts on the cause? (Google didn't show up anything worthwhile in the first couple of

Re: [OT] Major Clock Drift

2001-02-03 Thread Manfred Bartz
Josh Myer [EMAIL PROTECTED] writes: I know this _really_ isn't the forum for this, but a friend of mine has noticed major, persistent clock drift over time. After several weeks, the clock is several minutes slow (always slow). Any thoughts on the cause? (Google didn't show up anything