From owner-freebsd-stable@FreeBSD.ORG Tue Mar 3 12:25:13 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 92119106566C for ; Tue, 3 Mar 2009 12:25:13 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9888FC1A for ; Tue, 3 Mar 2009 12:25:13 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so3150800rvb.43 for ; Tue, 03 Mar 2009 04:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=PWuij6H0vXphtcluJClANmUealmfbv/7ar8ynVJzrvs=; b=R1U/agS8tpV4HIuInxPA1Qp2HmAHp9nqabYNMYVgDylqNqDsv6ZWFbkZhjACOWzq3R BgHPW/r4zAln2JI0QElzdzT5in+13/k/t87Yz1FBVYLw/RMeUrJCPlZHM2FredTVhDGf XsuBwaPP9gOFhw5Qhmd1H9gzOZrxuAzkRYHh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=FalVwdGe5UqXY/ONiY+cjjxsM+r06ZXUjsoUBMiOcrOuCwDLL8LsLNdKltG0GYDYL7 8ikkh0TspCy7dLiZzhb3Z2BJ55eOZQiazLbSKsMgvjhJyVTf9E8+VtmAoJd7E43JEAiM tgcmzezIEFzeFEoJdOZFA9al6Ws5P0o/iejLY= Received: by 10.140.204.7 with SMTP id b7mr3498566rvg.119.1236083112906; Tue, 03 Mar 2009 04:25:12 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id k41sm8504080rvb.6.2009.03.03.04.25.08 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Mar 2009 04:25:10 -0800 (PST) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Tue, 3 Mar 2009 21:31:56 +0900 From: Pyun YongHyeon Date: Tue, 3 Mar 2009 21:31:56 +0900 To: Cristiano Deana Message-ID: <20090303123156.GC84434@michelle.cdnetworks.co.kr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Stable Mailing List Subject: Re: bce: unable to fix media X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 12:25:13 -0000 On Tue, Mar 03, 2009 at 11:02:13AM +0100, Cristiano Deana wrote: > Hi, > > tuning my network fixing nic's speed and duplex (both on server and > switch) i got this error with bce driver: > > # ifconfig bce0 > bce0: flags=8843 metric 0 mtu 1500 > options=1bb > ether 00:15:c5:fe:11:01 > inet 192.168.1.13 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (1000baseSX ) > status: active > # ifconfig bce0 media 1000baseSX > ifconfig: SIOCSIFMEDIA (media): Device not configured > I don't have experience on bce(4) hardwares so I'm not sure but how about adding full-duplex? e.g. ifconfig bce0 media 1000baseSX mediaopt full-duplex For gigabit connections you should always use auto-negotiation. There is no need to manually specify link speed/duplex except connecting to broken link partners. > or (according to bce(4)): > > # ifconfig bce0 media 1000baseTX > ifconfig: SIOCSIFMEDIA (media): Device not configured > I guess your PHY type is not for 1000baseT. That's not valid option for your controller. > system: > # uname -rsm > FreeBSD 7.1-RELEASE-p3 amd64 > > bce0@pci0:6:0:0: class=0x020000 card=0x01bb1028 chip=0x16ac14e4 > rev=0x12 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme II BCM5708S Gigabit Ethernet' > class = network > subclass = ethernet > > bce0: mem > 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci6 > miibus0: on bce0 > brgphy0: PHY 2 on miibus0 > brgphy0: 1000baseSX-FDX, auto > bce0: Ethernet address: 00:15:c5:fe:0f:c6 > bce0: [ITHREAD] > bce0: ASIC (0x57081021); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W