#18615: Network stops, after activating/deactivating Wifi
-----------------------+-----------------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  Barrier Breaker 14.07
Component:  kernel     |    Version:  Trunk
 Keywords:             |
-----------------------+-----------------------------------
 Hardware : Netgear WNDR3700 V1
 router name;
 OpenWrt version: BARRIER BREAKER (14.07, r42625)
 dmesg or syslog output:

 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.12.18 11:21:28
 =~=~=~=~=~=~=~=~=~=~=~=
 dmesg
 [    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 14:00:51 CEST 2014
 [    0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
 [    0.000000] SoC: Atheros AR7161 rev 2
 [    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz,
 Ref:40.000MHz
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 04000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
 [    0.000000] On node 0 totalpages: 16384
 [    0.000000] free_area_init_node: node 0, pgdat 80334b60, node_mem_map
 81000000
 [    0.000000]   Normal zone: 128 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
 [    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] 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: 16256
 [    0.000000] Kernel command line:  board=WNDR3700 console=ttyS0,115200
 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-
 env)ro,7680k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd
 [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 61076k/65536k available (2369k kernel code, 4460k
 reserved, 621k data, 272k init, 0k highmem)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.060000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
 [    0.060000] pid_max: default: 32768 minimum: 301
 [    0.060000] Mount-cache hash table entries: 512
 [    0.070000] NET: Registered protocol family 16
 [    0.070000] MIPS: machine is NETGEAR WNDR3700/WNDR3800/WNDRMAC
 [    2.680000] registering PCI controller with io_map_base unset
 [    2.690000] bio: create slab <bio-0> at 0
 [    2.690000] PCI host bridge to bus 0000:00
 [    2.700000] pci_bus 0000:00: root bus resource [mem
 0x10000000-0x16ffffff]
 [    2.700000] pci_bus 0000:00: root bus resource [io  0x0000]
 [    2.710000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    2.710000] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000
 [    2.710000] pci 0000:00:11.0: fixup device configuration
 [    2.720000] pci 0000:00:11.0: reg 10: [mem 0x00000000-0x0000ffff]
 [    2.720000] pci 0000:00:11.0: PME# supported from D0 D3hot
 [    2.720000] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000
 [    2.720000] pci 0000:00:12.0: fixup device configuration
 [    2.720000] pci 0000:00:12.0: reg 10: [mem 0x00000000-0x0000ffff]
 [    2.720000] pci 0000:00:12.0: PME# supported from D0 D3hot
 [    2.720000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    2.720000] pci 0000:00:11.0: BAR 0: assigned [mem
 0x10000000-0x1000ffff]
 [    2.730000] pci 0000:00:12.0: BAR 0: assigned [mem
 0x10010000-0x1001ffff]
 [    2.730000] pci 0000:00:11.0: using irq 40 for pin 1
 [    2.740000] pci 0000:00:12.0: using irq 41 for pin 1
 [    2.740000] Switching to clocksource MIPS
 [    2.750000] NET: Registered protocol family 2
 [    2.750000] TCP established hash table entries: 512 (order: 0, 4096
 bytes)
 [    2.750000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 [    2.760000] TCP: Hash tables configured (established 512 bind 512)
 [    2.760000] TCP: reno registered
 [    2.770000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    2.770000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    2.780000] NET: Registered protocol family 1
 [    2.780000] PCI: CLS 0 bytes, default 32
 [    2.800000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    2.800000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    2.810000] msgmni has been set to 119
 [    2.820000] io scheduler noop registered
 [    2.820000] io scheduler deadline registered (default)
 [    2.820000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 [    2.860000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a
 16550A
 [    2.860000] console [ttyS0] enabled, bootconsole disabled
 [    2.880000] ath79-spi ath79-spi: master is unqueued, this is deprecated
 [    2.880000] m25p80 spi0.0: found s25sl064p, expected m25p80
 [    2.890000] m25p80 spi0.0: s25sl064p (8192 Kbytes)
 [    2.890000] 4 cmdlinepart partitions found on MTD device spi0.0
 [    2.900000] Creating 4 MTD partitions on "spi0.0":
 [    2.900000] 0x000000000000-0x000000050000 : "u-boot"
 [    2.910000] 0x000000050000-0x000000070000 : "u-boot-env"
 [    2.920000] 0x000000070000-0x0000007f0000 : "firmware"
 [    2.920000] 2 netgear-fw partitions found on MTD device firmware
 [    2.930000] 0x000000070000-0x000000182440 : "kernel"
 [    2.940000] mtd: partition "kernel" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    2.950000] 0x000000182440-0x0000007f0000 : "rootfs"
 [    2.950000] mtd: partition "rootfs" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    2.970000] mtd: device 4 (rootfs) set to be root filesystem
 [    2.970000] 1 squashfs-split partitions found on MTD device rootfs
 [    2.980000] 0x0000003b0000-0x0000007f0000 : "rootfs_data"
 [    2.990000] 0x0000007f0000-0x000000800000 : "art"
 [    3.000000] Realtek RTL8366S ethernet switch driver version 0.2.2
 [    3.000000] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
 [    3.010000] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
 [    3.040000] libphy: rtl8366s: probed
 [    3.350000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
 [    3.650000] ag71xx ag71xx.1: connected to PHY at rtl8366s:04
 [uid=001cc960, driver=Generic PHY]
 [    3.660000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
 [    3.670000] TCP: cubic registered
 [    3.670000] NET: Registered protocol family 17
 [    3.680000] Bridge firewalling registered
 [    3.680000] 8021q: 802.1Q VLAN Support v1.8
 [    3.690000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:4.
 [    3.700000] Freeing unused kernel memory: 272K (8034c000 - 80390000)
 [    5.710000] usbcore: registered new interface driver usbfs
 [    5.720000] usbcore: registered new interface driver hub
 [    5.730000] usbcore: registered new device driver usb
 [    5.730000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    5.740000] ehci-platform: EHCI generic platform driver
 [    5.750000] ehci-platform ehci-platform: EHCI Host Controller
 [    5.750000] ehci-platform ehci-platform: new USB bus registered,
 assigned bus number 1
 [    5.760000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
 [    5.790000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
 [    5.790000] hub 1-0:1.0: USB hub found
 [    5.800000] hub 1-0:1.0: 2 ports detected
 [    5.800000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    5.810000] ohci-platform ohci-platform: Generic Platform OHCI
 Controller
 [    5.820000] ohci-platform ohci-platform: new USB bus registered,
 assigned bus number 2
 [    5.820000] ohci-platform ohci-platform: irq 14, io mem 0x1c000000
 [    5.890000] hub 2-0:1.0: USB hub found
 [    5.890000] hub 2-0:1.0: 2 ports detected
 [    6.220000] ar71xx: pll_reg 0xb8050010: 0x11110000
 [    6.220000] eth0: link up (1000Mbps/Full duplex)
 [    9.460000] jffs2: notice: (339) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 20 of xdatum (1 unchecked, 19 orphan) and 33 of
 xref (0 dead, 19 orphan) found.
 [    9.500000] eth0: link down
 [   10.860000] NET: Registered protocol family 10
 [   10.870000] nf_conntrack version 0.5.0 (958 buckets, 3832 max)
 [   10.890000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   10.900000] Loading modules backported from Linux version
 master-2014-05-22-0-gf2032ea
 [   10.910000] Backport generated by backports.git
 backports-20140320-37-g5c33da0
 [   10.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   10.960000] xt_time: kernel timezone is -0000
 [   10.980000] cfg80211: Calling CRDA to update world regulatory domain
 [   10.980000] cfg80211: World regulatory domain updated:
 [   10.990000] cfg80211:  DFS Master region: unset
 [   10.990000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   11.000000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.010000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.020000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.030000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.030000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   11.040000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   11.050000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.060000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 0 mBm), (N/A)
 [   11.110000] PPP generic driver version 2.4.2
 [   11.120000] NET: Registered protocol family 24
 [   11.160000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
 [   11.170000] ath: EEPROM regdomain: 0x0
 [   11.170000] ath: EEPROM indicates default country code should be used
 [   11.170000] ath: doing EEPROM country->regdmn map search
 [   11.170000] ath: country maps to regdmn code: 0x3a
 [   11.170000] ath: Country alpha2 being used: US
 [   11.170000] ath: Regpair used: 0x3a
 [   11.190000] ieee80211 phy0: Selected rate control algorithm
 'minstrel_ht'
 [   11.200000] cfg80211: Calling CRDA for country: US
 [   11.200000] cfg80211: Regulatory domain changed to country: US
 [   11.210000] cfg80211:  DFS Master region: FCC
 [   11.210000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   11.220000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 3000 mBm), (N/A)
 [   11.230000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 1700 mBm), (N/A)
 [   11.240000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A,
 2300 mBm), (0 s)
 [   11.250000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 3000 mBm), (N/A)
 [   11.260000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 4000 mBm), (N/A)
 [   11.260000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
 [   11.290000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
 [   11.300000] ath: EEPROM regdomain: 0x0
 [   11.300000] ath: EEPROM indicates default country code should be used
 [   11.300000] ath: doing EEPROM country->regdmn map search
 [   11.300000] ath: country maps to regdmn code: 0x3a
 [   11.300000] ath: Country alpha2 being used: US
 [   11.300000] ath: Regpair used: 0x3a
 [   11.320000] ieee80211 phy1: Selected rate control algorithm
 'minstrel_ht'
 [   11.320000] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
 [   17.990000] ar71xx: pll_reg 0xb8050010: 0x11110000
 [   17.990000] eth0: link up (1000Mbps/Full duplex)
 [   18.010000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
 [   18.760000] cfg80211: Calling CRDA for country: NL
 [   18.770000] cfg80211: Regulatory domain changed to country: NL
 [   18.770000] cfg80211:  DFS Master region: ETSI
 [   18.780000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   18.790000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.790000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   18.800000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (0 s)
 [   18.810000] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A,
 2700 mBm), (0 s)
 [   18.820000] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz),
 (N/A, 4000 mBm), (N/A)
 [   22.760000] ar71xx: pll_reg 0xb8050014: 0x1099
 [   22.760000] eth1: link up (100Mbps/Full duplex)
 [   22.760000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
 root@OpenWrt:~#

 What is expected vs. what actually happens
 Expected: That wifi is started or stopped using LUCI
 Actually: My Computer (Wired on LAN) cannot do any DNS lookups. I cant
 ping my Router (which is at the WANside of the OpenWRT-router.

 Steps to reproduce the error

 1) Login in Luci
 2) Goto Network - Wifi
 3) Enable a interface - doesnot matter which
 4) Try to go to any internetsite from LAN
 // or try from router opkg update --> error returned --> so its probally
 WAN interface

 5) When i do restart network --> everything works again until...

 I have tested this with 12.09(r36088) and now with 14.07.
 I have also seen ticket 13612, I think this is the same error.

--
Ticket URL: <https://dev.openwrt.org/ticket/18615>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to