OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: em0 and SMP problem

From: Michał Koc (mkocprime.pl)
Date: Fri Jul 01 2005 - 17:22:09 CDT


Ok,

starting from the beginnig,

The em nics are visible in dmesg and ifconfig.
They do transmit packets as I can see in tcpdump on the destination machine.
But they do not recive any packets.
ie. I ping from SMP machine to dest
on dest I can se echo requests comming from SMP and echo replies going
to SMP.
But SMP does not recive anything back. Actually I can see replies going
to SMP on switch, but not on SMP.

The problem goes away when I disable SMP in kernel.
This looks like some issue witch device polling, maby.

What I did with ICU is:
h/i386/pci/pci_intr_fixup.c
<
Index: sys/arch/i386/pci/pci_intr_fixup.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.36
diff -u -r1.36 pci_intr_fixup.c
--- sys/arch/i386/pci/pci_intr_fixup.c 2004/09/26 20:17:42 1.36
+++ sys/arch/i386/pci/pci_intr_fixup.c 2005/07/01 22:20:28
-148,6 +148,8
          piix_init },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801BAM_LPC,
          piix_init },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CA_LPC,
+ piix_init },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CAM_LPC,
          piix_init },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801DB_LPC,

Thank in advance
MichaE Koc