From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from p15137414.pureserver.info (matrixvision.de [217.160.213.229]) by ozlabs.org (Postfix) with ESMTP id 5AF23DDDF8 for ; Fri, 5 Dec 2008 04:41:58 +1100 (EST) Message-ID: <49381662.2020302@matrix-vision.de> Date: Thu, 04 Dec 2008 18:41:54 +0100 From: Andre Schwarz MIME-Version: 1.0 To: Timur Tabi Subject: Re: "eth1: Could not attach to PHY" on MPC8349e-MITX References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org, afleming@freescale.com, netdev@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Timur, is it possible that the PHY adress doesn't match the one specified in the dts ? regards, Andre Timur Tabi schrieb: > The Freescale MPC8349e-MITX reference board has two TSECs, the second > of which (eth1) is attached to a Vitesse 7385 5-port switch. > > Using the latest U-Boot, Kernel, and device tree, I cannot bring up > eth1. When I try, I get this message: > > [root@tintin root]# ifconfig eth1 up > 0:01 not found > eth1: Could not attach to PHY > SIOCSIFFLAGS: No such device > > Unfortunately, I don't even know what this means. > > I believe my network configuration is correct. Here's what ifconfig > says about eth1: > > eth1 Link encap:Ethernet HWaddr 00:E0:0C:00:8C:02 > inet addr:192.168.2.141 Bcast:192.168.255.255 Mask:255.255.0.0 > BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Base address:0x4000 > > eth1 does work in U-boot, so I know it can be made to work (and I know > the 7385's firmware is uploaded), I just don't know what needs to be > done in Linux. > MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner