Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8360 closed defect (fixed)

Packet loss since changeset 24209

Reported by: kra4ol4e Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: ath9k, mac80211 Cc: kra4ol4e@…

Description

I observe a packet loss since commit 24209 using my Windows 7 x64 client with Intel 4965agn wlan card and latest intel drivers (Ive tried 4 different driver versions and its always the same). Under Ubuntu 10.10 x64 there`s no packet loss and the latency is normal. I also compiled a trunk image r24244 with the updated wireless-testing 2010-11-30 and the problem persists

My dmesg

root@OpenWrt:~# dmesg
Linux version 2.6.32.26 (munky@Munky-PC) (gcc version 4.3.3 (GCC) ) #1 Sat Dec 4 19:39:00 EET 2010
prom: fw_arg0=00000009, fw_arg1=a1f67fb0, fw_arg2=a1f68470, fw_arg3=00000008
MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR9130 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802ad730, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 board=WRT160NL
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29476k/32768k available (1973k kernel code, 3292k reserved, 387k data, 148k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is Linksys WRT160NL
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: en25p64 (8192 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
6 wrt160nl partitions found on MTD device spi0.0
Creating 6 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000160000 : "kernel"
0x000000160000-0x0000007e0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=3E0000, len=400000
0x0000003e0000-0x0000007e0000 : "rootfs_data"
0x0000007e0000-0x0000007f0000 : "nvram"
0x0000007f0000-0x000000800000 : "art"
0x000000040000-0x0000007e0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000
eth0: connected to PHY at ag71xx-mdio:00 [uid=00008306, driver=Realtek RTL8306S]
eth1: Atheros AG71xx at 0xba000000, irq 5
eth1: connected to PHY at ag71xx-mdio:04 [uid=00008306, driver=Realtek RTL8306S]
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 148k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.4.1
Registered led device: wrt160nl:blue:power
Registered led device: wrt160nl:amber:wps
Registered led device: wrt160nl:blue:wps
Registered led device: wrt160nl:blue:wlan
ar71xx: pll_reg 0xb8050014: 0x13000a44
eth0: link up (100Mbps/Full duplex)
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
device eth0 entered promiscuous mode
Compat-wireless backport release: compat-wireless-2010-11-23-6-gefeeae7
Backport based on wireless-testing.git master-2010-11-30
cfg80211: Calling CRDA to update world regulatory domain
ar71xx: pll_reg 0xb8050014: 0x13000a44
eth0: link up (100Mbps/Full duplex)
br-lan: port 1(eth0) entering forwarding state
SCSI subsystem initialized
ar71xx: pll_reg 0xb8050018: 0x13000a44
eth1: link up (100Mbps/Full duplex)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
usbcore: registered new device driver usb
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9100 MAC/BB Rev:0 AR2122 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
ip_tables: (C) 2000-2006 Netfilter Core Team
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
nf_conntrack version 0.5.0 (462 buckets, 1848 max)
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
fuse init (API version 7.13)
cfg80211: Calling CRDA for country: BG
cfg80211: Regulatory domain changed to country: BG
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2300 mBm)
cfg80211:     (5250000 KHz - 5290000 KHz @ 40000 KHz), (N/A, 2300 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 3000 mBm)
eth1: link down
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
ar71xx: pll_reg 0xb8050018: 0x13000a44
eth1: link up (100Mbps/Full duplex)
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
ar71xx-wdt: enabling watchdog timer
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.4: new high speed USB device using ar71xx-ehci and address 3
usb 1-1.4: configuration #1 chosen from 1 choice
usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
usb 1-1.3: new high speed USB device using ar71xx-ehci and address 4
usb 1-1.3: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access     WD       10EAVS External  1.75 PQ: 0 ANSI: 4
usb-storage: device scan complete
sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
warning: `smbd' uses 32-bit capabilities (legacy support in use)
usb 1-1: USB disconnect, address 2
usb 1-1.3: USB disconnect, address 4
usb 1-1.4: USB disconnect, address 3
usblp0: removed

root@OpenWrt:~# ping Munky-PC
PING Munky-PC (192.168.1.157): 56 data bytes
64 bytes from 192.168.1.157: seq=0 ttl=128 time=6.413 ms
64 bytes from 192.168.1.157: seq=1 ttl=128 time=4066.324 ms
64 bytes from 192.168.1.157: seq=2 ttl=128 time=3066.180 ms
64 bytes from 192.168.1.157: seq=3 ttl=128 time=2065.983 ms
64 bytes from 192.168.1.157: seq=6 ttl=128 time=2.471 ms
64 bytes from 192.168.1.157: seq=7 ttl=128 time=4063.405 ms
64 bytes from 192.168.1.157: seq=8 ttl=128 time=3063.267 ms
64 bytes from 192.168.1.157: seq=9 ttl=128 time=2063.065 ms
64 bytes from 192.168.1.157: seq=12 ttl=128 time=2.283 ms
64 bytes from 192.168.1.157: seq=13 ttl=128 time=4063.661 ms
64 bytes from 192.168.1.157: seq=14 ttl=128 time=3063.509 ms
64 bytes from 192.168.1.157: seq=15 ttl=128 time=2063.312 ms
64 bytes from 192.168.1.157: seq=18 ttl=128 time=2.282 ms
64 bytes from 192.168.1.157: seq=19 ttl=128 time=1.624 ms
64 bytes from 192.168.1.157: seq=20 ttl=128 time=1.594 ms
64 bytes from 192.168.1.157: seq=21 ttl=128 time=1.838 ms
64 bytes from 192.168.1.157: seq=22 ttl=128 time=1.639 ms
64 bytes from 192.168.1.157: seq=23 ttl=128 time=1.660 ms
64 bytes from 192.168.1.157: seq=24 ttl=128 time=2.432 ms
64 bytes from 192.168.1.157: seq=25 ttl=128 time=4062.879 ms
64 bytes from 192.168.1.157: seq=26 ttl=128 time=3062.743 ms
64 bytes from 192.168.1.157: seq=27 ttl=128 time=2062.528 ms
64 bytes from 192.168.1.157: seq=30 ttl=128 time=2.668 ms
64 bytes from 192.168.1.157: seq=31 ttl=128 time=4063.154 ms
64 bytes from 192.168.1.157: seq=32 ttl=128 time=3063.018 ms
64 bytes from 192.168.1.157: seq=33 ttl=128 time=2062.897 ms
64 bytes from 192.168.1.157: seq=36 ttl=128 time=2.895 ms
64 bytes from 192.168.1.157: seq=37 ttl=128 time=4062.127 ms
64 bytes from 192.168.1.157: seq=38 ttl=128 time=3061.990 ms
64 bytes from 192.168.1.157: seq=39 ttl=128 time=2061.781 ms
64 bytes from 192.168.1.157: seq=42 ttl=128 time=4338.842 ms
64 bytes from 192.168.1.157: seq=43 ttl=128 time=3338.710 ms
64 bytes from 192.168.1.157: seq=44 ttl=128 time=2338.539 ms
64 bytes from 192.168.1.157: seq=47 ttl=128 time=4465.975 ms
64 bytes from 192.168.1.157: seq=48 ttl=128 time=3465.852 ms
64 bytes from 192.168.1.157: seq=49 ttl=128 time=2465.679 ms
64 bytes from 192.168.1.157: seq=50 ttl=128 time=1466.475 ms
64 bytes from 192.168.1.157: seq=51 ttl=128 time=466.428 ms
64 bytes from 192.168.1.157: seq=52 ttl=128 time=4725.051 ms
64 bytes from 192.168.1.157: seq=53 ttl=128 time=3724.931 ms
64 bytes from 192.168.1.157: seq=54 ttl=128 time=2724.709 ms
64 bytes from 192.168.1.157: seq=57 ttl=128 time=2.498 ms
64 bytes from 192.168.1.157: seq=58 ttl=128 time=4064.159 ms
64 bytes from 192.168.1.157: seq=59 ttl=128 time=3064.011 ms
64 bytes from 192.168.1.157: seq=60 ttl=128 time=2063.801 ms
64 bytes from 192.168.1.157: seq=63 ttl=128 time=4129.175 ms
64 bytes from 192.168.1.157: seq=64 ttl=128 time=3129.003 ms
64 bytes from 192.168.1.157: seq=65 ttl=128 time=2128.798 ms
64 bytes from 192.168.1.157: seq=68 ttl=128 time=2.502 ms
^C
--- Munky-PC ping statistics ---
69 packets transmitted, 49 packets received, 28% packet loss
round-trip min/avg/max = 1.594/2189.321/4725.051 ms

Attachments (0)

Change History (10)

comment:1 Changed 7 years ago by anonymous

Forgot to mention, that I also have broadcom wlan client, which runs fine. So I guess it`s some kind of incompatibility between the router and the intel client under windows7

comment:2 Changed 7 years ago by Ernesto

I have the same issues with N-Mode on WRT350Nv2 when using Intel4965 with N-Mode active and 20 MHz Channel width. But i use Windows XP 32 Bit.

Switching to G-Mode-only solved the problems. My Chipset is an AR5416 inside the WRT350Nv2

comment:3 Changed 7 years ago by kra4ol4e

Actually 10 minutes ago Ive tried with older trunk image (r24195 i think) and I had the same issue. Now i flashed the router with Backfire image r24240 and everything runs fine in N-mode. So now i have no clue where the problem comes from. I just know that my mother started complaining about crappy internet about a week ago so I assumed the problem persisted since changeset 24209 but now i guess thats not the real cause. ;]

comment:4 Changed 7 years ago by Ernesto

Can you please switch N-mode completly off for a test/verify and make only 11g and retest ?

I have the same issues, and after forcing 11g only i had more stable connectiom, but DHCP issues are still existing from time to time.

comment:5 Changed 7 years ago by kra4ol4e

I did enable g-mode only and everything was normal as expected. I also tryed some older builds and r23677 seems to have working n-mode with no packet loss on the intel client. Since i have other issues with this build and you gave me the idea I just upgraded to 24244 and disabled the N-mode on the intel client. This works for me cuz my parents are using the computer only for browsing so they don`t need 40mbits bandwidth.

comment:6 Changed 7 years ago by nbd

There were lots of changes to mac80211 between r23677 and r24195
Could you please try to narrow it down some more?

comment:7 Changed 7 years ago by nbd

Oh and please also try r24445 to see if that fixes your issue

comment:8 Changed 7 years ago by kra4ol4e

I`ve just flashed the router with r24471 image - no packet loss, the latency is fine - works great in N-mode! Thank you!!! :]]]

comment:9 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

great, thanks for testing.

comment:10 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.