From owner-freebsd-current@FreeBSD.ORG Wed Oct 7 06:00:48 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 188FC106566B for ; Wed, 7 Oct 2009 06:00:48 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from inbound01.jnb1.gp-online.net (inbound01.jnb1.gp-online.net [41.161.16.135]) by mx1.freebsd.org (Postfix) with ESMTP id A68128FC13 for ; Wed, 7 Oct 2009 06:00:47 +0000 (UTC) Received: from [41.154.0.10] (helo=clue.co.za) by inbound01.jnb1.gp-online.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MvPZs-0003hH-5K for current@freebsd.org; Wed, 07 Oct 2009 08:00:44 +0200 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MvPZq-000Fqu-Ti for current@freebsd.org; Wed, 07 Oct 2009 08:00:42 +0200 To: current@freebsd.org From: "Ian Freislich" X-Attribution: BOFH Date: Wed, 07 Oct 2009 08:00:42 +0200 Message-Id: Cc: Subject: alc(4) link autoselect problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 06:00:48 -0000 Hi On my recently acquired netbook (compaq mini-110), the ethernet doesn't autoselect the link speed properly. I think this is because HP chose the cheapest ethernet controler and the cheapest PHY and there's a speed missmatch (or the PHY isn't correctly detected): alc0: port 0xec80-0xecff mem 0xfebc0000-0xfebfffff irq 17 at device 0.0 on pci2 alc0: 15872 Tx FIFO, 15360 Rx FIFO alc0: Using 1 MSI message(s). miibus0: on alc0 atphy0: PHY 0 on miibus0 atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto alc0: Ethernet address: 00:25:b3:6f:ab:9a alc0: [FILTER] alc0@pci0:2:0:0: class=0x020000 card=0x308f103c chip=0x10621969 rev=0xc0 hdr=0x00 vendor = 'Attansic (Now owned by Atheros)' class = network subclass = ethernet cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[48] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[58] = PCI-Express 1 endpoint max data 128(4096) link x1(x1) cap 03[6c] = VPD The AR8132 is Fast Ethernet, but the Atheros F1 is gigabit capable. If I set the media to 100BaseTX full-duplex it works. Ian -- Ian Freislich