I think if you set the SLU (set link up) bit in the driver at the end of init, the link should come up.
do it at the end of e1000_open. if you disable auto-neg with ethtool and force link to 1G full duplex like so, the link may come up. ethtool -s ethX autoneg off speed 1000 duplex full but it seems that doesn't work for you, but please try it exactly as above. if you could compile the driver with DEBUG defined, like so cd e1000e*/src make CFLAGS_EXTRA=-DDEBUG rmmod e1000e; insmod ./e1000e.ko and have a look at the logs, you're interested in the e_dbg prints that come out of 82571.c particularly in e1000_poll_fiber_serdes_link_generic. Hope this helps, or that you've already solved the problem. -----Original Message----- From: Federico Raspall Chaure [mailto:[email protected]] Sent: Wednesday, April 07, 2010 2:28 AM To: Brandeburg, Jesse Cc: Federico Raspall Chaure; [email protected] Subject: Re: [E1000-devel] Disable autoneg in fibre nic Hi Jesse, I am trying to feed the dual port nic with the optical signals coming from a network tap/passive splitter. I connect the two outputs of the tap to the two RX connectors, and leave the TX connectors unconnected. So, the first question is whether the NIC will detect link without connecting the TX 's. Since it does not (at least according to ethtool and the kernel logs), I assumed that the nic is expecting autoneg pulses and never comes up. This is why I wanted to disable autonegotiation. Moreover, the tap installation instructions suggest doing so. Thanks, Fredi > > > On Tue, 6 Apr 2010, Federico Raspall Chaure wrote: > >> Hi, >> I have a dual-port fibre Ethernet nic (Dual port PF, 82571GB >> controller) >> which does not allow me to disable auto-negotiation (with ethttool -s >> ethx >> autoneg off.) >> >> Browsing the source code of the driver and the "interfacing" code to >> ethttool (e1000e.c, ethtool.c and 82571.c) it appears that autoneg is >> always enabled for fibre PHYs. Is there a way to disable autoneg in >> these >> cards? > > First, tell us what you're trying to do. There really is only one speed, > so not much to negotiate. What are you attaching to etc? > > Jesse > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > E1000-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/e1000-devel > To learn more about Intel® Ethernet, visit > http://communities.intel.com/community/wired > ------------------------------------------------------------------------------ _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
