Loading ...
Sorry, an error occurred while loading the content.

22233Re: [nslu2-linux] Linux - Loading Ethernet microcode

Expand Messages
  • linuxrouter
    Sep 2, 2008
      I managed to find a solution to my problem. The microcode loading issue was
      related to udev, which is fixed now. Both NPE-B and NPE-C load correctly.

      The MII read failed messages was from a different issue. Even after loading
      the microcode, I got these read failed messages repeatedly after turning up
      eth0. I also got a notice that the link state was down on eth0. I was able
      to turn up eth1 and assign an address to it without any issue even though I
      could not access the network. Eth1 would show a status link down after
      disconnecting the Ethernet cable and link up after reconnecting. After
      searching around the Internet for quite a while I noticed that others were
      having some issues with the PHY value being incorrect. I made a couple small
      modifications to this file:

      --- linux- 2008-08-20
      11:11:37.000000000 -0700
      +++ linux- 2008-09-01
      17:11:25.718895843 -0700
      @@ -180,11 +180,11 @@
      /* Built-in 10/100 Ethernet MAC interfaces */
      static struct eth_plat_info ixdp425_plat_eth[] = {
      - .phy = 0,
      + .phy = -1,
      .rxq = 3,
      .txreadyq = 20,
      }, {
      - .phy = 1,
      + .phy = 0,
      .rxq = 4,
      .txreadyq = 21,

      After this, I was able to turn up eth0 without issue and have network
      connectivity although I still had to set the hardware address manually
      (defaults to zeroes).

      There might be a better way to fix this problem, but I wanted to post this
      in case any one else has a problem getting network support to work via the
      2.6.26 kernel on a NSLU2.

      View this message in context: http://www.nabble.com/Linux-
      Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
    • Show all 3 messages in this topic