Having a problem with all versions of 1.3b (tried four different versions when they were released and 3x 1.3b9) on a
WRAP board. Device polling seems to be completely broken..
Immidiatly when exceeding 10mbit downstream the router reaches its CPU limit and the web-interface is unresponsive.. When reaching 15mbit massive packetlosses (50%) occur..
On all 1.2 branches device polling works perfectly.. I can reach 20mbps (2.3MB/s), with a max load of 1-2% (with QoS enabled)..
I tried resetting to factory defaults - only setting WAN MAC spoofing and changed LAN IP/MASK - with the same result, so I'm fairly confident that it's not a configuration issue
Enabling/disabling device polling seems to have no effect at all..
1.3b9 with polling turned ON (removed irrelevant nics (ath0 / ngx):
$ ifconfig -m
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=48<VLAN_MTU,POLLING>
capabilities=48<VLAN_MTU,POLLING>
inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255
ether 00:0d:b9:06:xx:xx
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
sis1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=48<VLAN_MTU,POLLING>
capabilities=48<VLAN_MTU,POLLING>
inet 87.104.xx.xx netmask 0xffffff80 broadcast 255.255.255.255
ether 00:13:10:83:xx:xx
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
sis2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
capabilities=48<VLAN_MTU,POLLING>
ether 00:0d:b9:06:xx:xx
media: Ethernet autoselect (none)
status: no carrier
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
On a 1.232 branch with polling ON:
$ ifconfig -m
sis0: flags=18843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,POLLING> mtu 1500
options=40<POLLING>
capability list:
=40<POLLING>
inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255
ether 00:0d:b9:06:xx:xx
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
sis1: flags=18843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,POLLING> mtu 1500
options=40<POLLING>
capability list:
=40<POLLING>
inet 87.104.xx.xx netmask 0xffffff80 broadcast 255.255.255.255
ether 00:13:10:83:xx:xx
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
sis2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=40<POLLING>
capability list:
=40<POLLING>
ether 00:0d:b9:06:xx:xx
media: Ethernet autoselect (none)
status: no carrier
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
And a dmesg from 1.3b9
$ dmesg
Copyright (c) 1992-2007 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 6.2-RELEASE-p10 #0: Tue Jan 15 20:26:03 CET 2008
root@mb62.neon1.net:/usr/src/sys/i386/compile/M0N0WALL_WRAPALIX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (233.33-MHz 586-class CPU)
Origin = "Geode by NSC" Id = 0x540 Stepping = 0
Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory = 134217728 (128 MB)
avail memory = 109330432 (104 MB)
wlan: mac acl policy registered
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
ath0: <Atheros 5212> mem 0x80000000-0x8000ffff irq 12 at device 13.0 on pci0
ath0: Ethernet address: 00:16:e6:3c:xx:xx
ath0: mac 10.5 phy 6.1 radio 6.3
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x1000-0x10ff mem 0x80040000-0x80040fff irq 10 at device 14.0 on pci0
sis0: Silicon Revision: DP83816A
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:0d:b9:06:xx:xx
sis1: <NatSemi DP8381[56] 10/100BaseTX> port 0x1400-0x14ff mem 0x80080000-0x80080fff irq 9 at device 15.0 on pci0
sis1: Silicon Revision: DP83816A
miibus1: <MII bus> on sis1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: Ethernet address: 00:0d:b9:06:xx:xx
sis2: <NatSemi DP8381[56] 10/100BaseTX> port 0x1800-0x18ff mem 0x800c0000-0x800c0fff irq 11 at device 16.0 on pci0
sis2: Silicon Revision: DP83816A
miibus2: <MII bus> on sis2
ukphy2: <Generic IEEE 802.3u media interface> on miibus2
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: Ethernet address: 00:0d:b9:06:xx:xx
Geode GPIO@ = f400
Geode PC Engines WRAP.1C/1D/1E v1.tinyBIOS V1.4a (C)1997-2005
isab0: <PCI-ISA bridge> port 0xf400-0xf43f,0xf600-0xf63f at device 18.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge> at device 18.1 (no driver attached)
atapci0: <National Geode SC1100 ATA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 18.2 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <multimedia, audio> at device 18.3 (no driver attached)
Geode CBA@ 0x9000
Geode rev: 06 03
Timecounter "Geode" frequency 27000000 Hz quality 1000
pci0: <bridge> at device 18.5 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xe0000-0xe7fff on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
IP Filter: v4.1.28 initialized. Default = block all, Logging = enabled
md0: Preloaded image </mfsroot> 15728640 bytes at 0xc07b31bc
ad0: 123MB <HYPERSTONE FLASH DISK 30/06/03> at ata0-master PIO4
Trying to mount root from ufs:/dev/md0
If you need any additional info / tests / configs - let me know..
Update: After some digging, I've tried "ifconfig sis0/sis1 polling", and it completely ignores the cmd, even though ifconfig -m reports the NIC capable of polling.. Doing the same on 1.232 effectively enables/-disables polling..
I suspect it's an issue with the implementation of the sis drivers in this branch/FreeBSD 6.2 build