public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: tglx@linutronix.de
Cc: Stefan Prechtel <stefan.prechtel@googlemail.com>,
	Andi Kleen <ak@suse.de>,
	Grzegorz Chwesewicz <grzegorz.chwesewicz@chilan.com>,
	linux-kernel@vger.kernel.org, mingo@elte.hu,
	john stultz <johnstul@us.ibm.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Adrian Bunk <bunk@stusta.de>,
	Arjan van de Ven <arjan@infradead.org>
Subject: Re: [PATCH] i386: disable local apic timer via command line or dmi quirk
Date: Tue, 27 Mar 2007 23:38:26 -0400	[thread overview]
Message-ID: <200703272338.27471.lenb@kernel.org> (raw)
In-Reply-To: <200703272328.34685.lenb@kernel.org>

On Tuesday 27 March 2007 23:28, Len Brown wrote:
> Thomas,
> 
> Is this failure specific to NO_HZ, and that is why the "nolapic_timer" fix is i386 only?
> I'm running 2.6.21-rc5 an nx6325 here in 64-bit mode and I don't see the dramatic
> boot failure described earlier in this thread.
> 
> However, I have observed that when running on battery,
> the LOC falls behind the irq0 timer to the tune of about
> 2 interrupt/minute.  eg. when i booted my machine, LOC was
> behind irq0 by 50, and now about a 20 minutes later it is behind
> irq0 by 99.  However, the LOC for each processor remain at
> a constant offset with respect to each other.
> 
> I do not see these this drift when running on AC.

Correction.
I double-checked and the same drift is present between irq0
and LOC when on AC:

lenb@nx6325:/tmp/sut> uname -a; cat /proc/interrupts; sleep 100; cat /proc/interrupts
Linux nx6325 2.6.21-rc5 #37 SMP Tue Mar 27 22:26:00 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
           CPU0       CPU1
  0:    1000442          0    <NULL>-edge      timer
  1:        724          0   IO-APIC-edge      i8042
  8:          0          0   IO-APIC-edge      rtc
 12:      36299          0   IO-APIC-edge      i8042
 14:      33661          0   IO-APIC-edge      ide0
 16:      20676          0   IO-APIC-fasteoi   libata
 19:         21          0   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 20:          1          0   IO-APIC-fasteoi   ohci1394
 21:       9388          0   IO-APIC-fasteoi   acpi
 23:      43794          0   IO-APIC-fasteoi   eth0
NMI:          0          0
LOC:    1000271    1000247
ERR:          0
           CPU0       CPU1
  0:    1025442          0    <NULL>-edge      timer
  1:        724          0   IO-APIC-edge      i8042
  8:          0          0   IO-APIC-edge      rtc
 12:      39539          0   IO-APIC-edge      i8042
 14:      34506          0   IO-APIC-edge      ide0
 16:      22172          0   IO-APIC-fasteoi   libata
 19:         21          0   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 20:          1          0   IO-APIC-fasteoi   ohci1394
 21:       9630          0   IO-APIC-fasteoi   acpi
 23:      44826          0   IO-APIC-fasteoi   eth0
NMI:          0          0
LOC:    1025269    1025245
ERR:          0
lenb@nx6325:/tmp/sut> bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1025442-1000442
25000
1025269-1000271
24998
lenb@nx6325:/tmp/sut> cat /proc/acpi/ac_adapter/C1BD/state
state:                   on-line

-Len

> Yes, the system exports just C1 in both cases.
> 
> Other oddities is the IRQ name on irq0 is garbled:
> 
> lenb@nx6325:~> uname -a; cat /proc/interrupts; sleep 100; cat /proc/interrupts
> Linux nx6325 2.6.21-rc5 #37 SMP Tue Mar 27 22:26:00 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
>            CPU0       CPU1
>   0:     723812          0    <NULL>-edge      timer
>   1:        716          0   IO-APIC-edge      i8042
>   8:          0          0   IO-APIC-edge      rtc
>  12:      30719          0   IO-APIC-edge      i8042
>  14:      24318          0   IO-APIC-edge      ide0
>  16:      18316          0   IO-APIC-fasteoi   libata
>  19:         21          0   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
>  20:          1          0   IO-APIC-fasteoi   ohci1394
>  21:       6736          0   IO-APIC-fasteoi   acpi
>  23:      30358          0   IO-APIC-fasteoi   eth0
> NMI:          0          0
> LOC:     723675     723651
> ERR:          0
>            CPU0       CPU1
>   0:     748812          0    <NULL>-edge      timer
>   1:        716          0   IO-APIC-edge      i8042
>   8:          0          0   IO-APIC-edge      rtc
>  12:      30719          0   IO-APIC-edge      i8042
>  14:      25164          0   IO-APIC-edge      ide0
>  16:      18361          0   IO-APIC-fasteoi   libata
>  19:         21          0   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
>  20:          1          0   IO-APIC-fasteoi   ohci1394
>  21:       6960          0   IO-APIC-fasteoi   acpi
>  23:      31385          0   IO-APIC-fasteoi   eth0
> NMI:          0          0
> LOC:     748673     748649
> ERR:          0
> lenb@nx6325:~> bc -l
> bc 1.06
> Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
> This is free software with ABSOLUTELY NO WARRANTY.
> For details type `warranty'.
> 748812-723812
> 25000
> 748673-723675
> 24998
> 723812-723675
> 137
> 748812-748673
> 139
> lenb@nx6325:~> 
> 
> Further, in dmesg:
> ATI board detected. Disabling timer routing over 8254.
> 
> ..MP-BIOS bug: 8254 timer not connected to IO-APIC
> 
> -Len
> 
> 
> 

  reply	other threads:[~2007-03-28  3:46 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-19 17:10 BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4}) Stefan Prechtel
2007-03-19 17:36 ` Thomas Gleixner
2007-03-19 17:48   ` Thomas Gleixner
2007-03-19 18:53     ` Stefan Prechtel
2007-03-19 19:17       ` Stefan Prechtel
2007-03-19 19:27       ` Thomas Gleixner
2007-03-19 19:49         ` Stefan Prechtel
2007-03-19 20:04           ` Thomas Gleixner
2007-03-19 20:35             ` Stefan Prechtel
2007-03-19 20:56               ` Thomas Gleixner
2007-03-19 21:51                 ` Stefan Prechtel
2007-03-20  1:15                   ` Thomas Gleixner
2007-03-20  8:23                     ` Stefan Prechtel
2007-03-20 16:47                       ` Grzegorz Chwesewicz
2007-03-21  9:24                         ` Thomas Gleixner
2007-03-21  9:46                           ` Andi Kleen
2007-03-21 10:10                             ` Thomas Gleixner
2007-03-21 10:37                               ` Andi Kleen
2007-03-21 11:14                                 ` Thomas Gleixner
2007-03-21 12:15                                   ` Thomas Gleixner
2007-03-21 12:33                                     ` Thomas Gleixner
2007-03-21 12:42                                   ` Andi Kleen
2007-03-21 13:04                                     ` Stefan Prechtel
2007-03-21 13:15                                       ` Thomas Gleixner
2007-03-21 14:14                                       ` [PATCH] i386: disable local apic timer via command line or dmi quirk Thomas Gleixner
2007-03-21 14:09                                         ` Ingo Molnar
2007-03-21 15:14                                           ` Grzegorz Chwesewicz
2007-03-22 20:42                                             ` Stefan Prechtel
2007-03-28  3:28                                         ` Len Brown
2007-03-28  3:38                                           ` Len Brown [this message]
2007-03-28  9:13                                           ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703272338.27471.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=bunk@stusta.de \
    --cc=grzegorz.chwesewicz@chilan.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=stefan.prechtel@googlemail.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox