From owner-freebsd-stable@FreeBSD.ORG Thu Oct 22 18:39:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC9B31065670 for ; Thu, 22 Oct 2009 18:39:58 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 6E20E8FC0C for ; Thu, 22 Oct 2009 18:39:58 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so3213413fga.13 for ; Thu, 22 Oct 2009 11:39:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.90.70 with SMTP id d48mr2414885wef.159.1256236797097; Thu, 22 Oct 2009 11:39:57 -0700 (PDT) In-Reply-To: <20091022183643.GA1116@michelle.cdnetworks.com> References: <20091022183643.GA1116@michelle.cdnetworks.com> Date: Thu, 22 Oct 2009 20:39:57 +0200 Message-ID: From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= To: pyunyh@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable Mailing List Subject: Re: ale0 gets no carrier X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 18:39:58 -0000 On Thu, Oct 22, 2009 at 20:36, Pyun YongHyeon wrote: > On Thu, Oct 22, 2009 at 08:22:50PM +0200, Marius N?nnerich wrote: >> Hi Pyun, all, >> >> today I installed FreeBSD 8-STABLE r198366 on a new Box. It has a Athero= s nic: >> ale0@pci0:2:0:0: =A0 =A0 =A0 =A0class=3D0x020000 card=3D0x831c1043 chip= =3D0x10261969 >> rev=3D0xb0 hdr=3D0x00 >> =A0 =A0 vendor =A0 =A0 =3D 'Attansic (Now owned by Atheros)' >> =A0 =A0 device =A0 =A0 =3D 'PCI-E ETHERNET CONTROLLER =A0(AR8121/AR8113 = )' >> =A0 =A0 class =A0 =A0 =A0=3D network >> =A0 =A0 subclass =A0 =3D ethernet >> >> ale0: flags=3D8802 metric 0 mtu 1500 >> =A0 =A0 =A0 =A0 options=3D319a >> =A0 =A0 =A0 =A0 ether 00:24:8c:a4:0a:b3 >> =A0 =A0 =A0 =A0 media: Ethernet autoselect (none) >> =A0 =A0 =A0 =A0 status: no carrier >> >> The nic gets no carrier at all. I tried against two known-working nics >> with a cross-over cable and against a dsl-modem. >> Any idea what to try? Will happily test patches. >> > > Would you show me dmesg output related with ale(4)/atphy(4)? > Also show me the output "devinfo -rv | grep phy". Sure: % dmesg|grep ale ale0: port 0xdc00-0xdc7f mem 0xfbec0000-0xfbefffff irq 18 at device 0.0 on pci2 ale0: 960 Tx FIFO, 1024 Rx FIFO ale0: Using 1 MSI messages. miibus0: on ale0 ale0: Ethernet address: 00:24:8c:a4:0a:b3 ale0: [FILTER] ale0: link state changed to DOWN % dmesg|grep atphy atphy0: PHY 0 on miibus0 atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, aut= o % devinfo -rv | grep phy atphy0 pnpinfo oui=3D0x1374 model=3D0x1 rev=3D0x9 at phyno= =3D0 ip1000phy0 pnpinfo oui=3D0x90c3 model=3D0x8 rev=3D0x0 at ph= yno=3D24 It is a GENERIC kernel.