[OpenWrt-Devel] act_connmark in kernel 3.10
Hello Mr. Felix, I would use the act_connmark on CentOS 7 with the original kernel 3.10.xx, you have patch for use with this version of the kernel? I applied the patch in version 3.19 and it works perfectly, but at 3:10 the same kernel downloaded from kernel.org and that have the senguinte error: -- net/sched/act_connmark.c: In function ‘tcf_connmark_init’: net/sched/act_connmark.c:112:2: error: too few arguments to function ‘tcf_hash_check’ if (!tcf_hash_check(parm-index, a, bind)) { ^ In file included from net/sched/act_connmark.c:23:0: include/net/act_api.h:93:20: note: declared here struct tcf_common *tcf_hash_check(u32 index, struct tc_action *a, . . . -- *^* I did a diff header include / net / act_api.he seen that are very different, I will be very grateful for your help, Thank you, Edison ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Hyper-V Support for X86 or X86_64
On 21.01.2015 20:04, Ning Ye wrote: This is the latest Hyper-V patch to support Linux 3.14. Signed-off-by: Ning Ye n...@oaklight.us +$(eval $(call KernelPackage,hyperv-util)) + +# +# Hyper-V Storage Drive needs to be in kernel rather than module to load the root fs. +# +define KernelPackage/hyperv-storage + SUBMENU:=$(VIRTUAL_MENU) + DEPENDS:=@(TARGET_x86||TARGET_x86_64) +kmod-scsi-core + TITLE:=Microsoft Hyper-V Storage Driver + KCONFIG:= \ +CONFIG_HYPERV_STORAGE=y \ +CONFIG_HYPERVISOR_GUEST=y \ +CONFIG_PARAVIRT=n \ +CONFIG_HYPERV=y 1 whitespace error in this line After applying this patch there is an issue with CONFIG_HYPERV_KEYBOARD missing and it fails to build (replicated when looking at https://dev.openwrt.org/ticket/18996 ) only x86 has that symbol set grep -R HYPERV_KEYBOARD target/ target/linux/x86/config-3.14:# CONFIG_HYPERV_KEYBOARD is not set ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] enabling seccomp by default in kernel
On Sat, 2015-02-14 at 15:31 -0800, David Lang wrote: I've also enabled the ocserv package to use seccomp if configured to, but in order for that protection to become meaningful for other programs to use as well, it would also need the default kernel option to enable seccomp filter. It needs the kernel support to use the seccomp filter, but why is this so critical that it must be enabled by default? Being critical isn't the only reason for enabling kernel options on openwrt. IPv6 isn't critical, many can live without it, but still it is there. The question is whether the added value of seccomp justifies the few kilobytes spent. My opinion on that, is that exploits on a router are more grave than on a PC, because a router is harder to upgrade, and an issue is harder to notice. For that a mechanism like seccomp which can contain potential damage, is very useful on openwrt. regards, Nikos ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [Cerowrt-devel] [sqm-scripts] not started at boot?
Hi Toke, On Feb 15, 2015, at 16:00 , Toke Høiland-Jørgensen t...@toke.dk wrote: Alan Jenkins alan.christopher.jenk...@gmail.com writes: It's very effective, but I notice SQM isn't applied at boot time. The system log complains about pppoe-wan interface not existing, when the sqm init script is started. Ah, that makes sense I suppose: PPPOE is probably brought up too late for the SQM init script to pick it up. qos-scripts has a hotplug script, so I copied it for sqm and the problem is fixed. Though my stupid script re-runs the sqm as every single network interface comes up, so it spams the log and probably slows things down a bit. (Maybe sqm script also wants to not be so noisy in the log) I'm attaching an updated version of the run.sh script which should detect when it is run from hotplug and only apply the SQM config to the hotplugged interface. Could you verify that this works for you? If so, I'll push an update with the revision and include a hotplug script. :) I am not sure that this works as intended. The first thing run.sh does is take down all running SQM instances: PROTO_STATE_FILE_LIST=$( ls ${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}* 2 /dev/null ) for STATE_FILE in ${PROTO_STATE_FILE_LIST} ; do if [ -f ${STATE_FILE} ] ; then STATE_FILE_BASE_NAME=$( basename ${STATE_FILE} ) CURRENT_INTERFACE=${STATE_FILE_BASE_NAME:${#ACTIVE_STATE_PREFIX}:$(( ${#STATE_FILE_BASE_NAME} - ${#ACTIVE_STATE_PREFIX} ))} logger -t SQM -s ${0} Stopping SQM on interface: ${CURRENT_INTERFACE} /usr/lib/sqm/stop.sh ${CURRENT_INTERFACE} rm ${STATE_FILE}# well, we stop it so it is not running anymore and hence no active state file needed... fi done before diving into the individual coin fig sections. And all instances that were stopped better be restarted unless their configuration changed. (The current SQM scripts allow multiple concurrent active instances,it would be nice to keep that capability). Best Regards Sebastian -Toke #!/bin/sh # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # Copyright (C) 2012-4 Michael D. Taht, Toke Høiland-Jørgensen, Sebastian Moeller . /lib/functions.sh STOP=$1 ACTIVE_STATE_PREFIX=SQM_active_on_ ACTIVE_STATE_FILE_DIR=/var/run/SQM mkdir -p ${ACTIVE_STATE_FILE_DIR} # the current uci config file does not necessarily contain sections for all interfaces with active # SQM instances, so use the ACTIVE_STATE_FILES to detect the interfaces on which to stop SQM. # Currently the .qos scripts start with stopping any existing traffic shaping so this should not # effectively change anything... PROTO_STATE_FILE_LIST=$( ls ${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}* 2 /dev/null ) for STATE_FILE in ${PROTO_STATE_FILE_LIST} ; do if [ -f ${STATE_FILE} ] ; then STATE_FILE_BASE_NAME=$( basename ${STATE_FILE} ) CURRENT_INTERFACE=${STATE_FILE_BASE_NAME:${#ACTIVE_STATE_PREFIX}:$(( ${#STATE_FILE_BASE_NAME} - ${#ACTIVE_STATE_PREFIX} ))} logger -t SQM -s ${0} Stopping SQM on interface: ${CURRENT_INTERFACE} /usr/lib/sqm/stop.sh ${CURRENT_INTERFACE} rm ${STATE_FILE} # well, we stop it so it is not running anymore and hence no active state file needed... fi done config_load sqm run_simple_qos() { local section=$1 export IFACE=$(config_get $section interface) # If called from hotplug, $DEVICE will be the interface that got hotplugged, so ignore anything else [ -n $DEVICE -a $DEVICE != $IFACE ] return ACTIVE_STATE_FILE_FQN=${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}${IFACE} # this marks interfaces as active with SQM [ -f ${ACTIVE_STATE_FILE_FQN} ] logger -t SQM -s Uh, oh, ${ACTIVE_STATE_FILE_FQN} should already be stopped. # Not supposed to happen if [ $(config_get $section enabled) -ne 1 ]; then if [ -f ${ACTIVE_STATE_FILE_FQN} ]; then # this should not be possible, delete after testing local SECTION_STOP=stop # it seems the user just de-selected enable, so stop the active SQM else logger -t SQM -s ${0} SQM for interface ${IFACE} is not enabled, skipping over... return 0 # since SQM is not active on the current interface nothing to do here fi fi export UPLINK=$(config_get $section upload) export DOWNLINK=$(config_get $section download) export LLAM=$(config_get $section linklayer_adaptation_mechanism) export LINKLAYER=$(config_get $section linklayer) export OVERHEAD=$(config_get $section overhead) export STAB_MTU=$(config_get $section tcMTU) export STAB_TSIZE=$(config_get $section tcTSIZE) export STAB_MPU=$(config_get $section tcMPU) export ILIMIT=$(config_get $section ilimit) export ELIMIT=$(config_get $section elimit) export ITARGET=$(config_get $section itarget) export ETARGET=$(config_get $section etarget) export IECN=$(config_get $section ingress_ecn)
[OpenWrt-Devel] [PATCH 2/3] x86:add kenrel config for 3.18
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com --- target/linux/x86/config-3.18 | 437 +++ 1 file changed, 437 insertions(+) create mode 100644 target/linux/x86/config-3.18 diff --git a/target/linux/x86/config-3.18 b/target/linux/x86/config-3.18 new file mode 100644 index 000..854ed73 --- /dev/null +++ b/target/linux/x86/config-3.18 @@ -0,0 +1,437 @@ +# CONFIG_60XX_WDT is not set +# CONFIG_64BIT is not set +# CONFIG_ACPI is not set +# CONFIG_ACQUIRE_WDT is not set +# CONFIG_ADVANTECH_WDT is not set +# CONFIG_ALIM1535_WDT is not set +# CONFIG_ALIX is not set +CONFIG_AMD_NB=y +CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y +CONFIG_ARCH_DEFCONFIG=arch/x86/configs/i386_defconfig +CONFIG_ARCH_DISCARD_MEMBLOCK=y +CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y +CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y +CONFIG_ARCH_HAS_CPU_AUTOPROBE=y +CONFIG_ARCH_HAS_CPU_RELAX=y +CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_HWEIGHT_CFLAGS=-fcall-saved-ecx -fcall-saved-edx +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y +CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y +# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set +# CONFIG_ARCH_RANDOM is not set +CONFIG_ARCH_SELECT_MEMORY_MODEL=y +CONFIG_ARCH_SPARSEMEM_ENABLE=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y +CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y +CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARCH_USES_PG_UNCACHED=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_ARCH_WANTS_PROT_NUMA_PROT_NONE=y +CONFIG_ARCH_WANT_FRAME_POINTERS=y +CONFIG_ARCH_WANT_GENERAL_HUGETLB=y +CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y +CONFIG_ATA=y +CONFIG_ATA_GENERIC=y +CONFIG_ATA_PIIX=y +# CONFIG_AUDIT_ARCH is not set +CONFIG_BINFMT_MISC=y +CONFIG_BLK_DEV_SD=y +CONFIG_BOUNCE=y +CONFIG_CLKBLD_I8253=y +CONFIG_CLKEVT_I8253=y +CONFIG_CLKSRC_I8253=y +CONFIG_CLOCKSOURCE_WATCHDOG=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_COMPAT_VDSO=y +CONFIG_CONSOLE_TRANSLATIONS=y +# CONFIG_CPU5_WDT is not set +CONFIG_CPU_FREQ=y +# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y +# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set +# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set +# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y +# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set +# CONFIG_CPU_FREQ_GOV_USERSPACE is not set +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_STAT_DETAILS=y +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_CPU_SUP_AMD=y +CONFIG_CPU_SUP_CENTAUR=y +CONFIG_CPU_SUP_CYRIX_32=y +CONFIG_CPU_SUP_INTEL=y +CONFIG_CPU_SUP_TRANSMETA_32=y +CONFIG_CPU_SUP_UMC_32=y +CONFIG_CRC16=y +CONFIG_CRYPTO_CRC32C=y +# CONFIG_CRYPTO_CRC32_PCLMUL is not set +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +# CONFIG_CRYPTO_SERPENT_SSE2_586 is not set +CONFIG_DCACHE_WORD_ACCESS=y +# CONFIG_DCDBAS is not set +# CONFIG_DEBUG_BOOT_PARAMS is not set +CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_NMI_SELFTEST is not set +# CONFIG_DEBUG_TLBFLUSH is not set +# CONFIG_DEBUG_VIRTUAL is not set +CONFIG_DECOMPRESS_BZIP2=y +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DEFAULT_IO_DELAY_TYPE=0 +# CONFIG_DELL_RBU is not set +# CONFIG_DMI is not set +CONFIG_DNOTIFY=y +CONFIG_DUMMY_CONSOLE=y +CONFIG_EARLY_PRINTK=y +# CONFIG_EARLY_PRINTK_DBGP is not set +# CONFIG_EDD is not set +# CONFIG_EUROTECH_WDT is not set +CONFIG_EXT4_FS=y +# CONFIG_F71808E_WDT is not set +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_FIRMWARE_MEMMAP=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_FS_MBCACHE=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y +CONFIG_GENERIC_CMOS_UPDATE=y +CONFIG_GENERIC_FIND_FIRST_BIT=y +CONFIG_GENERIC_IO=y +CONFIG_GENERIC_IOMAP=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_GENERIC_STRNCPY_FROM_USER=y +CONFIG_GENERIC_STRNLEN_USER=y +# CONFIG_GOOGLE_FIRMWARE is not set +# CONFIG_HANGCHECK_TIMER is not set +CONFIG_HAS_DMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set +CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y +CONFIG_HAVE_AOUT=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_HAVE_ARCH_KMEMCHECK=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_HAVE_ARCH_SOFT_DIRTY=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y +CONFIG_HAVE_ATOMIC_IOMAP=y +# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set +CONFIG_HAVE_CC_STACKPROTECTOR=y +CONFIG_HAVE_CMPXCHG_DOUBLE=y +CONFIG_HAVE_CMPXCHG_LOCAL=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_HAVE_DEBUG_KMEMLEAK=y
Re: [OpenWrt-Devel] [sqm-scripts] not started at boot?
Alan Jenkins alan.christopher.jenk...@gmail.com writes: It's very effective, but I notice SQM isn't applied at boot time. The system log complains about pppoe-wan interface not existing, when the sqm init script is started. Ah, that makes sense I suppose: PPPOE is probably brought up too late for the SQM init script to pick it up. qos-scripts has a hotplug script, so I copied it for sqm and the problem is fixed. Though my stupid script re-runs the sqm as every single network interface comes up, so it spams the log and probably slows things down a bit. (Maybe sqm script also wants to not be so noisy in the log) I'm attaching an updated version of the run.sh script which should detect when it is run from hotplug and only apply the SQM config to the hotplugged interface. Could you verify that this works for you? If so, I'll push an update with the revision and include a hotplug script. :) -Toke #!/bin/sh # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # Copyright (C) 2012-4 Michael D. Taht, Toke Høiland-Jørgensen, Sebastian Moeller . /lib/functions.sh STOP=$1 ACTIVE_STATE_PREFIX=SQM_active_on_ ACTIVE_STATE_FILE_DIR=/var/run/SQM mkdir -p ${ACTIVE_STATE_FILE_DIR} # the current uci config file does not necessarily contain sections for all interfaces with active # SQM instances, so use the ACTIVE_STATE_FILES to detect the interfaces on which to stop SQM. # Currently the .qos scripts start with stopping any existing traffic shaping so this should not # effectively change anything... PROTO_STATE_FILE_LIST=$( ls ${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}* 2 /dev/null ) for STATE_FILE in ${PROTO_STATE_FILE_LIST} ; do if [ -f ${STATE_FILE} ] ; then STATE_FILE_BASE_NAME=$( basename ${STATE_FILE} ) CURRENT_INTERFACE=${STATE_FILE_BASE_NAME:${#ACTIVE_STATE_PREFIX}:$(( ${#STATE_FILE_BASE_NAME} - ${#ACTIVE_STATE_PREFIX} ))} logger -t SQM -s ${0} Stopping SQM on interface: ${CURRENT_INTERFACE} /usr/lib/sqm/stop.sh ${CURRENT_INTERFACE} rm ${STATE_FILE} # well, we stop it so it is not running anymore and hence no active state file needed... fi done config_load sqm run_simple_qos() { local section=$1 export IFACE=$(config_get $section interface) # If called from hotplug, $DEVICE will be the interface that got hotplugged, so ignore anything else [ -n $DEVICE -a $DEVICE != $IFACE ] return ACTIVE_STATE_FILE_FQN=${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}${IFACE} # this marks interfaces as active with SQM [ -f ${ACTIVE_STATE_FILE_FQN} ] logger -t SQM -s Uh, oh, ${ACTIVE_STATE_FILE_FQN} should already be stopped. # Not supposed to happen if [ $(config_get $section enabled) -ne 1 ]; then if [ -f ${ACTIVE_STATE_FILE_FQN} ]; then # this should not be possible, delete after testing local SECTION_STOP=stop # it seems the user just de-selected enable, so stop the active SQM else logger -t SQM -s ${0} SQM for interface ${IFACE} is not enabled, skipping over... return 0 # since SQM is not active on the current interface nothing to do here fi fi export UPLINK=$(config_get $section upload) export DOWNLINK=$(config_get $section download) export LLAM=$(config_get $section linklayer_adaptation_mechanism) export LINKLAYER=$(config_get $section linklayer) export OVERHEAD=$(config_get $section overhead) export STAB_MTU=$(config_get $section tcMTU) export STAB_TSIZE=$(config_get $section tcTSIZE) export STAB_MPU=$(config_get $section tcMPU) export ILIMIT=$(config_get $section ilimit) export ELIMIT=$(config_get $section elimit) export ITARGET=$(config_get $section itarget) export ETARGET=$(config_get $section etarget) export IECN=$(config_get $section ingress_ecn) export EECN=$(config_get $section egress_ecn) export IQDISC_OPTS=$(config_get $section iqdisc_opts) export EQDISC_OPTS=$(config_get $section eqdisc_opts) export TARGET=$(config_get $section target) export SQUASH_DSCP=$(config_get $section squash_dscp) export SQUASH_INGRESS=$(config_get $section squash_ingress) export QDISC=$(config_get $section qdisc) export SCRIPT=/usr/lib/sqm/$(config_get $section script) # # there should be nothing left to stop, so just avoid calling the script if [ $STOP == stop -o $SECTION_STOP == stop ]; then # /usr/lib/sqm/stop.sh # [ -f ${ACTIVE_STATE_FILE_FQN} ] rm ${ACTIVE_STATE_FILE_FQN} # conditional to avoid errors ACTIVE_STATE_FILE_FQN does not exist anymore # $(config_set $section enabled 0) # this does not save to the config file only to the loaded memory representation logger -t SQM -s ${0} SQM qdiscs on ${IFACE} removed return 0 fi logger -t SQM -s ${0} Queue Setup Script: ${SCRIPT} [ -x $SCRIPT ] { $SCRIPT ; touch ${ACTIVE_STATE_FILE_FQN}; } } config_foreach run_simple_qos ___ openwrt-devel mailing list
[OpenWrt-Devel] x86: kernel update for 3.18
Hello, I've done a kernel update for the x86 target. These are tested on my PC Engines ALIX6F2 Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/3] x86:refresh patches for 3.18
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com --- .../linux/x86/patches-3.18/006-yenta_mistery.patch | 20 + .../patches-3.18/009-rdc321x_select_embedded.patch | 11 + .../linux/x86/patches-3.18/010-rdc_cpu_ident.patch | 176 + .../x86/patches-3.18/011-tune_lzma_options.patch | 22 + .../x86/patches-3.18/012-export_erase_write.patch | 23 + target/linux/x86/patches-3.18/100-rdc_boards.patch | 745 + .../120-panic_on_unrecovered_nmi.patch | 11 + .../linux/x86/patches-3.18/150-pit-tick-rate.patch | 13 + target/linux/x86/patches-3.18/160-kexec-fix.patch | 43 ++ 9 files changed, 1064 insertions(+) create mode 100644 target/linux/x86/patches-3.18/006-yenta_mistery.patch create mode 100644 target/linux/x86/patches-3.18/009-rdc321x_select_embedded.patch create mode 100644 target/linux/x86/patches-3.18/010-rdc_cpu_ident.patch create mode 100644 target/linux/x86/patches-3.18/011-tune_lzma_options.patch create mode 100644 target/linux/x86/patches-3.18/012-export_erase_write.patch create mode 100644 target/linux/x86/patches-3.18/100-rdc_boards.patch create mode 100644 target/linux/x86/patches-3.18/120-panic_on_unrecovered_nmi.patch create mode 100644 target/linux/x86/patches-3.18/150-pit-tick-rate.patch create mode 100644 target/linux/x86/patches-3.18/160-kexec-fix.patch diff --git a/target/linux/x86/patches-3.18/006-yenta_mistery.patch b/target/linux/x86/patches-3.18/006-yenta_mistery.patch new file mode 100644 index 000..72144cb --- /dev/null +++ b/target/linux/x86/patches-3.18/006-yenta_mistery.patch @@ -0,0 +1,20 @@ +--- a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c +@@ -1233,6 +1233,17 @@ static int yenta_probe(struct pci_dev *d + + /* We must finish initialization here */ + ++#ifdef CONFIG_X86_RDC321X ++/* #define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0044f044 */ ++#define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0844b060 ++/* #define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0044d044 */ ++ ++ config_writel(socket, 32*4, YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK); ++ config_writel(socket, 35*4, 0x0022); ++ config_writel(socket, 36*4, 0x6020); ++ config_writel(socket, 40*4, 0x7e02); ++#endif ++ + if (!socket-cb_irq || request_irq(socket-cb_irq, yenta_interrupt, IRQF_SHARED, yenta, socket)) { + /* No IRQ or request_irq failed. Poll */ + socket-cb_irq = 0; /* But zero is a valid IRQ number. */ diff --git a/target/linux/x86/patches-3.18/009-rdc321x_select_embedded.patch b/target/linux/x86/patches-3.18/009-rdc321x_select_embedded.patch new file mode 100644 index 000..50f817c --- /dev/null +++ b/target/linux/x86/patches-3.18/009-rdc321x_select_embedded.patch @@ -0,0 +1,11 @@ +--- a/arch/x86/Kconfig b/arch/x86/Kconfig +@@ -480,6 +480,8 @@ config X86_RDC321X + depends on X86_EXTENDED_PLATFORM + select M486 + select X86_REBOOTFIXUPS ++ select EMBEDDED ++ select ARCH_REQUIRE_GPIOLIB + ---help--- + This option is needed for RDC R-321x system-on-chip, also known + as R-8610-(G). diff --git a/target/linux/x86/patches-3.18/010-rdc_cpu_ident.patch b/target/linux/x86/patches-3.18/010-rdc_cpu_ident.patch new file mode 100644 index 000..043c3a3 --- /dev/null +++ b/target/linux/x86/patches-3.18/010-rdc_cpu_ident.patch @@ -0,0 +1,176 @@ +--- /dev/null b/Documentation/x86/rdc.txt +@@ -0,0 +1,69 @@ ++ ++Introduction ++ ++ ++RDC (http://www.rdc.com.tw) have been manufacturing x86-compatible SoC ++(system-on-chips) for a number of years. They are not the fastest of ++CPUs (clock speeds ranging from 133-150MHz) but 486SX compatibility ++coupled with very low power consumption[1] and low cost make them ideal ++for embedded applications. ++ ++ ++Where to find ++= ++ ++RDC chips show up in numerous embedded devices, but be careful since ++many of them will not run Linux 2.6 without significant expertise. ++ ++There are several variants of what the linux kernel refers to generically ++as RDC321X: R8610, R321x, S3282 and AMRISC2. ++ ++R321x: Found in various routers, see the OpenWrt project for details, ++ http://wiki.openwrt.org/oldwiki/rdcport ++ ++R8610: Found on the RDC evaluation board ++ http://www.ivankuten.com/system-on-chip-soc/rdc-r8610/ ++ ++AMRISC2: Found in the MGB-100 wireless hard disk ++ http://tintuc.no-ip.com/linux/tipps/mgb100/ ++ ++S3282: Found in various NAS devices, including the Bifferboard ++ http://www.bifferos.com ++ ++ ++Kernel Configuration ++ ++ ++Add support for this CPU with CONFIG_X86_RDC321X. Ensure that maths ++emulation is included (CONFIG_MATH_EMULATION selected) and avoid MCE ++(CONFIG_X86_MCE not selected). ++ ++ ++CPU detection ++= ++ ++None of these chips support the cpuid instruction, so as with some ++other x86 compatible SoCs, we must check the north bridge and look
Re: [OpenWrt-Devel] [Cerowrt-devel] [sqm-scripts] not started at boot?
Sebastian Moeller moell...@gmx.de writes: I am not sure that this works as intended. The first thing run.sh does is take down all running SQM instances: Ah yes, seems I was a bit too trigger-happy there ;) Here's a version of run.sh that should also short-circuit the 'down' part if called from hotplug. The alternative is, of course, to have logic in the hotplug script to only call run.sh for interfaces that are enabled, but that would require parsing /etc/config/sqm from there. My initial thought was that short-circuiting the logic in run.sh was 'cleaner'; but I'm not entirely sure about that... Thoughts? -Toke #!/bin/sh # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # Copyright (C) 2012-4 Michael D. Taht, Toke Høiland-Jørgensen, Sebastian Moeller . /lib/functions.sh STOP=$1 ACTIVE_STATE_PREFIX=SQM_active_on_ ACTIVE_STATE_FILE_DIR=/var/run/SQM mkdir -p ${ACTIVE_STATE_FILE_DIR} # the current uci config file does not necessarily contain sections for all interfaces with active # SQM instances, so use the ACTIVE_STATE_FILES to detect the interfaces on which to stop SQM. # Currently the .qos scripts start with stopping any existing traffic shaping so this should not # effectively change anything... PROTO_STATE_FILE_LIST=$( ls ${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}* 2 /dev/null ) for STATE_FILE in ${PROTO_STATE_FILE_LIST} ; do if [ -f ${STATE_FILE} ] ; then STATE_FILE_BASE_NAME=$( basename ${STATE_FILE} ) CURRENT_INTERFACE=${STATE_FILE_BASE_NAME:${#ACTIVE_STATE_PREFIX}:$(( ${#STATE_FILE_BASE_NAME} - ${#ACTIVE_STATE_PREFIX} ))} # If called from hotplug, $DEVICE will be the interface that got hotplugged, so ignore anything else if [ -z $DEVICE -o $DEVICE == $CURRENT_INTERFACE ]; then logger -t SQM -s ${0} Stopping SQM on interface: ${CURRENT_INTERFACE} /usr/lib/sqm/stop.sh ${CURRENT_INTERFACE} rm ${STATE_FILE} # well, we stop it so it is not running anymore and hence no active state file needed... fi fi done config_load sqm run_simple_qos() { local section=$1 export IFACE=$(config_get $section interface) # If called from hotplug, $DEVICE will be the interface that got hotplugged, so ignore anything else [ -n $DEVICE -a $DEVICE != $IFACE ] return ACTIVE_STATE_FILE_FQN=${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}${IFACE} # this marks interfaces as active with SQM [ -f ${ACTIVE_STATE_FILE_FQN} ] logger -t SQM -s Uh, oh, ${ACTIVE_STATE_FILE_FQN} should already be stopped. # Not supposed to happen if [ $(config_get $section enabled) -ne 1 ]; then if [ -f ${ACTIVE_STATE_FILE_FQN} ]; then # this should not be possible, delete after testing local SECTION_STOP=stop # it seems the user just de-selected enable, so stop the active SQM else logger -t SQM -s ${0} SQM for interface ${IFACE} is not enabled, skipping over... return 0 # since SQM is not active on the current interface nothing to do here fi fi export UPLINK=$(config_get $section upload) export DOWNLINK=$(config_get $section download) export LLAM=$(config_get $section linklayer_adaptation_mechanism) export LINKLAYER=$(config_get $section linklayer) export OVERHEAD=$(config_get $section overhead) export STAB_MTU=$(config_get $section tcMTU) export STAB_TSIZE=$(config_get $section tcTSIZE) export STAB_MPU=$(config_get $section tcMPU) export ILIMIT=$(config_get $section ilimit) export ELIMIT=$(config_get $section elimit) export ITARGET=$(config_get $section itarget) export ETARGET=$(config_get $section etarget) export IECN=$(config_get $section ingress_ecn) export EECN=$(config_get $section egress_ecn) export IQDISC_OPTS=$(config_get $section iqdisc_opts) export EQDISC_OPTS=$(config_get $section eqdisc_opts) export TARGET=$(config_get $section target) export SQUASH_DSCP=$(config_get $section squash_dscp) export SQUASH_INGRESS=$(config_get $section squash_ingress) export QDISC=$(config_get $section qdisc) export SCRIPT=/usr/lib/sqm/$(config_get $section script) # # there should be nothing left to stop, so just avoid calling the script if [ $STOP == stop -o $SECTION_STOP == stop ]; then # /usr/lib/sqm/stop.sh # [ -f ${ACTIVE_STATE_FILE_FQN} ] rm ${ACTIVE_STATE_FILE_FQN} # conditional to avoid errors ACTIVE_STATE_FILE_FQN does not exist anymore # $(config_set $section enabled 0) # this does not save to the config file only to the loaded memory representation logger -t SQM -s ${0} SQM qdiscs on ${IFACE} removed return 0 fi logger -t SQM -s ${0} Queue Setup Script: ${SCRIPT} [ -x $SCRIPT ] { $SCRIPT ; touch ${ACTIVE_STATE_FILE_FQN}; } } config_foreach run_simple_qos ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [Cerowrt-devel] [sqm-scripts] not started at boot?
Sebastian Moeller moell...@gmx.de writes: Not that I have shown great taste in the past, but I think it would be somewhat cleaner to put the logic into the hot plug script and keep run.sh “simple” (in the past I had introduced a large number of leakage, especially of IFBs by not properly removing/stopping old instances and was quite happy to have the take all active interfaces down loop as a last defense against accidental leaks). Well, the biggest issue I can see with not having any logic in run.sh is that in that case, *all* interfaces will be reconfigured when the hotplug event happens. However, I'm not sure exactly how common it is to have more than one interface configured for SQM, and if so, whether or not reconfiguring everything on every hotplug event (well, only for for SQM-enabled interfaces I suppose) is an issue. The modifications to run.sh should keep it functioning the way it does currently if run 'manually' the shell or LUCI. Unless the $DEVICE env-var is set for some other reason... But I am now also running pppoe directly from cerowrt and see the same issue, sqm is confused when the pppoe interface temporarily goes away, so at least I can now test this issue ;) Well, a first pass could be to see if the modified run.sh I sent last time around actually works... ;) -Toke ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] iproute2: bump version from v3.18.0 to v3.19.0
with refreshed patches Signed-off-by: Russell Senior russ...@personaltelco.net --- package/network/utils/iproute2/Makefile | 4 ++-- .../network/utils/iproute2/patches/006-no_sctp.patch| 4 ++-- .../utils/iproute2/patches/120-libnetlink-pic.patch | 7 --- .../utils/iproute2/patches/200-add-tc_esfq.patch| 2 +- .../utils/iproute2/patches/210-add-act_connmark.patch | 4 ++-- .../network/utils/iproute2/patches/300-ip_tiny.patch| 17 + 6 files changed, 20 insertions(+), 18 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index ad14ac4..56d2897 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 -PKG_VERSION:=3.18.0 +PKG_VERSION:=3.19.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://kernel.org/pub/linux/utils/net/iproute2/ -PKG_MD5SUM:=6f6ad51a7880460e103367b16057 +PKG_MD5SUM:=237083a1e3c388cde7a115a5724dc72a PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0 diff --git a/package/network/utils/iproute2/patches/006-no_sctp.patch b/package/network/utils/iproute2/patches/006-no_sctp.patch index d4a0de0..a3b2880 100644 --- a/package/network/utils/iproute2/patches/006-no_sctp.patch +++ b/package/network/utils/iproute2/patches/006-no_sctp.patch @@ -1,6 +1,6 @@ --- a/ip/ipxfrm.c +++ b/ip/ipxfrm.c -@@ -469,7 +469,6 @@ void xfrm_selector_print(struct xfrm_sel +@@ -467,7 +467,6 @@ void xfrm_selector_print(struct xfrm_sel switch (sel-proto) { case IPPROTO_TCP: case IPPROTO_UDP: @@ -8,7 +8,7 @@ case IPPROTO_DCCP: default: /* XXX */ if (sel-sport_mask) -@@ -1282,7 +1281,6 @@ static int xfrm_selector_upspec_parse(st +@@ -1336,7 +1335,6 @@ static int xfrm_selector_upspec_parse(st switch (sel-proto) { case IPPROTO_TCP: case IPPROTO_UDP: diff --git a/package/network/utils/iproute2/patches/120-libnetlink-pic.patch b/package/network/utils/iproute2/patches/120-libnetlink-pic.patch index 3ea7d19..26cc569 100644 --- a/package/network/utils/iproute2/patches/120-libnetlink-pic.patch +++ b/package/network/utils/iproute2/patches/120-libnetlink-pic.patch @@ -1,10 +1,11 @@ --- a/lib/Makefile +++ b/lib/Makefile -@@ -1,6 +1,6 @@ - include ../Config +@@ -4,7 +4,7 @@ ifeq ($(IP_CONFIG_SETNS),y) + CFLAGS += -DHAVE_SETNS + endif -CFLAGS += -fPIC +CFLAGS += $(FPIC) - UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o + UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o namespace.o diff --git a/package/network/utils/iproute2/patches/200-add-tc_esfq.patch b/package/network/utils/iproute2/patches/200-add-tc_esfq.patch index 19d8199..6c148ea 100644 --- a/package/network/utils/iproute2/patches/200-add-tc_esfq.patch +++ b/package/network/utils/iproute2/patches/200-add-tc_esfq.patch @@ -1,6 +1,6 @@ --- a/tc/Makefile +++ b/tc/Makefile -@@ -8,6 +8,7 @@ SHARED_LIBS ?= y +@@ -13,6 +13,7 @@ SHARED_LIBS ?= y TCMODULES := TCMODULES += q_fifo.o TCMODULES += q_sfq.o diff --git a/package/network/utils/iproute2/patches/210-add-act_connmark.patch b/package/network/utils/iproute2/patches/210-add-act_connmark.patch index c0bf07a..10167ae 100644 --- a/package/network/utils/iproute2/patches/210-add-act_connmark.patch +++ b/package/network/utils/iproute2/patches/210-add-act_connmark.patch @@ -1,13 +1,13 @@ --- a/tc/Makefile +++ b/tc/Makefile -@@ -39,6 +39,7 @@ TCMODULES += m_mirred.o +@@ -44,6 +44,7 @@ TCMODULES += m_mirred.o TCMODULES += m_nat.o TCMODULES += m_pedit.o TCMODULES += m_skbedit.o +TCMODULES += m_connmark.o TCMODULES += m_csum.o TCMODULES += m_simple.o - TCMODULES += p_ip.o + TCMODULES += m_vlan.o --- /dev/null +++ b/tc/m_connmark.c @@ -0,0 +1,74 @@ diff --git a/package/network/utils/iproute2/patches/300-ip_tiny.patch b/package/network/utils/iproute2/patches/300-ip_tiny.patch index 3620120..4295d0a 100644 --- a/package/network/utils/iproute2/patches/300-ip_tiny.patch +++ b/package/network/utils/iproute2/patches/300-ip_tiny.patch @@ -25,7 +25,7 @@ sed -n '/'$$s'[^ ]* =/{s:.* \([^ ]*'$$s'[^ ]*\) .*:extern char \1[] __attribute__((weak)); if (!strcmp(sym, \1)) return \1;:;p}' $$files ; \ --- a/ip/ip.c +++ b/ip/ip.c -@@ -69,30 +69,42 @@ static const struct cmd { +@@ -71,30 +71,42 @@ static const struct cmd { int (*func)(int argc, char **argv); } cmds[] = { { address,do_ipaddr }, @@ -70,7 +70,7 @@ }; --- a/lib/utils.c +++ b/lib/utils.c -@@ -629,6 +629,7 @@ const char *rt_addr_n2a(int af, const vo +@@ -630,6 +630,7 @@ const char *rt_addr_n2a(int af, const vo case AF_INET: case AF_INET6: return inet_ntop(af, addr, buf, buflen); @@ -78,7 +78,7 @@ case AF_IPX: return ipx_ntop(af, addr, buf,
Re: [OpenWrt-Devel] [Cerowrt-devel] [sqm-scripts] not started at boot?
Hi Alan, On Feb 15, 2015, at 15:39 , Alan Jenkins alan.christopher.jenk...@gmail.com wrote: Hi Toke I tried installing sqm-scripts from trunk, on Barrier Breaker on my wndr3800. It's very effective, but I notice SQM isn't applied at boot time. The system log complains about pppoe-wan interface not existing, when the sqm init script is started. My guess is it'd be the same even if my WNDR was running the base system from trunk. Because the sqm scripts don't have nice integration like the qos scripts package. Is that useful enough as a bug report? Do you need me to work on a proper patch? qos-scripts has a hotplug script, so I copied it for sqm and the problem is fixed. Though my stupid script re-runs the sqm as every single network interface comes up, so it spams the log and probably slows things down a bit. I will see how it looks if the hot plug script decides more intelligently whether to call sqm or not, but I will need a few days due to unrelated deadlines... (Maybe sqm script also wants to not be so noisy in the log) As far as I am concerned SQM is still on probation (in the openwrt repository) and has not seen sufficient testing, so the output is verbose to facilitate debugging of remote issues. I might be wrong though and all is well, and it can be toned down a lot... cat EOF /etc/hotplug.d/iface/10-sqm #!/bin/sh # my sqm isn't being enabled on boot # cargo-cult this hotplug script from qos-scripts [ $ACTION = ifup ] /etc/init.d/sqm enabled /usr/lib/sqm/run.sh EOF I will, if you do not mind take this as starting point for a slightly more selective hot plug script… Best Regards Sebastian ___ Cerowrt-devel mailing list cerowrt-de...@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cerowrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [Cerowrt-devel] [sqm-scripts] not started at boot?
Hi Toke, On Feb 15, 2015, at 16:56 , Toke Høiland-Jørgensen t...@toke.dk wrote: Sebastian Moeller moell...@gmx.de writes: I am not sure that this works as intended. The first thing run.sh does is take down all running SQM instances: Ah yes, seems I was a bit too trigger-happy there ;) Here's a version of run.sh that should also short-circuit the 'down' part if called from hotplug. The alternative is, of course, to have logic in the hotplug script to only call run.sh for interfaces that are enabled, but that would require parsing /etc/config/sqm from there. My initial thought was that short-circuiting the logic in run.sh was 'cleaner'; but I'm not entirely sure about that... Thoughts? Not that I have shown great taste in the past, but I think it would be somewhat cleaner to put the logic into the hot plug script and keep run.sh “simple” (in the past I had introduced a large number of leakage, especially of IFBs by not properly removing/stopping old instances and was quite happy to have the take all active interfaces down loop as a last defense against accidental leaks). But I am now also running pppoe directly from cerowrt and see the same issue, sqm is confused when the pppoe interface temporarily goes away, so at least I can now test this issue ;) Best Regards Sebastian -Toke #!/bin/sh # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # Copyright (C) 2012-4 Michael D. Taht, Toke Høiland-Jørgensen, Sebastian Moeller . /lib/functions.sh STOP=$1 ACTIVE_STATE_PREFIX=SQM_active_on_ ACTIVE_STATE_FILE_DIR=/var/run/SQM mkdir -p ${ACTIVE_STATE_FILE_DIR} # the current uci config file does not necessarily contain sections for all interfaces with active # SQM instances, so use the ACTIVE_STATE_FILES to detect the interfaces on which to stop SQM. # Currently the .qos scripts start with stopping any existing traffic shaping so this should not # effectively change anything... PROTO_STATE_FILE_LIST=$( ls ${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}* 2 /dev/null ) for STATE_FILE in ${PROTO_STATE_FILE_LIST} ; do if [ -f ${STATE_FILE} ] ; then STATE_FILE_BASE_NAME=$( basename ${STATE_FILE} ) CURRENT_INTERFACE=${STATE_FILE_BASE_NAME:${#ACTIVE_STATE_PREFIX}:$(( ${#STATE_FILE_BASE_NAME} - ${#ACTIVE_STATE_PREFIX} ))} # If called from hotplug, $DEVICE will be the interface that got hotplugged, so ignore anything else if [ -z $DEVICE -o $DEVICE == $CURRENT_INTERFACE ]; then logger -t SQM -s ${0} Stopping SQM on interface: ${CURRENT_INTERFACE} /usr/lib/sqm/stop.sh ${CURRENT_INTERFACE} rm ${STATE_FILE} # well, we stop it so it is not running anymore and hence no active state file needed... fi fi done config_load sqm run_simple_qos() { local section=$1 export IFACE=$(config_get $section interface) # If called from hotplug, $DEVICE will be the interface that got hotplugged, so ignore anything else [ -n $DEVICE -a $DEVICE != $IFACE ] return ACTIVE_STATE_FILE_FQN=${ACTIVE_STATE_FILE_DIR}/${ACTIVE_STATE_PREFIX}${IFACE} # this marks interfaces as active with SQM [ -f ${ACTIVE_STATE_FILE_FQN} ] logger -t SQM -s Uh, oh, ${ACTIVE_STATE_FILE_FQN} should already be stopped. # Not supposed to happen if [ $(config_get $section enabled) -ne 1 ]; then if [ -f ${ACTIVE_STATE_FILE_FQN} ]; then # this should not be possible, delete after testing local SECTION_STOP=stop # it seems the user just de-selected enable, so stop the active SQM else logger -t SQM -s ${0} SQM for interface ${IFACE} is not enabled, skipping over... return 0 # since SQM is not active on the current interface nothing to do here fi fi export UPLINK=$(config_get $section upload) export DOWNLINK=$(config_get $section download) export LLAM=$(config_get $section linklayer_adaptation_mechanism) export LINKLAYER=$(config_get $section linklayer) export OVERHEAD=$(config_get $section overhead) export STAB_MTU=$(config_get $section tcMTU) export STAB_TSIZE=$(config_get $section tcTSIZE) export STAB_MPU=$(config_get $section tcMPU) export ILIMIT=$(config_get $section ilimit) export ELIMIT=$(config_get $section elimit) export ITARGET=$(config_get $section itarget) export ETARGET=$(config_get $section etarget) export IECN=$(config_get $section ingress_ecn) export EECN=$(config_get $section egress_ecn) export IQDISC_OPTS=$(config_get $section iqdisc_opts) export EQDISC_OPTS=$(config_get $section eqdisc_opts) export TARGET=$(config_get $section target) export SQUASH_DSCP=$(config_get $section squash_dscp) export SQUASH_INGRESS=$(config_get $section squash_ingress) export QDISC=$(config_get $section qdisc) export SCRIPT=/usr/lib/sqm/$(config_get $section script) # # there should be nothing left to stop, so just avoid calling the script if [ $STOP == stop -o $SECTION_STOP ==
[OpenWrt-Devel] [PATCH] linux/modules: select CONFIG_USB_NET_DRIVERS for kmod-usb-net
USB network drivers gained their own sub-menu. Thus they are only visible and built if CONFIG_USB_NET_DRIVERS=y on recent kernels. Set that symbol when building kmod-usb-net. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/usb.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 431c7ba..7384959 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -992,7 +992,9 @@ $(eval $(call KernelPackage,usb-atm-cxacru)) define KernelPackage/usb-net TITLE:=Kernel modules for USB-to-Ethernet convertors DEPENDS:=+kmod-mii - KCONFIG:=CONFIG_USB_USBNET + KCONFIG:= \ + CONFIG_USB_USBNET \ + CONFIG_USB_NET_DRIVERS=y AUTOLOAD:=$(call AutoProbe,usbnet) FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko $(call AddDepends/usb) -- 2.3.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
Hi John, 3.18 works nicely on the TL-WR1043ND from what I can tell for now. I had to fix usb-net support (see patch) and for a moment I thought that was the only obstacle. However, OpenVPN is segfaulting once a connection got established. The same version of OpenVPN (built against PolarSSL) worked nicely before the move to 3.18. root@X:/etc/openvpn# openvpn --config /etc/openvpn/.conf --errors-to-stderr Sun Feb 15 23:56:05 2015 OpenVPN 2.3.6 mips-openwrt-linux-gnu [SSL (PolarSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Feb 16 2015 Sun Feb 15 23:56:05 2015 library versions: PolarSSL 1.3.10, LZO 2.08 Sun Feb 15 23:56:07 2015 Attempting to establish TCP connection with [AF_INET]XXX.XXX.XXX.XXX: [nonblock] Sun Feb 15 23:56:08 2015 TCP connection established with [AF_INET]XXX.XXX.XXX.XXX: Sun Feb 15 23:56:08 2015 TCPv4_CLIENT link local: [undef] Sun Feb 15 23:56:08 2015 TCPv4_CLIENT link remote: [AF_INET]XXX.XXX.XXX.XXX: Segmentation fault Running openvpn with strace unveils that network packages are sent and received, but it doesn't get to the stage where the tun device is supposed to be setup... --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} --- +++ killed by SIGSEGV +++ Segmentation fault Any ideas? Cheers Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
It builds oke now, but its doesn't boot on my device. i don't get to see any (informative) boot error's (see log). John Crispin schreef op 15-2-2015 om 22:16: On 15/02/2015 21:44, Michaël Zweers wrote: Hello, I got a error message (kernel compile log included) when building v3.18 for wr703n. If you need additional info let me know. please retry, i just pushed a fix * *U-Boot 1.1.4MGZ MOD_V1 (Jun 24 2014)* * AP121 (AR9331) U-Boot for TL-WR703N DRAM: 32 MB DDR 16-bit FLASH: Winbond W25Q128 (16 MB) CLOCKS: 400/400/200/33 MHz (CPU/RAM/AHB/SPI) LED on during eth initialization... ## Error: MDIO_BUSY! Hit any key to stop autobooting: 0 Booting image at: 0x9F02 Image name: OpenWrt r44459 Image type: MIPS Linux Kernel Image (lzma compressed) Data size:1205904 Bytes = 1.2 MB Load address: 0x8006 Entry point: 0x8006 Uncompressing kernel image... OK! Starting kernel... [0.00] Linux version 3.18.7 (user@HartOfGold) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44457) ) #1 Mon Feb 16 00:49:34 CET 2015 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 00019374 (MIPS 24Kc) [0.00] SoC: Atheros AR9330 rev 1 [0.00] Determined physical RAM map: [0.00] memory: 0200 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x01ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x01ff] [0.00] Initmem setup node 0 [mem 0x-0x01ff] [0.00] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [0.00] Kernel command line: board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [0.00] PID hash table entries: 128 (order: -3, 512 bytes) [0.00] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.00] Writing ErrCtl register= [0.00] Readback ErrCtl register= [0.00] Memory: 28324K/32768K available (2627K kernel code, 131K rwdata, 544K rodata, 208K init, 193K bss, K reserved) [0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [0.00] NR_IRQS:51 [0.00] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [0.00] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [0.08] pid_max: default: 32768 minimum: 301 [0.08] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.09] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.10] NET: Registered protocol family 16 [0.10] MIPS: machine is TP-LINK TL-WR703N v1 [0.38] Switched to clocksource MIPS [0.38] NET: Registered protocol family 2 [0.39] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.39] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.39] TCP: Hash tables configured (established 1024 bind 1024) [0.40] TCP: reno registered [0.40] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.41] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.42] NET: Registered protocol family 1 [0.42] futex hash table entries: 256 (order: -1, 3072 bytes) [0.44] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.44] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [0.45] msgmni has been set to 55 [0.45] io scheduler noop registered [0.46] io scheduler deadline registered (default) [0.46] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [0.47] ar933x-uart: ttyATH0 at MMIO 0x1802 (irq = 11, base_baud = 1562500) is a AR933X UART [0.48] console [ttyATH0] enabled [0.48] console [ttyATH0] enabled [0.49] bootconsole [early0] disabled [0.49] bootconsole [early0] disabled [0.50] m25p80 spi0.0: found w25q128, expected m25p80 [0.50] m25p80 spi0.0: w25q128 (16384 Kbytes) [0.51] 5 tp-link partitions found on MTD device spi0.0 [0.51] Creating 5 MTD partitions on spi0.0: [0.52] 0x-0x0002 : u-boot [0.52] 0x0002-0x00146890 : kernel [0.53] mtd: partition kernel must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [0.54] 0x00146890-0x00ff : rootfs [0.54] mtd:
[OpenWrt-Devel] ar71xx update to v3.18
Hi, i just pushed the v3.18 support for ar71xx. i have tested this on carambola2, unifi and wndr4300. the default is still at 3.14. please start testing on more hardware. to do so you need to set the kernel to 3.18 in target/linux/ar71xx/Makefile as the default is still at 3.14. 902-unaligned_access_hacks.patch was rebased, however there might be new places in the stack that need the hack applied. testing for this is also welcome. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
Hi, On 15/02/2015 20:56, Daniel Petre wrote: are there any extra big advantages for OpenWrt since 3.14 ? eBPF is my personal favorite. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
On 15/02/15 21:49, John Crispin wrote: Hi, i just pushed the v3.18 support for ar71xx. i have tested this on carambola2, unifi and wndr4300. the default is still at 3.14. please start testing on more hardware. to do so you need to set the kernel to 3.18 in target/linux/ar71xx/Makefile as the default is still at 3.14. Thank you, i can test tomorrow on tp-link mr3420 and tp-link wr703n. Except what i am reading at: http://kernelnewbies.org/Linux_3.18 are there any extra big advantages for OpenWrt since 3.14 ? 902-unaligned_access_hacks.patch was rebased, however there might be new places in the stack that need the hack applied. testing for this is also welcome. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Google Summer of Code 2015
Hi guys, Freifunk and Ninux are applying for the GSoC 2015. You might want to propose projects ideas if you feel like it. Freifunk ideas page: http://wiki.freifunk.net/Ideas Ninux ideas page: http://wiki.ninux.org/GSoCIdeas2015 Federico ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
On Sun, 2015-02-15 at 20:49 +0100, John Crispin wrote: Hi, i just pushed the v3.18 support for ar71xx. i have tested this on carambola2, unifi and wndr4300. the default is still at 3.14. please start testing on more hardware. to do so you need to set the kernel to 3.18 in target/linux/ar71xx/Makefile as the default is still at 3.14. 902-unaligned_access_hacks.patch was rebased, however there might be new places in the stack that need the hack applied. testing for this is also welcome. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel Compiled just fine here on wndr3700v4. Sysupgraded my router via LuCI and immediately noticed two things: 1. no wifi [ 21.67] cfg80211: Calling CRDA to update world regulatory domain [ 21.67] cfg80211: World regulatory domain updated: [ 21.68] cfg80211: DFS Master region: unset [ 21.68] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 21.69] cfg80211: (2402000 KHz - 2472000 KHz @ 4 KHz), (N/A, 2000 mBm), (N/A) [ 21.70] cfg80211: (2457000 KHz - 2482000 KHz @ 4 KHz), (N/A, 2000 mBm), (N/A) [ 21.71] cfg80211: (2474000 KHz - 2494000 KHz @ 2 KHz), (N/A, 2000 mBm), (N/A) [ 21.72] cfg80211: (517 KHz - 525 KHz @ 8 KHz), (N/A, 2000 mBm), (N/A) [ 21.73] cfg80211: (525 KHz - 533 KHz @ 8 KHz, 16 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 21.73] cfg80211: (549 KHz - 573 KHz @ 16 KHz), (N/A, 2000 mBm), (0 s) [ 21.74] cfg80211: (5735000 KHz - 5835000 KHz @ 8 KHz), (N/A, 2000 mBm), (N/A) [ 21.75] cfg80211: (5724 KHz - 6372 KHz @ 216 KHz), (N/A, 0 mBm), (N/A) [ 22.17] ath9k ar934x_wmac: Direct firmware load for soc_wmac.eeprom failed with error -2 [ 22.18] ath: phy0: Unable to load EEPROM file soc_wmac.eeprom [ 22.19] ath9k ar934x_wmac: failed to initialize device [ 22.19] ath9k: probe of ar934x_wmac failed with error -22 [ 22.20] PCI: Enabling device :00:00.0 ( - 0002) [ 22.22] ath9k :00:00.0: Direct firmware load for pci_wmac0.eeprom failed with error -2 [ 22.23] ath: phy1: Unable to load EEPROM file pci_wmac0.eeprom [ 22.23] ath9k :00:00.0: Failed to initialize device [ 22.24] ath9k: probe of :00:00.0 failed with error -22 [ 29.76] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 2. bridge warning bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. regular ethX ports (lan side) work fine over wire. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
On 15/02/2015 21:44, Michaël Zweers wrote: Hello, I got a error message (kernel compile log included) when building v3.18 for wr703n. If you need additional info let me know. please retry, i just pushed a fix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
I compiled r44459 for wndr3700 wndr3800 with 3.18. So far no problems: my wndr3800 booted ok with 3.18 and has survived the first stress tests ;-) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
Hello, I got a error message (kernel compile log included) when building v3.18 for wr703n. If you need additional info let me know. John Crispin schreef op 15-2-2015 om 20:49: Hi, i just pushed the v3.18 support for ar71xx. i have tested this on carambola2, unifi and wndr4300. the default is still at 3.14. please start testing on more hardware. to do so you need to set the kernel to 3.18 in target/linux/ar71xx/Makefile as the default is still at 3.14. 902-unaligned_access_hacks.patch was rebased, however there might be new places in the stack that need the hack applied. testing for this is also welcome. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel make[5]: Entering directory `/data/LinuxBuild/kamerwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7' CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h HOSTCC scripts/basic/fixdep WRAParch/mips/include/generated/asm/cputime.h WRAParch/mips/include/generated/asm/current.h WRAParch/mips/include/generated/asm/dma-contiguous.h WRAParch/mips/include/generated/asm/emergency-restart.h WRAParch/mips/include/generated/asm/hash.h WRAParch/mips/include/generated/asm/irq_work.h WRAParch/mips/include/generated/asm/local64.h WRAParch/mips/include/generated/asm/mcs_spinlock.h WRAParch/mips/include/generated/asm/mutex.h WRAParch/mips/include/generated/asm/parport.h WRAParch/mips/include/generated/asm/percpu.h WRAParch/mips/include/generated/asm/preempt.h WRAParch/mips/include/generated/asm/scatterlist.h WRAParch/mips/include/generated/asm/sections.h WRAParch/mips/include/generated/asm/segment.h WRAParch/mips/include/generated/asm/serial.h WRAParch/mips/include/generated/asm/trace_clock.h WRAParch/mips/include/generated/asm/ucontext.h WRAParch/mips/include/generated/asm/user.h WRAParch/mips/include/generated/asm/xor.h WRAParch/mips/include/generated/uapi/asm/auxvec.h WRAParch/mips/include/generated/uapi/asm/ipcbuf.h HOSTCC scripts/unifdef INSTALL include/asm-generic (35 files) INSTALL include/drm (18 files) INSTALL include/linux/byteorder (2 files) INSTALL include/linux/caif (2 files) INSTALL include/linux/can (5 files) INSTALL include/linux/dvb (8 files) INSTALL include/linux/hdlc (1 file) INSTALL include/linux/hsi (1 file) INSTALL include/linux/isdn (1 file) INSTALL include/linux/mmc (1 file) INSTALL include/linux/netfilter/ipset (4 files) INSTALL include/linux/netfilter (87 files) INSTALL include/linux/netfilter_arp (2 files) INSTALL include/linux/netfilter_bridge (17 files) INSTALL include/linux/netfilter_ipv4 (9 files) INSTALL include/linux/netfilter_ipv6 (12 files) INSTALL include/linux/nfsd (5 files) INSTALL include/linux/raid (2 files) INSTALL include/linux/spi (1 file) INSTALL include/linux/sunrpc (1 file) INSTALL include/linux/tc_act (8 files) INSTALL include/linux/tc_ematch (4 files) INSTALL include/linux/usb (11 files) INSTALL include/linux/wimax (1 file) INSTALL include/linux (405 files) INSTALL include/misc (1 file) INSTALL include/mtd (5 files) INSTALL include/rdma (6 files) INSTALL include/scsi/fc (4 files) INSTALL include/scsi (3 files) INSTALL include/sound (11 files) INSTALL include/video (3 files) INSTALL include/xen (4 files) INSTALL include/uapi (0 file) INSTALL include/asm (38 files) make[5]: Leaving directory `/data/LinuxBuild/kamerwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7' net/sched/Kconfig:43: warning: menuconfig statement without prompt * * Restart config... * * * Kernel type * Kernel code model 1. 32-bit kernel (32BIT) choice[1]: 1 KVM Guest Kernel (KVM_GUEST) [N/y/?] n Kernel page size 1. 4kB (PAGE_SIZE_4KB) 2. 16kB (PAGE_SIZE_16KB) 3. 64kB (PAGE_SIZE_64KB) choice[1-3]: 1 Maximum zone order (FORCE_MAX_ZONEORDER) [11] 11 SmartMIPS or microMIPS ASE support 1. None (CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS) (NEW) choice[1]: 1 Allow for memory compaction (COMPACTION) [N/y/?] n Enable KSM for page merging (KSM) [N/y/?] n Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096 Enable cleancache driver to cache clean pages if tmem is present (CLEANCACHE) [N/y/?] n Enable frontswap to cache swap pages if tmem is present (FRONTSWAP) [N/y/?] n Contiguous Memory Allocator (CMA) [N/y/?] n Common API for compressed memory storage (ZPOOL) [N/m/y/?] n Low density storage for compressed pages (ZBUD) [N/m/y/?] n Memory allocator for compressed pages (ZSMALLOC) [M/n/y/?] m Use page table mapping to access object in zsmalloc (PGTABLE_MAPPING) [N/y/?] n Timer frequency 1. 48 HZ (HZ_48) 2. 100 HZ (HZ_100) 3. 128 HZ (HZ_128) 4. 250 HZ (HZ_250)
[OpenWrt-Devel] [PATCH] oxnas: fix itb generation
- according to imx6 Makefile and u-Boot documentation is itb and probably should not be changed - this fixes build error if CONFIG_TARGET_ROOTFS_INCLUDE_FIT is set (missing .itb file) - use DTS_DIR (like in imx6 Makefile) only compile tested Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- target/linux/oxnas/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile index b09c67e..2660a9b 100644 --- a/target/linux/oxnas/image/Makefile +++ b/target/linux/oxnas/image/Makefile @@ -28,10 +28,10 @@ $(shell echo $(PROFILE) | tr '[:upper:]' '[:lower:]' | sed 's/_/-/g') endef define Image/BuildKernel/Template - $(CP) $(LINUX_DIR)/arch/arm/boot/dts/ox820-$(1).dtb $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb + $(CP) $(DTS_DIR)/ox820-$(1).dtb $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb $(call Image/BuildKernel/MkFIT,$(1),$(KDIR)/zImage,$(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb,none,0x60008000,0x60008000) - $(CP) $(KDIR)/fit-$(1).itb $(BIN_DIR)/$(IMG_PREFIX)-$(1)-fit-uImage.bin + $(CP) $(KDIR)/fit-$(1).itb $(BIN_DIR)/$(IMG_PREFIX)-$(1)-fit-uImage.itb ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) $(call Image/BuildKernel/MkFIT,$(1),$(KDIR)/zImage-initramfs,$(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb,none,0x60008000,0x60008000,-initramfs) -- 2.3.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ar71xx update to v3.18
On 16/02/2015 00:15, Paul Blazejowski wrote: 00 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 21.73] cfg80211: (549 KHz - 573 KHz @ 16 KHz), (N/A, 2000 mBm), (0 s) [ 21.74] cfg80211: (5735000 KHz - 5835000 KHz @ 8 KHz), (N/A, 2000 mBm), (N/A) [ 21.75] cfg80211: (5724 KHz - 6372 KHz @ 216 KHz), (N/A, 0 mBm), (N/A) [ 22.17] ath9k ar934x_wmac: Direct firmware load for soc_wmac.eeprom failed with error -2 [ 22.18] ath: phy0: Unable to load EEPROM file soc_wmac.eeprom [ 22.19] ath9k ar934x_wmac: failed to initialize device [ 22.19] ath9k: probe of ar934x_wmac failed with error -22 [ 22.20] PCI: Enabling device :00:00.0 ( - 0002) [ 22.22] ath9k :00:00.0: Direct firmware load for pci_wmac0.eeprom failed with error -2 [ 22.23] ath: phy1: Unable to load EEPROM file pci_wmac0.eeprom [ 22.23] ath9k :00:00.0: Failed to initialize device [ 22.24] ath9k: probe of :00:00.0 failed with error -22 [ 29.76] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready probably related to this - https://dev.openwrt.org/ticket/18992 do a cat /tmp/sysinfo/* please ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel