All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20
@ 2011-12-29 22:33 David Purdy
  2012-01-02  5:08 ` Sujith Manoharan
  0 siblings, 1 reply; 4+ messages in thread
From: David Purdy @ 2011-12-29 22:33 UTC (permalink / raw)
  To: ath9k-devel

Any idea what the cause and/or solution is for this ath9k_htc: RX memory allocation error & swap problem?

I'm running Debian armel on a Dockstation/Kirkwood:
Linux AirDisk2 3.1.0-1-kirkwood #1 Tue Nov 15 00:17:24 UTC 2011 armv5tel GNU/Linux

hostapd 0.7.3,  a TP-Link WN822N V2  ... the adapter suddenly stopped working, and I see this in messages:


=====================================================
[109959.593199] swapper: page allocation failure: order:3, mode:0x20
[109959.599354] [<c0013440>] (unwind_backtrace+0x0/0xe0) from [<c0088220>] (warn_alloc_failed+0xe0/0x108)
[109959.608716] [<c0088220>] (warn_alloc_failed+0xe0/0x108) from [<c008a544>] (__alloc_pages_nodemask+0x634/0x718)
[109959.618862] [<c008a544>] (__alloc_pages_nodemask+0x634/0x718) from [<c02bd14c>] (cache_alloc_refill+0x274/0x524)
[109959.629189] [<c02bd14c>] (cache_alloc_refill+0x274/0x524) from [<c00b2a98>] (__kmalloc_track_caller+0xa0/0x15c)
[109959.639422] [<c00b2a98>] (__kmalloc_track_caller+0xa0/0x15c) from [<c022daa4>] (__alloc_skb+0x50/0xe4)
[109959.648897] [<c022daa4>] (__alloc_skb+0x50/0xe4) from [<bf23495c>] (ath9k_hif_usb_rx_cb+0x168/0x2b0 [ath9k_htc])
[109959.659297] [<bf23495c>] (ath9k_hif_usb_rx_cb+0x168/0x2b0 [ath9k_htc]) from [<bf043398>] (usb_hcd_giveback_urb+0xa0/0xf0 [usbcore])
[109959.671326] [<bf043398>] (usb_hcd_giveback_urb+0xa0/0xf0 [usbcore]) from [<bf074360>] (qh_completions+0xac/0x3c8 [ehci_hcd])
[109959.682708] [<bf074360>] (qh_completions+0xac/0x3c8 [ehci_hcd]) from [<bf076034>] (ehci_work+0xbc/0x904 [ehci_hcd])
[109959.693312] [<bf076034>] (ehci_work+0xbc/0x904 [ehci_hcd]) from [<bf076da4>] (ehci_irq+0x19c/0x1bc [ehci_hcd])
[109959.703501] [<bf076da4>] (ehci_irq+0x19c/0x1bc [ehci_hcd]) from [<bf042f10>] (usb_hcd_irq+0x38/0x94 [usbcore])
[109959.713678] [<bf042f10>] (usb_hcd_irq+0x38/0x94 [usbcore]) from [<c0063100>] (handle_irq_event_percpu+0x7c/0x240)
[109959.724079] [<c0063100>] (handle_irq_event_percpu+0x7c/0x240) from [<c00632ec>] (handle_irq_event+0x28/0x38)
[109959.734047] [<c00632ec>] (handle_irq_event+0x28/0x38) from [<c0064f4c>] (handle_level_irq+0xac/0xd8)
[109959.743315] [<c0064f4c>] (handle_level_irq+0xac/0xd8) from [<c0062b90>] (generic_handle_irq+0x28/0x44)
[109959.752762] [<c0062b90>] (generic_handle_irq+0x28/0x44) from [<c000ec14>] (handle_IRQ+0x60/0x84)
[109959.761679] [<c000ec14>] (handle_IRQ+0x60/0x84) from [<c000d974>] (__irq_svc+0x34/0x80)
[109959.769821] [<c000d974>] (__irq_svc+0x34/0x80) from [<c0017664>] (kirkwood_enter_idle+0x64/0x90)
[109959.778742] [<c0017664>] (kirkwood_enter_idle+0x64/0x90) from [<c0223680>] (cpuidle_idle_call+0x15c/0x290)
[109959.788539] [<c0223680>] (cpuidle_idle_call+0x15c/0x290) from [<c000ee6c>] (cpu_idle+0x5c/0xb4)
[109959.797379] [<c000ee6c>] (cpu_idle+0x5c/0xb4) from [<c03d5728>] (start_kernel+0x2ac/0x304)
[109959.805766] Mem-info:
[109959.808131] Normal per-cpu:
[109959.811018] CPU    0: hi:   42, btch:   7 usd:  35
[109959.815928] active_anon:347 inactive_anon:445 isolated_anon:0
[109959.815933]  active_file:13170 inactive_file:12967 isolated_file:0
[109959.815938]  unevictable:0 dirty:0 writeback:0 unstable:0
[109959.815943]  free:761 slab_reclaimable:1080 slab_unreclaimable:1032
[109959.815949]  mapped:1752 shmem:7 pagetables:168 bounce:0
[109959.845401] Normal free:3044kB min:1440kB low:1800kB high:2160kB active_anon:1388kB inactive_anon:1780kB active_file:52680kB inactive_file:51868kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:130048kB mlocked:0kB dirty:0kB writeback:0kB mapped:7008kB shmem:28kB slab_reclaimable:4320kB slab_unreclaimable:4128kB kernel_stack:640kB pagetables:672kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[109959.884674] lowmem_reserve[]: 0 0
[109959.888110] Normal: 361*4kB 124*8kB 38*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3044kB
[109959.898948] 26448 total pagecache pages
[109959.902881] 304 pages in swap cache
[109959.906467] Swap cache stats: add 11717, delete 11413, find 8413/9938
[109959.913023] Free swap  = 250536kB
[109959.916433] Total swap = 258044kB
[109959.923414] 32768 pages of RAM
[109959.926564] 960 free pages
[109959.929364] 1429 reserved pages
[109959.932599] 2112 slab pages
[109959.935486] 27120 pages shared
[109959.938634] 304 pages swap cached
[109959.942050] usb 1-1.4: ath9k_htc: RX memory allocation error

===============================================

Prior to that I saw nothing abnormal:


===========================
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.1.0-1-kirkwood (Debian 3.1.1-1) (ben at decadent.org.uk) (gcc version 4.6.2 (Debian 4.6.2-4) ) #1 Tue Nov 15 00:17:24 UTC 2011
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c042c5c8, node_mem_map c0494000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype= mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 118876k/118876k available, 12196k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xc8800000 - 0xfe800000   ( 864 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03d4da8   (3892 kB)
[    0.000000]       .init : 0xc03d5000 - 0xc03f7000   ( 136 kB)
[    0.000000]       .data : 0xc03f8000 - 0xc042e880   ( 219 kB)
[    0.000000]        .bss : 0xc042e8a4 - 0xc04937b4   ( 404 kB)
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    6.721562] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    6.811458] pid_max: default: 32768 minimum: 301
[    6.811563] Security Framework initialized
[    6.811626] Mount-cache hash table entries: 512
[    6.811890] Initializing cgroup subsys cpuacct
[    6.811908] Initializing cgroup subsys memory
[    6.811930] Initializing cgroup subsys devices
[    6.811938] Initializing cgroup subsys freezer
[    6.811946] Initializing cgroup subsys net_cls
[    6.811953] Initializing cgroup subsys blkio
[    6.812020] CPU: Testing write buffer coherency: ok
[    6.812927] devtmpfs: initialized
[    6.814215] print_constraints: dummy: 
[    6.814391] NET: Registered protocol family 16
[    6.814865] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    6.814878] Feroceon L2: Cache support initialised.
[    6.815328] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[    6.815350]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[    6.817242] bio: create slab <bio-0> at 0
[    6.817596] vgaarb: loaded
[    6.818033] Switching to clocksource orion_clocksource
[    6.821461] Switched to NOHz mode on CPU #0
[    6.831673] NET: Registered protocol family 2
[    6.831876] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    6.832469] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    6.832568] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    6.832621] TCP: Hash tables configured (established 4096 bind 4096)
[    6.832630] TCP reno registered
[    6.832640] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    6.832665] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    6.832868] NET: Registered protocol family 1
[    6.832898] PCI: CLS 0 bytes, default 32
[    6.833056] Unpacking initramfs...
[    7.355953] Freeing initrd memory: 6344K
[    7.355968] NetWinder Floating Point Emulator V0.97 (double precision)
[    7.356488] audit: initializing netlink socket (disabled)
[    7.356536] type=2000 audit(0.620:1): initialized
[    7.360390] VFS: Disk quotas dquot_6.5.2
[    7.360479] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.360587] JFFS2 version 2.2. (NAND) (SUMMARY)  ? 2001-2006 Red Hat, Inc.
[    7.360912] msgmni has been set to 244
[    7.362374] alg: No test for stdrng (krng)
[    7.362488] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    7.362501] io scheduler noop registered
[    7.362508] io scheduler deadline registered
[    7.362554] io scheduler cfq registered (default)
[    7.362641] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    7.362671] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    7.398097] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    7.438094] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    7.478095] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    7.518094] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    7.518505] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.539115] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    7.968975] console [ttyS0] enabled
[    7.973343] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
[    7.982026] Scanning device for bad blocks
[    8.290462] 4 cmdlinepart partitions found on MTD device orion_nand
[    8.296754] Creating 4 MTD partitions on "orion_nand":
[    8.301931] 0x000000000000-0x000000100000 : "u-boot"
[    8.307698] 0x000000100000-0x000000500000 : "uImage"
[    8.313476] 0x000000500000-0x000002500000 : "rootfs"
[    8.319236] 0x000002500000-0x000020000000 : "data"
[    8.325840] mousedev: PS/2 mouse device common for all mice
[    9.338078] rtc-mv rtc-mv: internal RTC not ticking
[    9.343072] i2c /dev entries driver
[    9.346726] cpuidle: using governor ladder
[    9.351019] cpuidle: using governor menu
[    9.355094] Registered led device: plug:red:misc
[    9.355187] Registered led device: plug:green:health
[    9.355926] TCP cubic registered
[    9.359186] NET: Registered protocol family 17
[    9.363658] Registering the dns_resolver key type
[    9.368423] Gating clock of unused units
[    9.368432] before: 0x00dfc3fd
[    9.368439]  after: 0x00c701d9
[    9.368876] registered taskstats version 1
[    9.373431] /build/buildd-linux-2.6_3.1.1-1-armel-pT4SlJ/linux-2.6-3.1.1/debian/build/source_armel_none/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    9.387824] Initializing network drop monitor service
[    9.393475] Freeing init memory: 136K
[    9.429443] udevd[49]: starting version 175
[    9.506069] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.588249] mv643xx_eth smi: probed
[    9.591975] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[    9.609491] usbcore: registered new interface driver usbfs
[    9.615074] usbcore: registered new interface driver hub
[    9.662824] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:1a:14:cc
[    9.678648] usbcore: registered new device driver usb
[    9.685650] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.738832] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    9.766897] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    9.828102] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    9.848071] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    9.854085] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.860923] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.868188] usb usb1: Product: Marvell Orion EHCI
[    9.872913] usb usb1: Manufacturer: Linux 3.1.0-1-kirkwood ehci_hcd
[    9.879217] usb usb1: SerialNumber: orion-ehci.0
[    9.884739] hub 1-0:1.0: USB hub found
[    9.888550] hub 1-0:1.0: 1 port detected
[   10.208080] usb 1-1: new high speed USB device number 2 using orion-ehci
[   10.359432] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[   10.366169] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   10.373350] usb 1-1: Product: USB2.0 Hub
[   10.381509] hub 1-1:1.0: USB hub found
[   10.388134] hub 1-1:1.0: 4 ports detected
[   10.668333] usb 1-1.1: new high speed USB device number 3 using orion-ehci
[   10.779306] usb 1-1.1: New USB device found, idVendor=0bc2, idProduct=2120
[   10.786221] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.793574] usb 1-1.1: Product: FreeAgent Go
[   10.797860] usb 1-1.1: Manufacturer: Seagate
[   10.802181] usb 1-1.1: SerialNumber: 2GE6EJCD
[   10.831817] SCSI subsystem initialized
[   10.838348] usbcore: registered new interface driver uas
[   10.852022] Initializing USB Mass Storage driver...
[   10.857232] scsi0 : usb-storage 1-1.1:1.0
[   10.862881] usbcore: registered new interface driver usb-storage
[   10.868948] USB Mass Storage support registered.
[   10.888464] usb 1-1.3: new high speed USB device number 4 using orion-ehci
[   10.998933] usb 1-1.3: New USB device found, idVendor=03f0, idProduct=6c11
[   11.005850] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   11.013206] usb 1-1.3: Product: Photosmart C4400 series
[   11.018478] usb 1-1.3: Manufacturer: HP
[   11.022330] usb 1-1.3: SerialNumber: CN84ODG2090557
[   11.057069] scsi1 : usb-storage 1-1.3:1.3
[   11.138325] usb 1-1.4: new high speed USB device number 5 using orion-ehci
[   11.248932] usb 1-1.4: New USB device found, idVendor=0cf3, idProduct=7015
[   11.255837] usb 1-1.4: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[   11.263453] usb 1-1.4: Product: USB WLAN
[   11.267388] usb 1-1.4: Manufacturer: ATHEROS
[   11.271709] usb 1-1.4: SerialNumber: 12345
[   11.869149] scsi 0:0:0:0: Direct-Access     Seagate  FreeAgent Go     0148 PQ: 0 ANSI: 4
[   11.877406] scsi: killing requests for dead queue
[   11.882288] scsi: killing requests for dead queue
[   11.887117] scsi: killing requests for dead queue
[   11.892000] scsi: killing requests for dead queue
[   11.896827] scsi: killing requests for dead queue
[   11.901673] scsi: killing requests for dead queue
[   11.906498] scsi: killing requests for dead queue
[   11.911361] scsi: killing requests for dead queue
[   11.930726] sd 0:0:0:0: [sda] 625142447 512-byte logical blocks: (320 GB/298 GiB)
[   11.938828] sd 0:0:0:0: [sda] Write Protect is off
[   11.943645] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
[   11.944200] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.016468]  sda: sda1 sda2 sda3
[   12.023202] sd 0:0:0:0: [sda] Attached SCSI disk
[   12.060279] scsi 1:0:0:0: Direct-Access     HP       Photosmart C4400 1.00 PQ: 0 ANSI: 5
[   12.068584] scsi: killing requests for dead queue
[   12.073428] scsi: killing requests for dead queue
[   12.078332] scsi: killing requests for dead queue
[   12.083177] scsi: killing requests for dead queue
[   12.089046] scsi: killing requests for dead queue
[   12.095886] scsi: killing requests for dead queue
[   12.100769] scsi: killing requests for dead queue
[   12.105598] scsi: killing requests for dead queue
[   12.116873] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   20.026907] kjournald starting.  Commit interval 5 seconds
[   20.032478] EXT3-fs (sda1): mounted filesystem with ordered data mode
[   21.825363] udevd[179]: starting version 175
[   22.650597] alg: hash: Test 1 failed for mv-sha1
[   22.655242] 00000000: c1 94 3f 2e a2 41 ce 88 d5 47 07 43 c4 a8 17 5d
[   22.661774] 00000010: 77 e8 47 ca
[   22.875721] alg: hash: Test 1 failed for mv-hmac-sha1
[   22.880832] 00000000: 06 71 4d 7c cc cc b5 cf 1b d6 c7 ab d0 25 c4 21
[   22.887336] 00000010: 66 0b 8e 70
[   22.937450] usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x03F0 pid 0x6C11
[   22.974307] cfg80211: Calling CRDA to update world regulatory domain
[   22.981807] usbcore: registered new interface driver usblp
[   24.111077] usb 1-1.4: ath9k_htc: Transferred FW: htc_7010.fw, size: 72992
[   24.172187] ath9k_htc 1-1.4:1.0: ath9k_htc: HTC initialized with 45 credits
[   24.318827] ath9k_htc 1-1.4:1.0: ath9k_htc: FW Version: 1.3
[   24.324472] ath: EEPROM regdomain: 0x809c
[   24.324479] ath: EEPROM indicates we should expect a country code
[   24.324488] ath: doing EEPROM country->regdmn map search
[   24.324496] ath: country maps to regdmn code: 0x52
[   24.324505] ath: Country alpha2 being used: CN
[   24.324511] ath: Regpair used: 0x52
[   24.342778] cfg80211: World regulatory domain updated:
[   24.347970] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   24.356397] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   24.364381] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   24.372350] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   24.380327] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   24.388288] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   24.527482] ieee80211 phy0: Atheros AR9287 Rev:2
[   24.532454] cfg80211: Calling CRDA for country: CN
[   24.545133] Registered led device: ath9k_htc-phy0
[   24.545150] usb 1-1.4: ath9k_htc: USB layer initialized
[   24.559170] usbcore: registered new interface driver ath9k_htc
[   24.579800] cfg80211: Regulatory domain changed to country: CN
[   24.585663] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   24.594121] cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   24.601752] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   25.076825] Adding 258044k swap on /dev/sda2.  Priority:-1 extents:1 across:258044k 
[   25.364257] EXT3-fs (sda1): using internal journal
[   27.077070] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[   28.039373] NET: Registered protocol family 10
[   28.082833] Bridge firewalling registered
[   28.117308] device eth0 entered promiscuous mode
[   28.144959] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.171583] ADDRCONF(NETDEV_UP): br0: link is not ready
[   31.120112] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   31.130211] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.136517] br0: port 1(eth0) entering forwarding state
[   31.141805] br0: port 1(eth0) entering forwarding state
[   31.149265] ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
[   41.818064] br0: no IPv6 routers present
[   42.016274] device wlan0 entered promiscuous mode
[   42.029269] br0: port 2(wlan0) entering forwarding state
[   42.034656] br0: port 2(wlan0) entering forwarding state
[   42.050886] cfg80211: Calling CRDA for country: US
[   42.126816] cfg80211: Regulatory domain changed to country: US
[   42.133210] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   42.142404] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   42.150442] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   42.158405] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   42.166362] cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   42.174328] cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   42.182294] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   44.355111] RPC: Registered named UNIX socket transport module.
[   44.361099] RPC: Registered udp transport module.
[   44.365823] RPC: Registered tcp transport module.
[   44.370584] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   44.466155] FS-Cache: Loaded
[   44.545791] FS-Cache: Netfs 'nfs' registered for caching
[   44.595484] Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
[   46.168183] br0: port 1(eth0) entering forwarding state
[   46.626513] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   46.652759] NFSD: starting 90-second grace period
[   57.048073] br0: port 2(wlan0) entering forwarding state
==================================




I got it to work again easily by rmmod and insmod ath9k_htc ...

but this isn't a workable longterm solution ...

thanks,
Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel]  ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20
  2011-12-29 22:33 [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20 David Purdy
@ 2012-01-02  5:08 ` Sujith Manoharan
  2012-01-02 12:47   ` David Purdy
  0 siblings, 1 reply; 4+ messages in thread
From: Sujith Manoharan @ 2012-01-02  5:08 UTC (permalink / raw)
  To: ath9k-devel

David Purdy wrote:
> Any idea what the cause and/or solution is for this ath9k_htc: RX memory allocation error & swap problem?

The most probable explanation is a memory leak in the driver.

> I'm running Debian armel on a Dockstation/Kirkwood:
> Linux AirDisk2 3.1.0-1-kirkwood #1 Tue Nov 15 00:17:24 UTC 2011 armv5tel GNU/Linux
> 
> hostapd 0.7.3,  a TP-Link WN822N V2  ... the adapter suddenly stopped working, and I see this in messages:

Can you give more information about the setup ?
Number of stations, 11g/11n mode, etc..

Sujith

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20
  2012-01-02  5:08 ` Sujith Manoharan
@ 2012-01-02 12:47   ` David Purdy
  2012-01-02 14:06     ` Sujith
  0 siblings, 1 reply; 4+ messages in thread
From: David Purdy @ 2012-01-02 12:47 UTC (permalink / raw)
  To: ath9k-devel

Hi Sujith,


The embedded device that I've got it running on is a Seagate Dockstar (Kirkwood-ARM platform, 128MB RAM, with 256MB swap).

Hostapd is running at w/ 11n mode, WPA/WPA2, txpower 20dBm (100mW).  It never has any more than 5 stations attached.

On USB it has an attached USB drive (used as NAS) and a printer (enabled via p910nd), in addition to the TP-Link WN822N v2 (Chipset: Atheros AR9002U-2NG, Chip 1: Atheros AR7010, Chip 2: Atheros AR9287).

I've been watching it for the last few days, hoping to see a repeat of the problem so I can gather more information and send it to you, but I've seen no problems since then.   I will repost with more details and logs if I see it happen again.

Thanks & regards,

Dave





> 
> The most probable explanation is a memory leak in the driver.
> 
> 
> Can you give more information about the setup ?
> Number of stations, 11g/11n mode, etc..
> 
> Sujith

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120102/1a8d756c/attachment.htm 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20
  2012-01-02 12:47   ` David Purdy
@ 2012-01-02 14:06     ` Sujith
  0 siblings, 0 replies; 4+ messages in thread
From: Sujith @ 2012-01-02 14:06 UTC (permalink / raw)
  To: ath9k-devel

David Purdy wrote:
> The embedded device that I've got it running on is a Seagate Dockstar
> (Kirkwood-ARM platform, 128MB RAM, with 256MB swap).
> 
> Hostapd is running at w/ 11n mode, WPA/WPA2, txpower 20dBm (100mW).  It never
> has any more than 5 stations attached.
> 
> On USB it has an attached USB drive (used as NAS) and a printer (enabled via
>  p910nd), in addition to the TP-Link WN822N v2 (Chipset: Atheros AR9002U-2NG,
>  Chip 1: Atheros AR7010, Chip 2: Atheros AR9287).
> 
> I've been watching it for the last few days, hoping to see a repeat of the
> problem so I can gather more information and send it to you, but I've seen no
> problems since then.  I will repost with more details and logs if I see it
> happen again.

Ok.

But a bug in the RX path certainly exists, resulting in such memory failures.

Sujith

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-02 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-29 22:33 [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20 David Purdy
2012-01-02  5:08 ` Sujith Manoharan
2012-01-02 12:47   ` David Purdy
2012-01-02 14:06     ` Sujith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.