Kernel 2.4: HZ = 1000, kernel panic
I have RedHat 9.0, kernel 2.4.20-31.9. I need more than 10 ms precision.
I have changed HZ from 100 to 1000 in
'/usr/src/linux-2.4/include/asm-i386/param.h':
#define HZ 1000
I have rebuild the kernel, but now when booting the new kernel I get a
kernel panic, something like this:
Process swapper
....
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
What's the problem?
Do I need to change something else too? Only to change the HZ value is not
enough?
Thank you.
Re: Kernel 2.4: HZ = 1000, kernel panic
Re: Kernel 2.4: HZ = 1000, kernel panic
> I have changed HZ from 100 to 1000 in[color=blue]
> '/usr/src/linux-2.4/include/asm-i386/param.h':
> #define HZ 1000[/color]
I have done this several times with 2.4 kernels (though not that
particular one). You have to be certain you have recompiled absolutely
everything. If "make clean" doesn't work, consider moving the config
file out of the way and proceeding from "make distclean".
Re: Kernel 2.4: HZ = 1000, kernel panic
Yes, I have done a "make mrproper" first.
"Allen McIntosh" <nospam@mouse-potato.com> wrote in message
news:kLHif.14287$mM2.10758@fe09.lga...[color=blue][color=green]
> > I have changed HZ from 100 to 1000 in
> > '/usr/src/linux-2.4/include/asm-i386/param.h':
> > #define HZ 1000[/color]
>
> I have done this several times with 2.4 kernels (though not that
> particular one). You have to be certain you have recompiled absolutely
> everything. If "make clean" doesn't work, consider moving the config
> file out of the way and proceeding from "make distclean".[/color]
Re: Kernel 2.4: HZ = 1000, kernel panic
Cédric Pillonel wrote:[color=blue]
> I have RedHat 9.0, kernel 2.4.20-31.9. I need more than 10 ms precision.
> I have changed HZ from 100 to 1000 in
> '/usr/src/linux-2.4/include/asm-i386/param.h':
>
> #define HZ 1000[/color]
Bad idea.
[color=blue]
> I have rebuild the kernel, but now when booting the new kernel I get a
> kernel panic, something like this:
>
> Process swapper
> ...
> Kernel panic: Aiee, killing interrupt handler!
> In interrupt handler - not syncing
>
> What's the problem?[/color]
That you're changing something you're not suppose to change. It requires
at least several kernel patches.
[color=blue]
> Do I need to change something else too? Only to change the HZ value is not
> enough?[/color]
Install a recent 2.6 kernel.
Igmar