linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nikunj A. Dadhania" <nikunj@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: PCI Enumeration problem during hotswap
Date: Fri, 11 Jul 2003 17:42:32 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-105794513804471@msgid-missing> (raw)

Hello,

I have been trying to run Hotswap on 2.4.18 on one of the CPCI boards. I
have back ported the 2.4.19 hotswap patch to 2.4.18 kernel. Also written
the necessary driver for the hotswap code. 

This board is a x86 board with Serverworks(GCSL) chipsets

Observations:

* Allocating resources(PCI MEM and IO bars) to the PCI devices in the
correct PCI memory range. 

Below three are related to the Hostbridge to forward PCI memory
transaction to the bus beyond.
* Programmed correct Memory hole registers on Host Bridge
* Programmed correct Memory Region 0 upper and lower register in Host
bridge
* Enabled Memory Region 0 in PMRR register


* Programmed the South Bridge to route the interrupts correctly to CPU

* E1000 device on the CPCI is being detected and the driver picks up
correct MAC address from the ROM. It also detects the link up/down
* E1000's command registers are fine

* E1000 is not able to transmit packets on the line. Get an error
"NETDEV WATCHDOG: transmit timed out" and then resets the device.

* Close observation revealed that the driver is receiving some packets
from the line, all of them are erroneous and so dropped and never
delivered to upper layer.

* Tried connecting PCI analyser on the CPCI bus and could see the memory
transaction on the bus.

Could someone help with this:

The problem is I am not able to ping using E1000. 

Same E1000 device works if the CPCI board is not hotswapped and BIOS is
doing the PCI enumeration.

Am I missing something very obvious?

If required I can send the dumps of lspci.

TIA
nikunj




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2003-07-11 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-11 17:42 Nikunj A. Dadhania [this message]
2003-07-11 18:20 ` PCI Enumeration problem during hotswap Scott Murray

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=marc-linux-hotplug-105794513804471@msgid-missing \
    --to=nikunj@gmx.net \
    --cc=linux-hotplug@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).