Modify

Opened 4 years ago

Last modified 3 years ago

#14720 new defect

AR2313 cycling reboot - FON2200 - Board: FON1 - watchdog expired - wifi invoked oom-killer

Reported by: desigabri Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: ar231x fon2200 wifi reboot fonera Board: FON1 Cc:

Description

Hi,
there were some time I had troubles with openwrt on fonera fon2200 Board: FON1. Because I didn't need them until now, then I waited for every new trunk revision in the hope it would have worked, without try serial debug (I know that openwrt was switching from madwifi to ath5k and ath9k).
My problem was and is, that I'm not able to have the ethernet port working and because the default wifi openwrt setting is wifi OFF I couldn't understand what was the trouble. This time I logged the serial outputs and I guessed that the problem is related about a cycling reboot due (it's seems to me) to the wifi module. The problem started for me a lot of revisions ago, but I can't say if the problem was always the same, THESE logs come from revision r39132

these are the two alternating messages that I get in the logs:

...
[   64.280000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[  274.180000] wifi invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[  274.260000] Call Trace:
[  274.290000] [<8004dcac>] dump_stack+0x8/0x34
...
omissis
...
[  285.840000] Out of memory: Kill process 513 (logd) score 0 or sacrifice child
[  285.930000] Killed process 513 (logd) total-vm:1128kB, anon-rss:148kB, file-rss:0kB
[  288.060000] watchdog expired, rebooting system

and

...
[   63.020000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[  280.430000] watchdog expired, rebooting system

I attached the full logs to this ticket

I can integrate this request with any help if you'll ask to me

thanks in advance for your interest

Attachments (1)

full logs.rar (11.7 KB) - added by desigabri 4 years ago.
full logs

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by desigabri

full logs

comment:1 Changed 4 years ago by desigabri

I tried madwifi driver too and it wasn't succesfully too :(

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version V1.00 - built 10:37:27, Dec 12 2006

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: FON1
RAM: 0x80000000-0x81000000, [0x80040aa0-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 5.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux.bin.l7
Image loaded from 0x80041000-0x802bd364
RedBoot> exec
Now booting linux kernel:
 Base address 0x80030000 Entry 0x80041000
 Cmdline :
[    0.000000] Linux version 3.8.13 (desigabri@desigabri-VirtualBox) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2013.12 r39333) ) #2 Mon Jan 20 01:31:53 CET 2014
[    0.000000] ar2315-gpio: registered 22 GPIOs
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019064 (MIPS 4KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x00ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x00ffffff]
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  console=ttyS0,9600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 13192k/16384k available (1970k kernel code, 3192k reserved, 414k data, 168k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] console [ttyS0] enabled, bootconsole disabled
[    0.000000] console [ttyS0] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 182.68 BogoMIPS (lpj=913408)
[    0.110000] pid_max: default: 32768 minimum: 301
[    0.120000] Mount-cache hash table entries: 512
[    0.130000] NET: Registered protocol family 16
[    0.850000] bio: create slab <bio-0> at 0
[    0.870000] PCI host bridge to bus 0000:00
[    0.880000] pci_bus 0000:00: root bus resource [mem 0x80800000-0x857f7fff]
[    0.890000] pci_bus 0000:00: root bus resource [io  0x817f8000-0x817ffffe]
[    0.900000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.910000] pci 0000:00:00.0: BAR 1: can't assign mem (size 0x4000000)
[    0.920000] pci 0000:00:03.0: BAR 1: can't assign mem (size 0x4000000)
[    0.930000] pci 0000:00:00.0: BAR 2: assigned [mem 0x80800000-0x80bfffff]
[    0.940000] pci 0000:00:03.0: BAR 2: assigned [mem 0x80c00000-0x80ffffff]
[    0.950000] pci 0000:00:00.0: BAR 0: assigned [mem 0x81000000-0x8101ffff]
[    0.960000] pci 0000:00:03.0: BAR 0: assigned [mem 0x81020000-0x8103ffff]
[    0.970000] Switching to clocksource MIPS
[    1.000000] NET: Registered protocol family 2
[    1.050000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    1.140000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    1.210000] TCP: Hash tables configured (established 512 bind 512)
[    1.290000] TCP: reno registered
[    1.330000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.470000] NET: Registered protocol family 1
[    1.530000] Radio config found at offset 0xf8(0x1f8)
[    1.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.700000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.820000] msgmni has been set to 25
[    1.870000] io scheduler noop registered
[    1.910000] io scheduler deadline registered (default)
[    1.980000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.080000] serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
[    2.170000] Searching for RedBoot partition table in spiflash at offset 0x7d0000
[    2.630000] Searching for RedBoot partition table in spiflash at offset 0x7e0000
[    3.100000] 6 RedBoot partitions found on MTD device spiflash
[    3.170000] Creating 6 MTD partitions on "spiflash":
[    3.230000] 0x000000000000-0x000000030000 : "RedBoot"
[    3.300000] 0x000000030000-0x0000006f0000 : "rootfs"
[    3.360000] mtd: partition "rootfs" set to be root filesystem
[    3.430000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=490000
[    3.530000] 0x000000260000-0x0000006f0000 : "rootfs_data"
[    3.600000] 0x0000006f0000-0x0000007d0000 : "vmlinux.bin.l7"
[    3.680000] 0x0000007e0000-0x0000007ef000 : "FIS directory"
[    3.750000] 0x0000007ef000-0x0000007f0000 : "RedBoot config"
[    3.830000] 0x0000007f0000-0x000000800000 : "boardconfig"
[    3.980000] eth0: Atheros AR231x: 00:18:84:80:2f:bc, irq 4
[    4.120000] libphy: ar231x_eth_mii: probed
[    4.170000] eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01)
[    4.270000] TCP: cubic registered
[    4.310000] NET: Registered protocol family 17
[    4.360000] 8021q: 802.1Q VLAN Support v1.8
[    4.480000] VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
[    4.570000] Freeing unused kernel memory: 168k freed
[    5.750000] eth0: Configuring MAC for full duplex
procd: Console is alive
procd: - watchdog -
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
mount_root: No jffs2 marker was found
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   39.520000] ath_hal: module license 'Proprietary' taints kernel.
[   39.590000] Disabling lock debugging due to kernel taint
[   39.870000] ath_hal: 2009-05-08 (AR5212, AR5312, RF5111, RF5112, RF2316, RF2317, REGOPS_FUNC, TX_DESC_SWAP, XR)
[   40.300000] ath_ahb: trunk
[   40.330000] wlan: trunk
[   40.360000] wlan: mac acl policy registered
[   40.410000] ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
[   40.500000] ath_rate_minstrel: look around rate set to 10%
[   40.570000] ath_rate_minstrel: EWMA rolloff level set to 75%
[   40.640000] ath_rate_minstrel: max segment size in the mrr set to 6000 us
[   40.720000] Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
[   41.050000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[   41.120000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[   41.240000] wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[   41.330000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[   41.400000] ath_ahb: wifi0: Atheros 2315 WiSoC: mem=0xb0000000, irq=3
[   42.430000] u32 classifier
[   42.460000]     input device check on
[   42.500000]     Actions configured
[   44.340000] Mirror/redirect action on
[   47.190000] nf_conntrack version 0.5.0 (208 buckets, 832 max)
[   49.980000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[   50.070000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[   50.170000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   53.020000] xt_time: kernel timezone is -0000
[   53.180000] cfg80211: Calling CRDA to update world regulatory domain
[   54.940000] cfg80211: World regulatory domain updated:
[   55.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   55.100000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   55.200000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   55.290000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   55.380000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   55.480000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   55.570000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[   75.350000] PPP generic driver version 2.4.2
[   75.410000] NET: Registered protocol family 24
[   78.120000] Error: Driver 'ar231x-wmac' is already registered, aborting...
[   81.030000] Error: Driver 'ar231x-wmac' is already registered, aborting...
[  317.420000] watchdog expired, rebooting system
+Ethernet eth0: MAC address 00:18:84:80:2f:bc

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by anonymous

Could you try latest trunk? FON2202 based on the same AR2315 SoC works perfectly.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.