From: linas@austin.ibm.com (Linas Vepstas)
To: Jesse Brandeburg <jesse.brandeburg@intel.com>,
"Ronciak, John" <john.ronciak@intel.com>,
cramerj@intel.com, jeffrey.t.kirsher@intel.com,
auke-jan.h.kok@intel.com, ayyappan.veeraiyan@intel.com
Cc: netdev@vger.kernel.org
Subject: ixgb EEH/PCI errors on reset
Date: Fri, 23 Jun 2006 12:09:58 -0500 [thread overview]
Message-ID: <20060623170958.GN8866@austin.ibm.com> (raw)
Hi,
I've got another ixgb driver bug I'm struggling with; clues or hints
appreciated.
I've got a patch for PCI error recovery for the ixgb, which works on
many older kernels but seems to be broken on linux-2.6.17-rc6-mm2
(which is ixgb version 1.0.109). After performing a PCI reset on the
card, I try to re-initialize the cad and the driver, with the following
sequence:
pci_set_master(pdev);
netif_carrier_off(netdev);
netif_stop_queue(netdev);
ixgb_check_options(adapter);
ixgb_reset(adapter);
This is only a subset of the ixgb_probe code, since I don't need to
request regions or do any of the other setup. However, this code
fails in an unexpected way. The last call invokes ixgb_mac_reset()
which writes a reset bit, delays a few millisecs, and reads the reset
bit. The problem I'm seeing is that the read
ctrl_reg = IXGB_READ_REG(hw, CTRL0);
triggers some PCI bus error that off-lines the device. Any hints
about where to look? This doesn't occur on other driver versions,
and doesn't occur on this driver during the ordinary probe() sequence.
Increasing the dealy doesn't seem to help.
--linas
next reply other threads:[~2006-06-23 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-23 17:09 Linas Vepstas [this message]
2006-06-23 20:15 ` ixgb EEH/PCI errors on reset Brandeburg, Jesse
2006-06-23 21:33 ` Linas Vepstas
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=20060623170958.GN8866@austin.ibm.com \
--to=linas@austin.ibm.com \
--cc=auke-jan.h.kok@intel.com \
--cc=ayyappan.veeraiyan@intel.com \
--cc=cramerj@intel.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=john.ronciak@intel.com \
--cc=netdev@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).