NSLU2 cannot activate npe

Gavin Atkinson gavin at FreeBSD.org
Sun Apr 26 18:52:44 UTC 2009


On Sat, 25 Apr 2009, Luazi wrote:

> Hi,
>
> I got my sources from CVS today and successfully built a kernel for my
> slug but the npe is failing to initialize. I have included part of the
> boot messages below. Any ideas anyone???

Yes, the hints file is incorrect.  Here's a fix (you'll have to apply it 
by hand though, I don't have time right now to give a real patch)

--- src-head/sys/arm/conf/NSLU.hints    3 Aug 2008 07:10:25 -0000       1.1
+++ src-head/sys/arm/conf/NSLU.hints    4 Feb 2009 17:13:31 -0000
@@ -17,22 +17,23 @@
  # NPE Hardware Queue Manager
  hint.ixpqmgr.0.at="ixp0"

-# NPE wireless NIC's, requires ixpqmgr
+# NPE wired NIC's, requires ixpqmgr
  hint.npe.0.at="ixp0"
-hint.npe.0.mac="A"
-hint.npe.0.mii="A"
+hint.npe.0.mac="B"
+hint.npe.0.mii="B"
  hint.npe.0.phy=1
  # The second MAC isn't used on the NSLU, but it needs to be configured or
  # we timeout on dhcp packets
  hint.npe.1.at="ixp0"
-hint.npe.1.mac="B"
-hint.npe.1.mii="A"
-hint.npe.1.phy=0
+#hint.npe.1.mac="B"
+#hint.npe.1.mii="A"
+#hint.npe.1.phy=0

Gavin


More information about the freebsd-arm mailing list