On 15 September 2016 at 19:37, Steven Chamberlain <ste...@pyro.eu.org> wrote:
> Hi,
>
> After upgrading a Beaglebone Black from 5.9 to 6.0 GENERIC, VLANs seem
> to not work any more with the onboard single-port cpsw(4) interface.
>
> # ifconfig vlan4 destroy
> # ifconfig vlan4 create vlandev cpsw0
> ifconfig: SIOCSETVLAN: No buffer space available
>
> What does this mean?
>

cpsw driver doesn't advertise support for extended frame size required
to store a VLAN Ethernet frame. You need to lower the MTU of cpsw0
by 4 before attempting to configure the vlan4 interface.

> Afterward, the VLAN interface does exist, but with wrong lladdr,
> "status: no carrier" (even though the parent is active), and it seems
> not possible to assign an inet address on the VLAN interface either:
>
> # ifconfig vlan4
> vlan4: flags=8003<UP,BROADCAST,MULTICAST> mtu 1500
>         lladdr 00:00:00:00:00:00
>         index 8 priority 0 llprio 3
>         vlan: 4 parent interface: cpsw0
>         vnetid: 4
>         parent: cpsw0
>         groups: vlan
>         status: no carrier
>
> dmesg follows, thank you.
>
> OpenBSD 6.0 (GENERIC) #286: Thu Jul 28 12:33:51 AEST 2016
>     j...@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/GENERIC
> real mem  = 536870912 (512MB)
> avail mem = 518017024 (494MB)
> mainbus0 at root: TI AM335x BeagleBone Black
> cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
> omap0 at mainbus0
> prcm0 at omap0 rev 0.2
> sitaracm0 at omap0: control module, rev 1.0
> intc0 at omap0 rev 5.0
> edma0 at omap0 rev 0.0
> dmtimer0 at omap0 rev 3.1
> dmtimer1 at omap0 rev 3.1
> omgpio0 at omap0: rev 0.1
> gpio0 at omgpio0: 32 pins
> omgpio1 at omap0: rev 0.1
> gpio1 at omgpio1: 32 pins
> omgpio2 at omap0: rev 0.1
> gpio2 at omgpio2: 32 pins
> omgpio3 at omap0: rev 0.1
> gpio3 at omgpio3: 32 pins
> simplebus0 at mainbus0: "ocp"
> simplebus1 at simplebus0: "l4_wkup"
> simplebus2 at simplebus1: "scm"
> com0 at simplebus0: ti16750, 64 byte fifo
> com0: console
> tiiic0 at simplebus0 rev 0.11
> iic0 at tiiic0
> "ti,tps65217" at iic0 addr 0x24 not configured
> "at,24c256" at iic0 addr 0x50 not configured
> "nxp,tda998x" at iic0 addr 0x70 not configured
> tiiic1 at simplebus0 rev 0.11
> iic1 at tiiic1
> "at,24c256" at iic1 addr 0x54 not configured
> "at,24c256" at iic1 addr 0x55 not configured
> "at,24c256" at iic1 addr 0x56 not configured
> "at,24c256" at iic1 addr 0x57 not configured
> ommmc0 at simplebus0
> sdmmc0 at ommmc0: 1-bit, mmc high-speed
> ommmc1 at simplebus0
> sdmmc1 at ommmc1: 1-bit, mmc high-speed
> omdog0 at simplebus0 rev 0.1
> cpsw0 at simplebus0: version 1.12 (0), address d0:39:72:37:8a:d3
> ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 1: OUI 
> 0x0001f0, model 0x000f
> sdmmc0: can't enable card
> scsibus0 at sdmmc1: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <Kingston, MMC04G, 0000> SCSI2 0/direct fixed
> sd0: 3688MB, 512 bytes/sector, 7553024 sectors
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> boot device: sd0
> root on sd0a (3d49b2642530c3a2.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!
>
> --
> Steven Chamberlain
> ste...@pyro.eu.org
>

Reply via email to