[Timers SMP] can this machine be helped? - Kernel

This is a discussion on [Timers SMP] can this machine be helped? - Kernel ; Hi, I've got an old 2xP-II @ 400MHz Compaq AP400 system, which I'm still using. It has many peculiarities, so, I wouldn't be surprised if the answer to my questions would be "sorry, the patient is rather dead than alive". ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: [Timers SMP] can this machine be helped?

  1. [Timers SMP] can this machine be helped?

    Hi,

    I've got an old 2xP-II @ 400MHz Compaq AP400 system, which I'm still
    using. It has many peculiarities, so, I wouldn't be surprised if the
    answer to my questions would be "sorry, the patient is rather dead than
    alive".

    Some of the problems lie in ACPI area, I tried some time ago to fix the
    ACPI tables for these machine, but never got enough time for that. So I'm
    still booting with acpi=noirq

    Another problem is its battery is dead and it's hard soldered to the
    mainboard (Compaq)...

    It might also have some problems with one of its 3 SCSI busses.

    I compiled a .24-ish kernel for it with CONFIG_NO_HZ and
    CONFIG_HIGH_RES_TIMERS. To get the system boot at least sometimes I have
    to specify nohz=off. Then I get

    * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
    * this clock source is slow. Consider trying other clock sources

    Without this parameter it hangs usually between

    Time: acpi_pm clocksource has been installed.

    and

    Switched to high resolution mode on CPU 1
    Switched to high resolution mode on CPU 0

    Tried booting with clocksource=tsc then I've got

    Marking TSC unstable due to: possible TSC halt in C2.

    And then a few of these:

    BUG: soft lockup - CPU#0 stuck for 13s! [swapper:0]

    Pid: 0, comm: swapper Not tainted (2.6.24-rc2-g8c086340 #3)
    EIP: 0060:[] EFLAGS: 00000283 CPU: 0
    EIP is at acpi_processor_idle+0x2ae/0x477
    EAX: 00000000 EBX: fffffeab ECX: 00000001 EDX: 00000001
    ESI: c7c5f2d0 EDI: 00122d9f EBP: c03ddfa8 ESP: c03ddf90
    DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
    CR0: 8005003b CR2: 081dcf88 CR3: 07e46000 CR4: 000002d0
    DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    DR6: ffff0ff0 DR7: 00000400
    [] show_trace_log_lvl+0x1a/0x30
    [] show_trace+0x12/0x20
    [] show_regs+0x1c/0x20
    [] softlockup_tick+0x11b/0x150
    [] run_local_timers+0x12/0x20
    [] update_process_times+0x2f/0x60
    [] tick_sched_timer+0x6a/0xe0
    [] hrtimer_interrupt+0x120/0x1a0
    [] smp_apic_timer_interrupt+0x55/0x90
    [] apic_timer_interrupt+0x28/0x30
    [] cpu_idle+0x84/0xf0
    [] rest_init+0x5d/0x60
    [] start_kernel+0x2af/0x2f0
    [<00000000>] run_init_process+0x3feff000/0x20
    =======================

    so, is there any way I can still reasonably use this system? Which
    configuration / command-line parameters should I try?

    If needed can provide complete dmesg (with nohz=off or with
    clocksource=tsc) and .config.

    Thanks
    Guennadi
    ---
    Guennadi Liakhovetski
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [Timers SMP] can this machine be helped?

    Hi!

    > I've got an old 2xP-II @ 400MHz Compaq AP400 system, which I'm still
    > using. It has many peculiarities, so, I wouldn't be surprised if the
    > answer to my questions would be "sorry, the patient is rather dead than
    > alive".
    >
    > Some of the problems lie in ACPI area, I tried some time ago to fix the
    > ACPI tables for these machine, but never got enough time for that. So I'm
    > still booting with acpi=noirq
    >
    > Another problem is its battery is dead and it's hard soldered to the
    > mainboard (Compaq)...
    >
    > It might also have some problems with one of its 3 SCSI busses.
    >
    > I compiled a .24-ish kernel for it with CONFIG_NO_HZ and
    > CONFIG_HIGH_RES_TIMERS. To get the system boot at least sometimes I have
    > to specify nohz=off. Then I get


    Try highres=off, too... Hehe, and even idle=poll might help.

    > Pid: 0, comm: swapper Not tainted (2.6.24-rc2-g8c086340 #3)
    > EIP: 0060:[] EFLAGS: 00000283 CPU: 0
    > EIP is at acpi_processor_idle+0x2ae/0x477
    > EAX: 00000000 EBX: fffffeab ECX: 00000001 EDX: 00000001
    > ESI: c7c5f2d0 EDI: 00122d9f EBP: c03ddfa8 ESP: c03ddf90
    > DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
    > CR0: 8005003b CR2: 081dcf88 CR3: 07e46000 CR4: 000002d0
    > DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    > DR6: ffff0ff0 DR7: 00000400
    > [] show_trace_log_lvl+0x1a/0x30
    > [] show_trace+0x12/0x20


    ....and disable softlockup watchdog, too...

    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pav...rses/blog.html
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: [Timers SMP] can this machine be helped?

    On Mon 2007-12-03 22:45:06, Guennadi Liakhovetski wrote:
    > On Sun, 2 Dec 2007, Pavel Machek wrote:
    >
    > > > I compiled a .24-ish kernel for it with CONFIG_NO_HZ and
    > > > CONFIG_HIGH_RES_TIMERS. To get the system boot at least sometimes I have
    > > > to specify nohz=off. Then I get

    > >
    > > Try highres=off, too... Hehe, and even idle=poll might help.

    >
    > Ok, for now I've compiled a kernel with all "advanced" features off like
    > hrt, nohz. Will see how it behaves. But thanks for the hints.


    Let us know...

    > > > CR0: 8005003b CR2: 081dcf88 CR3: 07e46000 CR4: 000002d0
    > > > DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    > > > DR6: ffff0ff0 DR7: 00000400
    > > > [] show_trace_log_lvl+0x1a/0x30
    > > > [] show_trace+0x12/0x20

    > >
    > > ...and disable softlockup watchdog, too...

    >
    > So, you think those BUGs are bogus?


    Well.... you want to make old machine usable, right? Disabling
    warnings is fair game.
    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pav...rses/blog.html
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. Re: [Timers SMP] can this machine be helped?

    On Sun, 2 Dec 2007, Pavel Machek wrote:

    > > I compiled a .24-ish kernel for it with CONFIG_NO_HZ and
    > > CONFIG_HIGH_RES_TIMERS. To get the system boot at least sometimes I have
    > > to specify nohz=off. Then I get

    >
    > Try highres=off, too... Hehe, and even idle=poll might help.


    Ok, for now I've compiled a kernel with all "advanced" features off like
    hrt, nohz. Will see how it behaves. But thanks for the hints.

    > > Pid: 0, comm: swapper Not tainted (2.6.24-rc2-g8c086340 #3)
    > > EIP: 0060:[] EFLAGS: 00000283 CPU: 0
    > > EIP is at acpi_processor_idle+0x2ae/0x477
    > > EAX: 00000000 EBX: fffffeab ECX: 00000001 EDX: 00000001
    > > ESI: c7c5f2d0 EDI: 00122d9f EBP: c03ddfa8 ESP: c03ddf90
    > > DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
    > > CR0: 8005003b CR2: 081dcf88 CR3: 07e46000 CR4: 000002d0
    > > DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    > > DR6: ffff0ff0 DR7: 00000400
    > > [] show_trace_log_lvl+0x1a/0x30
    > > [] show_trace+0x12/0x20

    >
    > ...and disable softlockup watchdog, too...


    So, you think those BUGs are bogus?

    Thanks
    Guennadi
    ---
    Guennadi Liakhovetski
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  5. Re: [Timers SMP] can this machine be helped?

    On Mon, 3 Dec 2007, Pavel Machek wrote:

    > On Mon 2007-12-03 22:45:06, Guennadi Liakhovetski wrote:
    > > On Sun, 2 Dec 2007, Pavel Machek wrote:

    >
    > > > > CR0: 8005003b CR2: 081dcf88 CR3: 07e46000 CR4: 000002d0
    > > > > DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    > > > > DR6: ffff0ff0 DR7: 00000400
    > > > > [] show_trace_log_lvl+0x1a/0x30
    > > > > [] show_trace+0x12/0x20
    > > >
    > > > ...and disable softlockup watchdog, too...

    > >
    > > So, you think those BUGs are bogus?

    >
    > Well.... you want to make old machine usable, right? Disabling
    > warnings is fair game.


    Ouch, but not if a CPU __really__ gets stuck for 13 seconds...

    Thanks
    Guennadi
    ---
    Guennadi Liakhovetski
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread