Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2009 19:21:47 +0100 (BST)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        Luazi <embedpro@gmail.com>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: NSLU2 cannot activate npe
Message-ID:  <20090426192012.G34731@ury.york.ac.uk>
In-Reply-To: <fcbb06250904251926l6d45bf2qa3ecdd74456e64a8@mail.gmail.com>
References:  <fcbb06250904251926l6d45bf2qa3ecdd74456e64a8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090426192012.G34731>