From owner-freebsd-arm@FreeBSD.ORG Wed Nov 4 10:42:36 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5FA71065670 for ; Wed, 4 Nov 2009 10:42:36 +0000 (UTC) (envelope-from Matthias.Reyelt@brunel.de) Received: from mailgate2.arcor-ip.de (mailgate2.arcor-ip.de [145.253.2.48]) by mx1.freebsd.org (Postfix) with ESMTP id 403028FC16 for ; Wed, 4 Nov 2009 10:42:36 +0000 (UTC) Received: from mailer.brunellocal.de (ffmcospub2ffmbrunelfw2lo-cs-nat-mail-server.adm.arcor.net [145.254.28.157]) by mailgate1.cs.arcor.net (Arcor-CN-MailRelay-l-B) with ESMTP id 191B2F905F1; Wed, 4 Nov 2009 11:42:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id D1D2A450E5; Wed, 4 Nov 2009 11:42:34 +0100 (CET) X-Virus-Scanned: amavisd-new at brunellocal.de Received: from mailer.brunellocal.de ([127.0.0.1]) by localhost (mailer.brunellocal.de [127.0.0.1]) (amavisd-new, port 10024) with SMTP id kiC6wVw8Narg; Wed, 4 Nov 2009 11:42:34 +0100 (CET) Received: from mail-hv.brunel.de (mail-hv.brunellocal.de [192.168.1.234]) by mailer.brunellocal.de (Postfix) with ESMTP id AE360412AD; Wed, 4 Nov 2009 11:42:34 +0100 (CET) Received: from bcslx10.bcs.brunel.local ([172.16.101.231]) by 935s02su.brunellocal.de (Lotus Domino Release 7.0.3FP1) with ESMTP id 2009110411423373-43824 ; Wed, 4 Nov 2009 11:42:33 +0100 Received: from bcspc139.bcs.brunel.local (bcspc139.bcs.brunel.local [172.16.101.98]) by bcslx10.bcs.brunel.local (Postfix) with ESMTP id 01BA6134018; Wed, 4 Nov 2009 11:42:34 +0100 (CET) From: Matthias Reyelt Organization: Brunel Communications To: Rafal Jaworowski Date: Wed, 4 Nov 2009 11:42:30 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: <200911040956.09749.Matthias.Reyelt@brunel.de> In-Reply-To: MIME-Version: 1.0 Message-Id: <200911041142.32349.Matthias.Reyelt@brunel.de> X-MIMETrack: Itemize by SMTP Server on HUB93501/Brunel/De(Release 7.0.3FP1|February 24, 2008) at 04.11.2009 11:42:33 AM, Serialize by Router on HUB10149/Brunel/De(Release 7.0.3FP1|February 24, 2008) at 04.11.2009 11:42:34 AM, Serialize complete at 04.11.2009 11:42:34 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Cc: freebsd-arm@freebsd.org Subject: Re: Marvell Kirkwood 6281 mge1 interface X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2009 10:42:36 -0000 Hi, here is the boot log. I have added several device_printf's and removed the 0xffff condition in mii_phy_probe() Matthias ge0: at mem 0xf1072000-0xf1073fff irq 12,13,14,11,46 on mbus0 mge0: bpf attached mge0: Ethernet address: 00:50:43:01:a2:5e mge0: Now probing PHY mge0: mii_phy_probe: Starting to probe PHYs: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:31085 ok miibus0: (miibus_probe) is the mii device mge0: (miibus_probe) is the eth device miibus0: Probing phy 0 miibus0: No phy found miibus0: Probing phy 1 miibus0: No phy found miibus0: Probing phy 2 miibus0: No phy found miibus0: Probing phy 3 miibus0: No phy found miibus0: Probing phy 4 miibus0: No phy found miibus0: Probing phy 5 miibus0: No phy found miibus0: Probing phy 6 miibus0: No phy found miibus0: Probing phy 7 miibus0: No phy found miibus0: Probing phy 8 miibus0: found one. Now looking for ID miibus0: Probing phy 9 miibus0: No phy found miibus0: Probing phy a miibus0: No phy found miibus0: Probing phy b miibus0: No phy found miibus0: Probing phy c miibus0: No phy found miibus0: Probing phy d miibus0: No phy found miibus0: Probing phy e miibus0: No phy found miibus0: Probing phy f miibus0: No phy found miibus0: Probing phy 10 miibus0: No phy found miibus0: Probing phy 11 miibus0: No phy found miibus0: Probing phy 12 miibus0: No phy found miibus0: Probing phy 13 miibus0: No phy found miibus0: Probing phy 14 miibus0: No phy found miibus0: Probing phy 15 miibus0: No phy found miibus0: Probing phy 16 miibus0: No phy found miibus0: Probing phy 17 miibus0: No phy found miibus0: Probing phy 18 miibus0: No phy found miibus0: Probing phy 19 miibus0: No phy found miibus0: Probing phy 1a miibus0: No phy found miibus0: Probing phy 1b miibus0: No phy found miibus0: Probing phy 1c miibus0: No phy found miibus0: Probing phy 1d miibus0: No phy found miibus0: Probing phy 1e miibus0: No phy found miibus0: Probing phy 1f miibus0: No phy found miibus0: on mge0 miibus0: miibus_attach e1000phy0: Probing e1000 PHY e1000phy0: Probing e1000 PHY e1000phy0: PHY 8 on miibus0 mge0: Writing 6800 to reg 10 on phy 8 mge0: Writing 70 to reg 14 on phy 8 mge0: Writing 9140 to reg 0 on phy 8 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto mge0: [MPSAFE] mge0: [ITHREAD] mge0: [MPSAFE] mge0: [ITHREAD] mge1: at mem 0xf1076000-0xf1077fff irq 16,17,18,15,46 on mbus0 mge1: bpf attached mge1: Ethernet address: 00:50:43:01:a2:5f mge1: Now probing PHY mge1: mii_phy_probe: Starting to probe PHYs: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:65535 ok miibus1: (miibus_probe) is the mii device mge1: (miibus_probe) is the eth device miibus1: Probing phy 0 miibus1: No phy found miibus1: Probing phy 1 miibus1: No phy found miibus1: Probing phy 2 miibus1: No phy found miibus1: Probing phy 3 miibus1: No phy found miibus1: Probing phy 4 miibus1: No phy found miibus1: Probing phy 5 miibus1: No phy found miibus1: Probing phy 6 miibus1: No phy found miibus1: Probing phy 7 miibus1: No phy found miibus1: Probing phy 8 miibus1: No phy found miibus1: Probing phy 9 miibus1: found one. Now looking for ID miibus1: Probing phy a miibus1: No phy found miibus1: Probing phy b miibus1: No phy found miibus1: Probing phy c miibus1: No phy found miibus1: Probing phy d miibus1: No phy found miibus1: Probing phy e miibus1: No phy found miibus1: Probing phy f miibus1: No phy found miibus1: Probing phy 10 miibus1: No phy found miibus1: Probing phy 11 miibus1: No phy found miibus1: Probing phy 12 miibus1: No phy found miibus1: Probing phy 13 miibus1: No phy found miibus1: Probing phy 14 miibus1: No phy found miibus1: Probing phy 15 miibus1: No phy found miibus1: Probing phy 16 miibus1: No phy found miibus1: Probing phy 17 miibus1: No phy found miibus1: Probing phy 18 miibus1: No phy found miibus1: Probing phy 19 miibus1: No phy found miibus1: Probing phy 1a miibus1: No phy found miibus1: Probing phy 1b miibus1: No phy found miibus1: Probing phy 1c miibus1: No phy found miibus1: Probing phy 1d miibus1: No phy found miibus1: Probing phy 1e miibus1: No phy found miibus1: Probing phy 1f miibus1: No phy found miibus1: on mge1 miibus1: miibus_attach e1000phy1: Probing e1000 PHY ukphy0: PHY 9 on miibus1 ukphy0: OUI 0x3fffff, model 0x003f, rev. 15 mge1: Writing 8400 to reg 0 on phy 9 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 100baseT4, 1000baseSX, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX, auto mge1: [MPSAFE] Am Mittwoch 04 November 2009 10:37:52 schrieb Rafal Jaworowski: > > On 2009-11-04, at 09:56, Matthias Reyelt wrote: > > > I have tried to use the second network interface on an Marvell > > OpenRD board > > with BETA3. The mge1 interfaces seems to have problems with it's phy. > > > > I am not familiar with kernel debugging, I've only seen that > > mii_phy_probe() > > detects the bmsr register at 0x09, but readreg returns 0xffff. > > > > Has anybody got that second interface up already? > > Please paste the log with errors you're seeing. > > Rafal > >