Avila GW2348-4 and VLANs not working

John-Mark Gurney jmg at funkthat.com
Mon Aug 27 17:40:11 UTC 2012


Over the weekend, I tried to update my board to support VLANs, and when
I did, things didn't go so well.  I have 9.0-PRERELEASE installed on it,
but the npe driver hasn't changed much since then, so I'm not sure updating
will fix things...

When I tried to run VLANs on the board, things didn't work.  When I
tcpdump'd the base interface, I got a ton of truncated-ip messages...
Some of the packets that were suppose to be on a vlan didn't appear to
have a vlan tag on the npe0 interface...  I previously used the same
switch w/ an older x86 box and vlans worked fine, though on a much
older FreeBSD release...

I've attached the dmesg.boot...  iirc, the modifications to the source
were some things to make pf usable, but that's about it...

Any ideas what needs to be done to make vlans work?

P.S.  Since I only have one board, and I'm using this as a firewall
experimenting is a little difficult.  Anyone know of a another good
ARM board that I could use (and isn't too expensive)?

Thanks.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
-------------- next part --------------
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-PRERELEASE #3 r228252M: Wed Nov  2 07:00:48 PDT 2011
    jmg at pcbsd-779:/usr/obj/arm.armeb/usr/src/sys/gate2 arm
CPU: IXP425 533MHz rev 1 (ARMv5TE) (XScale core)
  DC enabled IC enabled WB enabled LABT branch prediction enabled
  32KB/32B 32-way Instruction cache
  32KB/32B 32-way write-back-locking Data cache
real memory  = 67108864 (64 MB)
avail memory = 56352768 (53 MB)
ixp0: <Intel IXP4XX> on motherboard
ixp0: 37fff<RCOMP,USB,HASH,AES,DES,HDLC,AAL,HSS,UTOPIA,ETH0,ETH1,PCI>
pcib0: <IXP4XX PCI Bus> on ixp0
pci0: <PCI bus> on pcib0
ath0: <Atheros 9280> irq 27 at device 2.0 on pci0
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ixpclk0: <IXP4XX Timer> on ixp0
ixpiic0: <IXP4XX GPIO-Based I2C Interface> on ixp0
iicbb0: <I2C bit-banging driver> on ixpiic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iic0: <I2C generic I/O> on iicbus0
ad74180: <Analog Devices AD7418 ADC> at addr 0x50 on iicbus0
ds1672_rtc0: <Dallas Semiconductor DS1672 RTC> at addr 0xd0 on iicbus0
ixpwdog0: <IXP4XX Watchdog Timer> on ixp0
uart0: <Non-standard ns8250 class UART with FIFOs> on ixp0
uart0: console (115200,n,8,1)
uart1: <Non-standard ns8250 class UART with FIFOs> on ixp0
ixpqmgr0: <IXP4XX Q-Manager> on ixp0
npe0: <IXP NPE-B> on ixp0
npe0: MAC at 0xc8009000
npe0: MII at 0xc8009000
npe0: load fw image IXP425.NPE-B Func 0x2 Rev 2.1
miibus0: <MII bus> on npe0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
npe0: Ethernet address: 00:d0:12:xx:xx:xx
npe1: <IXP NPE-C> on ixp0
npe1: MAC at 0xc800a000
npe1: MII at 0xc8009000
npe1: load fw image IXP425.NPE-C Func 0x5 Rev 2.1
miibus1: <MII bus> on npe1
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
npe1: Ethernet address: 00:d0:12:xx:xx:xx
cfi0: <Intel/Sharp - 16MB> on ixp0
cfid0 on cfi0
ata_avila0: <Gateworks Avila IDE/CF Controller> on ixp0
ata0: <ATA channel 0> on ata_avila0
led_avila0: <Gateworks Avila Front Panel LED> on ixp0
gpio_avila0: <Gateworks Avila GPIO driver> on ixp0
Timecounter "IXP4XX Timer" frequency 66666600 Hz quality 1000
Timecounters tick every 10.000 msec
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <TS8GCF133 20110407> CFA-7 device
ada0: 16.700MB/s transfers (PIO4, PIO 512bytes)
ada0: 7647MB (15662304 512 byte sectors: 16H 63S/T 15538C)
ada0: Previously was known as ad0
hwpmc: XSCALE/4/32/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
Trying to mount root from ufs:ada0s1a []...
wlan0: Ethernet address: xx:xx:xx:xx:xx:xx
npe0: ixpnpe_intr: status 0x60000
npe1: ixpnpe_intr: status 0x60000


More information about the freebsd-arm mailing list