Intel EtherExpress PRO/100 Server Ethernet Adapter

Stefan Kremen piftik at yhman.tnuni.sk
Thu Jan 4 14:32:22 CET 2007


Zdravim, za lacny peniaz som ziskal dve Intel PRO/100 sietovky v domneni, ze
su to preda kvalitne sietovky :) V OS Windows XP boli v poriadku rozpoznane.

Vo FreeBSD to tak vsak nie je.

Podotykam, ze na karte sa fyzicky nachadza chip s82557 a taktiez aj i960.

Update zdrojovych kodov (RELENG_6) bol robeny asi pred pol hodinou, je to
vidno na case kompilacie v nasledujucom vypise:

#uname -a
FreeBSD iklubtn2.hopto.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #3: Thu Jan 
4 14:06:23 CET 2007     root at iklubtn2.hopto.org:/usr/obj/usr/src/sys/iklubtn2
 i386


#kldstat
Id Refs Address    Size     Name
 1    3 0xc0400000 4808fc   kernel
 2    1 0xc0881000 59644    acpi.ko


#pciconf -lv (skrateny vypis)
pcib2 at pci1:9:0: class=0x060400 card=0x00018086 chip=0x52008086 rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server PCI to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
none0 at pci1:9:1:  class=0x020000 card=0x00018086 chip=0x52018086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server Ethernet Adapter'
    class    = network
    subclass = ethernet
pcib3 at pci1:10:0:        class=0x060400 card=0x00018086 chip=0x52008086
rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server PCI to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
none1 at pci1:10:1: class=0x020000 card=0x00018086 chip=0x52018086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server Ethernet Adapter'
    class    = network
    subclass = ethernet

Predpokladam, ze zariadenia pcib2 a pcib3 su tie chipy i960.

#dmesg (skrateny vypis)
pcib2: <PCI-PCI bridge> at device 9.0 on pci1
pci2: <PCI bus> on pcib2
pci1: <network, ethernet> at device 9.1 (no driver attached)
pcib3: <PCI-PCI bridge> at device 10.0 on pci1
pci3: <PCI bus> on pcib3
pci1: <network, ethernet> at device 10.1 (no driver attached)


#grep FreeBSD /usr/src/sys/dev/fxp/if_fxp.c
__FBSDID("$FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.240.2.11 2006/11/20 16:22:32
rink Exp $");


V subore if_fxp.c som urobil nasledovnu zmenu:

#diff -ruN if_fxp.c.orig if_fxp.c
--- if_fxp.c.orig       Thu Jan  4 14:20:26 2007
+++ if_fxp.c    Thu Jan  4 14:00:44 2007
@@ -200,6 +200,7 @@
     { 0x1229,  -1,     "Intel 82557/8/9 Pro/100 Ethernet" },
     { 0x2449,  -1,     "Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet" },
     { 0x27dc,  -1,     "Intel 82801GB (ICH7) 10/100 Ethernet" },
+    { 0x5201,  -1,     "Intel 82557/8/9 Pro/100 Ethernet" },
     { 0,       -1,     NULL },
 };



Po prekompilovani kernelu sa situacia trocha zlepsila, no stale to nie je ono:

#pciconf -lv (skrateny vypis)
pcib2 at pci1:9:0: class=0x060400 card=0x00018086 chip=0x52008086 rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server PCI to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
fxp0 at pci1:9:1:  class=0x020000 card=0x00018086 chip=0x52018086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server Ethernet Adapter'
    class    = network
    subclass = ethernet
pcib3 at pci1:10:0:        class=0x060400 card=0x00018086 chip=0x52008086
rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server PCI to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
fxp1 at pci1:10:1: class=0x020000 card=0x00018086 chip=0x52018086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'EtherExpress PRO/100 Server Ethernet Adapter'
    class    = network
    subclass = ethernet


#dmesg (skrateny vypis)
pcib2: <PCI-PCI bridge> at device 9.0 on pci1
pci2: <PCI bus> on pcib2
fxp0: <Intel 82557/8/9 Pro/100 Ethernet> mem 0xfae00000-0xfaffffff irq 17 at
device 9.1 on pci1
fxp0: fxp_miibus_readreg: timed out
fxp0: fxp_miibus_readreg: timed out
( ^^ tato hlaska celkovo 32x)
fxp0: MII without any PHY!
device_attach: fxp0 attach returned 6

pcib3: <PCI-PCI bridge> at device 10.0 on pci1
pci3: <PCI bus> on pcib3
fxp1: <Intel 82557/8/9 Pro/100 Ethernet> mem 0xfac00000-0xfadfffff irq 21 at
device 10.1 on pci1
fxp1: fxp_miibus_readreg: timed out
fxp1: fxp_miibus_readreg: timed out
( ^^ tato hlaska celkovo 32x)
fxp1: MII without any PHY!
device_attach: fxp1 attach returned 6

A tu som s mojimi znalostami skoncil, prosim skusenejsich o radu, ako mam
postupovat dalej v pripade najdenia zodpovedajuceho PHY. Malo by to byt
zariadenie 'nsphy', no ruku do ohna za to nedam.

A ted, babo rad. :)

------------------------------------------------------
Tuto postu Vam prinasa Yhman a OpenWebmail.
This mail is brought to you by Yhman and OpenWebmail.





More information about the Users-l mailing list