From owner-freebsd-mips@FreeBSD.ORG Mon Nov 28 01:49:37 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AAF21065670 for ; Mon, 28 Nov 2011 01:49:37 +0000 (UTC) (envelope-from gonzo@hq.bluezbox.com) Received: from hq.bluezbox.com (hq.bluezbox.com [70.38.37.145]) by mx1.freebsd.org (Postfix) with ESMTP id EB1768FC0C for ; Mon, 28 Nov 2011 01:49:36 +0000 (UTC) Received: from [24.87.53.93] (helo=[192.168.1.116]) by hq.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1RUqLe-000ITm-AI for freebsd-mips@freebsd.org; Sun, 27 Nov 2011 17:49:35 -0800 From: Oleksandr Tymoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 27 Nov 2011 17:49:33 -0800 Message-Id: <4C363511-0E3A-4CFD-904A-7EAF776F763A@bluezbox.com> To: freebsd-mips Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Sender: gonzo@hq.bluezbox.com X-Spam-Level: --- X-Spam-Report: Spam detection software, running on the system "hq.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hello, I tried booting latest kernel on my CAPK-0100ND board and it seems to have some issues with initializing ethernet: octe0 gets zero MAC address although proper MAC address is printed earlier: Boot Descriptor Ver: 7 -> 1/2 CPU clock: 500MHz Core Mask: 0 Board Type: 11 Revision: 0/0 Mac Address 00.90.FB.26.26.CA (3) [...] Content analysis details: (-3.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.7 AWL AWL: From: address is in the auto white-list Subject: Octeon MAC address X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 01:49:37 -0000 Hello, I tried booting latest kernel on my CAPK-0100ND board and it seems to = have some issues with initializing=20 ethernet: octe0 gets zero MAC address although proper MAC address is = printed earlier: Boot Descriptor Ver: 7 -> 1/2 CPU clock: 500MHz Core Mask: 0 Board Type: 11 Revision: 0/0 Mac Address 00.90.FB.26.26.CA (3) This simple patch fixes the issue: http://people.freebsd.org/~gonzo/mips/octeon-mac.diff=20 I do not have enough experience with octeon's boot descriptor so I am = not sure if it's a proper fix=20 for this issue or it should be fixed in octeon-sdk sources. Could = someone with more expertise=20 take a look at it?