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

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

Expand Messages
  • linuxrouter
    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
    Message 1 of 3 , 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-2.6.26.3/arch/arm/mach-ixp4xx/ixdp425-setup.c.orig 2008-08-20
      11:11:37.000000000 -0700
      +++ linux-2.6.26.3/arch/arm/mach-ixp4xx/ixdp425-setup.c 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.

      Jeroen
      --
      View this message in context: http://www.nabble.com/Linux-2.6.26.3---Loading-Ethernet-microcode-tp19239665p19265962.html
      Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
    • Rod Whitby
      ... The NSLU2 kernel does not use the ixdp425-setup.c file. MII port allocation is done in the nslu2-setup.c file in the mainline kernel. -- Rod
      Message 2 of 3 , Sep 2, 2008
        linuxrouter wrote:
        > 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-2.6.26.3/arch/arm/mach-ixp4xx/ixdp425-setup.c.orig 2008-08-20
        > 11:11:37.000000000 -0700
        > +++ linux-2.6.26.3/arch/arm/mach-ixp4xx/ixdp425-setup.c 2008-09-01
        > 17:11:25.718895843 -0700
        ...
        > 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.

        The NSLU2 kernel does not use the ixdp425-setup.c file. MII port
        allocation is done in the nslu2-setup.c file in the mainline kernel.

        -- Rod
      Your message has been successfully submitted and would be delivered to recipients shortly.