Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents - Kernel

This is a discussion on Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents - Kernel ; On Tue, 2007-09-25 at 10:14 +0400, Mikhail Kshevetskiy wrote: > Hello Thomas, Rafael > > > We know, that > > - disabling local apic timers work > > As i can see from the log, you are booting on ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

  1. Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

    On Tue, 2007-09-25 at 10:14 +0400, Mikhail Kshevetskiy wrote:
    > Hello Thomas, Rafael
    >
    > > We know, that
    > > - disabling local apic timers work

    >
    > As i can see from the log, you are booting on computer with dualcore AMD
    > processor. Do you have C1E feature enabled?
    >
    > i386 kernel disable lapic on dualcore AMD with C1E support (see
    > http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this
    > patch still (it's required for tickless kernel only).


    Well it is required for non tickless mode as well.

    > As result, if
    > you run x86_64 kernel with hrt patch on such computer, the system
    > will stall during boot on lapic timer calibration.


    Thanks for the reminder. I have a look into this.

    tglx


    -
    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: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

    Rafael,

    On Tue, 2007-09-25 at 10:07 +0200, Thomas Gleixner wrote:
    > On Tue, 2007-09-25 at 10:14 +0400, Mikhail Kshevetskiy wrote:
    > > Hello Thomas, Rafael
    > >
    > > > We know, that
    > > > - disabling local apic timers work

    > >
    > > As i can see from the log, you are booting on computer with dualcore AMD
    > > processor. Do you have C1E feature enabled?
    > >
    > > i386 kernel disable lapic on dualcore AMD with C1E support (see
    > > http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this
    > > patch still (it's required for tickless kernel only).

    >
    > Well it is required for non tickless mode as well.
    >
    > > As result, if
    > > you run x86_64 kernel with hrt patch on such computer, the system
    > > will stall during boot on lapic timer calibration.

    >
    > Thanks for the reminder. I have a look into this.


    Can you please boot mainline and provide the output of:

    # cat /proc/interrupts; sleep 10; cat /proc/interrupts

    Thanks,

    tglx


    -
    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: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

    Thomas,

    On Tuesday, 25 September 2007 11:30, Thomas Gleixner wrote:
    > Rafael,
    >
    > On Tue, 2007-09-25 at 10:07 +0200, Thomas Gleixner wrote:
    > > On Tue, 2007-09-25 at 10:14 +0400, Mikhail Kshevetskiy wrote:
    > > > Hello Thomas, Rafael
    > > >
    > > > > We know, that
    > > > > - disabling local apic timers work
    > > >
    > > > As i can see from the log, you are booting on computer with dualcore AMD
    > > > processor. Do you have C1E feature enabled?


    That's possible, how to check?

    > > > i386 kernel disable lapic on dualcore AMD with C1E support (see
    > > > http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this
    > > > patch still (it's required for tickless kernel only).

    > >
    > > Well it is required for non tickless mode as well.
    > >
    > > > As result, if
    > > > you run x86_64 kernel with hrt patch on such computer, the system
    > > > will stall during boot on lapic timer calibration.

    > >
    > > Thanks for the reminder. I have a look into this.

    >
    > Can you please boot mainline and provide the output of:
    >
    > # cat /proc/interrupts; sleep 10; cat /proc/interrupts


    albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
    CPU0 CPU1
    0: 1159492 0 local-APIC-edge timer
    1: 6892 1692 IO-APIC-edge i8042
    8: 0 0 IO-APIC-edge rtc
    12: 156 110 IO-APIC-edge i8042
    14: 29613 11409 IO-APIC-edge ide0
    16: 23365 21934 IO-APIC-fasteoi sata_sil, HDA Intel
    18: 196 88386 IO-APIC-fasteoi bcm43xx
    19: 744874 279433 IO-APIC-fasteoi ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3
    20: 2 4 IO-APIC-fasteoi ohci1394, yenta, tifm_7xx1, sdhci:slot0
    21: 1408 592 IO-APIC-fasteoi acpi
    NMI: 0 0 Non-maskable interrupts
    LOC: 0 1158220 Local interrupts
    RES: 260520 295387 Rescheduling interrupts
    CAL: 419 652 function call interrupts
    TLB: 864 541 TLB shootdowns
    TRM: 0 0 Thermal event interrupts
    THR: 0 0 Threshold APIC interrupts
    SPU: 0 0 Spurious interrupts
    ERR: 13
    CPU0 CPU1
    0: 1161996 0 local-APIC-edge timer
    1: 6893 1692 IO-APIC-edge i8042
    8: 0 0 IO-APIC-edge rtc
    12: 156 110 IO-APIC-edge i8042
    14: 29703 11409 IO-APIC-edge ide0
    16: 23393 21934 IO-APIC-fasteoi sata_sil, HDA Intel
    18: 196 88490 IO-APIC-fasteoi bcm43xx
    19: 747268 279433 IO-APIC-fasteoi ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3
    20: 2 4 IO-APIC-fasteoi ohci1394, yenta, tifm_7xx1, sdhci:slot0
    21: 1412 592 IO-APIC-fasteoi acpi
    NMI: 0 0 Non-maskable interrupts
    LOC: 0 1160723 Local interrupts
    RES: 260567 295433 Rescheduling interrupts
    CAL: 419 652 function call interrupts
    TLB: 866 543 TLB shootdowns
    TRM: 0 0 Thermal event interrupts
    THR: 0 0 Threshold APIC interrupts
    SPU: 0 0 Spurious interrupts
    ERR: 13
    albercik:~ #
    -
    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: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

    On Tue, 2007-09-25 at 14:20 +0200, Rafael J. Wysocki wrote:
    > > > > As i can see from the log, you are booting on computer with dualcore AMD
    > > > > processor. Do you have C1E feature enabled?

    >
    > That's possible, how to check?
    >
    > > > > i386 kernel disable lapic on dualcore AMD with C1E support (see
    > > > > http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this
    > > > > patch still (it's required for tickless kernel only).
    > > >
    > > > Well it is required for non tickless mode as well.
    > > >
    > > > > As result, if
    > > > > you run x86_64 kernel with hrt patch on such computer, the system
    > > > > will stall during boot on lapic timer calibration.
    > > >
    > > > Thanks for the reminder. I have a look into this.

    > >
    > > Can you please boot mainline and provide the output of:
    > >
    > > # cat /proc/interrupts; sleep 10; cat /proc/interrupts

    >
    > albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
    > CPU0 CPU1
    > 0: 1159492 0 local-APIC-edge timer
    > LOC: 0 1158220 Local interrupts
    >
    > 0: 1161996 0 local-APIC-edge timer
    > LOC: 0 1160723 Local interrupts


    Hmm. That's strange. It looks like the local apic timer is not used, but
    x86_64 definitely lacks the above check. Can you please remove/disable
    the acpi processor module and recheck ?

    tglx




    -
    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: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

    On Tuesday, 25 September 2007 14:28, Thomas Gleixner wrote:
    > On Tue, 2007-09-25 at 14:20 +0200, Rafael J. Wysocki wrote:
    > > > > > As i can see from the log, you are booting on computer with dualcore AMD
    > > > > > processor. Do you have C1E feature enabled?

    > >
    > > That's possible, how to check?
    > >
    > > > > > i386 kernel disable lapic on dualcore AMD with C1E support (see
    > > > > > http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this
    > > > > > patch still (it's required for tickless kernel only).
    > > > >
    > > > > Well it is required for non tickless mode as well.
    > > > >
    > > > > > As result, if
    > > > > > you run x86_64 kernel with hrt patch on such computer, the system
    > > > > > will stall during boot on lapic timer calibration.
    > > > >
    > > > > Thanks for the reminder. I have a look into this.
    > > >
    > > > Can you please boot mainline and provide the output of:
    > > >
    > > > # cat /proc/interrupts; sleep 10; cat /proc/interrupts

    > >
    > > albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
    > > CPU0 CPU1
    > > 0: 1159492 0 local-APIC-edge timer
    > > LOC: 0 1158220 Local interrupts
    > >
    > > 0: 1161996 0 local-APIC-edge timer
    > > LOC: 0 1160723 Local interrupts

    >
    > Hmm. That's strange. It looks like the local apic timer is not used, but
    > x86_64 definitely lacks the above check.


    Ouch, sorry. This is from the kernel booted with "noapictimer".

    I'll get the correct output in a little while.

    Greetings,
    Rafael
    -
    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/

  6. Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

    On Tuesday, 25 September 2007 14:52, Rafael J. Wysocki wrote:
    > On Tuesday, 25 September 2007 14:28, Thomas Gleixner wrote:
    > > On Tue, 2007-09-25 at 14:20 +0200, Rafael J. Wysocki wrote:
    > > > > > > As i can see from the log, you are booting on computer with dualcore AMD
    > > > > > > processor. Do you have C1E feature enabled?
    > > >
    > > > That's possible, how to check?
    > > >
    > > > > > > i386 kernel disable lapic on dualcore AMD with C1E support (see
    > > > > > > http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this
    > > > > > > patch still (it's required for tickless kernel only).
    > > > > >
    > > > > > Well it is required for non tickless mode as well.
    > > > > >
    > > > > > > As result, if
    > > > > > > you run x86_64 kernel with hrt patch on such computer, the system
    > > > > > > will stall during boot on lapic timer calibration.
    > > > > >
    > > > > > Thanks for the reminder. I have a look into this.
    > > > >
    > > > > Can you please boot mainline and provide the output of:
    > > > >
    > > > > # cat /proc/interrupts; sleep 10; cat /proc/interrupts
    > > >
    > > > albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
    > > > CPU0 CPU1
    > > > 0: 1159492 0 local-APIC-edge timer
    > > > LOC: 0 1158220 Local interrupts
    > > >
    > > > 0: 1161996 0 local-APIC-edge timer
    > > > LOC: 0 1160723 Local interrupts

    > >
    > > Hmm. That's strange. It looks like the local apic timer is not used, but
    > > x86_64 definitely lacks the above check.

    >
    > Ouch, sorry. This is from the kernel booted with "noapictimer".
    >
    > I'll get the correct output in a little while.


    OK, this one is from -rc7 with no extra command line:

    albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
    CPU0 CPU1
    0: 27311 0 local-APIC-edge timer
    1: 1 77 IO-APIC-edge i8042
    8: 0 0 IO-APIC-edge rtc
    12: 0 148 IO-APIC-edge i8042
    14: 19 683 IO-APIC-edge ide0
    16: 178 12443 IO-APIC-fasteoi sata_sil, HDA Intel
    19: 111 15197 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
    20: 0 3 IO-APIC-fasteoi tifm_7xx1, yenta, sdhci:slot0, ohci1394
    21: 0 113 IO-APIC-fasteoi acpi
    NMI: 0 0
    LOC: 27270 27119
    ERR: 2
    CPU0 CPU1
    0: 29815 0 local-APIC-edge timer
    1: 1 77 IO-APIC-edge i8042
    8: 0 0 IO-APIC-edge rtc
    12: 0 148 IO-APIC-edge i8042
    14: 20 772 IO-APIC-edge ide0
    16: 178 12451 IO-APIC-fasteoi sata_sil, HDA Intel
    19: 112 17199 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
    20: 0 3 IO-APIC-fasteoi tifm_7xx1, yenta, sdhci:slot0, ohci1394
    21: 0 117 IO-APIC-fasteoi acpi
    NMI: 0 0
    LOC: 29774 29623
    ERR: 2
    albercik:~ #

    Greetings,
    Rafael

    -
    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