Kernel 2.4: HZ = 1000, kernel panic - Help

This is a discussion on Kernel 2.4: HZ = 1000, kernel panic - Help ; 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 ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Kernel 2.4: HZ = 1000, kernel panic

  1. 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.



  2. Re: Kernel 2.4: HZ = 1000, kernel panic

    > #define HZ 1000

  3. Re: Kernel 2.4: HZ = 1000, kernel panic

    > I have changed HZ from 100 to 1000 in
    > '/usr/src/linux-2.4/include/asm-i386/param.h':
    > #define HZ 1000


    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".

  4. Re: Kernel 2.4: HZ = 1000, kernel panic

    Yes, I have done a "make mrproper" first.


    "Allen McIntosh" wrote in message
    news:kLHif.14287$mM2.10758@fe09.lga...
    > > I have changed HZ from 100 to 1000 in
    > > '/usr/src/linux-2.4/include/asm-i386/param.h':
    > > #define HZ 1000

    >
    > 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".




  5. Re: Kernel 2.4: HZ = 1000, kernel panic

    CÚdric Pillonel wrote:
    > 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


    Bad idea.

    > 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?


    That you're changing something you're not suppose to change. It requires
    at least several kernel patches.

    > Do I need to change something else too? Only to change the HZ value is not
    > enough?


    Install a recent 2.6 kernel.



    Igmar

+ Reply to Thread