linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michel Lespinasse <walken@zoy.org>
To: Chuck Ebbert <cebbert@redhat.com>
Cc: linux-kernel@vger.kernel.org, Dave Jones <davej@redhat.com>,
	Jeb Cramer <cramerj@intel.com>,
	John Ronciak <john.ronciak@intel.com>,
	Jesse Brandeburg <jesse.brandeburg@intel.com>,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
	Auke Kok <auke-jan.h.kok@intel.com>
Subject: Re: 24 lost ticks with 2.6.20.10 kernel
Date: Tue, 1 May 2007 14:49:12 -0700	[thread overview]
Message-ID: <20070501214912.GA4048@zoy.org> (raw)
In-Reply-To: <46375E04.5030506@redhat.com>

(I've added the E1000 maintainers to the thread as I found the issue
seems to go away after I compile out that driver. For reference, I was
trying to figure out why I lose exactly 24 ticks about every two
seconds, as shown with report_lost_ticks. This is with a DQ965GF
motherboard with onboard E1000).

On Tue, May 01, 2007 at 11:34:28AM -0400, Chuck Ebbert wrote:
> Michel Lespinasse wrote:
> > running with report_lost_ticks, I see the following:
> > 
> > May  1 12:58:57 server kernel: time.c: Lost 24 timer tick(s)! rip _spin_unlock_irqrestore+0x8/0x9)
> > May  1 12:58:59 server kernel: time.c: Lost 24 timer tick(s)! rip _spin_unlock_irqrestore+0x8/0x9)

> Try disabling CONFIG_CPU_FREQ?

OK, so I tried a few things.

Disabling CONFIG_CPU_FREQ does not fix the issue.

Running with 2.6.16.49 did fix the issue, but my onboard E1000 is not
    detected then (I do see the 'Intel Pro/1000 network driver' message
    at boot time, but ifconfig -a does not show an ethernet interface)

Going back to 2.6.20.10 with no E1000 driver (so really no
    network devices at all): aaaaaah, lost ticks are gone.
    I can even re-enable CONFIG_CPU_FREQ.

With 2.6.20.10, E1000 compiled in, without NAPI: I do see the lost ticks.

With 2.6.20.10, modular E1000 with NAPI: I did not get any lost ticks.
    However the network did not work correctly after boot up.
    The e1000 module was loaded, the routes were set etc... but I could
    not ping anything. The switch lights seemed to indicate no packets
    were coming out. After ifdown eth0 and ifup eth0 again, the network
    came up fine, but at 100 megabit speed (full duplex) instead of gigabit.
    A few log messages come up:
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog: NIC Link is Down
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
    Which is slightly strange since the box is connected to a gigabit switch.

The default kernel from debian etch, 2.6.18 based with modular e1000,
connects at gigabit speeds but loses ticks on this machine.

> > One last thing: I have another box which is fairly similar, with a
> > DG965RY motherboard. That other box does *not* seem to lose any ticks,
> > running the same kernel that works so poorly on the DQ965GF board.
> > Does that point to a hardware/bios issue then ?????
> 
> Is it running the exact same kernel, with the same cpufreq settings at
> runtime (governor, controller, etc?)

I have not been running 2.6.20.10 on the DG965RY yet. However, the kernel
I use on the DG965RY (2.6.20.7 with statically compiled E1000 driver),
which does not lose ticks there, does lose ticks when I move it to the DQ965GF.

If it makes any difference, the DQ965GF is running with BIOS version 5882
dated 4/13/2007. The DG965RY runs with BIOS version 1676 (same date).
I have not changed any settings in the 'management engine' BIOS menu
(actually I have not entered it since it'd require me to set a password,
and I thought I'd avoid features I dont fully understand :)

Anything else I should try ?

Thanks,

-- 
Michel "Walken" Lespinasse
"Bill Gates is a monocle and a Persian cat away from being the villain
in a James Bond movie." -- Dennis Miller

  reply	other threads:[~2007-05-01 21:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 13:07 24 lost ticks with 2.6.20.10 kernel Michel Lespinasse
2007-05-01 15:34 ` Chuck Ebbert
2007-05-01 21:49   ` Michel Lespinasse [this message]
2007-05-01 22:08     ` Kok, Auke
2007-05-01 22:41       ` Chuck Ebbert
2007-05-01 22:45         ` Kok, Auke
2007-05-02  0:06       ` Lee Revell
2007-05-02  8:41       ` Michel Lespinasse
2007-05-02 16:07         ` Kok, Auke
2007-05-02 18:14         ` Kok, Auke
2007-05-03  6:27           ` e1000 issue on DQ965GF board (was 24 lost ticks with 2.6.20.10 kernel) Michel Lespinasse
2007-05-03 15:36             ` Kok, Auke
2007-05-03 15:56               ` Allan, Bruce W
2007-05-04 18:25             ` Kok, Auke
2007-05-04 21:15               ` Michel Lespinasse
2007-05-02 12:54 ` 24 lost ticks with 2.6.20.10 kernel Andi Kleen

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=20070501214912.GA4048@zoy.org \
    --to=walken@zoy.org \
    --cc=auke-jan.h.kok@intel.com \
    --cc=cebbert@redhat.com \
    --cc=cramerj@intel.com \
    --cc=davej@redhat.com \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=jesse.brandeburg@intel.com \
    --cc=john.ronciak@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).