From owner-freebsd-embedded@FreeBSD.ORG Sun May 4 21:51:44 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B26E6F8 for ; Sun, 4 May 2014 21:51:44 +0000 (UTC) Received: from server1.weites.net (mail.weites.com [89.188.29.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 304D612D1 for ; Sun, 4 May 2014 21:51:42 +0000 (UTC) Received: from [10.14.92.96] (5ED685D2.cm-7-7c.dynamic.ziggo.nl [94.214.133.210]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: harm@weites.com) by server1.weites.net (Postfix) with ESMTPSA id 5B8E77229A for ; Sun, 4 May 2014 23:44:01 +0200 (CEST) Message-ID: <5366B4A0.7090803@weites.com> Date: Sun, 04 May 2014 23:44:00 +0200 From: Harm Weites User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-embedded@freebsd.org Subject: etherswitchcfg reports no vlan capabilities on rtl8366rb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2014 21:51:44 -0000 Hi, My 1043ND is running HEAD @ r265004M and it's a bit unhappy when configuring vlans on the RTL8366RB. Only after reverting revisions 253569 253568 and 250382 things went back to running normal. This is from before reverting: # etherswitchcfg -v info etherswitch0: Realtek RTL8366RB with 6 ports and 16 VLAN groups etherswitch0: VLAN capabilities=0<> port0: flags=0<> media: Ethernet autoselect (none) status: no carrier port1: flags=0<> media: Ethernet autoselect (1000baseT ) status: active port2: flags=0<> media: Ethernet autoselect (none) status: no carrier port3: flags=0<> media: Ethernet autoselect (none) status: no carrier port4: flags=0<> media: Ethernet autoselect (none) status: no carrier port5: flags=0<> media: Ethernet 1000baseT status: active vlangroup0: vlan: 4094 members 5t vlangroup1: vlan: 1 members 0,5t vlangroup2: vlan: 2 members 1,2,3,4,5t vlangroup3: vlan: 4 members none [..] # etherswitchcfg config vlan_mode vlan_mode needs an argument This is annoying as well, though setting it to port produces no output and apparently doesn't work out anyway. # etherswitchcfg port1 pvid pvid needs an argument port1: flags=0<> media: Ethernet autoselect (1000baseT ) status: active # etherswitchcfg port1 pvid 2 etherswitchcfg: ioctl(IOETHERSWITCHSETPORT): Device not configured I decided to just leave out those revisions to make it usable again, since those were the most notable changes in the etherswitch area. Regards, Harm