Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* kernel-2.4.9 on a PC164
@ 2002-01-25 20:03 Stephen Williams
  2002-01-27  9:38 ` Linus Gasser
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Williams @ 2002-01-25 20:03 UTC (permalink / raw)
  To: axp-list

I have a PC164 (It works too well to junk it:-) that is running RedHat 7.1
and the kernel from the kernel-2.4.3-12 rpm. Works fine, apparently.
I would like to run the kernel from the 2.4.9-21 rpm, but when I boot
it the system clock runs 4X too slow. That is, "sleep 3" takes 12 seconds.

I'm running a time demon, and it's happy with the 2.4.3 kernel behavior.
It never synchronizes with the 2.4.9 kernel, though.

I'm trying to keep a "canonical RedHat" system because I'm lazy and I'm
letting up2date manage things for me. I can go back to building my own
kernels, if there are known problems with the RedHat builds.


-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel-2.4.9 on a PC164
  2002-01-25 20:03 kernel-2.4.9 on a PC164 Stephen Williams
@ 2002-01-27  9:38 ` Linus Gasser
  2002-01-28  5:15   ` Stephen Williams
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Gasser @ 2002-01-27  9:38 UTC (permalink / raw)
  To: axp-list

Hi,
I didn't want to write as I don't know the exact answer. But as nobody else 
answered, here we go:
 you can add to your kernel-options something like
"cycle=500000000", where the 5*10^8 is the clock-rate of the processor. Now 
for the word "cycle", it should be element of {cycle, cycles, clock, 
counter}. This is why I didn't write in first time...

Greets

Ineiti

On Friday 25 January 2002 21:03, you wrote:
> I have a PC164 (It works too well to junk it:-) that is running RedHat 7.1
> and the kernel from the kernel-2.4.3-12 rpm. Works fine, apparently.
> I would like to run the kernel from the 2.4.9-21 rpm, but when I boot
> it the system clock runs 4X too slow. That is, "sleep 3" takes 12 seconds.
>
> I'm running a time demon, and it's happy with the 2.4.3 kernel behavior.
> It never synchronizes with the 2.4.9 kernel, though.
>
> I'm trying to keep a "canonical RedHat" system because I'm lazy and I'm
> letting up2date manage things for me. I can go back to building my own
> kernels, if there are known problems with the RedHat builds.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel-2.4.9 on a PC164
  2002-01-27  9:38 ` Linus Gasser
@ 2002-01-28  5:15   ` Stephen Williams
  2002-01-28  7:54     ` Helge Kreutzmann
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Williams @ 2002-01-28  5:15 UTC (permalink / raw)
  To: axp-list

ineiti@gmx.net said:
>  you can add to your kernel-options something like "cycle=500000000",
> where the 5*10^8 is the clock-rate of the processor.

That's an interesting clue. Sure 'nuff, I can see that the cycle
estimate shows up as 1800MHz when I boot the 2.4.9 kernel (and
499Mhz when I boot the 2.4.3 kernel) and that would explain the
4X slowdown in the clock.

I looked in setup.c for the 2.4.5 source, which I happened to have
lying around, and it appears that the parameter is "cycle=" as you
said.

I tried booting like this:

   milo> boot sda2:boot/vmlinuz-2.4.9-21 cycle=500000000

but the cycle parameter seemed to have no effect. Am I going to
need t upgrade milo, or something?  (It is a fairly old milo,
I admit.)

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel-2.4.9 on a PC164
  2002-01-28  5:15   ` Stephen Williams
@ 2002-01-28  7:54     ` Helge Kreutzmann
  0 siblings, 0 replies; 4+ messages in thread
From: Helge Kreutzmann @ 2002-01-28  7:54 UTC (permalink / raw)
  To: axp-list

Hello !
On Sun, Jan 27, 2002 at 09:15:34PM -0800, Stephen Williams wrote:
> ineiti@gmx.net said:
> >  you can add to your kernel-options something like "cycle=500000000",
> > where the 5*10^8 is the clock-rate of the processor.
> 
> That's an interesting clue. Sure 'nuff, I can see that the cycle
> estimate shows up as 1800MHz when I boot the 2.4.9 kernel (and
> 499Mhz when I boot the 2.4.3 kernel) and that would explain the
> 4X slowdown in the clock.
<snip>

I am not sure exactly how milo handles it but I would suggest using a
kernel which has the fix already provided, see archives for details. I
use 2.4.13ac5 which detects the cylce flawlessly. So if you do not
depend on some special redhat patch (i.e. the VM) I'd suggest this as
the easiest path.

Greetings

         Helge
-- 
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
  gpg signed mail preferred    gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-28  7:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-25 20:03 kernel-2.4.9 on a PC164 Stephen Williams
2002-01-27  9:38 ` Linus Gasser
2002-01-28  5:15   ` Stephen Williams
2002-01-28  7:54     ` Helge Kreutzmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox