Problem openWRT "backfire" and "kmod-batman-adv"
Hello,
sorry I didn't notice the two other patches Marek sent. So as you noticed I only tested the first patch. I recompiled the batman-package with the two new patches integrated.
I repeated the steps I did with the last patch:
1) I patched the Batman-Package.
2) I uninstalled the old package and rebooted the device.
3) I transferred the new Batman package onto the device via scp, installed the package and restarted again.
4) I checked wether batman is running using lsmod: It is....
5) I checked the return of "batctl if" and got no return. Then I checked:
"root@OpenWrt:~# batctl o BATMAN mesh bat0 disabled - please specify interfaces to enable it"
Then I continued in several ways, and noticed that the error can occure at different events. To keep it most realistic I not only enabled radio0, but changed the mode to adhoc:
"/etc/config/wireless:
config wifi-device radio0
option type mac80211
option channel 5
option macaddr 00:25:9c:3c:46:06
option hwmode 11g
config wifi-iface
option device radio0
option mode adhoc
option ssid OpenWrtoption encryption none"
Then I restarted the network, without an error. This also doesn't show an error, when keeping the mode on "ap".
root@OpenWrt:~# /etc/init.d/network restart udhcpc (v1.15.3) started Sending discover... root@OpenWrt:~# Sending discover... Sending discover...
Then I tried serveral ways to continue, which all end in segmentation faults, wehen doing network restarts or freezing the device when rebooting.
Here is a list of what I tried:
- Adding wlan0 to batman-interface (although it already is in the config file, it only shows in batctl after adding it with "batctl if add wlan0") and then doing ab network restart
- Just doing a reboot, the device freezes on startup.
- Adding an wlan interface in /etc/config/network/ with an mtu of 1524 and then restarting the network. here is the dmesg and logread for that situation:
root@OpenWrt:~# dmesg
Linux version 2.6.32.16 (tim@atze) (gcc version 4.3.3 (GCC) ) #1 Thu Aug 12 14:49:00 CEST 2010
CPU revision is: 00029008 (Broadcom BCM3302)
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0E, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x09, vendor 0x4243)
ssb: Core 2 found: MIPS 3302 (cc 0x816, rev 0x06, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Host (cc 0x817, rev 0x02, vendor 0x4243)
ssb: Core 4 found: MEMC SDRAM (cc 0x80F, rev 0x01, vendor 0x4243)
ssb: Core 5 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
ssb: Core 6 found: Roboswitch (cc 0x81C, rev 0x02, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 4 => 4
ssb: set_irq: core 0x0816, irq 5 => 2
ssb: set_irq: core 0x0812, irq 2 => 5
ssb: after irq reconfiguration
ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I
ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I
ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x0817, irq : 2(S) 3 4 5 6* D I
ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I*
ssb: core 0x0812, irq : 2(S) 3 4 5* 6 D I
ssb: core 0x081c, irq : 2(S) 3 4 5 6 D I*
ssb: Sonics Silicon Backplane found at address 0x18000000
Serial init done.
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 802a5b50, node_mem_map 802eb000
Normal zone: 32 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13236k/16384k available (2231k kernel code, 3148k reserved, 476k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS0] enabled
Calibrating delay loop... 199.16 BogoMIPS (lpj=398336)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
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: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
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) © 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
flash init: 0x1c000000 0x02000000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x400000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x0000003f0000 : "linux"
0x000000122c00-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=150000
0x0000002a0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:25:9c:3c:46:04
BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
diag: Detected 'Linksys WRT54G/GS/GL'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found a 5325! It's a 5350.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
Compat-wireless backport release: compat-wireless-2010-07-13-4-g04898a5
Backport based on wireless-2.6.git v2.6.35-rc6-48432-gdce358e
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
b43-phy0: Broadcom 5352 WLAN found (core revision 9)
phy0: Selected rate control algorithm 'minstrel'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (208 buckets, 832 max)
batman-adv:B.A.T.M.A.N. advanced 2010.0.0 (compatibility version 8) loaded
br-lan: port 1(eth0.0) entering disabled state
device eth0 left promiscuous mode
device eth0.0 left promiscuous mode
br-lan: port 1(eth0.0) entering disabled state
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
wlan0: Creating new IBSS network, BSSID da:98:a2:73:a5:fa
br-lan: port 1(eth0.0) entering disabled state
device eth0 left promiscuous mode
device eth0.0 left promiscuous mode
br-lan: port 1(eth0.0) entering disabled state
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
CPU 0 Unable to handle kernel paging request at virtual address 00003aa1, epc == 805a8260, ra == 805a8248
Oops[#1]:
Cpu 0
$ 0 : 00000000 10009800 3c9c2500 80f2e800
$ 4 : 803c7408 00003a9e 00003a98 00000000
$ 8 : 00000004 00000001 8029fd20 00000001
$12 : 0000000f 8023a728 ffffffff 80769bc8
$16 : 80d51580 80f2e800 805ac3c4 8058eec0
$20 : 00000008 00460eb4 7fcfc860 00000000
$24 : 0000003c 8f1bbcdc
$28 : 80768000 80769d58 00000000 805a8248
Hi : 00000369
Lo : 00001be5
epc : 805a8260 update_min_mtu+0x244/0x3b0 [batman_adv]
Not tainted
ra : 805a8248 update_min_mtu+0x22c/0x3b0 [batman_adv]
Status: 10009803 KERNEL EXL IE
Cause : 0080000c
BadVA : 00003aa1
PrId : 00029008 (Broadcom BCM3302)
Modules linked in: batman_adv nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe 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 b43legacy b43 mac80211 crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc switch_robo switch_core diag
Process ifconfig (pid: 1959, threadinfo=80768000, task=80c19a58, tls=00000000)
Stack : 80d51580 80f2e800 805ac3c4 8058eec0 80d51580 805a8acc 803182a8 fffffff2
00000000 80f2e800 00000000 fffffff0 00000000 80f2e800 00000008
8004343c
000335d0 80049600 8029b000 80769da0 00000000 80f2e800 7fcfc8e0
00000000
80769e18 800435d8 80ca7004 80763da0 802ffa40 00000000 00000000
ffffffed
80f2e800 801a93c4 802e6c90 801aa3ec 00000000 00000054 00008924
00008924
...
Call Trace:
[<805a8260>] update_min_mtu+0x244/0x3b0 [batman_adv]
[<805a8248>] update_min_mtu+0x22c/0x3b0 [batman_adv]Code: 24c50006 88820003 98820000 <a8a20003> b8a20000 90830004 a0a30004 90820005 a0a20005
Disabling lock debugging due to kernel taint
root@OpenWrt:~# logread Jan 1 00:00:15 OpenWrt user.info kernel: PID hash table entries: 64 (order: -4, 256 bytes) Jan 1 00:00:15 OpenWrt user.info kernel: Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Jan 1 00:00:15 OpenWrt user.info kernel: Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Jan 1 00:00:15 OpenWrt user.warn kernel: Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes. Jan 1 00:00:15 OpenWrt user.warn kernel: Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes Jan 1 00:00:15 OpenWrt user.info kernel: Memory: 13236k/16384k available (2231k kernel code, 3148k reserved, 476k data, 136k init, 0k highmem) Jan 1 00:00:15 OpenWrt user.info kernel: Hierarchical RCU implementation. Jan 1 00:00:15 OpenWrt user.info kernel: NR_IRQS:128 Jan 1 00:00:15 OpenWrt user.info kernel: console [ttyS0] enabled Jan 1 00:00:15 OpenWrt user.info kernel: Calibrating delay loop... 199.16 BogoMIPS (lpj=398336) Jan 1 00:00:15 OpenWrt user.warn kernel: Mount-cache hash table entries: 512 Jan 1 00:00:15 OpenWrt user.info kernel: NET: Registered protocol family 16 Jan 1 00:00:15 OpenWrt user.warn kernel: bio: create slab <bio-0> at 0 Jan 1 00:00:15 OpenWrt user.info kernel: Switching to clocksource MIPS Jan 1 00:00:15 OpenWrt user.info kernel: NET: Registered protocol family 2 Jan 1 00:00:15 OpenWrt user.info kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes) Jan 1 00:00:15 OpenWrt user.info kernel: TCP established hash table entries: 512 (order: 0, 4096 bytes) Jan 1 00:00:15 OpenWrt user.info kernel: TCP bind hash table entries: 512 (order: -1, 2048 bytes) Jan 1 00:00:15 OpenWrt user.info kernel: TCP: Hash tables configured (established 512 bind 512) Jan 1 00:00:15 OpenWrt user.info kernel: TCP reno registered Jan 1 00:00:15 OpenWrt user.info kernel: NET: Registered protocol family 1 Jan 1 00:00:15 OpenWrt user.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher Jan 1 00:00:15 OpenWrt user.warn kernel: Registering mini_fo version $Id$ Jan 1 00:00:15 OpenWrt user.info kernel: JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. Jan 1 00:00:15 OpenWrt user.info kernel: msgmni has been set to 25 Jan 1 00:00:15 OpenWrt user.info kernel: io scheduler noop registered Jan 1 00:00:15 OpenWrt user.info kernel: io scheduler deadline registered (default) Jan 1 00:00:15 OpenWrt user.info kernel: Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled Jan 1 00:00:15 OpenWrt user.info kernel: serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A Jan 1 00:00:15 OpenWrt user.info kernel: serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A Jan 1 00:00:15 OpenWrt user.info kernel: serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A Jan 1 00:00:15 OpenWrt user.info kernel: serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A Jan 1 00:00:15 OpenWrt user.warn kernel: flash init: 0x1c000000 0x02000000 Jan 1 00:00:15 OpenWrt user.info kernel: Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0 Jan 1 00:00:15 OpenWrt user.warn kernel: Amd/Fujitsu Extended Query Table at 0x0040 Jan 1 00:00:15 OpenWrt user.notice kernel: number of CFI chips: 1 Jan 1 00:00:15 OpenWrt user.notice kernel: cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Jan 1 00:00:15 OpenWrt user.notice kernel: Flash device: 0x400000 at 0x1fc00000 Jan 1 00:00:15 OpenWrt user.notice kernel: bootloader size: 262144 Jan 1 00:00:15 OpenWrt user.notice kernel: Creating 4 MTD partitions on "Physically mapped flash": Jan 1 00:00:15 OpenWrt user.notice kernel: 0x000000000000-0x000000040000 : "cfe" Jan 1 00:00:15 OpenWrt user.notice kernel: 0x000000040000-0x0000003f0000 : "linux" Jan 1 00:00:15 OpenWrt user.notice kernel: 0x000000122c00-0x0000003f0000 : "rootfs" Jan 1 00:00:15 OpenWrt user.warn kernel: mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only Jan 1 00:00:15 OpenWrt user.notice kernel: mtd: partition "rootfs" set to be root filesystem Jan 1 00:00:15 OpenWrt user.info kernel: mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=150000 Jan 1 00:00:15 OpenWrt user.notice kernel: 0x0000002a0000-0x0000003f0000 : "rootfs_data" Jan 1 00:00:15 OpenWrt user.notice kernel: 0x0000003f0000-0x000000400000 : "nvram" Jan 1 00:00:15 OpenWrt user.info kernel: b44.c:v2.0 Jan 1 00:00:15 OpenWrt user.info kernel: eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:25:9c:3c:46:04 Jan 1 00:00:15 OpenWrt user.info kernel: BCM47xx Watchdog Timer enabled (30 seconds, nowayout) Jan 1 00:00:15 OpenWrt user.info kernel: TCP westwood registered Jan 1 00:00:15 OpenWrt user.info kernel: NET: Registered protocol family 17 Jan 1 00:00:15 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <[email protected]> Jan 1 00:00:15 OpenWrt user.info kernel: All bugs added by David S. Miller <[email protected]> Jan 1 00:00:15 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Jan 1 00:00:15 OpenWrt user.info kernel: Freeing unused kernel memory: 136k freed Jan 1 00:00:15 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ... Jan 1 00:00:15 OpenWrt user.warn kernel: diag: Detected 'Linksys WRT54G/GS/GL' Jan 1 00:00:15 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex. Jan 1 00:00:15 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX. Jan 1 00:00:15 OpenWrt user.info kernel: roboswitch: Probing device eth0: found a 5325! It's a 5350. Jan 1 00:00:15 OpenWrt user.info kernel: mini_fo: using base directory: / Jan 1 00:00:15 OpenWrt user.info kernel: mini_fo: using storage directory: /overlay Jan 1 00:00:15 OpenWrt user.info kernel: b44: eth0: powering down PHY Jan 1 00:00:17 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex. Jan 1 00:00:17 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX. Jan 1 00:00:19 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode Jan 1 00:00:19 OpenWrt user.info kernel: device eth0 entered promiscuous mode Jan 1 00:00:19 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state Jan 1 00:00:20 OpenWrt user.info kernel: Compat-wireless backport release: compat-wireless-2010-07-13-4-g04898a5 Jan 1 00:00:20 OpenWrt user.info kernel: Backport based on wireless-2.6.git v2.6.35-rc6-48432-gdce358e Jan 1 00:00:21 OpenWrt user.info kernel: cfg80211: Calling CRDA to update world regulatory domain Jan 1 00:00:26 OpenWrt user.info kernel: cfg80211: World regulatory domain updated: Jan 1 00:00:26 OpenWrt user.info kernel: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 1 00:00:26 OpenWrt user.info kernel: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 1 00:00:26 OpenWrt user.info kernel: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 1 00:00:26 OpenWrt user.info kernel: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 1 00:00:26 OpenWrt user.info kernel: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 1 00:00:26 OpenWrt user.info kernel: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 1 00:00:26 OpenWrt user.info kernel: b43-phy0: Broadcom 5352 WLAN found (core revision 9) Jan 1 00:00:27 OpenWrt user.debug kernel: phy0: Selected rate control algorithm 'minstrel' Jan 1 00:00:27 OpenWrt user.info kernel: Registered led device: b43-phy0::tx Jan 1 00:00:27 OpenWrt user.info kernel: Registered led device: b43-phy0::rx Jan 1 00:00:27 OpenWrt user.info kernel: Registered led device: b43-phy0::radio Jan 1 00:00:27 OpenWrt user.info kernel: Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ] Jan 1 00:00:27 OpenWrt user.info kernel: Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ] Jan 1 00:00:28 OpenWrt user.info kernel: PPP generic driver version 2.4.2 Jan 1 00:00:28 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Jan 1 00:00:29 OpenWrt user.info kernel: NET: Registered protocol family 24 Jan 1 00:00:29 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (208 buckets, 832 max) Jan 1 00:00:31 OpenWrt user.info kernel: batman-adv:B.A.T.M.A.N. advanced 2010.0.0 (compatibility version 8) loaded Jan 1 00:00:32 OpenWrt user.info sysinit: 'radio0' is disabled Jan 1 00:00:33 OpenWrt user.info sysinit: 'radio0' is disabled Jan 1 00:00:35 OpenWrt user.info sysinit: Loading defaults Jan 1 00:00:36 OpenWrt user.info sysinit: Loading synflood protection Jan 1 00:00:36 OpenWrt user.info sysinit: Adding custom chains Jan 1 00:00:37 OpenWrt user.info sysinit: Loading zones Jan 1 00:00:38 OpenWrt user.info sysinit: Loading forwarding Jan 1 00:00:38 OpenWrt user.info sysinit: Loading redirects Jan 1 00:00:38 OpenWrt user.info sysinit: Loading rules Jan 1 00:00:38 OpenWrt user.info sysinit: Loading includes Jan 1 00:00:38 OpenWrt user.info sysinit: Loading zone defaults Jan 1 00:00:39 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan Jan 1 00:00:40 OpenWrt authpriv.info dropbear[837]: Running in background Jan 1 00:00:41 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses! Jan 1 00:00:45 OpenWrt daemon.info dnsmasq[857]: started, version 2.55 cachesize 150 Jan 1 00:00:45 OpenWrt daemon.info dnsmasq[857]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP Jan 1 00:00:45 OpenWrt daemon.info dnsmasq[857]: using local addresses only for domain lan Jan 1 00:00:45 OpenWrt daemon.warn dnsmasq[857]: no servers found in /tmp/resolv.conf.auto, will retry Jan 1 00:00:45 OpenWrt daemon.info dnsmasq[857]: read /etc/hosts - 1 addresses Jan 1 00:00:45 OpenWrt user.info sysinit: Can't add interface wlan0 - ignoring Jan 1 00:00:55 OpenWrt authpriv.info dropbear[870]: Child connection from 192.168.1.2:57740 Jan 1 00:00:58 OpenWrt authpriv.notice dropbear[870]: password auth succeeded for 'root' from 192.168.1.2:57740 Jan 1 00:02:12 OpenWrt daemon.warn dnsmasq[857]: failed to access /tmp/resolv.conf.auto: No such file or directory Jan 1 00:02:14 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state Jan 1 00:02:14 OpenWrt user.info kernel: device eth0 left promiscuous mode Jan 1 00:02:14 OpenWrt user.info kernel: device eth0.0 left promiscuous mode Jan 1 00:02:14 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state Jan 1 00:02:19 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode Jan 1 00:02:19 OpenWrt user.info kernel: device eth0 entered promiscuous mode Jan 1 00:02:19 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state Jan 1 00:02:25 OpenWrt user.info kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) Jan 1 00:02:33 OpenWrt user.debug kernel: wlan0: Creating new IBSS network, BSSID da:98:a2:73:a5:fa Jan 1 00:06:43 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state Jan 1 00:06:43 OpenWrt user.info kernel: device eth0 left promiscuous mode Jan 1 00:06:43 OpenWrt user.info kernel: device eth0.0 left promiscuous mode Jan 1 00:06:43 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state Jan 1 00:06:51 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode Jan 1 00:06:51 OpenWrt user.info kernel: device eth0 entered promiscuous mode Jan 1 00:06:51 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state Jan 1 00:06:53 OpenWrt user.info kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) Jan 1 00:06:54 OpenWrt user.info kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) Jan 1 00:07:01 OpenWrt user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address 00003aa1, epc == 805a8260, ra == 805a8248 Jan 1 00:07:01 OpenWrt user.warn kernel: Oops[#1]: Jan 1 00:07:01 OpenWrt user.warn kernel: Cpu 0 Jan 1 00:07:01 OpenWrt user.warn kernel: $ 0 : 00000000 10009800 3c9c2500 80f2e800 Jan 1 00:07:01 OpenWrt user.warn kernel: $ 4 : 803c7408 00003a9e 00003a98 00000000 Jan 1 00:07:01 OpenWrt user.warn kernel: $ 8 : 00000004 00000001 8029fd20 00000001 Jan 1 00:07:01 OpenWrt user.warn kernel: $12 : 0000000f 8023a728 ffffffff 80769bc8 Jan 1 00:07:01 OpenWrt user.warn kernel: $16 : 80d51580 80f2e800 805ac3c4 8058eec0 Jan 1 00:07:01 OpenWrt user.warn kernel: $20 : 00000008 00460eb4 7fcfc860 00000000 Jan 1 00:07:01 OpenWrt user.warn kernel: $24 : 0000003c 8f1bbcdc Jan 1 00:07:01 OpenWrt user.warn kernel: $28 : 80768000 80769d58 00000000 805a8248 Jan 1 00:07:01 OpenWrt user.warn kernel: Hi : 00000369 Jan 1 00:07:01 OpenWrt user.warn kernel: Lo : 00001be5 Jan 1 00:07:01 OpenWrt user.warn kernel: epc : 805a8260 update_min_mtu+0x244/0x3b0 [batman_adv] Jan 1 00:07:01 OpenWrt user.warn kernel: Not tainted Jan 1 00:07:01 OpenWrt user.warn kernel: ra : 805a8248 update_min_mtu+0x22c/0x3b0 [batman_adv] Jan 1 00:07:01 OpenWrt user.warn kernel: Status: 10009803 KERNEL EXL IE Jan 1 00:07:01 OpenWrt user.warn kernel: Cause : 0080000c Jan 1 00:07:01 OpenWrt user.warn kernel: BadVA : 00003aa1 Jan 1 00:07:01 OpenWrt user.warn kernel: PrId : 00029008 (Broadcom BCM3302) Jan 1 00:07:01 OpenWrt user.warn kernel: Modules linked in: batman_adv nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack Jan 1 00:07:01 OpenWrt user.warn kernel: Process ifconfig (pid: 1959, threadinfo=80768000, task=80c19a58, tls=00000000) Jan 1 00:07:01 OpenWrt user.warn kernel: Stack : 80d51580 80f2e800 805ac3c4 8058eec0 80d51580 805a8acc 803182a8 fffffff2 Jan 1 00:07:01 OpenWrt user.warn kernel: 00000000 80f2e800 00000000 fffffff0 00000000 80f2e800 00000008 8004343c Jan 1 00:07:01 OpenWrt user.warn kernel: 000335d0 80049600 8029b000 80769da0 00000000 80f2e800 7fcfc8e0 00000000 Jan 1 00:07:01 OpenWrt user.warn kernel: 80769e18 800435d8 80ca7004 80763da0 802ffa40 00000000 00000000 ffffffed Jan 1 00:07:01 OpenWrt user.warn kernel: 80f2e800 801a93c4 802e6c90 801aa3ec 00000000 00000054 00008924 00008924 Jan 1 00:07:01 OpenWrt user.warn kernel: ... Jan 1 00:07:01 OpenWrt user.warn kernel: Call Trace: Jan 1 00:07:01 OpenWrt user.warn kernel: [<805a8260>] update_min_mtu+0x244/0x3b0 [batman_adv] Jan 1 00:07:01 OpenWrt user.warn kernel: [<805a8248>] update_min_mtu+0x22c/0x3b0 [batman_adv] Jan 1 00:07:01 OpenWrt user.warn kernel: Code: 24c50006 88820003 98820000 <a8a20003> b8a20000 90830004 a0a30004 90820005 a0a20005 Jan 1 00:07:01 OpenWrt user.warn kernel: Disabling lock debugging due to kernel taint Jan 1 00:11:17 OpenWrt authpriv.info dropbear[870]: exit after auth (root): Disconnect received Jan 1 00:11:26 OpenWrt authpriv.info dropbear[1986]: Child connection from 192.168.1.2:52064 Jan 1 00:11:29 OpenWrt authpriv.notice dropbear[1986]: password auth succeeded for 'root' from 192.168.1.2:52064
Greetings,
Tim
Quoted 309 lines · Tim
root@OpenWrt:/# dmesg 8kB, 2-way, VIPT, no aliases, linesize 16 bytes Memory: 13236k/16384k available (2231k kernel code, 3148k reserved, 476k data, 136k init, 0k highmem) Hierarchical RCU implementation. NR_IRQS:128 console [ttyS0] enabled Calibrating delay loop... 199.16 BogoMIPS (lpj=398336) Mount-cache hash table entries: 512 NET: Registered protocol family 16 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: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) 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) © 2001-2006 Red Hat, Inc. msgmni has been set to 25 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A flash init: 0x1c000000 0x02000000 Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0 Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0 CFI mfr 0x000000c2 CFI id 0x000022a8 Amd/Fujitsu Extended Query Table at 0x0040 Amd/Fujitsu Extended Query version 1.1. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Flash device: 0x400000 at 0x1fc00000 bootloader size: 262144 Updating TRX offsets and length: old trx = [0x0000001c, 0x00000974, 0x000e2c00], len=0x00281000 crc32=0x16ba3b2e new trx = [0x0000001c, 0x00000974, 0x000e2c00], len=0x000e2c00 crc32=0x0ecec672 Done Creating 4 MTD partitions on "Physically mapped flash": 0x000000000000-0x000000040000 : "cfe" 0x000000040000-0x0000003f0000 : "linux" 0x000000122c00-0x0000003f0000 : "rootfs" mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=150000 0x0000002a0000-0x0000003f0000 : "rootfs_data" 0x0000003f0000-0x000000400000 : "nvram" b44.c:v2.0 eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:25:9c:3c:46:04 BCM47xx Watchdog Timer enabled (30 seconds, nowayout) TCP westwood registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <[email protected]> All bugs added by David S. Miller <[email protected]> VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 136k freed Please be patient, while OpenWrt loads ... diag: Detected 'Linksys WRT54G/GS/GL' b44: eth0: Link is up at 100 Mbps, full duplex. b44: eth0: Flow control is off for TX and off for RX. roboswitch: Probing device eth0: found a 5325! It's a 5350. mini_fo: using base directory: / mini_fo: using storage directory: /tmp/root b44: eth0: powering down PHY b44: eth0: Link is up at 100 Mbps, full duplex. b44: eth0: Flow control is off for TX and off for RX. device eth0.0 entered promiscuous mode device eth0 entered promiscuous mode br-lan: port 1(eth0.0) entering forwarding state Compat-wireless backport release: compat-wireless-2010-07-13-4-g04898a5 Backport based on wireless-2.6.git v2.6.35-rc6-48432-gdce358e cfg80211: Calling CRDA to update world regulatory domain cfg80211: World regulatory domain updated: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) b43-phy0: Broadcom 5352 WLAN found (core revision 9) phy0: Selected rate control algorithm 'minstrel' Registered led device: b43-phy0::tx Registered led device: b43-phy0::rx Registered led device: b43-phy0::radio Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ] Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ] PPP generic driver version 2.4.2 ip_tables: (C) 2000-2006 Netfilter Core Team NET: Registered protocol family 24 nf_conntrack version 0.5.0 (208 buckets, 832 max) batman-adv-dbg: go through if_list batman-adv-dbg: final min_mtu is 1500 batman-adv-dbg: got event 5 for net_dev 80845c00 batman-adv-dbg: will add net_device 80845c00 to if_list batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 1 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 5 for net_dev 8086f000 batman-adv-dbg: will add net_device 8086f000 to if_list batman-adv-dbg: added net_device 8086f000 to if_list as 80e7a900 batman-adv-dbg: got batman_if 80e7a900 for net_dev 8086f000 batman-adv-dbg: got event 1 for net_dev 8086f000 batman-adv-dbg: got batman_if 80e7a900 for net_dev 8086f000 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a900) batman-adv-dbg: got event 5 for net_dev 80c16800 batman-adv-dbg: will add net_device 80c16800 to if_list batman-adv-dbg: added net_device 80c16800 to if_list as 80e7a880 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: got event 1 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a880) batman-adv-dbg: got event 5 for net_dev 808e2000 batman-adv-dbg: will add net_device 808e2000 to if_list batman-adv-dbg: added net_device 808e2000 to if_list as 80e7a800 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: got event 1 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a800) batman-adv-dbg: got event 5 for net_dev 80e21800 batman-adv-dbg: will add net_device 80e21800 to if_list batman-adv-dbg: added net_device 80e21800 to if_list as 80e7a780 batman-adv-dbg: got batman_if 80e7a780 for net_dev 80e21800 batman-adv-dbg: got event 1 for net_dev 80e21800 batman-adv-dbg: got batman_if 80e7a780 for net_dev 80e21800 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a780) batman-adv-dbg: got event 5 for net_dev 80fd1000 batman-adv-dbg: will add net_device 80fd1000 to if_list batman-adv-dbg: added net_device 80fd1000 to if_list as 80e7a700 batman-adv-dbg: got batman_if 80e7a700 for net_dev 80fd1000 batman-adv-dbg: got event 5 for net_dev 80549c00 batman-adv-dbg: will add net_device 80549c00 to if_list batman-adv-dbg: got batman_if (null) for net_dev 80549c00 batman-adv:B.A.T.M.A.N. advanced 2010.0.0 (compatibility version 8) loaded batman-adv:Adding interface: wlan0 batman-adv:Not using interface wlan0 (retrying later): interface not active jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 jffs2_build_filesystem(): unlocking the mtd device... done. jffs2_build_filesystem(): erasing all blocks after the end marker... done. mini_fo: using base directory: / mini_fo: using storage directory: /overlay batman-adv-dbg: got event 9 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 2 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 9 for net_dev 80e21800 batman-adv-dbg: got batman_if 80e7a780 for net_dev 80e21800 batman-adv-dbg: hardif_deactivate_interface(80e7a780) br-lan: port 1(eth0.0) entering disabled state batman-adv-dbg: got event 2 for net_dev 80e21800 batman-adv-dbg: got batman_if 80e7a780 for net_dev 80e21800 batman-adv-dbg: hardif_deactivate_interface(80e7a780) batman-adv-dbg: got event 9 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_deactivate_interface(80e7a880) device eth0 left promiscuous mode batman-adv-dbg: got event 2 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_deactivate_interface(80e7a880) device eth0.0 left promiscuous mode br-lan: port 1(eth0.0) entering disabled state batman-adv-dbg: got event 6 for net_dev 80e21800 batman-adv-dbg: got batman_if 80e7a780 for net_dev 80e21800 batman-adv-dbg: hardif_remove_interface(80e7a780) batman-adv-dbg: will remove batman_if 80e7a780 batman-adv-dbg: putted netdev 80e21800 of batman_if 80e7a780 batman-adv-dbg: removed batman_if 80e7a780 batman-adv-dbg: got event 9 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_deactivate_interface(80e7a800) batman-adv-dbg: got event 2 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_deactivate_interface(80e7a800) batman-adv-dbg: got event 13 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 1 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 9 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 2 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 13 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 1 for net_dev 80845c00 batman-adv-dbg: got batman_if (null) for net_dev 80845c00 batman-adv-dbg: got event 13 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: got event 1 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a880) batman-adv-dbg: got event 4 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: got event 9 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_deactivate_interface(80e7a880) batman-adv-dbg: got event 2 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_deactivate_interface(80e7a880) batman-adv-dbg: got event 13 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: got event 1 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a880) batman-adv-dbg: got event 5 for net_dev 80d66000 batman-adv-dbg: will add net_device 80d66000 to if_list batman-adv-dbg: added net_device 80d66000 to if_list as 808e6400 batman-adv-dbg: got batman_if 808e6400 for net_dev 80d66000 batman-adv-dbg: got event 13 for net_dev 80d66000 batman-adv-dbg: got batman_if 808e6400 for net_dev 80d66000 batman-adv-dbg: got event 1 for net_dev 80d66000 batman-adv-dbg: got batman_if 808e6400 for net_dev 80d66000 batman-adv-dbg: hardif_activate_interface(80549ec0, 808e6400) device eth0.0 entered promiscuous mode device eth0 entered promiscuous mode br-lan: port 1(eth0.0) entering forwarding state batman-adv-dbg: got event 4 for net_dev 80c16800 batman-adv-dbg: got batman_if 80e7a880 for net_dev 80c16800 batman-adv-dbg: got event 13 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: got event 1 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a800) batman-adv-dbg: got event 9 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_deactivate_interface(80e7a800) batman-adv-dbg: got event 2 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_deactivate_interface(80e7a800) batman-adv-dbg: got event 13 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: got event 1 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: hardif_activate_interface(80549ec0, 80e7a800) batman-adv-dbg: got event 4 for net_dev 808e2000 batman-adv-dbg: got batman_if 80e7a800 for net_dev 808e2000 batman-adv-dbg: got event 6 for net_dev 80fd1000 batman-adv-dbg: got batman_if 80e7a700 for net_dev 80fd1000 batman-adv-dbg: hardif_remove_interface(80e7a700) batman-adv-dbg: will remove batman_if 80e7a700 batman-adv:Removing interface: wlan0 batman-adv-dbg: putted netdev 80fd1000 of batman_if 80e7a700 batman-adv-dbg: removed batman_if 80e7a700 batman-adv-dbg: got event 5 for net_dev 80fd1000 batman-adv-dbg: will add net_device 80fd1000 to if_list batman-adv-dbg: added net_device 80fd1000 to if_list as 80e7ae80 batman-adv-dbg: got batman_if 80e7ae80 for net_dev 80fd1000 batman-adv-dbg: got event 8 for net_dev 80fd1000 batman-adv-dbg: got batman_if 80e7ae80 for net_dev 80fd1000 CPU 0 Unable to handle kernel paging request at virtual address 00003aa1, epc == 80588300, ra == 805882e8 Oops[#1]: Cpu 0 $ 0 : 00000000 10009800 3c9c2500 80fd1000 $ 4 : 80a89e08 00003a9e 00003a98 00000000 $ 8 : 00000004 00000001 8029fd20 00000001 $12 : 0000000f 8023a728 ffffffff 8070fbc8 $16 : 80e7ae80 80fd1000 8058c8f4 00000008 $20 : 80549ec0 00460eb4 7f93b8a0 00000000 $24 : 00000003 8015f9dc $28 : 8070e000 8070fd58 00000000 805882e8 Hi : 00000000 Lo : 00000063 epc : 80588300 update_min_mtu+0x204/0x31c [batman_adv] Not tainted ra : 805882e8 update_min_mtu+0x1ec/0x31c [batman_adv] Status: 10009803 KERNEL EXL IE Cause : 0080000c BadVA : 00003aa1 PrId : 00029008 (Broadcom BCM3302) Modules linked in: batman_adv nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe 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 b43legacy b43 mac80211 crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc switch_robo switch_core diag Process ifconfig (pid: 1335, threadinfo=8070e000, task=805e96b0, tls=00000000) Stack : 80e7ae80 80fd1000 8058c8f4 00000008 80e7ae80 80588bb8 803d02a8 80e7ae80 80fd1000 0000405a 00000000 fffffff0 00000000 80fd1000 00000008 8004343c 00000500 00001805 000000bf 00000b3b 00000000 80fd1000 7f93b8e0 00000000 8070fe18 800435d8 80d35004 8073ff98 802ffc60 00000000 00000000 ffffffed 80fd1000 801a9450 802e6c90 801aa478 00000000 00000054 00008924 00008924 ... Call Trace: [<80588300>] update_min_mtu+0x204/0x31c [batman_adv]
Quoted 7 lines
Code: 24c50006 88820003 98820000 <a8a20003> b8a20000 90830004
a0a3000490820005a0a20005
Disabling lock debugging due to kernel taintPS: Soll ich die nächsten Mails wieder auf Englisch an die Mailingliste schicken?
Yes, let's switch back to the ml. The the bug can be checked more easily now. The problem is that the compiler optimizes it a little bit.... too much. So the backtrace isn't always clear. If I understand the output (and the output of Lemonde) correctly then we have the problem with the changeaddr event and not the mtu update as the backtrace would suggest.
Now it really makes fun again to debug those things :D
I haven't wrote that code... so it may take a little bit until I feel in the right mood to hunt it real down.
Thanks a lot for your help in debugging it. Your name will definitely appear in the kernel changelog.
@Lemonde, it seems that you have the same problem. The patch will appear on the ml later. But please also add the other patches I'd suggested.
Greetings,
Sven
Quoted 2 lines · Sven Eckelmann
I haven't wrote that code... so it may take a little bit until I feel in the right mood to hunt it real down.
Ok, could you please try the attached patch? Just add it to the other patches (you can omit 03-... after a successful test. But it may reveal interesting information if that wasn't the actual problem). Don't forget to cleanup your openwrt build environment.
Best regards,
Sven
hard-interface.c +4 -0
@@ -129,6 +129,9 @@ static bool hardif_is_iface_up(struct batman_if *batman_if)static void update_mac_addresses (struct batman_if *batman_if) { +if (!batman_if || !batman_if->packet_buff) +return ; +addr_to_string (batman_if->addr_str, batman_if->net_dev->dev_addr); memcpy(((struct batman_packet *)(batman_if->packet_buff))->orig,
@@ -339,6 +342,7 @@ static struct batman_if *hardif_add_interface(struct net_device *net_dev) batman_if->if_num =-1 ; batman_if->net_dev = net_dev; batman_if->if_status =IF_NOT_IN_USE ; + batman_if->packet_buff =NULL ;INIT_LIST_HEAD (&batman_if->list);check_known_mac_addr (batman_if->net_dev->dev_addr);
Quoted 7 lines · On Saturday 21 August 2010 06:42:56 Kazuki Shimada wrote:
Hi, Sven Eckelmann.
Sorry to be late to reply.
Quoted 2 lines
@Lemonde, it seems that you have the same problem. The patch will appear on the ml later. But please also add the other patches I'd suggested.
Quoted 6 lines
Thank you for your reply and patches.
I applied the patches. (It seems batman-adv-devel is a little defferent from batman-adv, so I made patches to fit to batman-adv-devel on buildroot. hope I didn't mistake :- )
The result is the same before. But this report has already obsolete. I'll try your next patches.
Actually these patches are for devel aka the trunk. The patches I send to Tim were for v2010.0.0. Please check if you really use the latest version of batman-adv from trunk (see mareks reply to your message).
The trunk (r1776) has nearly all patches I've send around in the last week (at least it should not have the problems you've experienced). Please try that revision and please report back.
thanks,
Sven