From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nikunj A. Dadhania" Date: Fri, 11 Jul 2003 17:42:32 +0000 Subject: PCI Enumeration problem during hotswap Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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