OpenWrt version: Attitude Adjustment (r37747)
Recently there was someone (Lucaspost) on #batman with a problem caused by mixing the latest AA and Batman-adv 2013.3.0 and while i can't be sure the problem is exactly this one; here goes my testing with a D-link 615C1
I can only access the router using a serial connection and here is the log. attached goes the kernel configuration that i used while compiling the image.
Since i am not sure which side is causing the this problem (batman-adv or openwrt) i am emailing both lists.
[ 26.790000] Kernel panic - not syncing: Fatal exception in interrupt [ 26.800000] Rebooting in 3 seconds..
U-Boot 1.1.4 (Sep 5 2008 - 17:05:35)
AP81 (ar7100) U-boot DRAM: AP81 initdram
sri:ddr_init 32 MB Top of RAM usable for U-Boot at: 82000000 Reserving 177k for U-Boot at: 81fd0000 Reserving 192k for malloc() at: 81fa0000 Reserving 44 Bytes for Board Info at: 81f9ffd4 Reserving 36 Bytes for Global Data at: 81f9ffb0 Reserving 128k for boot params() at: 81f7ffb0 Stack Pointer at: 81f7ff98 Now running in RAM - U-Boot at: 81fd0000 ar7100 flash_init id read 0x10000107 flash size 400000, sector count = 64 Flash: 4 MB Using default environment
In: serial Out: serial Err: serial Net: eth_initialize CONFIG_NET_MULTI ag7100_enet_initialize eth0: 00:22:b0:d2:61:0b ethernet found. eth0 ## Booting image at bf030000 ... checksum:8ba30c3a Image Name: MIPS OpenWrt Linux-3.3.8 Created: 2013-08-12 3:37:29 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 924127 Bytes = 902.5 kB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK LZMA Umcompressing Kernel Image ... Image loaded from 80060000-8030ae40 OK Boot image os 5=IH_OS_LINUX ## do_bootm_linux start.... No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 33554432
##Starting kernel ...
[ 0.000000] Linux version 3.3.8 (cmsv@nixbits) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Aug 11 23:35:48 EDT 2013 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9130 rev 1 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00002000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00002000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=DIR-615-C1 console=ttyS0,115200 mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,960k(kernel),2880k(rootfs),64k(art)ro,3840k@0x30000(firmware) rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 29116k/32768k available (2115k kernel code, 3652k reserved, 406k data, 208k init, 0k highmem) [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] NET: Registered protocol family 16 [ 0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79 [ 0.100000] MIPS: machine is D-Link DIR-615 rev. C1 [ 0.580000] bio: create slab <bio-0> at 0 [ 0.590000] Switching to clocksource MIPS [ 0.600000] NET: Registered protocol family 2 [ 0.600000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.600000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.610000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.620000] TCP reno registered [ 0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.630000] NET: Registered protocol family 1 [ 0.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.670000] msgmni has been set to 56 [ 0.680000] io scheduler noop registered [ 0.680000] io scheduler deadline registered (default) [ 0.690000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.720000] console [ttyS0] enabled, bootconsole disabled [ 0.720000] console [ttyS0] enabled, bootconsole disabled [ 0.740000] m25p80 spi0.0: found s25sl032a, expected m25p80 [ 0.740000] m25p80 spi0.0: s25sl032a (4096 Kbytes) [ 0.750000] 6 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 6 MTD partitions on "spi0.0": [ 0.760000] 0x000000000000-0x000000020000 : "u-boot" [ 0.760000] 0x000000020000-0x000000030000 : "config" [ 0.770000] 0x000000030000-0x000000120000 : "kernel" [ 0.780000] 0x000000120000-0x0000003f0000 : "rootfs" [ 0.780000] mtd: partition "rootfs" set to be root filesystem [ 0.790000] mtd: partition "rootfs_data" created automatically, ofs=380000, len=70000 [ 0.800000] 0x000000380000-0x0000003f0000 : "rootfs_data" [ 0.800000] 0x0000003f0000-0x000000400000 : "art" [ 0.810000] 0x000000030000-0x0000003f0000 : "firmware" [ 0.870000] ag71xx_mdio: probed [ 0.870000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 1.200000] eth0: Atheros AR8216 switch driver attached. [ 1.300000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316] [ 1.310000] eth1: Atheros AG71xx at 0xba000000, irq 5 [ 1.640000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316] [ 1.650000] TCP cubic registered [ 1.660000] NET: Registered protocol family 17 [ 1.660000] 8021q: 802.1Q VLAN Support v1.8 [ 1.670000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 1.680000] Freeing unused kernel memory: 208k freed - preinit - Press the [f] key and hit [enter] to enter failsafe mode [ 5.310000] eth0: link up (100Mbps/Full duplex) - regular preinit - jffs2 not ready yet; using ramdisk - init - [ 7.400000] eth0: link down [ 8.000000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 8.000000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 8.040000] cfg80211: Calling CRDA to update world regulatory domain [ 8.040000] cfg80211: World regulatory domain updated: [ 8.050000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 8.050000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.060000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 8.070000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 8.080000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.090000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.370000] usbcore: registered new interface driver usbfs [ 8.380000] usbcore: registered new interface driver hub [ 8.380000] usbcore: registered new device driver usb [ 9.070000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2122 RF Rev:a1 mem=0xb80c0000, irq=2 [ 9.080000] cfg80211: Calling CRDA for country: US [ 9.080000] cfg80211: Regulatory domain changed to country: US [ 9.090000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 9.100000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 9.110000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 9.110000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.120000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.130000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.140000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 9.190000] PPP generic driver version 2.4.2 [ 9.420000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.640000] NET: Registered protocol family 24 [ 9.660000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.680000] nf_conntrack version 0.5.0 (458 buckets, 1832 max) [ 9.970000] batman_adv: B.A.T.M.A.N. advanced 2013.3.0 (compatibility version 14) loaded [ 10.030000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Please press Enter to activate this console. [ 15.580000] device eth0 entered promiscuous mode [ 17.530000] eth0: link up (100Mbps/Full duplex) [ 17.540000] br-lan: port 1(eth0) entered forwarding state [ 17.540000] br-lan: port 1(eth0) entered forwarding state [ 19.540000] br-lan: port 1(eth0) entered forwarding state [ 19.570000] cfg80211: Calling CRDA for country: PT [ 19.580000] cfg80211: Regulatory domain changed to country: PT [ 19.580000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 19.590000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 19.600000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 19.610000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 19.610000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) [ 21.980000] device wlan0 entered promiscuous mode [ 22.000000] br-lan: port 2(wlan0) entered forwarding state [ 22.010000] br-lan: port 2(wlan0) entered forwarding state [ 24.010000] br-lan: port 2(wlan0) entered forwarding state [ 25.780000] br-lan: port 2(wlan0) entered disabled state [ 26.590000] CPU 0 Unable to handle kernel paging request at virtual address 00000108, epc == 801e0a88, ra == 801e0a88 [ 26.600000] Oops[#1]: [ 26.600000] Cpu 0 [ 26.600000] $ 0 : 00000000 00000000 80eefa80 80f2c030 [ 26.600000] $ 4 : 80f2c764 00000000 00000000 000001e8 [ 26.600000] $ 8 : 00000024 80165c2c 00000003 ee940fc2 [ 26.600000] $12 : 802d6204 b479fa57 25acb3af e000044c [ 26.600000] $16 : 00000000 80f2cb80 80f2cb80 81b05000 [ 26.600000] $20 : 80e97f10 80340000 80db2300 80ef6c98 [ 26.600000] $24 : 00000003 00000000 [ 26.600000] $28 : 80e96000 80e97d60 00000000 801e0a88 [ 26.600000] Hi : 000001dd [ 26.600000] Lo : 003fcd9e [ 26.600000] epc : 801e0a88 0x801e0a88 [ 26.600000] Tainted: G O [ 26.600000] ra : 801e0a88 0x801e0a88 [ 26.600000] Status: 1000f403 KERNEL EXL IE [ 26.600000] Cause : 00800008 [ 26.600000] BadVA : 00000108 [ 26.600000] PrId : 00019374 (MIPS 24Kc) [ 26.600000] Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev batman_adv(O) nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base libcrc32c crc16 crc_ccitt cfg80211(O) compat(O) arc4 aes_generic crc32c crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O) [ 26.600000] Process batadv.sh (pid: 1050, threadinfo=80e96000, task=80f44850, tls=77a5e440) [ 26.600000] Stack : 80279120 00000000 00000010 80f2cb80 80f48800 80ed7318 00000001 80f2c800 [ 26.600000] 80f2cb80 81b05000 00000001 80f2c800 80f2cb80 81b05000 80e97f10 80ec8808 [ 26.600000] 80ed9968 81b05000 80e97f10 00000000 00000000 80f2c800 80f2cb80 80ecf8ac [ 26.600000] 00000000 80ecf97c 00000000 00000000 80f2c800 00000000 00000000 801edc74 [ 26.600000] 80f2c800 801e8e80 80e97f00 80dad000 00000000 80f2c800 81b05000 00000000 [ 26.600000] ... [ 26.600000] Call Trace:[<80ed7318>] 0x80ed7318 [ 26.600000] [<80ec8808>] 0x80ec8808 [ 26.600000] [<80ecf8ac>] 0x80ecf8ac [ 26.600000] [<80ecf97c>] 0x80ecf97c [ 26.600000] [<801edc74>] 0x801edc74 [ 26.600000] [<801e8e80>] 0x801e8e80 [ 26.600000] [<80ed01a8>] 0x80ed01a8 [ 26.600000] [<801e8bcc>] 0x801e8bcc [ 26.600000] [<80ec7084>] 0x80ec7084 [ 26.600000] [<80ed0af8>] 0x80ed0af8 [ 26.600000] [<800b19f0>] 0x800b19f0 [ 26.600000] [<80122acc>] 0x80122acc [ 26.600000] [<800d9104>] 0x800d9104 [ 26.600000] [<800757dc>] 0x800757dc [ 26.600000] [<800d93dc>] 0x800d93dc [ 26.600000] [<8006a284>] 0x8006a284 [ 26.600000] [<8007580c>] 0x8007580c [ 26.600000] [ 26.600000] [ 26.600000] Code: afbf0014 0c078286 00808021 <8e030108> 7c6304c0 1460000a 8fbf0014 10400009 8fb00010 [ 26.870000] ---[ end trace d26ab0e286851b8a ]--- [ 26.870000] Kernel panic - not syncing: Fatal exception in interrupt [ 26.880000] Rebooting in 3 seconds..