From owner-freebsd-embedded@FreeBSD.ORG Mon May 5 00:36:26 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 326C2A2A; Mon, 5 May 2014 00:36:26 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8F6D131B; Mon, 5 May 2014 00:36:25 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id c9so7089026qcz.16 for ; Sun, 04 May 2014 17:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=G1J+LF+Tmt6KRWOVD1rScvP5UfjvXhu9MM3D+JC6Qeg=; b=W/7anG9Zdwi5AD61lhrFhJr//Ze48PkYlyiPh95geg0c8hI0HYqAn53dJ8DhhmVipi I1F+r/XBls8T3dfHkk1LAZGu2G5yP6/1J5/sgNGw3H8pOp0ByDqZW4M2nlybc6D9Jiuk LOYkucktCSZ7vowoYA7ospalC9RxFpFbmVKbYDi0My2UCa13JWd8cr9zHiknmdO7Wng9 kCHFreuBO8hYlWt2PgB223rJS0a/MlgNth4xrxq2oBYM2zjyZDfjtNouxhT0RsGaoCVm trDU/OQ4dzL789DNAiO4TEU5F2ytr0ZYDCD+4sBCTE6zrbiSv1dFYMvcu5VPqf/gG+sI AB8g== MIME-Version: 1.0 X-Received: by 10.140.47.18 with SMTP id l18mr38076666qga.9.1399250184999; Sun, 04 May 2014 17:36:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Sun, 4 May 2014 17:36:24 -0700 (PDT) In-Reply-To: <5366B4A0.7090803@weites.com> References: <5366B4A0.7090803@weites.com> Date: Sun, 4 May 2014 17:36:24 -0700 X-Google-Sender-Auth: trFYPqkSuZhxfbxycm123OCeFQ0 Message-ID: Subject: Re: etherswitchcfg reports no vlan capabilities on rtl8366rb From: Adrian Chadd To: Harm Weites , Luiz Otavio O Souza Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 00:36:26 -0000 Hi, Hm, it sounds like the support for vlan configuration from Luiz broke things. Luiz, do you have some time to help Harm figure out why your vlan config stuff broke the rtl8366 switch support? Thanks! -a On 4 May 2014 14:44, Harm Weites wrote: > 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 > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org"