[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    
From:       Markus Teichmann <jmt () lf28 ! net>
Date:       2014-06-24 12:25:34
Message-ID: alpine.BSO.2.11.1406241424550.22310 () pebz ! ys28 ! arg
[Download RAW message or body]

> Synopsis:	low upload speed with pppoe over vlan
> Category:	i386 kernel
> Environment:
	System      : OpenBSD 5.5
	Details     : OpenBSD 5.5-current (GENERIC) #188: Sat Jun 21 13:44:20 MDT 2014
			 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

	Architecture: OpenBSD.i386
	Machine     : i386
> Description:
I have to connect to my ISP, the german Telekom, via pppoe over vlan. When I do this \
on my alix box (described below), I get only a quarter of the possible upload speed. \
The speed is measured from a pc in the lan via website test. The Alix box is \
connected to the local lan (vr0) and my vdsl modem (vr1). A vlan device is set up on \
top of vr1 (vlan 7 vlandev vr1). After that a pppoe device is connected to the vlan \
interface. The connection to the ISP is made once the device has started. The \
download speed is as fast as expected (48MBit), but the upload speed is low (2MBit). \
This happens with 5.5 and also with 5.5-current. Setting up the same configuration \
with another pc (OpenBSD 5.5 / amd64) I get the expected speed results. (48Mbit down \
/ 8MBit up). This pc uses a Intel Card for the modem connection (em0). The upload \
(and download) values are relativ constant, so that i don't expect an error in the \
way of measuring.
> How-To-Repeat:
Connect vr1 device with the modem.
hostname.vr1:
up
hostname.vlan7:
vlan 7 vlandev vr1 up
hostname.pppoe: 
inet 0.0.0.0 255.255.255.255 NONE \
        pppoedev vlan7 authproto pap \
        authname xxxxxxxxxxxxyyyyyyyyyyyy0001@t-online.de authkey zzzzzzzz \
        up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1

> Fix:
	


dmesg:
OpenBSD 5.5-current (GENERIC) #188: Sat Jun 21 13:44:20 MDT 2014
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error 80<clock_battery>
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 267943936 (255MB)
avail mem = 251117568 (239MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address \
00:0d:b9:17:24:2c ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: \
OUI 0x004063, model 0x0034 vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev \
0x96: irq 11, address 00:0d:b9:17:24:2d ukphy1 at vr1 phy 1: Generic IEEE 802.3u \
media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 11 function 0 \
"VIA VT6105M RhineIII" rev 0x96: irq 15, address 00:0d:b9:17:24:2e ukphy2 at vr2 phy \
1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 glxpcib0 \
at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, \
watchdog, gpio, i2c gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
maxtmp0 at iic0 addr 0x4c: lm86
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to \
compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: \
                <TS16GCF133>
wd0: 1-sector PIO, LBA, 15279MB, 31293360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0, \
legacy support ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (c2ca35b03996de37.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
clock: unknown CMOS layout
WARNING: clock time much less than file system time
WARNING: using file system time
WARNING: CHECK AND RESET THE DATE!

usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), AMD(0x1022), rev \
1.00  port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), AMD(0x1022), rev \
1.00  port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered

pcidump:
Domain /dev/pci0:
 0:1:0: AMD Geode LX
	0x0000: Vendor ID: 1022 Product ID: 2080
	0x0004: Command: 0005 Status: 0220
	0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 33
	0x000c: BIST: 00 Header Type: 80 Latency Timer: f8 Cache Line Size: 08
	0x0010: BAR io addr: 0x0000ac1c/0x0004
	0x0014: BAR empty (00000000)
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1022 Product ID: 2080
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
	0x0000: 20801022 02200005 06000033 0080f808
	0x0010: 0000ac1d 00000000 00000000 00000000
	0x0020: 00000000 00000000 00000000 20801022
	0x0030: 00000000 00000000 00000000 00000000
	0x0040: 00000000 00000000 00000000 00000000
	0x0050: 00000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:1:2: AMD Geode LX Crypto
	0x0000: Vendor ID: 1022 Product ID: 2082
	0x0004: Command: 0006 Status: 02a0
	0x0008: Class: 10 Subclass: 10 Interface: 00 Revision: 00
	0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
	0x0010: BAR mem 32bit addr: 0xefff4000/0x00004000
	0x0014: BAR empty (00000000)
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1022 Product ID: 2082
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 00 Max Lat: 00
	0x0000: 20821022 02a00006 10100000 00000008
	0x0010: efff4000 00000000 00000000 00000000
	0x0020: 00000000 00000000 00000000 20821022
	0x0030: 00000000 00000000 00000000 00000109
	0x0040: 00000000 00000000 00000000 00000000
	0x0050: 00000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:9:0: VIA VT6105M RhineIII
	0x0000: Vendor ID: 1106 Product ID: 3053
	0x0004: Command: 0097 Status: 0210
	0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96
	0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
	0x0010: BAR io addr: 0x00001000/0x0100
	0x0014: BAR mem 32bit addr: 0xe0000000/0x00000100
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1106 Product ID: 0106
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 03 Max Lat: 08
	0x0040: Capability 0x01: Power Management
	0x0000: 30531106 02100097 02000096 00000008
	0x0010: 00001001 e0000000 00000000 00000000
	0x0020: 00000000 00000000 00000000 01061106
	0x0030: 00000000 00000040 00000000 0803010a
	0x0040: fe020001 00000000 00000000 00000000
	0x0050: 04000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:10:0: VIA VT6105M RhineIII
	0x0000: Vendor ID: 1106 Product ID: 3053
	0x0004: Command: 0097 Status: 0210
	0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96
	0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
	0x0010: BAR io addr: 0x00001400/0x0100
	0x0014: BAR mem 32bit addr: 0xe0040000/0x00000100
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1106 Product ID: 0106
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 03 Max Lat: 08
	0x0040: Capability 0x01: Power Management
	0x0000: 30531106 02100097 02000096 00000008
	0x0010: 00001401 e0040000 00000000 00000000
	0x0020: 00000000 00000000 00000000 01061106
	0x0030: 00000000 00000040 00000000 0803010b
	0x0040: fe020001 00000000 00000000 00000000
	0x0050: 04000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:11:0: VIA VT6105M RhineIII
	0x0000: Vendor ID: 1106 Product ID: 3053
	0x0004: Command: 0097 Status: 0210
	0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96
	0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
	0x0010: BAR io addr: 0x00001800/0x0100
	0x0014: BAR mem 32bit addr: 0xe0080000/0x00000100
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1106 Product ID: 0106
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 01 Line: 0f Min Gnt: 03 Max Lat: 08
	0x0040: Capability 0x01: Power Management
	0x0000: 30531106 02100097 02000096 00000008
	0x0010: 00001801 e0080000 00000000 00000000
	0x0020: 00000000 00000000 00000000 01061106
	0x0030: 00000000 00000040 00000000 0803010f
	0x0040: fe020001 00000000 00000000 00000000
	0x0050: 04000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:15:0: AMD CS5536 ISA
	0x0000: Vendor ID: 1022 Product ID: 2090
	0x0004: Command: 0009 Status: 02a0
	0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 03
	0x000c: BIST: 00 Header Type: 80 Latency Timer: 40 Cache Line Size: 08
	0x0010: BAR io addr: 0x00006000/0x0008
	0x0014: BAR io addr: 0x00006100/0x0100
	0x0018: BAR io addr: 0x00006200/0x0040
	0x001c: BAR io addr: 0x00000000/0x0000
	0x0020: BAR io addr: 0x00009d00/0x0080
	0x0024: BAR io addr: 0x00009c00/0x0040
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1022 Product ID: 2090
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
	0x0000: 20901022 02a00009 06010003 00804008
	0x0010: 00006001 00006101 00006201 00000001
	0x0020: 00009d01 00009c01 00000000 20901022
	0x0030: 00000000 00000000 00000000 00000000
	0x0040: 00000000 00000000 00000000 00000000
	0x0050: 00000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:15:2: AMD CS5536 IDE
	0x0000: Vendor ID: 1022 Product ID: 209a
	0x0004: Command: 0005 Status: 02a0
	0x0008: Class: 01 Subclass: 01 Interface: 80 Revision: 01
	0x000c: BIST: 00 Header Type: 00 Latency Timer: f8 Cache Line Size: 08
	0x0010: BAR empty (00000000)
	0x0014: BAR empty (00000000)
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR io addr: 0x0000ff00/0x0010
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1022 Product ID: 209a
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
	0x0000: 209a1022 02a00005 01018001 0000f808
	0x0010: 00000000 00000000 00000000 00000000
	0x0020: 0000ff01 00000000 00000000 209a1022
	0x0030: 00000000 00000000 00000000 00000000
	0x0040: 00030002 00000000 20000000 20000000
	0x0050: c5000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:15:4: AMD CS5536 USB
	0x0000: Vendor ID: 1022 Product ID: 2094
	0x0004: Command: 0006 Status: 0230
	0x0008: Class: 0c Subclass: 03 Interface: 10 Revision: 02
	0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
	0x0010: BAR mem 32bit addr: 0xefffe000/0x00001000
	0x0014: BAR empty (00000000)
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1022 Product ID: 2094
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 04 Line: 0c Min Gnt: 00 Max Lat: 00
	0x0040: Capability 0x01: Power Management
	0x0000: 20941022 02300006 0c031002 00000008
	0x0010: efffe000 00000000 00000000 00000000
	0x0020: 00000000 00000000 00000000 20941022
	0x0030: 00000000 00000040 00000000 0000040c
	0x0040: c8020001 00000000 00000000 00000000
	0x0050: 00000000 00000000 00000000 00000000
	0x0060: 00000000 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000
 0:15:5: AMD CS5536 USB
	0x0000: Vendor ID: 1022 Product ID: 2095
	0x0004: Command: 0006 Status: 0230
	0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 02
	0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08
	0x0010: BAR mem 32bit addr: 0xefffd000/0x00001000
	0x0014: BAR empty (00000000)
	0x0018: BAR empty (00000000)
	0x001c: BAR empty (00000000)
	0x0020: BAR empty (00000000)
	0x0024: BAR empty (00000000)
	0x0028: Cardbus CIS: 00000000
	0x002c: Subsystem Vendor ID: 1022 Product ID: 2095
	0x0030: Expansion ROM Base Address: 00000000
	0x0038: 00000000
	0x003c: Interrupt Pin: 04 Line: 0c Min Gnt: 00 Max Lat: 00
	0x0040: Capability 0x01: Power Management
	0x0000: 20951022 02300006 0c032002 00000008
	0x0010: efffd000 00000000 00000000 00000000
	0x0020: 00000000 00000000 00000000 20951022
	0x0030: 00000000 00000040 00000000 0000040c
	0x0040: c8020001 00000000 00000000 00000000
	0x0050: 00000001 00000000 00000000 00000000
	0x0060: 00002020 00000000 00000000 00000000
	0x0070: 00000000 00000000 00000000 00000000
	0x0080: 00000000 00000000 00000000 00000000
	0x0090: 00000000 00000000 00000000 00000000
	0x00a0: 00000000 00000000 00000000 00000000
	0x00b0: 00000000 00000000 00000000 00000000
	0x00c0: 00000000 00000000 00000000 00000000
	0x00d0: 00000000 00000000 00000000 00000000
	0x00e0: 00000000 00000000 00000000 00000000
	0x00f0: 00000000 00000000 00000000 00000000

acpidump:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic