Code Monkey home page Code Monkey logo

openwrt / openwrt Goto Github PK

View Code? Open in Web Editor NEW
18.4K 588.0 9.7K 235.85 MB

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.

License: Other

Makefile 17.57% Shell 6.30% C 62.45% C++ 0.32% Perl 2.45% Awk 0.02% Assembly 1.36% Lex 0.06% Yacc 0.10% Python 0.46% CMake 0.02% M4 0.25% UnrealScript 0.30% Roff 8.33%

openwrt's Introduction

OpenWrt logo

OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.

Sunshine!

Download

Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.

If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.

An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:

Development

To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.

Requirements

You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.

binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.7+ rsync subversion unzip which

Quickstart

  1. Run ./scripts/feeds update -a to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default

  2. Run ./scripts/feeds install -a to install symlinks for all obtained packages into package/feeds/

  3. Run make menuconfig to select your preferred configuration for the toolchain, target system & firmware packages.

  4. Run make to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.

Related Repositories

The main repository uses multiple sub-repositories to manage packages of different categories. All packages are installed via the OpenWrt package manager called opkg. If you're looking to develop the web interface or port packages to OpenWrt, please find the fitting repository below.

  • LuCI Web Interface: Modern and modular interface to control the device via a web browser.

  • OpenWrt Packages: Community repository of ported packages.

  • OpenWrt Routing: Packages specifically focused on (mesh) routing.

  • OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).

Support Information

For a list of supported devices see the OpenWrt Hardware Database

Documentation

Support Community

  • Forum: For usage, projects, discussions and hardware advise.
  • Support Chat: Channel #openwrt on oftc.net.

Developer Community

License

OpenWrt is licensed under GPL-2.0

openwrt's People

Contributors

acoul avatar adschm avatar ansuel avatar aparcar avatar blocktrron avatar blogic avatar chunkeey avatar dangowrt avatar dedeckeh avatar embeem avatar ffainelli avatar graysky2 avatar hauke avatar jow- avatar juhosg avatar kaloz avatar kanjimonster avatar ldir-edb0 avatar lperkov avatar mkresin avatar nbd168 avatar neheb avatar noltari avatar pepe2k avatar polynomialdivision avatar rmilecki avatar robimarko avatar stintel avatar wigyori avatar ynezz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt's Issues

FS#42 - Ath9k/mac80211 performance regression (missing data, packet drops)

xback:

Since this commit: 67a7daa
Commit Msg: "mac80211: update to wireless-testing 2016-06-20"

Used hardware: 3x cns3xxx GW2388 + 4x SR-71-15 (ar9280) on each device

Stuff seen:

  • Packets not even reaching tcpdump anymore
  • Getting STA_INFO from a remote mac using netlink:
  • following attributes are not present anymore in the netlink packet:
    --> NL80211_STA_INFO_BEACON_SIGNAL_AVG
    --> NL80211_STA_INFO_BEACON_LOSS
    --> etc.
  • Netlink reply packet size
    --> Before this commit: ~3kB
    --> After this commit: ~1kB

More details will follow .. (debugging at this moment)

FS#23 - Sitecom WL-351 Switch driver problem - No network connectivity to router

Timeless:

The [[https://wiki.openwrt.org/toh/sitecom/wl-351|Sitecom WL-351]](with patch) does not work anymore after trunk switched the ralink drivers.
There was a earlier provided [[https://dev.openwrt.org/attachment/ticket/17475/0001-trunk-Fix-up-switch-settings-for-Sitecom-WL-351-v1-002.patch|patch]] in the OpenWRT [[https://dev.openwrt.org/ticket/17475|bugtracker]]. But it does not apply cleanly anymore. I manually changed the following files:

/target/linux/ramips/dts/WL-351.dts /target/linux/ramips/image/Makefile [MOVED]--> /target/linux/ramips/image/RT305x.mk new file target/linux/ramips/rt305x/profiles/sitecom.mk

And since the esw_rt3052.c file is not present anymore I changed the following file:
build_dir/target-mipsel_24kec+dsp_musl-1.1.14/linux-ramips_rt305x/linux-4.4.7/drivers/net/ethernet/mediatek/esw_rt3050.c
which is only there after the pre-compile steps.

But after flashing the file to my WL-351 this is the resulting swconfig output:

root@OpenWrt:/# swconfig list
Found: switch0 - rtl8366rb

Which is correct according the the patch and also my previous 15.05.1 build

There are errors on OpenWRT 15.05.1 after applying the patch and now also on LEDE Trunk. But the patch fixes the networking issue on 15.05.1 but not on LEDE Trunk.
[ 4.153317] dwc2 101c0000.otg: Overcurrent change detected
[ 4.330182] dwc2 101c0000.otg: Overcurrent change detected
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to[ 4.977982] 8021q: adding VLAN 0 to HW filter on device eth0
the switch. Use the "list" command to see which switches are available.
[ 5.019517] random: procd urandom read with 9 bits of entropy available

So right now I'm quite stuck. I can ping between clients on the switch(with the patch. cannot ping without patch) but I cannot reach the router or WAN.

FS#21 - Save log to file option

Ansuel:

Is it possible to add an option in the luci system to save the log to a file in a specific location

I think it's not that hard to create a script that kill the log daemon and renable it to save the log in a specific position and it would be usefull if the router reboot randomly so you can underestand what happen when it shout down for no reason

FS#25 - Bug change emails should be less verbose

jogo:

Currently the subjects and contents of bug change emails are overly verbose.

The subjects always contain the type of change, which prevents e.g. Gmail from grouping them as "discussions". So I propose to shorten the subject to just "[#] <title>".

Likewise the contents have redundant information in them. E.g. the comment emails say:
"The following task has a new comment added:

FS#20 - Testing [email protected]
User who did this - Jo-Philipp Wich (jow-)"

The Task description is already in the subject, so doesn't need to be repeated, and it would be more readable if this was reduced to e.g.

"Jo-Philipp Wich (jow-) added a new comment:"

Same for the Task Opened/Closed emails.

FS#22 - [regression] STP does not flow over WDS links

plntyk:

reported by a user on IRC:
3.18 is working - 4.1/4.4 is not working

trying to upgrade a few things here, and I've discovered STP doesn't flow over my atheros wds links with the latest builds on stuff is this a known issue of some sort ? using 4addr type wds links i've got a few gadgets, and have been doing various tests to try understand where it is and is not flowing after many combinations and permutations, the conclusion is anything running the older 3.18 kernel based builds all seem to work fine but anything setting up 4addr wds link using a 4.1 or 4.4 based setup, stp doesn't flow over the 4addr client connection but, it does flow from a 4.x system runnign the ap side of the link, to a 3.x running the client side of the link

ive tested this with nanostation, picostation, and unifiac units
the unifiac is the reason I'm trying to update things, to a kernel rev that has unifiac support
groz: you probably should file a bug at http://bugs.lede-project.org/ - since the behaviour changed between kernel versions there must be some bug .
Title: Flyspray::LEDE Project: Tasklist (at bugs.lede-project.org)
i've been reading up a bit, and it seems upstream broke 4addr mode at 3.9

what ath, ath9k, 10k?

both
happens on my 10K units with 4.1 or 4.4
and on my 9k units with 4.1 of 4.4
but with 3.18 the 9k stuff works fine
I just cant get the new 10K unit to bridge properly
Ive built a considerable number of different configurations to try isolate and identify
I haven't tried that config, but someone else was complaining about WDS with ath10k, seems it mostly worked for them though.
what happens is, with the wds link in place
each unit becomes its own root bridge
because stp isn't flowing over the link
so they dont honor the overall network root bridge
you wont notice this if you aren't using stp
my environment depeds on it, because I have a high capacity main link, and a lower capacity backup link
between the two networks

my environment depeds on it, because I have a high capacity main link, and a lower capacity backup link
between the two networks
my test case is using a pair of unifi ath10K units, which were not backported to the 3.18 revs, hence i build something newer
my current live links are using ubiquity loco for the backup link, and fiber optic for the primary
but if my power goes out at the midpoint (happens once in a while), then I need the network between the observatory and the house to fail onto the wifi links transparently
dunno...I have to run, see you all laters.
that wont work correctly without stp working correctly

FS#35 - mynet-n750 factory images don't find root partition

CRCinAU:

The LEDE Project factory images do not boot when flashed from either the web interface or the emergency recovery web site.

Boot logs as of r813:
verify_seama: data=0x81000000, size=3406568
SEAMA ==========================================
magic : 5ea3a417
meta size : 24 bytes
meta data : signature=wrgnd13_wd_av
image size : 0 bytes

SEAMA ==========================================
magic : 5ea3a417
meta size : 36 bytes
meta data : dev=/dev/mtdblock/1
meta data : type=firmware
meta data :
meta data :
image size : 3406464 bytes
checksum : 8969D9077B2CAAF8CE87548FC252A30A
digest : 8969D9077B2CAAF8CE87548FC252A30A
Selected !!!

(ENV) begin addr=0x9f070000,end=0x9ffeffff
Erase Flash from 0x9f070000 to 0x9ffeffff in Bank # 1
First 0x7 last 0xfe sector size 0x10000 254
Erased 248 sectors
write addr: 9f070000

Write runtime image into flash...OK,dest addr=0x9f070000
Upload file OK!

U-Boot 1.1.4 (Mar 26 2012 - 21:53:42)

SVN revision: 51
Target board: WRG-ND13

DRAM:
sri
Wasp 1.2
wasp_ddr_initial_config(255): (32bit) ddr2 init
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 242k for U-Boot at: 87fc0000
Reserving 192k for malloc() at: 87f90000
Reserving 44 Bytes for Board Info at: 87f8ffd4
Reserving 36 Bytes for Global Data at: 87f8ffb0
Reserving 128k for boot params() at: 87f6ffb0
Stack Pointer at: 87f6ff98
Now running in RAM - U-Boot at: 87fc0000
id read 0x100000ff
flash size 16 MB, sector count = 256
Flash: 16 MB
pci_init_board: PCIe PLL not set for 40MHz refclk
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: 00:90:a9:ad:67:21
athrs17_reg_init: complete
eth0 up
GIGA: athrs17_link_down all port...
eth0
Hit any key to stop autoboot: 0

Booting image at 9f070000 ...

Verifying Checksum ...
Uncompressing SEAMA linux.lzma ... OK
do_boot_linux entry = 80002000

Transferring control to Linux (at address 00000000) ...

Giving linux memsize in bytes, 134217728

Starting kernel ...

OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos [email protected]
Decompressing kernel... done!
Starting kernel at 80060000...

[ 0.000000] Linux version 4.4.14 ([email protected]) (gcc version 5.3.0 (LEDE GCC 5.3.0 r418) ) #2 Tue Jun 28 14:07:32 UTC 2016
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=MYNET-N750 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro rootfstype=squashfs,jffs2 noinitrd
[ 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 125008K/131072K available (3058K kernel code, 162K rwdata, 768K rodata, 292K init, 205K bss, 6064K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:560.000MHz, DDR:480.000MHz, AHB:240.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[ 0.000010] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[ 0.008295] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.081138] pid_max: default: 32768 minimum: 301
[ 0.086170] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093222] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.103130] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.114813] NET: Registered protocol family 16
[ 0.120895] MIPS: machine is WD My Net N750
[ 0.152462] registering PCI controller with io_map_base unset
[ 0.401712] PCI host bridge to bus 0000:00
[ 0.406082] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.413443] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.419372] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.426607] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.435105] pci 0000:00:00.0: invalid calibration data
[ 0.441018] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[ 0.448817] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[ 0.456533] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.462678] clocksource: Switched to clocksource MIPS
[ 0.469411] NET: Registered protocol family 2
[ 0.474938] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.482368] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.489178] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.496027] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.502253] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.509216] NET: Registered protocol family 1
[ 0.514876] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.538034] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.544301] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.557084] io scheduler noop registered
[ 0.561270] io scheduler deadline registered (default)
[ 0.567034] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.576566] console [ttyS0] disabled
[ 0.600439] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.609633] console [ttyS0] enabled
[ 0.609633] console [ttyS0] enabled
[ 0.617055] bootconsole [early0] disabled
[ 0.617055] bootconsole [early0] disabled
[ 0.630332] m25p80 spi0.0: found mx25l12805d, expected m25p80
[ 0.636239] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.641394] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.647415] Creating 6 MTD partitions on "spi0.0":
[ 0.652285] 0x000000000000-0x000000040000 : "u-boot"
[ 0.659357] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.666314] 0x000000050000-0x000000060000 : "devdata"
[ 0.673008] 0x000000060000-0x000000070000 : "devconf"
[ 0.679646] 0x000000070000-0x000000ff0000 : "firmware"
[ 0.719345] 0x000000ff0000-0x000001000000 : "radiocfg"
[ 1.732792] switch0: Atheros AR8327 rev. 2 switch registered on ag71xx-mdio.0
[ 1.799647] libphy: ag71xx_mdio: probed
[ 3.391236] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[ 3.402671] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.411028] NET: Registered protocol family 10
[ 3.419183] NET: Registered protocol family 17
[ 3.423820] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.436672] Bridge firewalling registered
[ 3.440862] 8021q: 802.1Q VLAN Support v1.8
[ 3.447760] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 3.455394] Please append a correct "root=" boot option; here are the available partitions:
[ 3.463882] 1f00 256 mtdblock0 (driver?)
[ 3.469016] 1f01 64 mtdblock1 (driver?)
[ 3.474154] 1f02 64 mtdblock2 (driver?)
[ 3.479284] 1f03 64 mtdblock3 (driver?)
[ 3.484424] 1f04 15872 mtdblock4 (driver?)
[ 3.489554] 1f05 64 mtdblock5 (driver?)
[ 3.494692] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.503948] Rebooting in 1 seconds..

The missing magic line seems to be:
[ 0.715565] 2 seama-fw partitions found on MTD device firmware

I CAN install openwrt-15.05.1-ar71xx-generic-mynet-n750-squashfs-factory.bin, then sysupgrade to r813 sysupgrade image without a problem.

I built r813 with a test patch from jow: http://openwrt.crc.id.au/r813/EXTRA_PATCHES/00-try-to-fix-factory-images.patch

This did not fix the factory images. I tested as far back as r555 - which also did not boot correctly when flashed via the emergency httpsvr in uboot.

FS#48 - SQUASHFS error: xz decompression failed, data probably corrupt

stefanct:

I have modded a TP-Link MR3420 from 4 MB flash to a 16 MB flash chip and it works just fine... usually.

At the end of flashing a known-good image with lede I sometimes receive this or similar serial output:

[ 1298.369295] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1298.376412] SQUASHFS error: squashfs_read_data failed to read block 0x3e81a
[ 1298.641973] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1298.649125] SQUASHFS error: squashfs_read_data failed to read block 0x43eea
[ 1298.656314] SQUASHFS error: Unable to read data cache entry [43eea]
[ 1298.662812] SQUASHFS error: Unable to read page, block 43eea, size 61f0
[ 1299.400998] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1299.408121] SQUASHFS error: squashfs_read_data failed to read block 0x3e81a
[ 1299.415482] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1299.422623] SQUASHFS error: squashfs_read_data failed to read block 0x3e81a
[ 1300.430735] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1300.437857] SQUASHFS error: squashfs_read_data failed to read block 0x99e9e
[ 1300.445094] SQUASHFS error: Unable to read fragment cache entry [99e9e]
[ 1300.451942] SQUASHFS error: Unable to read page, block 99e9e, size 5670
...
[ 1300.854539] ath79_wdt: device closed unexpectedly, watchdog timer will not stop!
[ 1300.874467] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000a
[ 1300.874467]
[ 1300.886273] Rebooting in 3 seconds..

(Automatic) booting afterwards fails with:

[ 2.136866] squashfs: SQUASHFS error: unable to read id index table
[ 2.143715] jffs2: Flash size not aligned to erasesize, reducing to 14976KiB
[ 2.151327] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x6873 instead
[ 2.161178] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x8c07 instead
...
[ 19.603734] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00e90024: 0xc522 instead
[ 19.613529] jffs2: Further such events for this erase block will not be printed
[ 19.640666] jffs2: Empty flash at 0x00e930cc ends at 0x00e9be94
[ 19.646813] jffs2: CLEANMARKER node found at 0x00e9be94, not first node in block (0x00e90000)
[ 19.662247] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 19.678252] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[ 19.686994] Freeing unused kernel memory: 260K (803af000 - 803f0000)
[ 19.693680] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 19.716378] Rebooting in 1 seconds..

and leads to a reboot loop.

After recovery with an OpenWrt 15.05.01 image, writing the same image with that OpenWrt (also via LuCI) successfully(!) and retrying to write that image from lede again I got:
[ 310.464284] SQUASHFS error: xz decompression failed, data probably corrupt
[ 310.471451] SQUASHFS error: squashfs_read_data failed to read block 0x6b702
[ 311.482728] SQUASHFS error: xz decompression failed, data probably corrupt
[ 311.489913] SQUASHFS error: squashfs_read_data failed to read block 0x6b702
[ 322.757532] wlan0: authenticate with 94:0c:6d:fe:32:3c
[ 322.785017] wlan0: send auth to 94:0c:6d:fe:32:3c (try 1/3)
[ 322.805739] wlan0: authenticated
[ 322.844683] wlan0: associate with 94:0c:6d:fe:32:3c (try 1/3)
[ 322.870003] wlan0: RX AssocResp from 94:0c:6d:fe:32:3c (capab=0x431 status=0 aid=1)
[ 322.878371] wlan0: associated
[ 323.978534] wlan0: deauthenticated from 94:0c:6d:fe:32:3c (Reason: 2=PREV_AUTH_NOT_VALID)
[ 420.598352] SQUASHFS error: xz decompression failed, data probably corrupt
[ 420.605513] SQUASHFS error: squashfs_read_data failed to read block 0x6ec97a
[ 420.873925] SQUASHFS error: xz decompression failed, data probably corrupt
[ 420.881050] SQUASHFS error: squashfs_read_data failed to read block 0x6f43d6
[ 420.888566] SQUASHFS error: xz decompression failed, data probably corrupt
[ 420.895696] SQUASHFS error: squashfs_read_data failed to read block 0x6ec97a
[ 428.476280] blk_update_request: I/O error, dev mtdblock2, sector 490
[ 428.482945] blk_update_request: I/O error, dev mtdblock2, sector 492
[ 428.489523] blk_update_request: I/O error, dev mtdblock2, sector 494
[ 428.496126] blk_update_request: I/O error, dev mtdblock2, sector 496
[ 428.502727] blk_update_request: I/O error, dev mtdblock2, sector 498
[ 428.509297] blk_update_request: I/O error, dev mtdblock2, sector 500
[ 428.515889] blk_update_request: I/O error, dev mtdblock2, sector 502
[ 428.522483] blk_update_request: I/O error, dev mtdblock2, sector 504
[ 428.529052] blk_update_request: I/O error, dev mtdblock2, sector 506
[ 428.535647] blk_update_request: I/O error, dev mtdblock2, sector 508
[ 428.542336] SQUASHFS error: squashfs_read_data failed to read block 0x3d6d2
[ 428.551964] Removing MTD device #3 (rootfs_data) with use count 1
[ 428.559741] SQUASHFS error: squashfs_read_data failed to read block 0x42da2
[ 428.574156] reboot: Restarting system

This time however it somehow recovers and boots more or less successfully:

[ 22.212373] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 22.242919] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 22.249822] jffs2_build_filesystem(): erasing all blocks after the end marker...

Followed by a kernel oops that might be unrelated, no idea, but the LAN ports are dead afterwards:
[ 34.067610] WARNING: CPU: 0 PID: 1172 at net/sched/sch_generic.c:306 0x8026c1f4()
[ 34.075365] NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out

Another reboot and it works...

Yes, this looks a bit like a hardware failure but I want to stress that writing the same image with 15.05.01 works just fine (AFAICT... number of tests was limited of course) so maybe there is a bug in the mtd layer or something. I have also not verified the MD5 checksum that is displayed by LuCI (which should be clearly marked as MD5 btw) so a transmission error is theoretically possible as well.

FS#37 - 192.168.1.1 connection refused

El3c7r1x:

hi i do have to apologize if something is wrong with my post
i am not on forums that often, plus my english aint the best

so recently i flashed lede onto my existing openwrt system

[from Index of /lede/snapshots/targets/ar71xx/generic on 28th this month]
[tplink wr841n v10]

after rebooting i tried accessing 192.168.1.1 as in openwrt
but it failed

i get errors like "page unavailable" or "connection refused"

did i do something wrong or perhaps there aint no gui for lede yet?

i can still access the failsafe mode via ssh
i am somewhat unfamiliar when it comes to programming but i will do my best to provide more information

regards, Julian

FS#17 - DNS Issues

elitewarrior101:

I had this issue for a while but I assumed it was my ISP modem/router so I never bothered with this before. But now I am trying out a secondary ISP and I have 2 modem/routers and the issue persists.
ISP 1: 192.168.1.1
ISP 2: 192.168.1.2
TL-WDR3600 Lede r732: 192.168.1.3

The ISP routers are connected to the Lede using the LAN ports. The issue is that if I set my IP on Lede statically, DNS stops working. This happens regardless of which ISP router I point my Lede router too. The /tmp/resolv.conf.auto is never empty.

As per suggestion of someone in IRC:

nslookup google.com
nslookup: can't resolve '(null)': Name does not resolve

I can ping IP's but not domain names.

FS#18 - Cryptsetup fails to open device

neheb:

root@lede:# cryptsetup --type plain open /dev/sdb1 plain1
Enter passphrase:
device-mapper: reload ioctl on failed: No such file or directory
root@lede:
#

FS#26 - Comment formatting syntax should be documented

jogo:

Currently the formatting options are not documented anywhere, and I failed to find any documentation with google. There are a few buttons to use, but they seem to be rather limited (e.g. nothing for quotations).

FS#38 - Problem with Tor

Ansuel:

I have some problem with the tor package...

one is about pid, currently i run tor with a separate user and not as root and it can't create a pid file Unable to open "/var/run/tor.pid" for writing: Permission denied

and i have other problem with signature but i think is something related with my configuration Error reading router descriptor: invalid signature.

Has anyone an idea about this?

FS#36 - 192.168.1.1 Interface is unavailable

El3c7r1x:

so recently i upgraded from openwrt to lede on my tplink wr841n v10

before flashing i did untick "keep settings" as recommended in the "how to"
(flashed from "Index of /lede/snapshots/targets/ar71xx/generic" on 28th this month)

after flashing and rebooting i tried accessing the user interface on my system via 192.168.1.1 as it was in openwrt

but no response
i alwaays get "page unavailable" errors

i can ping and acces failsafe with ssh tho

i did not look into it further since there might me an error on my side

did i just do something wrong or perhaps there aint no user interface in lede yet

if i did something wrong please tell me
plus if smth is wrong with this post i have to apologize
i am not on forums that often
besides my english aint the best

i am looking forward to your replies

regards, Julian

//ob in deutsch, oder englisch sei erstmal dahingestellt. ;)//

FS#44 - Ath9k - TX performance regression on greater coverage settings

xback:

Synopsis:

When increasing coverage distance on the transmitting device, frame aggregation is heavily reduced.
Even when conditions are perfect.

This is regression compared to the BarrierBreaker release.

Hardware used:
2x cns3xxx GW-2388, each containing a single SR71-15

Setup:

  • 2 devices are 1 meter apart.
  • RSSI = -40
  • Completely free channel
  • Using wpa_supplicant, AES2, HT20 rates, IBSS

Repro rate:
100%

Repro steps:

  • Set coverage distance on device 1 to >10000m
  • Set Device 1 as iperf client
  • Set Device 2 as iperf server

Obervations:

  • iwinfo and iw wlanx station dump reveal 130Mbit/s raw link rate and 45Mbps net throughput
  • The actual throughput is stuck @ 7Mbit/s
  • Checking debugfs-xmit reveals that frame aggregation is at a rate of 2 frames/s
  • When setting the coverage range of device 1 to 50m, the aggregation rate is easily >5000 frames/s
  • Switching to HT40 yields the same issues.

Other observations:

  • Setting coverage to 12000m and starting the iperf yields 7Mbit/s
  • setting coverage to 50m and starting iperf yields >55Mbit/s
  • Setting coverage to 50m, starting iperf and increase coverage to >10000m while running reduces the rate to 25Mbit.
    When stopping and restarting iperf it drops again to 7Mbit/s

In barrierbreaker release, increasing coverage distance to 10000m dropped to the throughput to ~50Mbit iso 7

FS#27 - BT Home Hub 5 Type A - Switch problem when enabling WAN port

bill888:

LEDE Project r742
BT Home Hub 5 Type A with WAN port (port 5) enabled as a DHCP client, connected to existing LAN (subnet 192.168.1.x)

Client wired to Home Hub LAN port can initially ping and connect to external websites for first few seconds after Home Hub is powered up, but it stops working seconds later.

/etc/config/network:

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fdcc:19d3:6f89::/48'

config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'

config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.0.1'

config device 'lan_dev'
option name 'eth0.1'
option macaddr '40:f2:01:18:0f:ec'

config interface 'wan'
option ifname 'eth1.2'
option _orig_ifname 'eth1.2'
option _orig_bridge 'false'
option proto 'dhcp'
# broadcast setting makes NO difference to reported bug.
option broadcast '1'

config device 'wan_dev'
option name 'eth1.2'
option macaddr '40:f2:01:18:0f:ed'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0 1 2 4 6t'

config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '5 6t'

LUCI reports WAN port of BT Home Hub 5 successfully acquires local LAN IP address 192.168.1.74 and DNS server settings.

Capture of serial console. Attempt to ping external IP address such as google DNS server from console. Eventually fails.

ROM VER: 1.1.4
CFG 06
NAND
NAND Read OK

DDR autotuning Rev 0.3d
DDR size from 0xa0000000 - 0xa7ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.2.46 (Sep 07 2013 - 02:57:04 on tester@clean-machine)

CLOCK CPU 500M RAM 250M
secure boot
DRAM: 125 MiB
NAND: ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x0000023c0000
nand_read_bbt: Bad block at 0x000004bc0000
nand_read_bbt: Bad block at 0x000005500000
In: serial
Out: serial
Err: serial
Net: Internal phy(GE) firmware version: 0x841b
vr9 Switch

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000000100000-0x000007f80000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 126 MiB
UBI: number of good PEBs: 1009
UBI: number of bad PEBs: 3
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 7
UBI: total number of reserved PEBs: 1002
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 118/18
Volume kernel found at volume id 0
read 0 bytes from volume 0 to 80800000(buf address)
Read [1806336] bytes

Booting kernel from Legacy Image at 80800000 ...

Image Name: MIPS OpenWrt Linux-4.4.13
Created: 2016-06-19 18:16:23 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1799932 Bytes = 1.7 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

[ 0.000000] Linux version 4.4.13 (mkresin@desktop) (gcc version 5.3.0 (LEDE GCC 5.3.0 r608) ) #1 SMP Sun Jun 19 18:30:14 UTC 2016
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is BTHOMEHUBV5A - BT Home Hub 5A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Detected 1 available secondary CPU(s)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] PERCPU: Embedded 9 pages/cpu @8110c000 s8128 r8192 d20544 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 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] Writing ErrCtl register=00041ca3
[ 0.000000] Readback ErrCtl register=00041ca3
[ 0.000000] Memory: 122908K/131072K available (4029K kernel code, 175K rwdata, 1172K rodata, 1264K init, 222K bss, 8164K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] Setting up vectored interrupts
[ 0.000000] Setting up IPI vectored interrupts
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.007877] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042371] pid_max: default: 32768 minimum: 301
[ 0.047243] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.053788] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.064870] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.064885] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.065117] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.124589] Synchronize counters for CPU 1: done.
[ 0.129514] Brought up 2 CPUs
[ 0.137057] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.146877] pinctrl core: initialized pinctrl subsystem
[ 0.152802] NET: Registered protocol family 16
[ 0.163415] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.169457] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.282556] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.301654] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 0.307329] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.312601] IO 0x000000001ae00000..0x000000001affffff
[ 0.437395] ath9k,eeprom ath9k_eep: failed to load eeprom address
[ 0.468347] usbcore: registered new interface driver usbfs
[ 0.473947] usbcore: registered new interface driver hub
[ 0.479326] usbcore: registered new device driver usb
[ 0.485081] PCI host bridge to bus 0000:00
[ 0.489107] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.496022] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.502984] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.509810] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.518513] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.525427] PCI host bridge to bus 0000:01
[ 0.529448] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 0.536359] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 0.543320] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 0.550182] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.558258] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 0.576485] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 0.585662] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[ 0.592376] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref]
[ 0.599667] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit]
[ 0.607063] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref]
[ 0.614318] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 0.619360] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff]
[ 0.626188] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref]
[ 0.633570] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.640171] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.646540] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 0.653172] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 0.661291] clocksource: Switched to clocksource MIPS
[ 0.669062] NET: Registered protocol family 2
[ 0.674304] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.681248] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.687599] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.694119] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.699971] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.706603] NET: Registered protocol family 1
[ 0.711499] gptu: totally 6 16-bit timers/counters
[ 0.716372] gptu: misc_register on minor 63
[ 0.720558] gptu: succeeded to request irq 126
[ 0.725038] gptu: succeeded to request irq 127
[ 0.729534] gptu: succeeded to request irq 128
[ 0.734077] gptu: succeeded to request irq 129
[ 0.738596] gptu: succeeded to request irq 130
[ 0.743095] gptu: succeeded to request irq 131
[ 0.749305] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 0.756753] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7A00000
[ 0.763117] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7A00000
[ 0.872765] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.897786] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.903542] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.916336] io scheduler noop registered
[ 0.920205] io scheduler deadline registered (default)
[ 0.926543] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.935456] console [ttyLTQ0] enabled
[ 0.935456] console [ttyLTQ0] enabled
[ 0.942792] bootconsole [early0] disabled
[ 0.942792] bootconsole [early0] disabled
[ 0.953845] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.958912] nand: AMD/Spansion S34ML01G1
[ 0.962724] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.971993] Bad block table found at page 65472, version 0x01
[ 0.979570] Bad block table found at page 65408, version 0x01
[ 0.984186] nand_read_bbt: bad block at 0x0000023c0000
[ 0.989068] nand_read_bbt: bad block at 0x000004bc0000
[ 0.994175] nand_read_bbt: bad block at 0x000005500000
[ 0.999447] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 1.005931] Creating 4 MTD partitions on "14000000.nand-parts":
[ 1.011869] 0x000000000000-0x0000000a0000 : "u-boot"
[ 1.018983] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[ 1.025054] 0x0000000c0000-0x000000100000 : "caldata_backup"
[ 1.031504] 0x000000100000-0x000007f80000 : "ubi"
[ 1.144846] libphy: lantiq,xrx200-mdio: probed
[ 1.217981] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 1.285959] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1)
[ 1.353946] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 1.421943] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 1.493964] eth1: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 1.501846] wdt 1f8803f0.watchdog: Init done
[ 1.511509] NET: Registered protocol family 10
[ 1.516525] NET: Registered protocol family 17
[ 1.519756] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.532214] 8021q: 802.1Q VLAN Support v1.8
[ 1.540299] ath9k,eeprom ath9k_eep: pci slot: 14
[ 1.543525] pci 0000:00:0e.0: fixup device configuration
[ 1.550481] pci 0000:00:0e.0: fixup info: [168c:002d] revision 01 class 0x028000
[ 1.556502] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
[ 1.565852] UBI: auto-attach mtd3
[ 1.567553] ubi0: attaching mtd3
[ 2.219236] ubi0: scanning is finished
[ 2.262267] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[ 2.266362] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 2.273252] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 2.279916] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 2.286731] ubi0: good PEBs: 1009, bad PEBs: 3, corrupted PEBs: 0
[ 2.292827] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[ 2.300036] ubi0: max/mean erase counter: 118/18, WL threshold: 4096, image sequence number: 255302225
[ 2.309347] ubi0: available PEBs: 0, total reserved PEBs: 1009, PEBs reserved for bad PEB handling: 17
[ 2.318797] ubi0: background thread "ubi_bgt0d" started, PID 342
[ 2.320924] block ubiblock0_1: created from ubi0:1(rootfs)
[ 2.320936] ubiblock: device ubiblock0_1 (rootfs) set to be root[ 2.348929] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.358771] Freeing unused kernel memory: 1264K (80544000 - 80680000)
[ 3.955688] init: Console is alive
[ 3.958085] init: - watchdog -
[ 4.568660] eth0: port 4 got link
[ 6.566306] SCSI subsystem initialized
[ 6.576996] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 6.580616] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host mode
[ 7.445552] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 7.449124] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 7.456498] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 7.461988] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 7.469442] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 7.477111] hub 1-0:1.0: USB hub found
[ 7.479601] hub 1-0:1.0: 1 port detected
[ 7.488402] usbcore: registered new interface driver usb-storage
[ 7.503767] init: - preinit -
[ 7.950686] random: procd urandom read with 69 bits of entropy available
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
[ 11.265997] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 437
[ 11.459683] UBIFS (ubi0:2): recovery needed
[ 11.822800] UBIFS (ubi0:2): recovery completed
[ 11.825989] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 11.833681] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.843600] UBIFS (ubi0:2): FS size: 118573056 bytes (113 MiB, 919 LEBs), journal size 5935104 bytes (5 MiB, 46 LEBs)
[ 11.854213] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[ 11.860839] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID 3076099A-3245-4285-A490-0B4743539E0B, small LPT model
[ 11.876455] mount_root: switching to jffs2 overlay
[ 11.917636] procd: - early -
[ 11.919238] procd: - watchdog -
[ 12.633276] eth0: port 4 lost link
[ 12.681475] procd: - ubus -
[ 12.847597] procd: - init -
Please press Enter to activate this console.
[ 13.305331] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 13.315603] NET: Registered protocol family 8
[ 13.318579] NET: Registered protocol family 20
[ 13.329376] PPP generic driver version 2.4.2
[ 13.339328] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.364973] Lantiq (VRX) DSL CPE MEI driver, version 1.4.8.5, (c) 2013 Lantiq Deutschland GmbH

Lantiq CPE API Driver version: DSL CPE API V4.16.6.3
[ 13.385860]
[ 13.385860] Predefined debug level: 3
[ 13.394393] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 13.400590] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 13.472028] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 13.476430] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[ 13.482223] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 13.675575] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 13.684907] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 13.745179] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[ 14.108536] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 14.116464] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 14.132378] ath10k_pci 0000:02:00.0: firmware ver 10.2.4.97 api 5 features no-p2p crc32 f91e34f2
[ 14.139982] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 14.150219] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 14.207676] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 14.215862] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 14.937331] random: nonblocking pool is initialized
[ 15.271030] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 15.402899] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.415842] Infineon Technologies DEU driver version 2.0.0
[ 15.422888] IFX DEU DES initialized (multiblock).
[ 15.428212] IFX DEU AES initialized (multiblock).
[ 15.432183] IFX DEU ARC4 initialized (multiblock).
[ 15.436810] IFX DEU SHA1 initialized.
[ 15.440490] IFX DEU MD5 initialized.
[ 15.447146] IFX DEU SHA1_HMAC initialized.
[ 15.452050] IFX DEU MD5_HMAC initialized.
[ 15.467271] nf_conntrack version 0.5.0 (1940 buckets, 7760 max)
[ 15.536445] NET: Registered protocol family 24
[ 15.558670] xt_time: kernel timezone is -0000
[ 15.589059] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 15.599259] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[ 15.628151] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30
[ 24.901931] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 24.920700] device eth0.1 entered promiscuous mode
[ 24.924174] device eth0 entered promiscuous mode
[ 24.937884] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 25.007210] device eth1 entered promiscuous mode
[ 25.797674] eth0: port 4 got link
[ 25.800413] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 25.813698] br-lan: port 1(eth0.1) entered forwarding state
[ 25.818033] br-lan: port 1(eth0.1) entered forwarding state
[ 25.832222] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 27.821224] br-lan: port 1(eth0.1) entered forwarding state

BusyBox v1.24.2 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | |
/ DE / \ | || _|| |) | _|
/
_/ LE \ |||/|| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (HEAD, r742)
________/ -----------------------------------------------------------

root@lede:/#
root@lede:/#
root@lede:/# [ 33.797392] eth1: port 5 got link

root@lede:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=54 time=9.422 ms
64 bytes from 8.8.8.8: seq=1 ttl=54 time=8.321 ms
64 bytes from 8.8.8.8: seq=2 ttl=54 time=8.277 ms
64 bytes from 8.8.8.8: seq=3 ttl=54 time=8.139 ms
64 bytes from 8.8.8.8: seq=4 ttl=54 time=9.094 ms
64 bytes from 8.8.8.8: seq=5 ttl=54 time=8.285 ms
64 bytes from 8.8.8.8: seq=6 ttl=54 time=8.171 ms
64 bytes from 8.8.8.8: seq=7 ttl=54 time=8.605 ms
64 bytes from 8.8.8.8: seq=8 ttl=54 time=8.323 ms
^C
--- 8.8.8.8 ping statistics ---
9 packets transmitted, 9 packets received, 0% packet loss
round-trip min/avg/max = 8.139/8.515/9.422 ms
root@lede:/# ping 8.8.4.4
PING 8.8.4.4 (8.8.4.4): 56 data bytes
64 bytes from 8.8.4.4: seq=0 ttl=57 time=13.242 ms
64 bytes from 8.8.4.4: seq=0 ttl=57 time=14.290 ms (DUP!)
^C
--- 8.8.4.4 ping statistics ---
5 packets transmitted, 1 packets received, 1 duplicates, 80% packet loss
round-trip min/avg/max = 13.242/13.766/14.290 ms
root@lede:/#
root@lede:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
root@lede:/#
root@lede:/#


Another capture of serial console.

PC wired to LAN port of BT Home Hub 5 and attempting to ping external IP address, and try to access external website. Works Very briefly, but then eventually fails.

U-Boot 2010.06-LANTIQ-v-2.2.46 (Sep 07 2013 - 02:57:04 on tester@clean-machine)

CLOCK CPU 500M RAM 250M
secure boot
DRAM: 125 MiB
NAND: ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x0000023c0000
nand_read_bbt: Bad block at 0x000004bc0000
nand_read_bbt: Bad block at 0x000005500000
In: serial
Out: serial
Err: serial
Net: Internal phy(GE) firmware version: 0x841b
vr9 Switch

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000000100000-0x000007f80000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 126 MiB
UBI: number of good PEBs: 1009
UBI: number of bad PEBs: 3
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 7
UBI: total number of reserved PEBs: 1002
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 118/18
Volume kernel found at volume id 0
read 0 bytes from volume 0 to 80800000(buf address)
Read [1806336] bytes

Booting kernel from Legacy Image at 80800000 ...

Image Name: MIPS OpenWrt Linux-4.4.13
Created: 2016-06-19 18:16:23 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1799932 Bytes = 1.7 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

[ 0.000000] Linux version 4.4.13 (mkresin@desktop) (gcc version 5.3.0 (LEDE GCC 5.3.0 r608) ) #1 SMP Sun Jun 19 18:30:14 UTC 2016
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is BTHOMEHUBV5A - BT Home Hub 5A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Detected 1 available secondary CPU(s)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] PERCPU: Embedded 9 pages/cpu @8110c000 s8128 r8192 d20544 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 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] Writing ErrCtl register=00051da1
[ 0.000000] Readback ErrCtl register=00051da1
[ 0.000000] Memory: 122908K/131072K available (4029K kernel code, 175K rwdata, 1172K rodata, 1264K init, 222K bss, 8164K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] Setting up vectored interrupts
[ 0.000000] Setting up IPI vectored interrupts
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.007877] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042371] pid_max: default: 32768 minimum: 301
[ 0.047243] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.053787] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.064868] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.064883] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.065116] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.124580] Synchronize counters for CPU 1: done.
[ 0.129502] Brought up 2 CPUs
[ 0.137050] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.146868] pinctrl core: initialized pinctrl subsystem
[ 0.152793] NET: Registered protocol family 16
[ 0.163402] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.169453] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.282529] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.301629] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 0.307303] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.312575] IO 0x000000001ae00000..0x000000001affffff
[ 0.437371] ath9k,eeprom ath9k_eep: failed to load eeprom address
[ 0.468118] usbcore: registered new interface driver usbfs
[ 0.473732] usbcore: registered new interface driver hub
[ 0.479151] usbcore: registered new device driver usb
[ 0.484924] PCI host bridge to bus 0000:00
[ 0.488985] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.495904] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.502865] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.509685] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.518358] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.525281] PCI host bridge to bus 0000:01
[ 0.529310] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 0.536220] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 0.543181] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 0.550015] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.558099] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 0.576316] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 0.585481] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[ 0.592203] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref]
[ 0.599493] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit]
[ 0.606889] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref]
[ 0.614145] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 0.619187] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff]
[ 0.626014] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref]
[ 0.633396] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.639997] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.646366] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 0.653013] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 0.661135] clocksource: Switched to clocksource MIPS
[ 0.669163] NET: Registered protocol family 2
[ 0.674390] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.681285] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.687709] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.694206] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.700059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.706693] NET: Registered protocol family 1
[ 0.711597] gptu: totally 6 16-bit timers/counters
[ 0.716467] gptu: misc_register on minor 63
[ 0.720653] gptu: succeeded to request irq 126
[ 0.725170] gptu: succeeded to request irq 127
[ 0.729621] gptu: succeeded to request irq 128
[ 0.734171] gptu: succeeded to request irq 129
[ 0.738691] gptu: succeeded to request irq 130
[ 0.743190] gptu: succeeded to request irq 131
[ 0.749391] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 0.756839] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7A00000
[ 0.763195] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7A00000
[ 0.872824] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.896720] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.902510] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.915385] io scheduler noop registered
[ 0.919273] io scheduler deadline registered (default)
[ 0.925663] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.934570] console [ttyLTQ0] enabled
[ 0.934570] console [ttyLTQ0] enabled
[ 0.941906] bootconsole [early0] disabled
[ 0.941906] bootconsole [early0] disabled
[ 0.952847] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.957819] nand: AMD/Spansion S34ML01G1
[ 0.961734] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.971008] Bad block table found at page 65472, version 0x01
[ 0.978575] Bad block table found at page 65408, version 0x01
[ 0.983175] nand_read_bbt: bad block at 0x0000023c0000
[ 0.988091] nand_read_bbt: bad block at 0x000004bc0000
[ 0.993249] nand_read_bbt: bad block at 0x000005500000
[ 0.998457] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 1.004948] Creating 4 MTD partitions on "14000000.nand-parts":
[ 1.010855] 0x000000000000-0x0000000a0000 : "u-boot"
[ 1.017999] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[ 1.024065] 0x0000000c0000-0x000000100000 : "caldata_backup"
[ 1.030658] 0x000000100000-0x000007f80000 : "ubi"
[ 1.143965] libphy: lantiq,xrx200-mdio: probed
[ 1.213807] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 1.281783] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1)
[ 1.349767] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 1.417766] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 1.489788] eth1: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 1.497665] wdt 1f8803f0.watchdog: Init done
[ 1.507223] NET: Registered protocol family 10
[ 1.512237] NET: Registered protocol family 17
[ 1.515466] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.527925] 8021q: 802.1Q VLAN Support v1.8
[ 1.536012] ath9k,eeprom ath9k_eep: pci slot: 14
[ 1.539236] pci 0000:00:0e.0: fixup device configuration
[ 1.546193] pci 0000:00:0e.0: fixup info: [168c:002d] revision 01 class 0x028000
[ 1.552212] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
[ 1.561539] UBI: auto-attach mtd3
[ 1.563237] ubi0: attaching mtd3
[ 2.214377] ubi0: scanning is finished
[ 2.257326] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[ 2.261427] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 2.268319] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 2.274988] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 2.281797] ubi0: good PEBs: 1009, bad PEBs: 3, corrupted PEBs: 0
[ 2.287893] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[ 2.295104] ubi0: max/mean erase counter: 118/18, WL threshold: 4096, image sequence number: 255302225
[ 2.304414] ubi0: available PEBs: 0, total reserved PEBs: 1009, PEBs reserved for bad PEB handling: 17
[ 2.313862] ubi0: background thread "ubi_bgt0d" started, PID 342
[ 2.315975] block ubiblock0_1: created from ubi0:1(rootfs)
[ 2.315987] ubiblock: device ubiblock0_1 (rootfs) set to be roo[ 2.344044] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.353939] Freeing unused kernel memory: 1264K (80544000 - 80680000)
[ 3.951100] init: Console is alive
[ 3.953522] init: - watchdog -
[ 4.472070] eth0: port 4 got link
[ 6.561779] SCSI subsystem initialized
[ 6.572193] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 6.575816] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host mode
[ 7.437391] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 7.440959] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 7.448336] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 7.453855] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 7.461288] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 7.468959] hub 1-0:1.0: USB hub found
[ 7.471467] hub 1-0:1.0: 1 port detected
[ 7.480232] usbcore: registered new interface driver usb-storage
[ 7.486314] init: - preinit -
[ 7.932358] random: procd urandom read with 68 bits of entropy available
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
[ 11.243719] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 437
[ 11.443232] UBIFS (ubi0:2): recovery needed
[ 11.801003] UBIFS (ubi0:2): recovery completed
[ 11.804204] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 11.811942] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.821858] UBIFS (ubi0:2): FS size: 118573056 bytes (113 MiB, 919 LEBs), journal size 5935104 bytes (5 MiB, 46 LEBs)
[ 11.832470] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[ 11.839095] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID 3076099A-3245-4285-A490-0B4743539E0B, small LPT model
[ 11.856027] mount_root: switching to jffs2 overlay
[ 11.897871] procd: - early -
[ 11.899464] procd: - watchdog -
[ 12.653219] eth0: port 4 lost link
[ 12.660881] procd: - ubus -
[ 12.826965] procd: - init -
Please press Enter to activate this console.
[ 13.282524] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 13.292864] NET: Registered protocol family 8
[ 13.295874] NET: Registered protocol family 20
[ 13.306755] PPP generic driver version 2.4.2
[ 13.316709] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.340859] Lantiq (VRX) DSL CPE MEI driver, version 1.4.8.5, (c) 2013 Lantiq Deutschland GmbH

Lantiq CPE API Driver version: DSL CPE API V4.16.6.3
[ 13.361683]
[ 13.361683] Predefined debug level: 3
[ 13.370218] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 13.376412] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 13.447764] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 13.452164] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[ 13.457970] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 13.651198] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 13.660558] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 13.720746] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[ 14.083004] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 14.090946] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 14.106801] ath10k_pci 0000:02:00.0: firmware ver 10.2.4.97 api 5 features no-p2p crc32 f91e34f2
[ 14.114422] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 14.124647] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 14.181926] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 14.190088] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 15.005152] random: nonblocking pool is initialized
[ 15.245489] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 15.376526] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.389626] Infineon Technologies DEU driver version 2.0.0
[ 15.396609] IFX DEU DES initialized (multiblock).
[ 15.402099] IFX DEU AES initialized (multiblock).
[ 15.406267] IFX DEU ARC4 initialized (multiblock).
[ 15.410634] IFX DEU SHA1 initialized.
[ 15.414273] IFX DEU MD5 initialized.
[ 15.417979] IFX DEU SHA1_HMAC initialized.
[ 15.422756] IFX DEU MD5_HMAC initialized.
[ 15.438283] nf_conntrack version 0.5.0 (1940 buckets, 7760 max)
[ 15.504248] NET: Registered protocol family 24
[ 15.526208] xt_time: kernel timezone is -0000
[ 15.556060] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 15.566252] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[ 15.597126] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30
[ 24.895725] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 24.914918] device eth0.1 entered promiscuous mode
[ 24.918374] device eth0 entered promiscuous mode
[ 24.932462] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 25.018428] device eth1 entered promiscuous mode
[ 25.041497] eth0: port 4 got link
[ 25.049843] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 25.065324] br-lan: port 1(eth0.1) entered forwarding state
[ 25.069675] br-lan: port 1(eth0.1) entered forwarding state
[ 25.094805] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 27.073051] br-lan: port 1(eth0.1) entered forwarding state

[ 55.041221] eth1: port 5 got link
[ 58.214821] eth0: tx ring full
[ 58.257474] eth0: tx ring full
[ 69.694267] eth0: tx ring full
[ 72.660442] eth0: tx ring full
[ 93.041206] eth1: port 5 lost link

BusyBox v1.24.2 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | |
/ DE / \ | || _|| |) | _|
/
_/ LE \ |||/|| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (HEAD, r742)
________/ -----------------------------------------------------------

FS#7 - hostapd fails to start if automatic channel selection is set

dangowrt:

Trying to start hostapd fails if channel is set to 'auto' in UCI resulting in channel=acs_survey ending up in hostapd.conf.

Configuration file: /var/run/hostapd-phy0.conf
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state COUNTRY_UPDATE->ACS
wlan0: ACS-STARTED
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: interface state DISABLED->DISABLED
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started

auto-generated configuration:

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=DE
ieee80211d=1
ieee80211h=1
hw_mode=a
channel=acs_survey

ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=-6
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP0]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=topsecretpassword
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=OpenWrt
bridge=br-lan
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=78:a3:51:0d:12:f5

FS#30 - x86: SDK: host-compile of grub2 build error

dfc-d:

When using the SDK on x86_64 and building grub (e.g. for squashfs images), the host-compile phase ends with the following error:

/home/user/Build/openwrt/sdk/lede-sdk--x86-64_gcc-5.3.0_glibc-2.22.Linux-x86_64/staging_dir/host/lib/liblzma.a: error adding symbols: Archive has no index; run ranlib to add one

manually running ranlib from host on liblzma allows the build to succeed.

From the logs it appears ranlib is never run on liblzma by the grub2 build process.

ranlib is run by tools/xz compile but this doesn't seem to carry over to the SDK staging dir.

Perhaps this is a relocation issue? i.e. does ranlib need to be re-run in the SDK because the path has changed?

FS#13 - Ath9k AP stays up for connected clients but doesn't show in scan on new ones

Borromini:

After a while the AP disappears from the list of available networks when scanned. Connected clients keep seeing the AP, and connectivity remains, but new clients do not see the AP.

I have experienced this both on a TL-WR1043ND v1 (2,4 GHz ath9k) and on a WNDR3700 (5 GHz ath9k).

  • On the TP-Link, I checked 'wifi status', which reported the AP as still being up (!). However, it did not turn up in an AP scan. The logs (dmesg, logread) did not show anything amiss (since the logs go only back so far it might have been too late since I noticed it).
  • On the Netgear, my laptop (Intel AC8260 wireless) and smartphone (Xperia Z3 Compact) still saw the 5 GHz AP, and wireless worked still fine; I started my tablet (Nexus 7 2013), which did not see the AP. This happened yesterday evening (June 15th) around 22:30, but the logs do not show anything peculiar. 5 GHz AP is wlan1.

Logs for the WNDR3700:

  • [[http://ix.io/Tvi|dmesg]]
  • [[http://ix.io/Tvk|logread]]

FS#46 - LXC consoles currently broken due to procd mounting /proc,/sys,/dev etc instead of leaving it to LXC

dfc-d:

LXC hangs on the execution of init and failsafe mode produces an error that lxc is unable to read from the guest console because procd blindly mount /proc, /sys, /dev etc instead of leaving them to be mounted by LXC (in the case of console this is a bind mount to ptys which are used for host/guest communication; in addition mounting /proc, /sys, and /dev to real devices without LXC intermediary doesn't work properly because of reduced privileges/capabilities for the guest.

FS#16 - Bug with PPPoE (Lantiq)

markuznw:

Hello, there appears to be a bug in the current revision (tried up to r731) with my Lantiq Tp-Link W8970.
I'm using a PPPoE configuration with an atm bridge 8/35 for a typical 10mbit adsl connection in Italy.
From the default configuration I used to switch ptm => atm, specify the correct firmware (lantiq-vrx200-a.bin) file for annex A and change ptm0 to nas0 on the pppoe-wan device with correct details for my connection.
Then restart the network with init.d to apply the changes, that made it create the virtual nas0 interface and connected fine.

But, on last builds it doesn't seem to create the nas0 virtual interface anymore even with the same network configuration which i double checked several times.
So I've tried to recompile an old snapshot (r555) which works completely fine without any change.

Maybe something related to the rework of config files generation broke it or I am missing some configuration change necessary for it to work?

FS#45 - TL WDR3500 crash during boot up

sandrzej:

When i connect computer to lan port during router boot up i get kernel panic message. Unplugging Ethernet cable help, after boot up i can connect Ethernet cable again and everything works.

My router : wdr3500

24.146536] eth1: link down
[ 27.147764] eth1: link up (100Mbps/Full duplex)
[ 30.085542] ------------[ cut here ]------------
[ 30.090284] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[ 30.098861] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[ 30.105481] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 30.174695] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.14 #2
[ 30.180529] Stack : 803dc5a4 00000000 00000001 80430000 804272d8 80426f63 803bdca0 00000000
80493790 804255dc 00000200 00100000 00000100 800a6834 803c32dc 80420000
00000003 804255dc 803c16e8 80421c2c 00000100 800a4800 00000006 00000000
00000000 801f1000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
...
[ 30.216900] Call Trace:
[ 30.219395] [<80071a24>] show_stack+0x50/0x84
[ 30.223822] [<80081628>] warn_slowpath_common+0xa0/0xd0
[ 30.229142] [<80081684>] warn_slowpath_fmt+0x2c/0x38
[ 30.234185] [<8028758c>] dev_watchdog+0x1dc/0x260
[ 30.238983] [<800af948>] call_timer_fn.isra.5+0x24/0x80
[ 30.244288] [<800afbc4>] run_timer_softirq+0x1ac/0x1f4
[ 30.249516] [<80083a84>] __do_softirq+0x164/0x290
[ 30.254304] [<8006a678>] plat_irq_dispatch+0xbc/0xf4
[ 30.259344]
[ 30.260858] ---[ end trace 27f90472a546ac2a ]---

FS#12 - /tmp/fstab is missing

neheb:

/etc/fstab is symlinked to /tmp/fstab but the latter does not seem to be generated. this gives rise to errors like:

[ 201.946441] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 201.956456] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 202.110229] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

Note that this makes the LuCI config page misleading since this is not mounted with the defaults.

If generating the fstab file in /tmp is no go, modifying the mount call to also apply -t and -o works.

FS#24 - [regression] STP does not flow over WDS links

plntyk:

ath10k,ath9k with Kernel 4.1, Kernel 4.4: No STP flow over the 4addr client connection

Hardware: nanostation, picostation, unifiac
Setup: main link (network), backup link (wifi), midpoint

expected behaviour: fallback to backup link works

current behaviour:

  • fallback is not working w. 4.1 , 4.4
  • fallback is working w. ath9k and 3.18
  • stp flow is working w. 4.x system runnign the ap side of the link to a 3.x running the client side of the link

reported by groz on IRC

FS#33 - openvpn-polarssl crashes

dangowrt:

[ 902.550000] do_page_fault(): sending SIGSEGV to openvpn for invalid read access from 00000000 [ 902.560000] epc = 778f2410 in libc.so[77880000+91000] [ 902.570000] ra = 004299e9 in openvpn[400000+3e000]

OpenVPN config:

client
persist-key
ca /etc/luci-uploads/cbid.openvpn.xxx.ca
cert /etc/luci-uploads/cbid.openvpn.xxx.cert
comp-lzo yes
dev tap
dh dh1024.pem
key /etc/luci-uploads/cbid.openvpn.xxx.key
port 3022
remote xxx.yy
remote-cert-tls server
reneg-sec 0

The same configuration works well with openvpn-openssl

FS#49 - /sbin/validate_data from ubox doesn't handle default variable types properly

hojuruku:

See the description there blogic, seeing the mailing list is blocked to me and is open to only those who tacitly support support 1% of the population (source US CDC) oppressing the most dominant western religion using special EU "Human Rights" Commission Powers (not much longer due to brexit) https://twitter.com/VGB_OPSEC/status/746431538292629504, and seeing LEDE developers including blogic say thay don't want to use openwrt trac here is your lede bug report.

Anyway details of the bug is here.
openwrt/packages#2941

FS#32 - WNDR4300 - image (firmware) not build (r792)

build000:

# make -j8 (...) make[2] package/install make[3] -C package/system/opkg host-install make[3] package/preconfig make[2] target/install make[3] -C target/linux install make[6] -C target/linux/ar71xx/image legacy-images-prepare make[6] -C target/linux/ar71xx/image legacy-images make -r world: build failed. Please re-run make with -j1 V=s to see what's going on /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/include/toplevel.mk:193: polecenia dla obiektu 'world' nie powiodล‚y siฤ™ make: *** [world] Bล‚ฤ…d 1

make -j1 V=s

(...)
Makefile:102: recipe for target 'image_prepare' failed
make[5]: [image_prepare] Error 1 (ignored)
export MAKEFLAGS= ;make -w legacy-images-prepare
make[6]: Entering directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux/ar71xx/image'
make[6]: Nothing to be done for 'legacy-images-prepare'.
make[6]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux/ar71xx/image'

Use symbolic permissions to avoid clobbering SUID/SGID/sticky bits

find /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx -type f -not -perm /0100 -not -name 'ssh_host*' -not -name 'shadow' -print0 | xargs -r -0 chmod u+rw,g+r,o+r
find /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx -type f -perm /0100 -print0 | xargs -r -0 chmod u+rwx,g+rx,o+rx
find /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx -type d -print0 | xargs -r -0 chmod u+rwx,g+rx,o+rx
install -d -m0755 /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/tmp /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/overlay
chmod 1777 /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/tmp
cp /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux.elf /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-vmlinux.elf
cp /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-vmlinux.bin
dd if=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux.bin.lzma of=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-vmlinux.lzma bs=65536 conv=sync
21+1 records in
22+0 records out
1441792 bytes (1.4 MB, 1.4 MiB) copied, 0.00384363 s, 375 MB/s
dd if=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux.bin.gz of=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-vmlinux.gz bs=65536 conv=sync
30+1 records in
31+0 records out
2031616 bytes (2.0 MB, 1.9 MiB) copied, 0.00490435 s, 414 MB/s
mkimage -A mips -O linux -T kernel -a 0x80060000 -C gzip -e 0x80060000 -n 'MIPS OpenWrt Linux-4.4.13' -d /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux.bin.gz /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-uImage-gzip.bin
Image Name: MIPS OpenWrt Linux-4.4.13
Created: Fri Jun 24 13:59:36 2016
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 2027658 Bytes = 1980.13 kB = 1.93 MB
Load Address: 80060000
Entry Point: 80060000
mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma -e 0x80060000 -n 'MIPS OpenWrt Linux-4.4.13' -d /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux.bin.lzma /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-uImage-lzma.bin
Image Name: MIPS OpenWrt Linux-4.4.13
Created: Fri Jun 24 13:59:36 2016
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1431437 Bytes = 1397.89 kB = 1.37 MB
Load Address: 80060000
Entry Point: 80060000
cp /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/loader-generic.elf /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-vmlinux-lzma.elf
mkdir -p /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/host/bin/mksquashfs4 /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/root.squashfs -nopad -noappend -root-owned -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2 -b 256k -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1' -processors 1 -fixed-time 1466776776
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/dev".
Ignoring, exclude it (-e/-ef) to override.
[=========================================================================================================================] 2201/2201 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments, no xattrs
duplicates are removed
Filesystem size 10172.50 Kbytes (9.93 Mbytes)
33.21% of uncompressed filesystem size (30633.02 Kbytes)
Inode table size 21596 bytes (21.09 Kbytes)
22.61% of uncompressed inode table size (95502 bytes)
Directory table size 27596 bytes (26.95 Kbytes)
45.46% of uncompressed directory table size (60698 bytes)
Number of duplicate files found 90
Number of inodes 2772
Number of files 2160
Number of fragments 64
Number of symbolic links 460
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 151
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
tar -cp --numeric-owner --owner=0 --group=0 --sort=name --mtime="@1466776776" -C /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/root-ar71xx/ . | gzip -9n > /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/bin/targets/ar71xx/nand/lede-ar71xx-nand-device-wndr4300-rootfs.tar.gz
export MAKEFLAGS= ;make -w legacy-images
make[6]: Entering directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux/ar71xx/image'
cp /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/vmlinux /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/host/bin/patch-cmdline /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4 "board=WNDR3700_V4 console=ttyS0,115200 mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubi),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved)"
search space used is default of 16KB
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/host/bin/lzma e /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4 -lc1 -lp2 -pb2 -d20 /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4.bin.lzma

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
dd if=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4.bin.lzma of=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4.bin.tmp bs=$$((2097152-131072-264-1)) count=1 conv=sync
bash: -c: line 0: syntax error near unexpected token (' bash: -c: line 0: dd if=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4.bin.lzma of=/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_nand/tmp/vmlinux-wndr3700v4.bin.tmp bs=$$((2097152-131072-2
64-1)) count=1 conv=sync'
Makefile:102: recipe for target 'legacy-image-WNDR4300' failed
make[6]: *** [legacy-image-WNDR4300] Error 1
make[6]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux/ar71xx/image'
Makefile:102: recipe for target 'legacy-images-make' failed
make[5]: *** [legacy-images-make] Error 2
make[5]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux/ar71xx/image'
Makefile:24: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux/ar71xx'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/target/linux'
target/Makefile:21: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300'
target/Makefile:17: recipe for target '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.target_install' failed
make[1]: *** [/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300'
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/include/toplevel.mk:193: polecenia dla obiektu 'world' nie powiodล‚y siฤ™
make: *** [world] Bล‚ฤ…d 2

FS#39 - cns3xxx: ath9k crash caught on boot

xback:

Revision: f576ff0
Hardware used: Gateworks Laguna GW2388
WiFi HW: 4x UBNT SR71-15

Bug: Crash on boot / Kernel Oops (NULL deref.)
Repro rate: Very low

Dump:

[ 35.040000] wlan0: Trigger new scan to find an IBSS to join
[ 37.040000] wlan3: Trigger new scan to find an IBSS to join
[ 37.050000] wlan1: Trigger new scan to find an IBSS to join
[ 37.050000] wlan2: Trigger new scan to find an IBSS to join
[ 37.710000] random: nonblocking pool is initialized
[ 39.040000] wlan0: Trigger new scan to find an IBSS to join
[ 40.440000] wlan0: Creating new IBSS network, BSSID f8:79:77:57:aa:7d
[ 41.040000] wlan3: Trigger new scan to find an IBSS to join
[ 41.050000] wlan1: Trigger new scan to find an IBSS to join
[ 41.050000] wlan2: Trigger new scan to find an IBSS to join
[ 42.500000] wlan1: Selected IBSS BSSID f8:79:77:57:aa:7d based on configured SSID
[ 42.530000] wlan2: Selected IBSS BSSID f8:79:77:57:aa:7d based on configured SSID
[ 42.550000] wlan3: Selected IBSS BSSID f8:79:77:57:aa:7d based on configured SSID
[ 42.560000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 42.560000] pgd = c0004000
[ 42.560000] [00000000] *pgd=00000000
[ 42.560000] Internal error: Oops: 80000007 [#1] SMP ARM
[ 42.560000] Modules linked in: dummy ath9k ath9k_common qcserial pppoe ppp_async option iptable_nat ath9k_hw ath usb_wwan sierra pppox ppp_generic nf_nat_ipv4 nf_conntrack_netlink nf_conntrack_ipv6 nf]
[ 42.560000] CPU: 0 PID: 14 Comm: kworker/u4:1 Not tainted 4.4.14 #2
[ 42.560000] Hardware name: Gateworks Corporation Laguna Platform
[ 42.560000] Workqueue: phy2 ieee80211_iface_work [mac80211]
[ 42.560000] task: cf837640 ti: cf894000 task.ti: cf894000
[ 42.560000] PC is at 0x0
[ 42.560000] LR is at handle_edge_irq+0x98/0x1b4
[ 42.560000] pc : [<00000000>] lr : [] psr: 60000193
[ 42.560000] sp : cf895938 ip : cf895938 fp : cf89594c
[ 42.560000] r10: fb005100 r9 : cf808190 r8 : c04f0524
[ 42.560000] r7 : c04fbff4 r6 : 04000000 r5 : cfa5e250 r4 : cfa5e240
[ 42.560000] r3 : 00000000 r2 : cfa21950 r1 : 00000000 r0 : cfa5e250
[ 42.560000] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 42.560000] Control: 00c5787d Table: 2de1400a DAC: 00000055
[ 42.560000] Process kworker/u4:1 (pid: 14, stack limit = 0xcf894190)
[ 42.560000] Stack: (0xcf895938 to 0xcf896000)
[ 42.560000] 5920: 0000001a 00000001
[ 42.560000] 5940: cf89595c cf895950 c006155c c0065264 cf895984 cf895960 c00249b0 c0061540
[ 42.560000] 5960: c04dcf4c 0000002c 00000000 00000001 cf802000 00000000 cf895994 cf895988
[ 42.560000] 5980: c006155c c0024938 cf8959bc cf895998 c006185c c0061540 fb00410c cf8959f0
[ 42.560000] 59a0: c04f05a0 fb004100 c04e4534 00000000 cf8959ec cf8959c0 c00093d4 c00617dc
[ 42.560000] 59c0: bf47aa90 c00134e4 60000013 ffffffff cf895a24 60000013 cdc11ea8 40000013
[ 42.560000] 59e0: cf895a4c cf8959f0 c000a380 c0009384 cdc11ea4 60000013 00000000 00005605
[ 42.560000] 5a00: d4e8402c cdc114e0 00023f60 cdc11ea4 60000013 cdc11ea8 40000013 cf895a4c
[ 42.560000] 5a20: cf895a50 cf895a40 bf47aa90 c00134e4 60000013 ffffffff c0020464 c00233b8
[ 42.560000] 5a40: cf895a74 cf895a50 bf47aa90 c00134c4 ce39a010 ce39a038 00023f60 00000002
[ 42.560000] 5a60: bf47aa34 cdc11ea8 cf895aa4 cf895a78 bf40e5d0 bf47aa40 cf895aa4 cdc114e0
[ 42.560000] 5a80: 00000001 cdc114e0 00000001 ce39a010 cdc11ea0 ce39a038 cf895ad4 cf895aa8
[ 42.560000] 5aa0: bf47d83c bf40e478 bf47d5b4 cdc11e70 cdc11e74 c04dc154 00000000 cf895ad8
[ 42.560000] 5ac0: c04fc520 cf894000 cf895b0c cf895ad8 c002ac94 bf47d5c0 cf895b0c 00000000
[ 42.560000] 5ae0: c0294168 00000000 00000006 c04e4058 c04e404c 40000003 00000101 cf894000
[ 42.560000] 5b00: cf895b54 cf895b10 c002ae18 c002ac00 00000000 00000000 04208060 ffff9b70
[ 42.560000] 5b20: 0000000a cf895b10 bf3822ec 20000013 ce1f1e78 ce1f1e8c 00000000 00000000
[ 42.560000] 5b40: ce0ec010 ce0ec408 cf895b6c cf895b58 c002affc c002ad74 00000200 ce1f1e78
[ 42.560000] 5b60: cf895b84 cf895b70 c002b098 c002afd0 ce1f14e0 ce1f1e78 cf895b94 cf895b88
[ 42.560000] 5b80: c00139c4 c002b014 cf895bdc cf895b98 bf47e088 c001399c bf47a8e4 c00134c4
[ 42.560000] 5ba0: ce0ec038 ce1f1eac ce1f300c ce1f293c cf895bdc ce1f14e0 ce0ec010 ce0ec408
[ 42.560000] 5bc0: ce0ec010 ce1f28e8 ce0ec0dc ce1f0b60 cf895bfc cf895be0 bf47e120 bf47decc
[ 42.560000] 5be0: ce1f14e0 ce1f24e0 000003f8 ce0ec010 cf895c44 cf895c00 bf486f50 bf47e0ec
[ 42.560000] 5c00: ce1f1ea8 20000013 ce0ec010 ce0ec038 ce1f9c20 0000000e cf895c44 ce1f14e0
[ 42.560000] 5c20: ce1f0b60 00000042 ce1f1eb0 ce1f28e8 ce0ec010 00000001 cf895c7c cf895c48
[ 42.560000] 5c40: bf47d044 bf486d84 cf895c80 cf895c68 bf386eac ce1f0b60 00000040 0000001e
[ 42.560000] 5c60: ce1f9c20 00000000 cf895d70 00000001 cf895cc4 cf895c80 bf358658 bf47ce30
[ 42.560000] 5c80: 00000001 ce1f0b60 cf895cb cf895c98 ce1f9c20 00000002 0000167b 00000000
[ 42.560000] 5ca0: cfbaede0 ce1f0b60 00000000 cfbaee10 ce1f0b60 ce1f129c cf895ce4 cf895cc8
[ 42.560000] 5cc0: bf386b04 bf3583f8 cfbaede0 ce1f0b60 00000000 ce1f0b60 cf895d04 cf895ce8
[ 42.560000] 5ce0: bf38712c bf386ab0 ce1f1290 ce398440 00000000 ce1f0b60 cf895d34 cf895d08
[ 42.560000] 5d00: bf388da0 bf387110 cf837640 ce398440 cf895d70 ce1f0b60 ce70b114 cf895df8
[ 42.560000] 5d20: 00000000 ce70b12d cf895dc4 cf895d38 bf36731c bf388b90 00000000 00000001
[ 42.560000] 5d40: c051f784 00000000 c051f778 c051f788 60000013 00000000 00000012 ce1f11b4
[ 42.560000] 5d60: 00000064 ce1f9c20 00000003 c04ec640 ce1f9c20 00000002 0000167b 00000000
[ 42.560000] 5d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ce70b11c
[ 42.560000] 5da0: ce398440 00000007 00000064 ce0ec178 00000015 ce70b12d cf895e34 cf895dc8
[ 42.560000] 5dc0: bf39b9bc bf367120 00000015 00000012 001c2149 00000000 00000000 00000200
[ 42.560000] 5de0: ce70b11c ce70b12d 00000008 0000006c 00000000 00000005 ce1f9c20 00000002
[ 42.560000] 5e00: 0000167b 00000000 c005de6c ce70b11c ce398440 ce1f0b60 ce39894a 00000200
[ 42.560000] 5e20: 00000100 ce39846c cf895e9c cf895e38 bf368af4 bf39b784 00000010 00000002
[ 42.560000] 5e40: 00000000 c00c69e4 00000001 ce398910 ce096780 cdc626c0 ce398844 ce398854
[ 42.560000] 5e60: ce1f0b60 ce398440 cf895e84 cf895e78 cf895e9c 00000000 cdc626c0 ce398844
[ 42.560000] 5e80: ce398854 ce1f0b60 ce398440 00000000 cf895eec cf895ea0 bf36a380 bf3689b4
[ 42.560000] 5ea0: ce09a470 00000001 cf895ec4 cf895eb8 bf381898 c0039560 ce628600 00000000
[ 42.560000] 5ec0: cf895eec ce398844 cf882000 cf802800 00000000 ce628d00 00000000 00000000
[ 42.560000] 5ee0: cf895f24 cf895ef0 c003b510 bf36a03c 00000088 cf802814 cf802800 cf882000
[ 42.560000] 5f00: cf882018 cf802800 00000088 cf802814 cf802800 00000000 cf895f5c cf895f28
[ 42.560000] 5f20: c003b9c4 c003b2f0 c003b6a8 cf802964 00000000 00000000 cf883000 cf882000
[ 42.560000] 5f40: c003b6a8 00000000 00000000 00000000 cf895fac cf895f60 c00408b8 c003b6b4
[ 42.560000] 5f60: 00000000 00000000 00000000 cf882000 00000000 00000000 cf895f78 cf895f78
[ 42.560000] 5f80: 00000000 00000000 cf895f88 cf895f88 cf883000 c00407d0 00000000 00000000
[ 42.560000] 5fa0: 00000000 cf895fb0 c0009ae8 c00407dc 00000000 00000000 00000000 00000000
[ 42.560000] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 42.560000] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 7c9d3575 7d574555
[ 42.560000] Backtrace:
[ 42.560000] [] (handle_edge_irq) from [] (generic_handle_irq+0x28/0x3c)
[ 42.560000] r5:00000001 r4:0000001a
[ 42.560000] [] (generic_handle_irq) from [] (cns3xxx_gpio_irq_handler+0x84/0xa8)
[ 42.560000] [] (cns3xxx_gpio_irq_handler) from [] (generic_handle_irq+0x28/0x3c)
[ 42.560000] r9:00000000 r8:cf802000 r7:00000001 r6:00000000 r5:0000002c r4:c04dcf4c
[ 42.560000] [] (generic_handle_irq) from [] (__handle_domain_irq+0x8c/0xb8)
[ 42.560000] [] (__handle_domain_irq) from [] (gic_handle_irq+0x5c/0xa4)
[ 42.560000] r9:00000000 r8:c04e4534 r7:fb004100 r6:c04f05a0 r5:cf8959f0 r4:fb00410c
[ 42.560000] [] (gic_handle_irq) from [] (__irq_svc+0x40/0x54)
[ 42.560000] Exception stack(0xcf8959f0 to 0xcf895a38)
[ 42.560000] 59e0: cdc11ea4 60000013 00000000 00005605
[ 42.560000] 5a00: d4e8402c cdc114e0 00023f60 cdc11ea4 60000013 cdc11ea8 40000013 cf895a4c
[ 42.560000] 5a20: cf895a50 cf895a40 bf47aa90 c00134e4 60000013 ffffffff
[ 42.560000] r10:40000013 r9:cdc11ea8 r8:60000013 r7:cf895a24 r6:ffffffff r5:60000013
[ 42.560000] r4:c00134e4 r3:bf47aa90
[ 42.560000] [] (_raw_spin_unlock_irqrestore) from [] (ath9k_iowrite32+0x5c/0x7c [ath9k])
[ 42.560000] [] (ath9k_iowrite32 [ath9k]) from [] (ath9k_hw_enable_interrupts+0x164/0x210 [ath9k_hw])
[ 42.560000] r9:cdc11ea8 r8:bf47aa34 r7:00000002 r6:00023f60 r5:ce39a038 r4:ce39a010
[ 42.560000] [] (ath9k_hw_enable_interrupts [ath9k_hw]) from [] (ath9k_tasklet+0x288/0x2f0 [ath9k])
[ 42.560000] r8:ce39a038 r7:cdc11ea0 r6:ce39a010 r5:00000001 r4:cdc114e0
[ 42.560000] [] (ath9k_tasklet [ath9k]) from [] (tasklet_action+0xa0/0x118)
[ 42.560000] r10:cf894000 r9:c04fc520 r8:cf895ad8 r7:00000000 r6:c04dc154 r5:cdc11e74
[ 42.560000] r4:cdc11e70 r3:bf47d5b4
[ 42.560000] [] (tasklet_action) from [] (__do_softirq+0xb0/0x204)
[ 42.560000] r10:cf894000 r9:00000101 r8:40000003 r7:c04e404c r6:c04e4058 r5:00000006
[ 42.560000] r4:00000000
[ 42.560000] [] (__do_softirq) from [] (do_softirq.part.2+0x38/0x44)
[ 42.560000] r10:ce0ec408 r9:ce0ec010 r8:00000000 r7:00000000 r6:ce1f1e8c r5:ce1f1e78
[ 42.560000] r4:20000013
[ 42.560000] [] (do_softirq.part.2) from [] (__local_bh_enable_ip+0x90/0xd0)
[ 42.560000] r5:ce1f1e78 r4:00000200
[ 42.560000] [] (__local_bh_enable_ip) from [] (_raw_spin_unlock_bh+0x34/0x38)
[ 42.560000] r5:ce1f1e78 r4:ce1f14e0
[ 42.560000] [] (_raw_spin_unlock_bh) from [] (ath9k_calculate_summary_state+0x654/0x6ac [ath9k])
[ 42.560000] [] (ath9k_calculate_summary_state [ath9k]) from [] (ath_reset+0x40/0x54 [ath9k])
[ 42.560000] r10:ce1f0b60 r9:ce0ec0dc r8:ce1f28e8 r7:ce0ec010 r6:ce0ec408 r5:ce0ec010
[ 42.560000] r4:ce1f14e0
[ 42.560000] [] (ath_reset [ath9k]) from [] (ath_chanctx_set_channel+0x1d8/0x284 [ath9k])
[ 42.560000] r7:ce0ec010 r6:000003f8 r5:ce1f24e0 r4:ce1f14e0
[ 42.560000] [] (ath_chanctx_set_channel [ath9k]) from [] (ath9k_config+0x220/0x250 [ath9k])
[ 42.560000] r10:00000001 r9:ce0ec010 r8:ce1f28e8 r7:ce1f1eb0 r6:00000042 r5:ce1f0b60
[ 42.560000] r4:ce1f14e0
[ 42.560000] [] (ath9k_config [ath9k]) from [] (ieee80211_hw_config+0x26c/0x2a0 [mac80211])
[ 42.560000] r10:00000001 r9:cf895d70 r8:00000000 r7:ce1f9c20 r6:0000001e r5:00000040
[ 42.560000] r4:ce1f0b60
[ 42.560000] [] (ieee80211_hw_config [mac80211]) from [] (ieee80211_iter_chan_contexts_atomic+0x564/0x63c [mac80211])
[ 42.560000] r8:ce1f129c r7:ce1f0b60 r6:cfbaee10 r5:00000000 r4:ce1f0b60
[ 42.560000] [] (ieee80211_iter_chan_contexts_atomic [mac80211]) from [] (ieee80211_recalc_chanctx_min_def+0x3ec/0x430 [mac80211])
[ 42.560000] r7:ce1f0b60 r6:00000000 r5:ce1f0b60 r4:cfbaede0
[ 42.560000] [] (ieee80211_recalc_chanctx_min_def [mac80211]) from [] (ieee80211_vif_use_channel+0x21c/0x23c [mac80211])
[ 42.560000] r7:ce1f0b60 r6:00000000 r5:ce398440 r4:ce1f1290
[ 42.560000] [] (ieee80211_vif_use_channel [mac80211]) from [] (__ieee80211_sta_join_ibss+0x208/0x118c [mac80211])
[ 42.560000] r10:ce70b12d r9:00000000 r8:cf895df8 r7:ce70b114 r6:ce1f0b60 r5:cf895d70
[ 42.560000] r4:ce398440 r3:cf837640
[ 42.560000] [] (__ieee80211_sta_join_ibss [mac80211]) from [] (ieee80211_sta_join_ibss+0x244/0x250 [mac80211])
[ 42.560000] r10:ce70b12d r9:00000015 r8:ce0ec178 r7:00000064 r6:00000007 r5:ce398440
[ 42.560000] r4:ce70b11c
[ 42.560000] [] (ieee80211_sta_join_ibss [mac80211]) from [] (ieee80211_ibss_work+0x14c/0x4a0 [mac80211])
[ 42.560000] r10:ce39846c r9:00000100 r8:00000200 r7:ce39894a r6:ce1f0b60 r5:ce398440
[ 42.560000] r4:ce70b11c
[ 42.560000] [] (ieee80211_ibss_work [mac80211]) from [] (ieee80211_iface_work+0x350/0x380 [mac80211])
[ 42.560000] r10:00000000 r9:ce398440 r8:ce1f0b60 r7:ce398854 r6:ce398844 r5:cdc626c0
[ 42.560000] r4:00000000
[ 42.560000] [] (ieee80211_iface_work [mac80211]) from [] (process_one_work+0x22c/0x3c4)
[ 42.560000] r10:00000000 r9:00000000 r8:ce628d00 r7:00000000 r6:cf802800 r5:cf882000
[ 42.560000] r4:ce398844
[ 42.560000] [] (process_one_work) from [] (worker_thread+0x31c/0x548)
[ 42.560000] r10:00000000 r9:cf802800 r8:cf802814 r7:00000088 r6:cf802800 r5:cf882018
[ 42.560000] r4:cf882000
[ 42.560000] [] (worker_thread) from [] (kthread+0xe8/0xf8)
[ 42.560000] r10:00000000 r9:00000000 r8:00000000 r7:c003b6a8 r6:cf882000 r5:cf883000
[ 42.560000] r4:00000000
[ 42.560000] [] (kthread) from [] (ret_from_fork+0x14/0x2c)
[ 42.560000] r7:00000000 r6:00000000 r5:c00407d0 r4:cf883000
[ 42.560000] Code: bad PC value
[ 42.560000] ---[ end trace 1635424e88052ac4 ]---
[ 42.560000] Kernel panic - not syncing: Fatal exception in interrupt
[ 42.560000] CPU1: stopping
[ 42.560000] CPU: 1 PID: 27 Comm: kworker/u4:2 Tainted: G D 4.4.14 #2
[ 42.560000] Hardware name: Gateworks Corporation Laguna Platform
[ 42.560000] Workqueue: phy3 ieee80211_iface_work [mac80211]
[ 42.560000] Backtrace:
[ 42.560000] [] (dump_backtrace) from [] (show_stack+0x18/0x1c)
[ 42.560000] r7:00000000 r6:c04f02e8 r5:60000193 r4:00000000
[ 42.560000] [] (show_stack) from [] (dump_stack+0x98/0xb4)
[ 42.560000] [] (dump_stack) from [] (handle_IPI+0xfc/0x1b8)
[ 42.560000] r7:cf925b48 r6:00000000 r5:00000001 r4:c04fbe58
[ 42.560000] [] (handle_IPI) from [] (gic_handle_irq+0x88/0xa4)
[ 42.560000] r7:fb004100 r6:c04f05a0 r5:cf925b48 r4:fb00410c
[ 42.560000] [] (gic_handle_irq) from [] (__irq_svc+0x40/0x54)
[ 42.560000] Exception stack(0xcf925b48 to 0xcf925b90)
[ 42.560000] 5b40: cfa5e2a0 40000013 00000000 00000002 cdc114e0 cdc11e78
[ 42.560000] 5b60: ce39a318 ce39a010 cdc128e8 ce39a010 ce39a318 cf925bdc cf925b28 cf925b98
[ 42.560000] 5b80: c0061f9c bf47df20 20000013 ffffffff
[ 42.560000] r10:ce39a318 r9:ce39a010 r8:cdc128e8 r7:cf925b7c r6:ffffffff r5:20000013
[ 42.560000] r4:bf47df20 r3:c0061f9c
[ 42.560000] [] (ath9k_calculate_summary_state [ath9k]) from [] (ath_reset+0x40/0x54 [ath9k])
[ 42.560000] r10:cdc10b60 r9:ce39a0dc r8:cdc128e8 r7:ce39a010 r6:ce39a318 r5:ce39a010
[ 42.560000] r4:cdc114e0
[ 42.560000] [] (ath_reset [ath9k]) from [] (ath_chanctx_set_channel+0x1d8/0x284 [ath9k])
[ 42.560000] r7:ce39a010 r6:00000308 r5:cdc124e0 r4:cdc114e0
[ 42.560000] [] (ath_chanctx_set_channel [ath9k]) from [] (ath9k_config+0x88/0x250 [ath9k])
[ 42.560000] r10:00000001 r9:ce39a010 r8:cdc128e8 r7:cdc11eb0 r6:00000100 r5:cdc10b60
[ 42.560000] r4:cdc114e0
[ 42.560000] [] (ath9k_config [ath9k]) from [] (ieee80211_hw_config+0x26c/0x2a0 [mac80211])
[ 42.560000] r10:00000001 r9:cf925d70 r8:00000000 r7:ce1fc810 r6:00000017 r5:00000100
[ 42.560000] r4:cdc10b60
[ 42.560000] [] (ieee80211_hw_config [mac80211]) from [] (ieee80211_iter_chan_contexts_atomic+0x53c/0x63c [mac80211])
[ 42.560000] r8:cdc1129c r7:cdc10b60 r6:ce0b5540 r5:cdc10b60 r4:cdc10b60
[ 42.560000] [] (ieee80211_iter_chan_contexts_atomic [mac80211]) from [] (ieee80211_recalc_chanctx_min_def+0x3ec/0x430 [mac80211])
[ 42.560000] r7:cdc10b60 r6:00000000 r5:cdc10b60 r4:ce0b5540
[ 42.560000] [] (ieee80211_recalc_chanctx_min_def [mac80211]) from [] (ieee80211_vif_use_channel+0x21c/0x23c [mac80211])
[ 42.560000] r7:cdc10b60 r6:00000000 r5:ce39e440 r4:cdc11290
[ 42.560000] [] (ieee80211_vif_use_channel [mac80211]) from [] (__ieee80211_sta_join_ibss+0x208/0x118c [mac80211])
[ 42.560000] r10:cf2a75ad r9:00000000 r8:cf925df8 r7:cf2a7594 r6:cdc10b60 r5:cf925d70
[ 42.560000] r4:ce39e440 r3:cf89ae80
[ 42.560000] [] (__ieee80211_sta_join_ibss [mac80211]) from [] (ieee80211_sta_join_ibss+0x244/0x250 [mac80211])
[ 42.560000] r10:cf2a75ad r9:00000015 r8:ce39a178 r7:00000064 r6:00000007 r5:ce39e440
[ 42.560000] r4:cf2a759c
[ 42.560000] [] (ieee80211_sta_join_ibss [mac80211]) from [] (ieee80211_ibss_work+0x14c/0x4a0 [mac80211])
[ 42.560000] r10:ce39e46c r9:00000100 r8:00000200 r7:ce39e94a r6:cdc10b60 r5:ce39e440
[ 42.560000] r4:cf2a759c
[ 42.560000] [] (ieee80211_ibss_work [mac80211]) from [] (ieee80211_iface_work+0x350/0x380 [mac80211])
[ 42.560000] r10:00000000 r9:ce39e440 r8:cdc10b60 r7:ce39e854 r6:ce39e844 r5:ce298d80
[ 42.560000] r4:00000000
[ 42.560000] [] (ieee80211_iface_work [mac80211]) from [] (process_one_work+0x22c/0x3c4)
[ 42.560000] r10:00000000 r9:00000000 r8:ce3f0400 r7:00000000 r6:cf802800 r5:cf882060
[ 42.560000] r4:ce39e844
[ 42.560000] [] (process_one_work) from [] (worker_thread+0x31c/0x548)
[ 42.560000] r10:00000000 r9:cf802800 r8:cf802814 r7:00000088 r6:cf802800 r5:cf882078
[ 42.560000] r4:cf882060
[ 42.560000] [] (worker_thread) from [] (kthread+0xe8/0xf8)
[ 42.560000] r10:00000000 r9:00000000 r8:00000000 r7:c003b6a8 r6:cf882060 r5:cf883000
[ 42.560000] r4:00000000
[ 42.560000] [] (kthread) from [] (ret_from_fork+0x14/0x2c)
[ 42.560000] r7:00000000 r6:00000000 r5:c00407d0 r4:cf883000
[ 42.560000] Rebooting in 3 seconds..

FS#9 - Kernel panic with SQM scripts

Ansuel:

When i select a script different than simplest.qos in the sqm list i get the log full of kernel panic message
If you need more information tell me.
To reproduce i have a wdr3600
just install the sqm package and select the script and watch the log
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147796] ------------[ cut here ]------------
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147817] WARNING: CPU: 0 PID: 20621 at net/sched/sch_hfsc.c:1426 0x871e9e6c()
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147825] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCMon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148143] CPU: 0 PID: 20621 Comm: dropbear Tainted: G W 4.4.12 #1
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] Stack : 803dc584 00000000 00000001 80430000 8782a080 80426f63 803bdcb0 0000508d
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 80493790 873e9f9 873e9c68 0000000a 00000100 800a6854 803c32bc 80420000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000003 873e9f9 803c16c8 8500fad4 00000100 800a4820 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] ...
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148240] Call Trace:
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148255] [<80071a94>] show_stack+0x50/0x84
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148271] [<80081628>] warn_slowpath_common+0xa0/0xd0
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148286] [<800816dc>] warn_slowpath_null+0x18/0x24
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148315] [<871e9e6c>] 0x871e9e6c
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148326]
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148335] ---[ end trace ce6ca764afdc3e14 ]---

here the log i get a lot

FS#47 - ath9k TX power

lucize:

pci-e wifi adapter, used to work up to 24 dBm now is only working at 16 dBm, tried the reghack and the tx power is the same, in dmesg I see only CN at the country despite anything I'm trying to selec.

DISTRIB_ID='LEDE'
DISTRIB_RELEASE='HEAD'
DISTRIB_REVISION='r930'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='x86/64'
DISTRIB_DESCRIPTION='LEDE Reboot r930'
DISTRIB_TAINTS='no-all'

02:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)

root@OpenWrt:~# iw list Wiphy phy0 max # scan SSIDs: 4 max scan IEs length: 2257 bytes max # sched scan SSIDs: 0 max # match sets: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports AP-side u-APSD. Device supports T-DLS. Available Antennas: TX 0x3 RX 0x3 Configured Antennas: TX 0x3 RX 0x3 Supported interface modes: * IBSS * managed * AP * AP/VLAN * WDS * monitor * mesh point * P2P-client * P2P-GO * outside context of a BSS Band 1: Capabilities: 0x11ee HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT TX/RX MCS rate indexes supported: 0-15 Frequencies: * 2412 MHz [1] (16.0 dBm) * 2417 MHz [2] (16.0 dBm) * 2422 MHz [3] (16.0 dBm) * 2427 MHz [4] (16.0 dBm) * 2432 MHz [5] (16.0 dBm) * 2437 MHz [6] (16.0 dBm) * 2442 MHz [7] (16.0 dBm) * 2447 MHz [8] (16.0 dBm) * 2452 MHz [9] (16.0 dBm) * 2457 MHz [10] (16.0 dBm) * 2462 MHz [11] (16.0 dBm) * 2467 MHz [12] (16.0 dBm) * 2472 MHz [13] (16.0 dBm) * 2484 MHz [14] (disabled) [ 6.599966] ath: phy0: ASPM enabled: 0x42 [ 6.604047] ath: EEPROM regdomain: 0x809c [ 6.604050] ath: EEPROM indicates we should expect a country code [ 6.604054] ath: doing EEPROM country->regdmn map search [ 6.604057] ath: country maps to regdmn code: 0x52 [ 6.604061] ath: Country alpha2 being used: CN [ 6.604063] ath: Regpair used: 0x52 [ 6.616274] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 6.617350] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffc90000540000, irq=17

Argument "4.2.1" isn't numeric in numeric ge (>=) at ./scripts/feeds line 25

make -v:

GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$mkver[2] >= "3.81" or $valid_mk = 0;

This line assumes mkver[2] to be a number, which fails in this case.

FS#34 - WRT160NL wireless issues

gregecslo:

Hi!

When using latest LEDE r813 wireless is unstable on this router.
When I do a speedtest or 2 wifi disconnects and this is what is in syslog:

Tue Jun 28 17:01:49 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:01:49 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:01:50 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:01:51 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:01:52 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:01:54 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:00 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:01 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:05 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: disassociated
Tue Jun 28 17:02:05 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:06 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jun 28 17:02:10 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:15 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:20 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:25 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:30 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:35 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:40 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:45 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:50 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:02:55 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:00 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:04 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:05 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:10 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:14 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:15 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:20 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:25 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:29 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:29 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:29 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:30 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: Could not set STA to kernel driver
Tue Jun 28 17:03:30 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:30 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:30 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:31 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:31 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:31 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:31 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:32 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:36 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:41 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:46 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:51 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:03:56 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:01 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:06 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:11 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:16 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:21 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:26 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:31 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:36 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:41 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:44 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:46 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:51 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:04:53 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: disconnected due to excessive missing ACKs
Tue Jun 28 17:04:56 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:02 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:07 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:12 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:17 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:22 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:23 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jun 28 17:05:27 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:32 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:37 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:42 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:47 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:52 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:05:57 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:06:02 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:06:07 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:06:12 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:06:17 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:06:34 2016 daemon.notice hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: did not acknowledge authentication response
Tue Jun 28 17:07:05 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: disassociated due to inactivity
Tue Jun 28 17:07:06 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jun 28 17:07:13 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: disassociated due to inactivity
Tue Jun 28 17:07:14 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jun 28 17:08:31 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: disassociated due to inactivity
Tue Jun 28 17:08:32 2016 daemon.info hostapd: wlan0: STA 00:00:00:00:00:00 (masked) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

All clients disconnect.

If I do "wifi" in console or reboot it it works until next speedtest...

This doesn`t happen with any Openwrt build...

Some info from kernel log if it helps:

[ 0.000000] Linux version 4.4.14 (buildbot@builds) (gcc version 5.3.0 (LEDE GCC 5.3.0 r810) ) #2 Tue Jun 28 13:00:49 UTC 2016 [ 0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9130 rev 2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] No valid device tree found, continuing without [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 804265d0, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 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: 8128 [ 0.000000] Kernel command line: board=WRT160NL console=ttyS0,115200 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] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 27544K/32768K available (3058K kernel code, 162K rwdata, 768K rodata, 292K init, 205K bss, 5224K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.007882] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.090589] pid_max: default: 32768 minimum: 301 [ 0.095363] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.101977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.112343] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.123796] NET: Registered protocol family 16 [ 0.129984] MIPS: machine is Linksys WRT160NL [ 0.686373] clocksource: Switched to clocksource MIPS [ 0.693134] NET: Registered protocol family 2 [ 0.698783] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.705759] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.712176] TCP: Hash tables configured (established 1024 bind 1024) [ 0.718665] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.724510] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.731141] NET: Registered protocol family 1 [ 0.735545] PCI: CLS 0 bytes, default 32 [ 0.736855] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.764319] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.770219] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.783048] io scheduler noop registered [ 0.787050] io scheduler deadline registered (default) [ 0.792495] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.802782] console [ttyS0] disabled [ 0.826402] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12500000) is a 16550A [ 0.835089] console [ttyS0] enabled [ 0.842115] bootconsole [early0] disabled [ 0.856198] m25p80 spi0.0: found en25p64, expected m25p80 [ 0.861728] m25p80 spi0.0: en25p64 (8192 Kbytes) [ 0.867480] 6 cybertan partitions found on MTD device spi0.0 [ 0.873180] Creating 6 MTD partitions on "spi0.0": [ 0.878062] 0x000000000000-0x000000040000 : "u-boot" [ 0.884841] 0x000000040000-0x000000190000 : "kernel" [ 0.891886] 0x000000190000-0x0000007e0000 : "rootfs" [ 0.898910] mtd: device 2 (rootfs) set to be root filesystem [ 0.904691] 1 squashfs-split partitions found on MTD device rootfs [ 0.910975] 0x000000370000-0x0000007e0000 : "rootfs_data" [ 0.918445] 0x0000007e0000-0x0000007f0000 : "nvram" [ 0.925349] 0x0000007f0000-0x000000800000 : "art" [ 0.932205] 0x000000040000-0x0000007e0000 : "firmware" [ 0.954132] libphy: ag71xx_mdio: probed [ 1.366882] Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000 [ 1.374193] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=00008306, driver=Realtek RTL8306S] [ 1.384783] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RMII [ 1.786426] ag71xx ag71xx.1: connected to PHY at ag71xx-mdio.0:04 [uid=00008306, driver=Realtek RTL8306S] [ 1.797030] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RMII [ 1.805987] NET: Registered protocol family 10 [ 1.815472] NET: Registered protocol family 17 [ 1.820116] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.832889] Bridge firewalling registered [ 1.837098] 8021q: 802.1Q VLAN Support v1.8 [ 1.850259] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.859212] Freeing unused kernel memory: 292K (80447000 - 80490000) [ 3.088898] init: Console is alive [ 3.092569] init: - watchdog - [ 4.377018] usbcore: registered new interface driver usbfs [ 4.382660] usbcore: registered new interface driver hub [ 4.388176] usbcore: registered new device driver usb [ 4.399626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.408128] ehci-platform: EHCI generic platform driver [ 4.413493] ehci-platform ehci-platform: EHCI Host Controller [ 4.419380] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 4.427497] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 4.446423] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 4.453883] hub 1-0:1.0: USB hub found [ 4.458141] hub 1-0:1.0: 1 port detected [ 4.465516] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.473527] ohci-platform: OHCI generic platform driver [ 4.482422] init: - preinit - [ 5.461968] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5.492204] random: procd urandom read with 8 bits of entropy available [ 7.406704] ar71xx: pll_reg 0xb8050014: 0x13000a44 [ 7.406738] eth0: link up (100Mbps/Full duplex) [ 7.411441] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 8.718282] jffs2: notice: (388) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 8.738103] mount_root: switching to jffs2 overlay [ 8.790454] eth0: link down [ 8.811810] procd: - early - [ 8.814838] procd: - watchdog - [ 9.524322] procd: - ubus - [ 9.581693] procd: - init - [ 10.150172] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.174032] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796 [ 10.181730] Backport generated by backports.git backports-20160216-0-ge3c56e4 [ 10.192938] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.211306] nf_conntrack version 0.5.0 (434 buckets, 1736 max) [ 10.260994] xt_time: kernel timezone is -0000 [ 10.335052] PPP generic driver version 2.4.2 [ 10.342996] NET: Registered protocol family 24 [ 10.417090] ath: EEPROM regdomain: 0x0 [ 10.417117] ath: EEPROM indicates default country code should be used [ 10.417130] ath: doing EEPROM country->regdmn map search [ 10.417155] ath: country maps to regdmn code: 0x3a [ 10.417171] ath: Country alpha2 being used: US [ 10.417184] ath: Regpair used: 0x3a [ 10.437431] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 10.441324] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2122 RF Rev:a2 mem=0xb80c0000, irq=2

FS#10 - /dev/snd has wrong permissions

neheb:

/dev/snd is 644 when it should be 666 and is owned by root:root when it should be owned by root:audio

I currently mitigate this by doing a chmod in rc.local but it does not stay on replug.

FS#41 - New image building system doesn't appear to be working correctly for DEVICE_PACKAGES

jon.grossart:

It seems that devices ported to the new image building system in LEDE aren't working correctly. Specifically, packages specified by the DEVICE_PACKAGES variable aren't being included in the LEDE provided images.

For example, for the ipq806x targets, they are all defaulting to having the QCA988X firmware and not the correct firmware, regardless of the setting in the image/Makefile to use a specific ath10k firmware for each device. This was verified for the C2600, EA8500, R7500, and R7800 (some for both factory and sysupgrade images).

Searching through the makefiles on github, there appears to be no instance of the variable DEVICE_PACKAGES being used in any context other than for the "dump info" targets.

Without that variable being used, there would actually be a large number of targets being broken in their default images (anything converted over to the new image builder system). It seems it would affect all the ar71xx, brcm2708, brcm63xx, imx6, ipq806x, lantiq, oxnas, and ramips systems.

FS#28 - Upnp lot's of 404 error

Ansuel:

Fri Jun 24 13:21:23 2016 daemon.notice miniupnpd[26156]: / not found, responding ERROR 404
Fri Jun 24 13:21:23 2016 daemon.notice miniupnpd[26156]: /HNAP1/ not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/a2/out.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/ajaxmail not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/arr/index.shtml not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/at3/out.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/atc/out.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/atx/out.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/auth not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/bbs/postlist.pl not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/bbs/postshow.pl not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/bp_revision.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/br5.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/click.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/clicks.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/crtr/out.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/fg.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/findweather/getForecast not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/findweather/hdfForecast not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/frame_html not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/getattach not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/hotspotlogin.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/hslogin.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/ib/301_start.pl not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/index.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/index not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/krcgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/krcgistart not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/link not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/login.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/login not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/logout not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/logout not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/mainmenu.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/mainsrch not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/msglist not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/navega not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/openwebmail/openwebmail-main.pl not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/out.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/passremind not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/rbaccess/rbcgi3m01 not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/rbaccess/rbunxcgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/readmsg not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/rshop.pl not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/search.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/spcnweb not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/sse.dll not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/start not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/te/o.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/tjcgi1 not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/top/out not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/traffic/process.fcgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/verify.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/webproc not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/webscr not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/wingame.pl not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /das/cgi-bin/session.cgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /fcgi-bin/dispatch.fcgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /fcgi-bin/performance.fcgi not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /redir/cgi-bin/ajaxmail not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: / not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /cgi-bin/webproc?getpage=/../../etc/passwd&var:language=en_us&var:page=* not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /etc/passwd not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /etc/passwd not found, responding ERROR 404
Fri Jun 24 13:21:38 2016 daemon.notice miniupnpd[26156]: /rom-0 not found, responding ERROR 404

what could cause this problem?

FS#43 - Diffconfig.sh does not like config to build multiple device profiles (TARGET_MULTI_PROFILE)

hnyman:

I noticed today that the new multi-profile build functionality breaks scripts/diffconfig.sh, at least for ar71xx.

In Openwrt and in LEDE with just one device selected and no other changes made, diffconfig produces sensible output (size ~100 bytes). However, if the multi-device build support is activated, diffconfig fails to detect the "common defaults" and lists all busybox options, all standard packages etc. (diffconfig size 14 kB). That size expansion happens even if just one device is selected after activating TARGET_MULTI_PROFILE.

Below in an example, starting with empty .config and using menuconfig to select just WNDR3700 (even for the multi-profile config).

diffconfig output sizes: 14728 diffconfig.lede_multi 101 diffconfig.lede_single 94 diffconfig.openwrt

perus@ub1604:/$ cat diffconfig.openwrt
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_WNDR3700=y

perus@ub1604:/$ cat diffconfig.lede_single
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_wndr3700=y

perus@ub1604:/$ cat diffconfig.lede_multi
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_ATH_USER_REGD=y
CONFIG_BUSYBOX_DEFAULT_ASH=y
CONFIG_BUSYBOX_DEFAULT_ASH_ALIAS=y
CONFIG_BUSYBOX_DEFAULT_ASH_BASH_COMPAT=y
...
CONFIG_PACKAGE_ubus=y
CONFIG_PACKAGE_ubusd=y
CONFIG_PACKAGE_uci=y
CONFIG_PACKAGE_uclient-fetch=y
CONFIG_PACKAGE_usign=y
CONFIG_PACKAGE_wpad-mini=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_wndr3700=y

FS#29 - WiTi - laptop cannot connect when configured to use 80MHz

neheb:

I have a laptop with an atheros card(ath9k, 802.11n). If I leave the WiTi to its defaults of 80MHz - channel 36, I become unable to connect. Changing the channel width to 40MHz fixes the issue. The ac setting does not matter. I think another person mentioned VHT being broken?

Interestingly enough, my phone(Nexus 5X) has no problem with it. Probably because it's an ac device.

FS#31 - firewall3 fails to reload iptables policy extension

mpa:

  • Source revision:
    LEDE Reboot (HEAD, r607)

  • Affected device:
    Tested on TP-LINK TD-W8980 and on a x86 VM. This issue is likely device-independent.

  • Issue description:
    In firewall3, the iptables extension libxt_policy.so only works for the first (address family; table) combination and fails for all subsequent ones. Where it fails, the firewall rules containing the policy match are missing, and a warning is printed instead.
    This is a regression from OpenWrt CHAOS CALMER (15.05.1).

  • Steps to reproduce:

###download and install firmware image lede-lantiq-xrx200-TDW8980-squashfs-sysupgrade.bin

fw3 -d restart

Result: firewall rules as expected

opkg install iptables-mod-ipsec

uci set "firewall.@zone[0].extra_src=-m policy --dir in --pol none"

uci set "firewall.@zone[0].extra_dest=-m policy --dir out --pol none"

fw3 -d restart

Results:

  • firewall rules with "-m policy" are missing in all tables except IPv4 filter.
  • repeated output: Warning: fw3_ipt_rule_append(): Can't find match 'policy'
  • What you have already done to fix the problem / Any additional info you think is important

My experiments seem to confirm that this is caused by missing dlclose support in musl libc.
firewall3 uses dlclose/dlopen to reload iptables extensions for each address family and table,
and it expects the extensions' constructor functions to be called each time.
In musl, dlclose does nothing, and unloading/reloading of a shared library does not call its constructor function again.
To check my theory, I added explicit calls to the extensions' _init() functions via dlsym.
This made the policy match work again in all tables, but then firewall3 hangs on exit (tested with LEDE r289).
I don't now if it is actually allowed to call dynamic library constructor functions explicitly.

Then I considered a more complex solution, but have no code for it yet.
In short:

  • split off xtables/iptc-related functions from iptables.c to run in a child process
  • an RPC-like mechanism based on pipes, to call these functions
  • terminate and recreate the child process at each fw3_ipt_close/fw3_ipt_open

However, I would like to hear your opinion first how this bug should best be solved.
If you want to work on this yourself, I'll step back and watch.

Regards
Mirko

FS#3 - fstab adds a warning about a deprecated file to system log at every boot

hnyman:

Error shown in the system log:

Mon Jun 6 18:44:01 2016 user.notice : this file has been obsoleted. please call "/sbin/block mount" directly

The message is coming from https://git.lede-project.org/?p=source.git;a=blob;f=package/system/fstools/files/fstab.init;h=f995e965447e5d9a9294362a3b5e91cf4d09262a;hb=HEAD

The message has been there ever since the new files was introduced.

Ps. this is mainly a test, but actually a real issue...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.