[OpenWrt-Devel] hotplug / micro-optimization
i have a router here with 400 vlan-interfaces. i'am still not happy, that an hotplug-event triggers a lot of unneccesary action. i see at least 3 possibilities reduce the load: (beside the upcoming procd-interface job) 1) each script implements something like: #!/bin/sh /etc/init.d/$daemon enabled || exit 0 case $ACTION in ifup) ... ;; esac the part '/etc/init.d/$daemon enabled' is expensive, so we can instead call: . /etc/rc.common /etc/init.d/$daemon enabled || return 0 this saves _some_ cycles (2 seconds here for 400 hotplug-scripts, not much) 2) simply dont call a script when the corresponding daemon is not enabled. i'am not sure, if each hotplug-script has a coressponding /etc/init.d/$daemon script, if so - so would be fine (and easy to do) 3) during bootup or '/etc/init.d/$daemon enable' we build a directory for enabled scripts. while we are at it, we can e.g. call 'ifup'/$ACTION if the daemon supports/implements it, otherwise ignore what will be the best approach? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] hotplug / micro-optimization
* Felix Fietkau n...@openwrt.org [09.06.2014 21:23]: [...] For this trigger we can add a time delay, which will aggregate events. Once that is implemented correctly, 400 ifup events in rapid succession will lead to only one series of init script calls instead of 400. With that approach, such micro-optimizations become unnecessary. thanks for the explanation - sound good! bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 2/2] busybox: use ntp enabled config option
* Luka Perkov l...@openwrt.org [26.06.2014 14:24]: + [ $enabled = 0 ] return This can also be 'true' or 'false' or 'disabled'. I see, that other packages are also doing it like this, but i remeber there was an uci-thingy() doing that, wasn't it? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] trac/rss-feed has changed?
my feedreader was used to fetch https://dev.openwrt.org/log/trunk?limit=100mode=stop_on_copyformat=rss but this stopped working around 13. july 13:00 why? what should i use now? bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] trac/rss-feed has changed?
* Mathias Kresin open...@kresin.me [18.07.2014 19:36]: i'm using the rss feed from gitweb http://git.openwrt.org/?p=openwrt.git;a=atom;opt=--no-merges which works quite nice. works, thank you! - bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?
when reading http://en.wikipedia.org/wiki/IPv6#Link_local_address it seems to me, that the linklocal-address should be uniq, but here: root@box:~ ip neigh | grep ^'fe80::' | grep lladdr $mac fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE why this? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?
* Baptiste Jonglez bjong...@illyse.org [22.07.2014 13:21]: On Tue, Jul 22, 2014 at 11:50:55AM +0200, Bastian Bittorf wrote: when reading http://en.wikipedia.org/wiki/IPv6#Link_local_address it seems to me, that the linklocal-address should be uniq, unique is ambiguous: do you mean that the same LL address can't be present on different interfaces? on different hosts? That a host can only have one link-local address per interface? I wondered, that the same host/mac has 2 different link-local addresses. root@box:~ ip neigh | grep ^'fe80::' | grep lladdr $mac fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE # ip -6 addr add fe80::1cfc:fe65:769:3784/64 dev eth0 # ip -6 addr add fe80::cea:3b47:5812:96be/64 dev eth0 I don't see any problem with that. In your case, fe80::1cfc:fe65:769:3784 is an EUI64 address, while the other one is not (so, probably added manually). ok, thanks for this explanation - now i'am unsure which process give out fe80:: adresses which are not EUI64 - but thats another story 8-) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?
* Gui Iribarren g...@altermundi.net [22.07.2014 13:21]: fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE different link-local addresses, same MAC address. nothing wrong about that any idea which part of OpenWrt is responsible for adding these addresses? It's r41037 here - maybe odhcpd? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?
* Baptiste Jonglez bjong...@illyse.org [22.07.2014 13:21]: root@box:~ ip neigh | grep ^'fe80::' | grep lladdr $mac fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE # ip -6 addr add fe80::1cfc:fe65:769:3784/64 dev eth0 # ip -6 addr add fe80::cea:3b47:5812:96be/64 dev eth0 I don't see any problem with that. In your case, fe80::1cfc:fe65:769:3784 is an EUI64 address, while the other one is not (so, probably added manually). but should'nt be tge EUI64 of 84:b1:53:b2:b8:b3 the fe80::86b1:53ff:feb2:b8b3? (or is this only the subset 'modified EUI64'?) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] USB crash when USB WiFi dongle is used (RTL8192CU) - WDR4300
* Ćukasz Baj l@radytek.com [11.08.2014 16:56]: 3.14.12. When I connect this dongle to USB and then disconnect it I see following crash and USB stops working. Any ideas how to fix this problem? does it also happen, when you force a 'wifi down' before unplugging? (please check with 'iw dev wlan0 info' if it is really off) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Q: curl: IPv6 zone identifiers / RFC6874 / OpenWrt
dear devs, i build 7.37.1 from 2014 jul 16 for OpenWrt on arch ar71xx: (the feature was at added at 9317eced9840 / 2014 Mar 15) root@box:~ curl --version curl 7.37.1 (mips-openwrt-linux-gnu) libcurl/7.36.0 PolarSSL/1.3.8 Protocols: file ftp ftps http https Features: IPv6 Largefile SSL when retrieving an linklocal IPv6-address, it does not work like exspected: root@box:~ curl http://[fe80::b248:7aff:fec5:ddf2%25wlan0]/ curl: (6) Couldn't resolve host '[fe80::b248:7aff:fec5' root@box:~ curl http://[fe80::b248:7aff:fec5:ddf2%wlan0]/ curl: (6) Couldn't resolve host '[fe80::b248:7aff:fec5' but this works: root@box:~ ping -c1 fe80::b248:7aff:fec5:ddf2%wlan0 PING fe80::b248:7aff:fec5:ddf2%wlan0 (fe80::b248:7aff:fec5:ddf2%wlan0): 56 data bytes 64 bytes from fe80::b248:7aff:fec5:ddf2: seq=0 ttl=64 time=0.431 ms any idea which is wrong on my side? thanks in advance - bye, bastian PS: for building under openwrt i removed these 2 patches: (which should not influence the above behavior) 001-cyassl-Use-error-ssl.h-when-available.patch 400-hugehelp.patch ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Q: curl: IPv6 zone identifiers / RFC6874 / OpenWrt
by accident i mixed curl 7.37.1 with libcurl 7.36. after upgrading libcurl everything is working: root@box:~ curl http://[fe80::6670:2ff:fe8b:221e%25wlan0]/robots.txt User-agent: * Disallow: /cgi-bin/ root@box:~ curl http://[fe80::6670:2ff:fe8b:221e%wlan0]/robots.txt User-agent: * Disallow: /cgi-bin/ thanks, sorry for noise bye - bastian PS: Imre Kaloz: are you accepting an updated curl-Makefile (patch) or must we wait till 7.38.0? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] dnsmasq 2.71 dies silently (hangs) / how to debug
sometimes dnsmasq 2.71 (trunk) dies silently but the process is still running. when sending: kill -SIGSEGV $PID there is no coredump but the daemon gets restarted (via procd?) normally inserting 'ulimit -c unlimited' just before starting the daemon should be enough, but i'am unsure how to apply, because there is some procd-magic involved. any hints? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] kirkwood / howto make bootloader
under http://downloads.openwrt.org/barrier_breaker/14.07-rc3/kirkwood/generic/uboot-kirkwood-goflexhome/ i can see the kwb-files, but how can i build them? (when building generic or a subtarget they will not show up) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] dnsmasq 2.71 dies silently (hangs) / how to debug
* Steven Barth cy...@openwrt.org [19.08.2014 12:49]: procd_set_param limits core=unlimited thanks, this works fine here when the 'root' part of dnsmasq gets a -SIGSEGV (or during a real crash) and produces coredumps. i will keep the list updated, when i catch a real hang. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] kirkwood not booting / goflex net / goflex home
while investigating the hanging boot/kernel on goflex home i see commit r38279 / d8eb02a921fa2c06118347231f3fd69285b8a5c7 kirkwood: prepare for 3.10 which removed target/linux/kirkwood/files-3.3/arch/arm/mach-kirkwood/goflexhome-setup.c is'nt it need for 3.10+ or what was the reason for removing that? see also: https://dev.openwrt.org/ticket/14938 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] kirkwood / missing kernel-module?
during boot i see in a long loop these messages, which kernel module is missing or which symbol must be active? (kernel 3.14.17) [ 86.817858] act_ipt: Unknown symbol tcf_hash_check (err 0) [ 86.823424] act_ipt: Unknown symbol tcf_hash_create (err 0) [ 86.829162] act_ipt: Unknown symbol tcf_unregister_action (err 0) [ 86.835324] act_ipt: Unknown symbol tcf_hash_insert (err 0) [ 86.840990] act_ipt: Unknown symbol tcf_register_action (err 0) [ 86.847036] act_ipt: Unknown symbol tcf_hash_destroy (err 0) [ 86.853024] act_mirred: Unknown symbol tcf_hash_check (err 0) [ 86.858873] act_mirred: Unknown symbol tcf_hash_create (err 0) [ 86.864792] act_mirred: Unknown symbol tcf_unregister_action (err 0) [ 86.871234] act_mirred: Unknown symbol tcf_hash_insert (err 0) [ 86.877161] act_mirred: Unknown symbol tcf_register_action (err 0) [ 86.883417] act_mirred: Unknown symbol tcf_hash_destroy (err 0) [ 86.890207] act_police: Unknown symbol tcf_unregister_action (err 0) [ 86.896657] act_police: Unknown symbol tcf_hash_new_index (err 0) [ 86.902828] act_police: Unknown symbol tcf_hash_release (err 0) [ 86.908839] act_police: Unknown symbol tcf_hash_search (err 0) [ 86.914743] act_police: Unknown symbol tcf_register_action (err 0) [ 86.921009] act_police: Unknown symbol tcf_action_dump_1 (err 0) [ 86.927342] act_skbedit: Unknown symbol tcf_hash_check (err 0) [ 86.933250] act_skbedit: Unknown symbol tcf_hash_create (err 0) [ 86.939271] act_skbedit: Unknown symbol tcf_unregister_action (err 0) [ 86.945789] act_skbedit: Unknown symbol tcf_hash_insert (err 0) [ 86.951793] act_skbedit: Unknown symbol tcf_hash_release (err 0) [ 86.957895] act_skbedit: Unknown symbol tcf_register_action (err 0) [ 86.965025] cls_basic: Unknown symbol tcf_action_exec (err 0) [ 86.970864] cls_basic: Unknown symbol unregister_tcf_proto_ops (err 0) [ 86.977500] cls_basic: Unknown symbol __tcf_em_tree_match (err 0) [ 86.983670] cls_basic: Unknown symbol tcf_exts_destroy (err 0) [ 86.989584] cls_basic: Unknown symbol tcf_em_tree_dump (err 0) [ 86.995482] cls_basic: Unknown symbol tcf_exts_change (err 0) [ 87.001311] cls_basic: Unknown symbol tcf_exts_dump (err 0) [ 87.006972] cls_basic: Unknown symbol tcf_exts_dump_stats (err 0) [ 87.013133] cls_basic: Unknown symbol tcf_em_tree_validate (err 0) [ 87.019400] cls_basic: Unknown symbol register_tcf_proto_ops (err 0) [ 87.025827] cls_basic: Unknown symbol tcf_em_tree_destroy (err 0) [ 87.032006] cls_basic: Unknown symbol tcf_exts_validate (err 0) [ 87.038685] cls_flow: Unknown symbol tcf_action_exec (err 0) [ 87.044412] cls_flow: Unknown symbol unregister_tcf_proto_ops (err 0) [ 87.050973] cls_flow: Unknown symbol __tcf_em_tree_match (err 0) [ 87.057064] cls_flow: Unknown symbol tcf_exts_destroy (err 0) [ 87.062882] cls_flow: Unknown symbol tcf_em_tree_dump (err 0) [ 87.068709] cls_flow: Unknown symbol tcf_exts_change (err 0) [ 87.074436] cls_flow: Unknown symbol tcf_exts_dump (err 0) [ 87.080010] cls_flow: Unknown symbol tcf_exts_dump_stats (err 0) [ 87.086087] cls_flow: Unknown symbol tcf_em_tree_validate (err 0) [ 87.092264] cls_flow: Unknown symbol register_tcf_proto_ops (err 0) [ 87.098628] cls_flow: Unknown symbol tcf_em_tree_destroy (err 0) [ 87.104710] cls_flow: Unknown symbol tcf_exts_validate (err 0) [ 87.111362] cls_fw: Unknown symbol tcf_action_exec (err 0) [ 87.116945] cls_fw: Unknown symbol unregister_tcf_proto_ops (err 0) [ 87.123304] cls_fw: Unknown symbol tcf_exts_destroy (err 0) [ 87.128957] cls_fw: Unknown symbol tcf_exts_change (err 0) [ 87.134513] cls_fw: Unknown symbol tcf_exts_dump (err 0) [ 87.139914] cls_fw: Unknown symbol tcf_exts_dump_stats (err 0) [ 87.145819] cls_fw: Unknown symbol register_tcf_proto_ops (err 0) [ 87.151997] cls_fw: Unknown symbol tcf_exts_validate (err 0) [ 87.158014] cls_route: Unknown symbol tcf_action_exec (err 0) [ 87.163832] cls_route: Unknown symbol unregister_tcf_proto_ops (err 0) [ 87.170467] cls_route: Unknown symbol tcf_exts_destroy (err 0) [ 87.176370] cls_route: Unknown symbol tcf_exts_change (err 0) [ 87.182201] cls_route: Unknown symbol tcf_exts_dump (err 0) [ 87.187857] cls_route: Unknown symbol tcf_exts_dump_stats (err 0) [ 87.194026] cls_route: Unknown symbol register_tcf_proto_ops (err 0) [ 87.200460] cls_route: Unknown symbol tcf_exts_validate (err 0) [ 87.207049] cls_tcindex: Unknown symbol tcf_action_exec (err 0) [ 87.213038] cls_tcindex: Unknown symbol unregister_tcf_proto_ops (err 0) [ 87.219849] cls_tcindex: Unknown symbol tcf_exts_destroy (err 0) [ 87.225926] cls_tcindex: Unknown symbol tcf_exts_change (err 0) [ 87.231930] cls_tcindex: Unknown symbol tcf_exts_dump (err 0) [ 87.237762] cls_tcindex: Unknown symbol tcf_exts_dump_stats (err 0) [ 87.244105] cls_tcindex: Unknown symbol register_tcf_proto_ops (err 0) [ 87.250715] cls_tcindex: Unknown symbol tcf_exts_validate (err 0) [ 87.257177]
Re: [OpenWrt-Devel] Lots of missing packages!
* Steven Barth cy...@openwrt.org [13.08.2014 10:48]: The current status of oldpackages is this: If you are using trunk and want to use the possibly outdated packages you have to enable the oldpackages feed and build them manually. how is this done? till some weeks it was: make package/symlinks and now? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [base-files] remove useless explicit set of function returncode
[base-files] remove useless explicit set of function returncode somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html The last command executed in the function or script determines the exit status. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/etc/init.d/system |2 -- package/network/config/firewall/files/firewall.init|4 package/network/config/netifd/files/etc/init.d/network | 14 -- package/network/services/dropbear/files/dropbear.init |1 - package/network/services/relayd/files/relay.init |2 -- package/system/ubox/files/log.init |2 -- package/utils/busybox/files/sysntpd|1 - 8 files changed, 1 insertion(+), 26 deletions(-) create mode 16 kalua @@ -0,0 +1 @@ +Subproject commit 2fbbcb4c21178e8b4991727994d2036e768dd3eb diff --git a/package/base-files/files/etc/init.d/system b/package/base-files/files/etc/init.d/system index 24a9fde..6388d62 100755 --- a/package/base-files/files/etc/init.d/system +++ b/package/base-files/files/etc/init.d/system @@ -12,8 +12,6 @@ validate_system_section() 'buffersize:uinteger' \ 'timezone:string:UTC' \ 'zonename:string' - - return $? } system_config() { diff --git a/package/network/config/firewall/files/firewall.init b/package/network/config/firewall/files/firewall.init index 1147b83..9664e39 100755 --- a/package/network/config/firewall/files/firewall.init +++ b/package/network/config/firewall/files/firewall.init @@ -15,8 +15,6 @@ validate_firewall_redirect() 'dest_ip:cidr' \ 'dest_port:or(port, portrange)' \ 'target:or(SNAT, DNAT)' - - return $? } validate_firewall_rule() @@ -28,8 +26,6 @@ validate_firewall_rule() 'src_port:or(port, portrange)' \ 'dest_port:or(port, portrange)' \ 'target:string' - - return $? } service_triggers() { diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index 8a7427b..1d8a5b3 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -50,8 +50,6 @@ validate_atm_bridge_section() 'atmdev:uinteger:0' \ 'encaps:or(llc, vc):llc' \ 'payload:or(bridged, routed):bridged' - - return $? } validate_route_section() @@ -64,8 +62,6 @@ validate_route_section() 'metric:uinteger' \ 'mtu:uinteger' \ 'table:or(range(0,65535),string)' - - return $? } validate_route6_section() @@ -77,8 +73,6 @@ validate_route6_section() 'metric:uinteger' \ 'mtu:uinteger' \ 'table:or(range(0,65535),string)' - - return $? } validate_rule_section() @@ -94,8 +88,6 @@ validate_rule_section() 'lookup:or(range(0,65535),string)' \ 'goto:range(0,65535)' \ 'action:or(prohibit, unreachable, blackhole, throw)' - - return $? } validate_rule6_section() @@ -111,8 +103,6 @@ validate_rule6_section() 'lookup:or(range(0,65535),string)' \ 'goto:range(0,65535)' \ 'action:or(prohibit, unreachable, blackhole, throw)' - - return $? } validate_switch_section() @@ -122,8 +112,6 @@ validate_switch_section() 'enable:bool' \ 'enable_vlan:bool' \ 'reset:bool' - - return $? } validate_switch_vlan() @@ -132,8 +120,6 @@ validate_switch_vlan() 'device:string' \ 'vlan:uinteger' \ 'ports:list(ports)' - - return $? } service_triggers() diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init index 5206426..c6f3d9b 100755 --- a/package/network/services/dropbear/files/dropbear.init +++ b/package/network/services/dropbear/files/dropbear.init @@ -47,7 +47,6 @@ validate_section_dropbear() 'Port:list(port):22' \ 'SSHKeepAlive:uinteger:300' \ 'IdleTimeout:uinteger:0' - return $? } dropbear_instance() diff --git a/package/network/services/relayd/files/relay.init b/package/network/services/relayd/files/relay.init index e193312..e38143f 100644 --- a/package/network/services/relayd/files/relay.init +++ b/package/network/services/relayd/files/relay.init @@ -15,8 +15,6 @@ validate_proto_relayd() 'table:range(0, 65535):16800
Re: [OpenWrt-Devel] kirkwood / missing kernel-module?
* Felix Kaechele fe...@fetzig.org [21.08.2014 08:05]: during boot i see in a long loop these messages, which kernel module is missing or which symbol must be active? (kernel 3.14.17) That is very strange. I ran a make dirclean and built r42230 today for my Pogoplug E02. Both u-boot and OpenWrt run without any hitches. Have you tried running a dirclean and building with a clean buildroot? thank you, the error is on my side. today i tried with a new goflex and a new build and everything is working without issues. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] procd / hang during shutdown/startup / regression?
i while ago, procd implemented a timeout (15 sec) for hanging tasks during startup/init. this works and can be easily checked with placing this snippet in any startup-script: start() { local i=300 while let i-=1; do echo still running: $i /tmp/CHECK sleep 1 done } the same for shutdown (STOP-scripts) e.g. umount tested with r42232 this down not work anymore, but i'am pretty sure it was working with older versions. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC
* Baptiste Jonglez bjong...@illyse.org [22.08.2014 22:34]: What is the default value, then? Is it none or disabled? What is the difference? internally it's a bool/switch, which can have: 0|off|false|no|disabled or 1|on|true|yes|enabled adding 'none' is possible, but... bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [boot] /init: allow easier customisation of ramfs boot.
* Stephen Parry sgpa...@mainscreen.com [24.08.2014 08:28]: +if [ -e /bin/ramfsinit ]; then + exec /bin/ramfsinit +fi better use: elif [ -e /sbin/ramfsinit ]; then +if [ -e /sbin/ramfsinit ]; then + exec /sbin/ramfsinit +fi bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] platform name 'ramips' VS 'ramips_24kec'
i stumbled in a custom script over this problem: root@fonera2n:~ opkg status kernel Package: kernel Version: 3.10.34-1-9ab8a27dee25ed0e5197bf83aebd96c3 Depends: libc Status: install hold installed Architecture: ramips_24kec Installed-Time: 1396519878 # so the platform/architacture name is 'ramips_24kec' # but here the name is just: 'ramips' root@fonera2n:~ grep packages /etc/opkg.conf src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/ramips/packages our auto-update-script is confused (me too!). can somebody explain this? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] platform name 'ramips' VS 'ramips_24kec'
* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf bitt...@bluebottle.com [27.08.2014 09:42]: can somebody explain this? bye, bastian digging through 'target/linux/ramips' i can see, that all boards are CPU_TYPE:=24kec but only 1 board 'rt288x' is CPU_TYPE:=mips32r2 (so '24kec' is a special subtype of mips32r2?) so why there is at http://downloads.openwrt.org/snapshots/trunk/ a folder 'ramips.rt3883' and 'ramips' (but 24kec) but not 'rampis.rt288x' (which is special: mips32r2) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [Bug: Busybox 1.22.1] false return 0 instead of 1 with '--help' switch.
* Alive4ever alive4e...@live.com [29.08.2014 14:03]: I'm using an embedded system with busybox v1.22.1, running Openwrt Chaos Chalmer r42321, mips24k AR9330 When I call 'busybox false --help', the return status is zero. I think it has nothing todo with openwrt, because it's the output of busybox, not the problem on openwrt performance. I feel it's strange, because GNU coreutils false binary gives return status 1, even when invoked with '--help' switch. I also notice that Ubuntu busybox false, which is version 1.21.1 performs the same behaviour as GNU coreutils. i cannot see a bug here on OpenWrt: root@box:~ busybox false --help BusyBox v1.22.1 (2014-08-28 18:55:30 EDT) multi-call binary. Usage: false Return an exit code of FALSE (1) root@box:~ echo $? 0 root@box:~ false --help root@box:~ echo $? 1 root@box:~ false bla root@box:~ echo $? 1 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] gigabit router !
* Daniel Petre daniel.pe...@gmail.com [30.08.2014 07:42]: is there any OpenWrt compatible gigabit router that can do more than 400 Mbit/s WAN to LAN except linksys wrt1900ac ? I know netgear wndr3700/wndr3800 and tp-link wr1043nd do around 380-400 Mbit/s but is there any other hardware more powerful with OpenWrt support? you can just use a cheap x86-board with 2 x Gigabit RJ45, e.g. GigaByte GA-J1900N-D3V bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [scripts] Fix typo, replace quotes in comments
* Robert P. J. Day rpj...@crashcourse.ca [04.09.2014 10:54]: -# Example: `scripts/update-package-md5sum feeds/packages/python` +# Example: $ scripts/update-package-md5sum feeds/packages/python if you use '$' instead of '`', you must use e.g. $(...) so `shell_command` or $(shell_command) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] mac80211/DFS-support default since r42431
with r42431 DFS is enabled by default[1]: mac80211: enable DFS support for ath9k/10k by default The DFS pattern detector now supports all three regions; ETSI, FCC and JP, so there is no reason to not have it enabled anymore. there was a long discussion on battlemesh/Leipzig[2] that this is from a security point of view a difficult thing - because everybody can take down a complete city-network. I'am unsure about the decision: a) selfbuilders can disable it b) it changes the default behaviour what do you think about it? bye, bastian [1] https://dev.openwrt.org/changeset/42431/trunk [2] http://www.battlemesh.org/BattleMeshV7 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] mac80211/DFS-support default since r42431
* Felix Fietkau n...@openwrt.org [08.09.2014 10:36]: is from a security point of view a difficult thing - because everybody can take down a complete city-network. I've never heard this claim before. How does enabling this option allow people to take down a network? the theory is here: http://battlemesh.org/BattleMeshV7/Agenda?action=AttachFiledo=gettarget=2014-05-17_wbmv7_DFS.pdf on short - it is a problem for IBSS/adhoc: if somebody sends a CSA / channel switch announcement which is not signed/thrusted, you must switch. also: somebody can just mark all channels as unavailable. the question is: is it really implemented in IBSS mode and what about vif's? (adhoc + ap) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] mac80211/DFS-support default since r42431
* Jonas Gorski j...@openwrt.org [08.09.2014 11:54]: detection support in ath9k/ath10k. So if CSAs are an issue, it was already an issue before. thanks for pointing that, it was not clear to me. somebody can just mark all channels as unavailable. How would they do that? Especially with non-DFS enabled channels. Spamming CSAs? I'm pretty sure authorities get interested very fast if you produce patterns triggering radar detection over a very wide band. as far as i understand, sending a CSA can be done from anybody in IBSS. if a station hears a CSA it must mark the channel as unavailable, because you must thrust the CSA. Or is this only when a radar-pattern is detected? But all of these should only affect you if you try to use a channel requiring DFS support, and should have no influence when operating on non-DFS channels. ok. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Possible to add horst 4.1 to packages for 14.07?
* Bruno Randolf b...@einfach.org [26.09.2014 14:11]: horst 4.1 to the for-14.07 branch... Here's the pull request: i vote for it - bye, bastian. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/2] base-files: add network_get_ipaddrs_all()
* Mathias Kresin open...@kresin.me [06.10.2014 20:23]: +network_get_ipaddrs_all() { + local __addr + local __list= 1) is there a special reason for starting everything with '__'? (the vars are local anyway). 2) is there a special reason not to name the vars $1 and $2? e.g. local dest_var=$1 local interface=$2 3) why you append a '1' to the list if it's IPv6? (make it clear in the code) 4) use a special var for the list and for the element of the list. (for __addr in $__addr; do - for ELEMENT in $LIST) + if __network_ifstatus __addr $2 ['ipv4-address','ipv6-address','ipv6-prefix-assignment'][*].address; then + for __addr in $__addr; do + case $__addr in + *:) __list=${__list:+$__list }${__addr}1 ;; + *) __list=${__list:+$__list }${__addr} ;; + esac + done + + export $1=$__list + return 0 + fi + + unset $1 + return 1 +} bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Q: mac80211: defailt distance-settings 0
i seems that '/lib/netifd/wireless/mac80211.sh' sets the default distance to '0' if not defined via uci. what does that mean? dynamic ack or not? because 0 seems to be a valid value: root@box:~ iw phy phy0 set distance Usage: iw [options] phy phyname set distance auto|distance Enable ACK timeout estimation algorithm (dynack) or set appropriate coverage class for given link distance in meters. To disable dynack set valid value for coverage class. Valid values: 0 - 114750 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [base-files] shell-scripting: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently ignore this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/lib/functions/uci-defaults-new.sh |2 +- package/base-files/files/lib/functions/uci-defaults.sh |2 +- package/base-files/files/sbin/led.sh |6 +++--- package/base-files/files/sbin/wifi |2 +- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh |2 +- package/network/config/qos-scripts/files/usr/bin/qos-stat |4 ++-- package/network/services/dropbear/files/dropbear.init |2 +- package/network/services/hostapd/files/wpa_supplicant.sh |2 +- package/network/services/openvpn/files/openvpn.init|2 +- package/network/services/relayd/files/relay.init |2 +- package/system/fstools/files/snapshot |6 +++--- package/system/procd/files/nand.sh |4 ++-- package/system/procd/files/procd.sh|2 +- scripts/flashing/flash.sh |6 +++--- .../base-files/etc/uci-defaults/03_network-switchX-migration |2 +- .../linux/ar71xx/base-files/etc/uci-defaults/04_led_migration |4 ++-- target/linux/brcm2708/image/gen_rpi_sdcard_img.sh |2 +- .../base-files/lib/preinit/15_set_preinit_interface_brcm |2 +- .../ixp4xx/base-files/lib/preinit/05_set_ether_mac_ixp4xx |8 target/linux/ramips/base-files/etc/hotplug.d/usb/10-motion |2 +- .../linux/ramips/base-files/lib/preinit/04_handle_checksumming |2 +- target/linux/sunxi/image/gen_sunxi_sdcard_img.sh |2 +- target/linux/x86_64/image/gen_image_generic.sh |2 +- 23 files changed, 35 insertions(+), 35 deletions(-) diff --git a/package/base-files/files/lib/functions/uci-defaults-new.sh b/package/base-files/files/lib/functions/uci-defaults-new.sh index ba954de..0751744 100755 --- a/package/base-files/files/lib/functions/uci-defaults-new.sh +++ b/package/base-files/files/lib/functions/uci-defaults-new.sh @@ -34,7 +34,7 @@ _ucidef_set_interface() { json_select_object $name json_add_string ifname ${iface%%.*} - [ $iface == ${iface%%.*} ] || json_add_boolean create_vlan 1 + [ $iface = ${iface%%.*} ] || json_add_boolean create_vlan 1 json_select .. } diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh index e90090c..8a9a0ff 100644 --- a/package/base-files/files/lib/functions/uci-defaults.sh +++ b/package/base-files/files/lib/functions/uci-defaults.sh @@ -140,7 +140,7 @@ EOF ucidef_commit_leds() { - [ $UCIDEF_LEDS_CHANGED == 1 ] uci commit system + [ $UCIDEF_LEDS_CHANGED = 1 ] uci commit system } ucidef_set_interface_loopback() { diff --git a/package/base-files/files/sbin/led.sh b/package/base-files/files/sbin/led.sh index d67a0f5..d750f06 100755 --- a/package/base-files/files/sbin/led.sh +++ b/package/base-files/files/sbin/led.sh @@ -9,15 +9,15 @@ do_led() { local sysfs config_get name $1 name config_get sysfs $1 sysfs - [ $name == $NAME -o $sysfs = $NAME -a -e /sys/class/leds/${sysfs} ] { - [ $ACTION == set ] + [ $name = $NAME -o $sysfs = $NAME -a -e /sys/class/leds/${sysfs} ] { + [ $ACTION = set ] echo 1 /sys/class/leds/${sysfs}/brightness \ || echo 0 /sys/class/leds/${sysfs}/brightness exit 0 } } -[ $1 == clear -o $1 == set ] +[ $1 = clear -o $1 = set ] [ -n $2 ] { config_load system config_foreach do_led diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 051bc89..2476414 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -108,7 +108,7 @@ wifi_fixup_hwmode() { _wifi_updown() { for device in ${2:-$DEVICES}; do ( config_get disabled $device disabled - [ 1 == $disabled ] { + [ $disabled = 1 ] { echo '$device' is disabled set disable } diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index e6241de..918955a 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -476,7 +476,7
Re: [OpenWrt-Devel] Q: mac80211: default distance-settings 0
* Felix Fietkau n...@openwrt.org [07.10.2014 13:40]: On 2014-10-07 08:15, Bastian Bittorf wrote: because 0 seems to be a valid value: 0 does not imply dynamic ACK, it is simply the minimum value. Enabling dynack by default would be a bad idea. what does 0 mean? the wiki says: 0 meters away, so a short ack-timeout is used, or is '0' something special, eg. driver default? i tested a p2p/longshot here, where both stations are 350m away, but invoking on both sides: iw phy phy0 set distance 350 shows, that the link gets really worse, also with 500 or 2000. can't it be changed during runtime? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] iproute2 / macvlan-problem [SOLVED]
* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf bitt...@bluebottle.com [07.10.2014 17:38]: since some weeks i have problems using 'macvlan'. it works with r41037 / kernel 3.10.36 and does not work with r42830 / kernel 3.10.49 or .55 what i do is this: brctl addbr br-test brctl addif br-test $WIFIDEV ip link set dev br-test up insmod macvlan ip link add link br-test subdev0 address 02:ca:ff:ee:00:02 type macvlan just for reference: the new iproute2 is a bit more strict about the syntax: will NOT work: ip link add link $PHYDEV $NEWDEV type macvlan works: ip link add link $PHYDEV name $NEWDEV type macvlan sorry for confusion, hope it helps somebody. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Q: update kernel from 3.10.49 to 3.10.57
i would like to update the kernel, but just changing the entry in 'target/linux/ar71xx/Makefile' to LINUX_VERSION:=3.10.57 will not work, because some patches cannot be applied anymore. (it works without probs till 3.10.55). the question is: can somebody give me a hint about the workflow of how to rebase the patches? (is the reason for not updating the kernel anymore, that we soon switch to 3.14 or just lack of time?) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Help, how to troubleshoot openwrt crash(reboot)
* document caoxi...@gmail.com [12.10.2014 07:54]: i have a little linux skill, but output of logread at openwrt-12.09 will not help and will be empty when there is a new boot. try a 'cat /sys/kernel/debug/crashlog' after a crash/reboot. some platforms (e.g. ar71xx) support this, maybe yours to. bye, bastian. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [base-files] failsafe-mode: print short help on commandline
[base-files] failsafe-mode: print short help on commandline Like mentioned in ticket https://dev.openwrt.org/ticket/11911 this should make the IRC much quieter. Failsafe is somehow special and even experienced users are helpless, because they are not used to this seldom situation. Also: likely you have no internet access in this mode, so you cannot use the wiki. this supersedes the old patches: http://patchwork.openwrt.org/patch/3337/ http://patchwork.openwrt.org/patch/3553/ Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/etc/banner.failsafe | 16 package/base-files/files/etc/profile |1 + 2 files changed, 17 insertions(+) create mode 100644 package/base-files/files/etc/banner.failsafe diff --git a/package/base-files/files/etc/banner.failsafe b/package/base-files/files/etc/banner.failsafe new file mode 100644 index 000..618a087 --- /dev/null +++ b/package/base-files/files/etc/banner.failsafe @@ -0,0 +1,16 @@ += FAILSAFE MODE active +special commands: +* firstboot reset settings to factory defaults +* mount_rootmount root-partition with config files + +after mount_root: +* passwdchange root's password +* /etc/config directory with config files + +restart system with: +* reboot -f reboots router + +for more help see: +http://wiki.openwrt.org/doc/howto/generic.failsafe +=== + diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index e9a7119..e72c377 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -1,4 +1,5 @@ #!/bin/sh +[ -e /tmp/.failsafe ] cat /etc/banner.failsafe [ -f /etc/banner ] cat /etc/banner export PATH=/usr/bin:/usr/sbin:/bin:/sbin -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] idea: trigger failsafe mode in software
sometimes it can be useful to trigger failsafe without beeing physically at the box. during bootup there is a decision made if the box should startup normal or in failsafe. in this state we dont have uci yet (or the rootfs) but it should be possible to early mount the debugfs and look for a magic string which can be found in crashlog a magic crash can be made with e.g. echo -e '#!/bin/sh\necho c /proc/sysrq-trigger' /tmp/do_failsafe.sh chmod +x /tmp/do_failsafe.sh /tmp/do_failsafe.sh after the artificial crashreboot, we can see in '/sys/kernel/debug/crashlog' [...] 6[ 347.69] SysRq : Trigger a crash 1[ 347.69] CPU 0 Unable to handle kernel paging request at virtual address , epc == 801a7ea4, ra == 801a826c 4[ 347.69] Oops[#1]: 4[ 347.69] CPU: 0 PID: 7268 Comm: do_failsafe.sh Not tainted 3.10.36 #5 4[ 347.69] task: 8084d920 ti: 8184 task.ti: 8184 4[ 347.69] $ 0 : 0001 0001 0001 [...] so in /lib/preinit/30_failsafe_wait we can do e.g.: head -n6 /sys/kernel/debug/crashlog | fgrep -q ' Comm: do_failsafe.sh ' FAILSAFE=true two questions raise up: 1) is it too much mount debugfs during bootup, because failsafe also means minimal influence 2) is it a security hole? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [base-files] failsafe-mode: print short help on commandline
* John Crispin blo...@openwrt.org [13.10.2014 21:18]: as before, i like the idea however you claim experienced users need help and then you list /etc/config, passwd and reboot -f also experienced users - this includes the mortal ones. even the best are not used to e.g. 'mount_root' and 'firstboot' P.S.: i thought i fixed the -f thing. sure it does not work without ? i will check. are there other suggestions, which commands should be listed? i should do a grep failsafe $openwrt_irc_archive bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/3] rb532: add 3.14 support / sysupgrade-support
* Roman Yeryomin leroi.li...@gmail.com [10.10.2014 13:07]: On 7 October 2014 08:32, Roman Yeryomin leroi.li...@gmail.com wrote: Signed-off-by: Roman Yeryomin ro...@advem.lv --- target/linux/rb532/config-3.14 | 148 + thanks for the patches! i have 2 x rb532 running with 3.10 - it seems at the moment there is no sysupgrade-support available. how can i flash a 'bin/rb532/openwrt-rb532-combined-jffs2-128k.bin' on a running box (also with jffs2). mtd? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [base-files] default_postinst() fix wrong call of group_add
[base-files] default_postinst() fix wrong call of group_add after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is always called. shell scripting can be tricky... wrong call - stacked calls are wrong: [ -n $gid ] group_exists $name || group_add $name $gid this leads to a call of 'group_add' when $gid is emtpy, proof: root@box:~ [ -n ] echo 'filled' || echo 'echo failed' echo failed Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/lib/functions.sh |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 3a5a65d..d53be3e 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2006-2013 OpenWrt.org +# Copyright (C) 2006-2014 OpenWrt.org # Copyright (C) 2006 Fokus Fraunhofer carsten.tit...@fokus.fraunhofer.de # Copyright (C) 2010 Vertical Communications @@ -193,7 +193,10 @@ default_postinst() { } gid=$id - [ -n $gid ] group_exists $name || group_add $name $gid + [ -n $gid ] { + group_exists $name || group_add $name $gid + } + [ -z $gid ] { group_add_next $name gid=$? -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [base-files] default_postinst() fix wrong call of group_add
forget this patch - it's wrong. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2] [base-files] default_postinst() fix wrong call of group_add
[base-files] default_postinst() fix wrong call of group_add after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is always called. shell scripting can be tricky... wrong call: [ -n $gid ] group_exists $name || group_add $name $gid this leads to a call of 'group_add' when $gid is emtpy, proof: root@box:~ functionA() { echo A; } root@box:~ functionB() { echo B; } root@box:~ VAR= root@box:~ [ -n $VAR ] functionA || functionB B root@box:~ # functionB was called, but VAR is not filled root@box:~ VAR=filled root@box:~ [ -n $VAR ] functionA || functionB A Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/lib/functions.sh |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 3a5a65d..d53be3e 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2006-2013 OpenWrt.org +# Copyright (C) 2006-2014 OpenWrt.org # Copyright (C) 2006 Fokus Fraunhofer carsten.tit...@fokus.fraunhofer.de # Copyright (C) 2010 Vertical Communications @@ -193,7 +193,10 @@ default_postinst() { } gid=$id - [ -n $gid ] group_exists $name || group_add $name $gid + [ -n $gid ] { + group_exists $name || group_add $name $gid + } + [ -z $gid ] { group_add_next $name gid=$? -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [netifd/scripts] support numeric and symbolic values for signal in proto_kill_command()
[netifd/scripts] support numeric and symbolic values for signal in proto_kill_command() instead of let the caller do the conversion of symbolic to numeric, do the conversion internally - the old mode (numeric) is still supported Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- scripts/netifd-proto.sh | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index ce316c4..6625053 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -286,11 +286,22 @@ proto_run_command() { } proto_kill_command() { - local interface=$1; shift + local interface=$1 + local signal=$2 json_init json_add_int action 2 - [ -n $1 ] json_add_int signal $1 + + case $signal in + [0-9]|[0-9][0-9]) + json_add_int signal $signal + ;; + [a-zA-Z]*) + signal=$( kill -l $signal ) + json_add_int signal $signal + ;; + esac + _proto_notify $interface } -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [netifd/proto/dhcp.sh] directly use signal name
[netifd/proto/dhcp.sh] directly use signal name in proto_dhcp_renew() we call proto_kill_command, which now supports symbolic names directly, so conversion unneeded. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index 6668b49..b3e09e2 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -59,9 +59,9 @@ proto_dhcp_setup() { proto_dhcp_renew() { local interface=$1 - # SIGUSR1 forces udhcpc to renew its lease - local sigusr1=$(kill -l SIGUSR1) - [ -n $sigusr1 ] proto_kill_command $interface $sigusr1 + + # forces udhcpc to renew its lease + proto_kill_command $interface SIGUSR1 } proto_dhcp_teardown() { -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [odhcp6c/scripts] directly use signal name
[odhcp6c/scripts] directly use signal name in proto_dhcp_renew() we call proto_kill_command, which now supports symbolic names directly, so conversion unneeded. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/ipv6/odhcp6c/files/dhcpv6.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh b/package/network/ipv6/odhcp6c/files/dhcpv6.sh index 5914abe..5637381 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.sh +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.sh @@ -83,9 +83,9 @@ proto_dhcpv6_setup() { proto_dhcpv6_renew() { local interface=$1 - # SIGUSR1 forces odhcp6c to renew its lease - local sigusr1=$(kill -l SIGUSR1) - [ -n $sigusr1 ] proto_kill_command $interface $sigusr1 + + # forces odhcp6c to renew its lease + proto_kill_command $interface SIGUSR1 } proto_dhcpv6_teardown() { -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCHv2] [netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... signal in proto_kill_command()
[netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... instead of let the caller do the conversion of symbolic to numeric (e.g. SIGUSR1 - 16), do the conversion internally - the old mode (numeric) is still supported Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- scripts/netifd-proto.sh | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index ce316c4..6625053 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -286,11 +286,22 @@ proto_run_command() { } proto_kill_command() { - local interface=$1; shift + local interface=$1 + local signal=$2 json_init json_add_int action 2 - [ -n $1 ] json_add_int signal $1 + + case $signal in + [0-9]|[0-9][0-9]) + json_add_int signal $signal + ;; + [a-zA-Z]*) + signal=$( kill -l $signal ) + json_add_int signal $signal + ;; + esac + _proto_notify $interface } -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [base-files] /lib/netifd/dhcp.script - only call firewall, if installed
[base-files] /lib/netifd/dhcp.script - only call firewall, if installed we dont use fw3, so i was wondering about error-messages in syslog about fw3. check if 'fw3' is in place, before calling it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/config/netifd/files/lib/netifd/dhcp.script |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script index 90fa6d3..2030fd5 100755 --- a/package/network/config/netifd/files/lib/netifd/dhcp.script +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script @@ -50,7 +50,10 @@ setup_interface () { ip6rd=${ip6rd#* } local ip6rdbr=${ip6rd%% *} - [ -n $ZONE ] || ZONE=$(fw3 -q network $INTERFACE) + [ -z $ZONE ] { + [ -e '/sbin/fw3' ] ZONE=$(fw3 -q network $INTERFACE) + } + [ -z $IFACE6RD -o $IFACE6RD = 1 ] IFACE6RD=${INTERFACE}_6rd json_init -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [odhcp6c] script: only call firewall, if installed
[odhcp6c] script: only call firewall, if installed we dont use fw3, so i was wondering about error-messages in syslog about fw3. check if 'fw3' is in place, before calling it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/ipv6/odhcp6c/files/dhcpv6.script |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script index 1acad19..6c47132 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.script +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script @@ -111,7 +111,9 @@ setup_interface () { MAPRULE=$LW4O6 fi - [ -n $ZONE ] || ZONE=$(fw3 -q network $INTERFACE) + [ -z $ZONE ] { + [ -e '/sbin/fw3' ] ZONE=$(fw3 -q network $INTERFACE) + } if [ $IFACE_MAP != 0 -a -n $MAPTYPE -a -n $MAPRULE ]; then [ -z $IFACE_MAP -o $IFACE_MAP = 1 ] IFACE_MAP=${INTERFACE}_map -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/9] [ar71xx/kernel] upgrade 3.10.49 to 3.10.50 - released 2014-07-28
[ar71xx/kernel] upgrade 3.10.49 to 3.10.50 - released 2014-07-28 compile tested. shortlog: 8021q: fix a potential memory leak alarmtimer: Fix bug where relative alarm timers were treated as absolute appletalk: Fix socket referencing in skb ARC: Implement ptrace(PTRACE_GET_THREAD_AREA) be2net: set EQ DB clear-intr bit in be_open() Bluetooth: Ignore H5 non-link packets in non-active state bnx2x: fix possible panic under memory stress dm cache metadata: do not allow the data block size to change dm thin metadata: do not allow the data block size to change dns_resolver: assure that dns_query() result is null-terminated dns_resolver: Null-terminate the right string Drivers: hv: util: Fix a bug in the KVP code drm/qxl: return IRQ_NONE if it was not our irq drm/radeon: avoid leaking edid data drm/radeon: set default bl level to something reasonable fuse: handle large user and group ID hwmon: (adt7470) Fix writes to temperature limit registers hwmon: (da9052) Don't use dash in the name attribute hwmon: (da9055) Don't use dash in the name attribute igb: do a reset on SR-IOV re-init if device is down igmp: fix the problem when mc leave group ip_tunnel: fix ip_tunnel_lookup ipv4: fix buffer overflow in ip_options_compile() ipv4: fix dst race in sk_dst_get() ipv4: icmp: Fix pMTU handling for rare case ipv4: irq safe sk_dst_[re]set() and ipv4_sk_update_pmtu() fix irqchip: gic: Add support for cortex a7 compatible string irqchip: gic: Fix core ID calculation when topology is read from DT iwlwifi: dvm: don't enable CTS to self locking/mutex: Disable optimistic spinning on some architectures media: gspca_pac7302: Add new usb-id for Genius i-Look 317 mwifiex: fix Tx timeout issue net: fix sparse warning in sk_dst_set() netlink: Fix handling of error from netlink_dump(). net: mvneta: Fix big endian issue in mvneta_txq_desc_csum() net: mvneta: fix operation in 10 Mbit/s mode net: pppoe: use correct channel MTU when using Multilink PPP net: qmi_wwan: Add ID for Telewell TW-LTE 4G v2 net: qmi_wwan: add two Sierra Wireless/Netgear devices net: sctp: check proc_dointvec result in proc_sctp_do_auth net: sctp: fix information leaks in ulpevent layer perf/x86/intel: ignore CondChgd bit to avoid false NMI handling PM / sleep: Fix request_firmware() error at resume ring-buffer: Fix polling on trace_pipe sched: Fix possible divide by zero in avg_atom() calculation shmem: fix faulting into a hole, not taking i_mutex shmem: fix faulting into a hole while it's punched shmem: fix splicing from a hole while it's punched sunvnet: clean up objects created in vnet_new() on vnet_exit() tcp: Fix divide by zero when pushing during tcp-repair tcp: fix false undo corner cases tcp: fix tcp_match_skb_to_sack() for unaligned SACK at end of an skb tipc: clear 'next'-pointer of message fragments before reassembly tracing: Add ftrace_trace_stack into __trace_puts/__trace_bputs tracing: Fix graph tracer with stack tracer on other archs usb: Check if port status is equal to RxDetect Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 1b40074..c687d21 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.50 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 2/9] [ar71xx/kernel] upgrade 3.10.50 to 3.10.51 - released 2014-07-31
[ar71xx/kernel] upgrade 3.10.50 to 3.10.51 - released 2014-07-31 compile tested. shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51 ahci: add support for the Promise FastTrak TX8660 SATA HBA (ahci mode) blkcg: don't call into policy draining if root_blkg is already gone block: don't assume last put of shared tags is for the host block: provide compat ioctl for BLKZEROOUT coredump: fix the setting of PF_DUMPCORE core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors hwmon: (smsc47m192) Fix temperature limit and vrm write operations Input: fix defuzzing logic libata: introduce ata_host-n_tags to avoid oops on SAS controllers libata: support the ata host which implements a queue depth less than 32 media: hdpvr: fix two audio bugs media: tda10071: force modulation to QPSK on DVB-S mm: hugetlb: fix copy_hugetlb_page_range() parisc: Remove SA_RESTORER define s390/ptrace: fix PSW mask check slab_common: Do not check for duplicate slab names slab_common: fix the check for duplicate slab names tracing: Fix wraparound problems in uptime trace clock x86_32, entry: Store badsys error code in %eax x86/efi: Include a .bss section within the PE/COFF headers Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index c687d21..a91b986 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.50 +LINUX_VERSION:=3.10.51 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 3/9] [ar71xx/kernel] upgrade 3.10.51 to 3.10.52 - released 2014-08-07
[ar71xx/kernel] upgrade 3.10.51 to 3.10.52 - released 2014-08-07 compile tested. shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52 ARM: 8115/1: LPAE: reduce damage caused by idmap to virtual memory layout cfg80211: fix mic_failure tracing crypto: af_alg - properly label AF_ALG socket iio: buffer: Fix demux table creation lib/btree.c: fix leak of whole btree nodes mm, thp: do not allow thp faults to avoid cpuset restrictions net/l2tp: don't fall back on UDP [get|set]sockopt net: mvneta: add missing bit descriptions for interrupt masks and causes net: mvneta: do not schedule in mvneta_tx_timeout net: mvneta: increase the 64-bit rx/tx stats out of the hot path net: mvneta: replace Tx timer with a real interrupt net: mvneta: use per_cpu stats to fix an SMP lock up printk: rename printk_sched to printk_deferred rapidio/tsi721_dma: fix failure to obtain transaction descriptor Revert mac80211: move bufferable MMPDU check to fix AP mode scan Revert x86-64, modify_ldt: Make support for 16-bit segments a runtime option scsi: handle flush errors properly staging: vt6655: Fix disassociated messages every 10 seconds staging: vt6655: Fix Warning on boot handle_irq_event_percpu. timer: Fix lock inversion between hrtimer_bases.lock and scheduler locks x86_64/entry/xen: Do not invoke espfix64 on Xen x86-64, espfix: Don't leak bits 31:16 of %esp returning to 16-bit stack x86, espfix: Fix broken header guard x86, espfix: Make espfix64 a Kconfig option, fix UML x86, espfix: Make it possible to disable 16-bit support x86, espfix: Move espfix definitions into a separate header file x86/espfix/xen: Fix allocation of pages for paravirt page tables Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index a91b986..62c4be6 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.51 +LINUX_VERSION:=3.10.52 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 5/9] [ar71xx/kernel] upgrade 3.10.53 to 3.10.54 - released 2014-09-05
[ar71xx/kernel] upgrade 3.10.53 to 3.10.54 - released 2014-09-05 compile tested. shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54 ALSA: hda/ca0132 - Don't try loading firmware at resume when already failed ALSA: hda - fix an external mic jack problem on a HP machine ALSA: hda/realtek - Avoid setting wrong COEF on ALC269 co ALSA: virtuoso: add Xonar Essence STX II support ARM: OMAP2+: hwmod: Rearm wake-up interrupts for DT when MUSB is idled ARM: OMAP3: Fix choice of omap3_restore_es function in OMAP34XX rev3.1.2 case. Btrfs: fix csum tree corruption, duplicate and outdated checksums crypto: ux500 - make interrupt mode plausible drivers/i2c/busses: use correct type for dma_map/unmap drm: omapdrm: fix compiler errors drm/radeon: add additional SI pci ids ext4: fix BUG_ON in mb_free_blocks() ext4: fix ext4_discard_allocated_blocks() if we can't allocate the pa struct HID: fix a couple of off-by-ones HID: logitech: perform bounds checking on device_id early enough hpsa: fix bad -ENOMEM return value in hpsa_big_passthru_ioctl hwmon: (ads1015) Fix off-by-one for valid channel index checking hwmon: (ads1015) Fix out-of-bounds array access hwmon: (dme1737) Prevent overflow problem when writing large limits hwmon: (gpio-fan) Prevent overflow problem when writing large limits hwmon: (lm78) Fix overflow problems seen when writing large temperature limits hwmon: (lm85) Fix various errors on attribute writes hwmon: (sis5595) Prevent overflow problem when writing large limits isofs: Fix unbounded recursion when processing relocated directories jbd2: fix infinite loop when recovering corrupt journal blocks kvm: iommu: fix the third parameter of kvm_iommu_put_pages (CVE-2014-3601) KVM: nVMX: fix acknowledge interrupt on exit when APICv is in use KVM: x86: always exit on EOIs for interrupts listed in the IOAPIC redir table KVM: x86: Inter-privilege level ret emulation is not implemeneted mei: nfc: fix memory leak in error path mei: reset client state on queued connect request mei: start disconnect request timer consistently NFSD: Decrease nfsd_users in nfsd_startup_generic fail NFSv3: Fix another acl regression NFSv4: Fix problems with close in the presence of a delegation Revert KVM: x86: Increase the number of fixed MTRR regs to 10 serial: core: Preserve termios c_cflag for console resume stable_kernel_rules: Add pointer to netdev-FAQ for network patches Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vt svcrdma: Select NFSv4.1 backchannel transport based on forward channel USB: ehci-pci: USB host controller support for Intel Quark X1000 USB: fix build error with CONFIG_PM_RUNTIME disabled USB: Fix persist resume of some SS USB devices USB: ftdi_sio: add Basic Micro ATOM Nano USB2Serial PID USB: ftdi_sio: Added PID for new ekey device usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1 USB: OHCI: don't lose track of EDs when a controller dies USB: serial: ftdi_sio: Add support for new Xsens devices USB: serial: ftdi_sio: Annotate the current Xsens PID assignments USB: whiteheat: Added bounds checking for bulk command response usb: xhci: amd chipset also needs short TX quirk x86_64/vsyscall: Fix warn_bad_vsyscall log output x86/debug: Add KERN_LEVEL to bare printks, convert printks to pr_level x86: don't exclude low BIOS area when allocating address space for non-PCI cards x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub xhci: Treat not finding the event_seg on COMP_STOP the same as COMP_STOP_INVAL Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index cf3a888..c363f1f 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.53 +LINUX_VERSION:=3.10.54 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 6/9] [ar71xx/kernel] upgrade 3.10.54 to 3.10.55 - released 2014-09-17
[ar71xx/kernel] upgrade 3.10.54 to 3.10.55 - released 2014-09-17 compile tested. runtime tested. shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55 ACPICA: Utilities: Fix memory leak in acpi_ut_copy_iobject_to_iobject ACPI / cpuidle: fix deadlock between cpuidle_lock and cpu_hotplug.lock ACPI: Run fixed event device notifications in process context ASoC: max98090: Fix missing free_irq ASoC: pcm: fix dpcm_path_put in dpcm runtime update ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE ASoC: samsung: Correct I2S DAI suspend/resume ops ASoC: wm_adsp: Add missing MODULE_LICENSE bfa: Fix undefined bit shift on big-endian architectures with 32-bit DMA address blkcg: don't call into policy draining if root_blkg is already gone Bluetooth: Avoid use of session socket after the session gets freed Bluetooth: never linger on process exit CAPABILITIES: remove undefined caps from all processes CIFS: Fix async reading on reconnects CIFS: Fix STATUS_CANNOT_DELETE error mapping for SMB2 CIFS: Fix wrong directory attributes after rename CIFS: Fix wrong filename length for SMB2 CIFS: Fix wrong restart readdir for SMB1 CIFS: Possible null ptr deref in SMB2_tcon dcache.c: get rid of pointless macros drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure Drivers: scsi: storvsc: Implement a eh_timed_out handler firmware: Do not use WARN_ON(!spin_is_locked()) IB/srp: Fix deadlock between host removal and multipathd iommu/amd: Fix cleanup_domain for mass device removal kernel/smp.c:on_each_cpu_cond(): fix warning in fallback path libceph: add process_one_ticket() helper libceph: do not hard code max auth ticket len libceph: gracefully handle large reply messages from the mon libceph: rename ceph_msg::front_max to front_alloc_len libceph: set last_piece in ceph_msg_data_pages_cursor_init() correctly md/raid10: Fix memory leak when raid10 reshape completes. md/raid10: fix memory leak when reshaping a RAID10. md/raid1,raid10: always abort recover on write error. md/raid6: avoid data corruption during recovery of double-degraded RAID6 media: au0828: Only alt setting logic when needed media: media-device: Remove duplicated memset() in media_enum_entities() media: xc4000: Fix get_frequency() media: xc5000: Fix get_frequency() mfd: omap-usb-host: Fix improper mask use. MIPS: asm/reg.h: Make 32- and 64-bit definitions available at the same time MIPS: asm: thread_info: Add _TIF_SECCOMP flag MIPS: Cleanup flags in syscall flags handlers. MIPS: Fix accessing to per-cpu data when flushing the cache MIPS: GIC: Prevent array overrun MIPS: OCTEON: make get_system_type() thread-safe MIPS: Prevent user from setting FCSR cause bits MIPS: Remove BUG_ON(!is_fpu_owner()) in do_ade() MIPS: tlbex: Fix a missing statement for HUGETLB mnt: Add tests for unprivileged remount cases that have found to be faulty mnt: Change the default remount atime from relatime to the existing value mnt: Correct permission checks in do_remount mnt: Move the test for MNT_LOCK_READONLY from change_mount_flags into do_remount mnt: Only change user settable mount flags in remount mtd/ftl: fix the double free of the buffers allocated in build_maps() mtd: nand: omap: Fix 1-bit Hamming code scheme, omap_calculate_ecc() openrisc: Rework signal handling powerpc/mm/numa: Fix break placement powerpc/mm: Use read barrier when creating real_pte powerpc/pseries: Failure on removing device node RDMA/iwcm: Use a default listen backlog if needed regulator: arizona-ldo1: remove bypass functionality ring-buffer: Always reset iterator to reader page ring-buffer: Up rb_iter_peek() loop count to 3 spi: omap2-mcspi: Configure hardware when slave driver changes mode spi: orion: fix incorrect handling of cell-index DT property tpm: missing tpm_chip_put in tpm_get_random() tpm: Provide a generic means to override the chip returned timeouts vfs: fix bad hashing of dentries xfs: don't dirty buffers beyond EOF xfs: don't zero partial page cache pages during O_DIRECT writes xfs: don't zero partial page cache pages during O_DIRECT writes xfs: quotacheck leaves dquot buffers without verifiers Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index c363f1f..7b46be7 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.54 +LINUX_VERSION:=3.10.55 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 4/9] [ar71xx/kernel] upgrade 3.10.52 to 3.10.53 - released 2014-08-14
[ar71xx/kernel] upgrade 3.10.52 to 3.10.53 - released 2014-08-14 compile tested. shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53 arch/sparc/math-emu/math_32.c: drop stray break operator bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000 bnx2x: fix crash during TSO tunneling inetpeer: get rid of ip_id_count iovec: make sure the caller actually wants anything in memcpy_fromiovecend ip: make IP identifiers less predictable macvlan: Initialize vlan_features to turn on offload support. net: Correctly set segment mac_len in skb_segment(). net: sctp: inherit auth_capable on INIT collisions net: sendmsg: fix NULL pointer dereference sctp: fix possible seqlock seadlock in sctp_packet_transmit() sparc64: Add membar to Niagara2 memcpy code. sparc64: Do not insert non-valid PTEs into the TSB hash table. sparc64: Don't bark so loudly about 32-bit tasks generating 64-bit fault addresses. sparc64: Fix argument sign extension for compat_sys_futex(). sparc64: Fix huge TSB mapping on pre-UltraSPARC-III cpus. sparc64: Fix top-level fault handling bugs. sparc64: Guard against flushing openfirmware mappings. sparc64: Handle 32-bit tasks properly in compute_effective_address(). sparc64: ldc_connect() should not return EINVAL when handshake is in progress. sparc64: Make itc_sync_lock raw sunsab: Fix detection of BREAK on sunsab serial console tcp: Fix integer-overflow in TCP vegas tcp: Fix integer-overflows in TCP veno Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 62c4be6..cf3a888 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.52 +LINUX_VERSION:=3.10.53 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 8/9] [ar71xx/kernel] upgrade 3.10.56 to 3.10.57 - released 2014-10-09
[ar71xx/kernel] upgrade 3.10.56 to 3.10.57 - released 2014-10-09 compile tested. shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57 cpufreq: Fix wrong time unit conversion cpufreq: ondemand: Change the calculation of target frequency drbd: fix regression 'out of mem, failed to invoke fence-peer helper' init/Kconfig: Fix HAVE_FUTEX_CMPXCHG to not break up the EXPERT menu jiffies: Fix timeval conversion to jiffies md/raid5: disable 'DISCARD' by default due to safety concerns. media: vb2: fix VBI/poll regression mm: numa: Do not mark PTEs pte_numa when splitting huge pages mm, thp: move invariant bug check out of loop in __split_huge_page_map nl80211: clear skb cb before passing to netlink perf: fix perf bug in fork() ring-buffer: Fix infinite spin in reading buffer udf: Avoid infinite loop when processing indirect ICBs Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 95e080b..9d94e0b 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.56 +LINUX_VERSION:=3.10.57 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 7/9] [ar71xx/kernel] upgrade 3.10.55 to 3.10.56 - released 2014-10-05
/open_downgrade code NFSv4: nfs4_state_manager() vs. nfs_server_remove_lists() nilfs2: fix data loss with mmap() ocfs2/dlm: do not get resource spinlock if lockres is new oom_kill: add rcu_read_lock() into find_lock_task_mm() oom_kill: change oom_kill.c to use for_each_thread() oom_kill: has_intersects_mems_allowed() needs rcu_read_lock() parisc: Only use -mfast-indirect-calls option for 32-bit kernel builds pata_scc: propagate return value of scc_wait_after_reset percpu: fix pcpu_alloc_pages() failure path percpu: free percpu allocation info for uniprocessor system percpu: perform tlb flush after pcpu_map_pages() failure perf: Fix a race condition in perf_remove_from_context() perf kmem: Make it work again on non NUMA machines PM / sleep: Add state field to pm_states[] entries PM / sleep: Use valid_state() for platform-dependent sleep states only powerpc/perf: Fix ABIv2 kernel backtraces regmap: Fix handling of volatile registers for format_write() chips Revert iwlwifi: dvm: don't enable CTS to self Revert mac80211: disable uAPSD if all ACs are under ACM Revert USB: option,zte_ev: move most ZTE CDMA devices to zte_ev rtlwifi: rtl8192cu: Add new ID sched: Fix unreleased llc_shared_mask bit during CPU hotplug SCSI: libiscsi: fix potential buffer overrun in __iscsi_conn_send_pdu serial: 8250_dma: check the result of TX buffer mapping shmem: fix nlink for rename overwrite directory storage: Add single-LUN quirk for Jaz USB Adapter Target/iser: Don't put isert_conn inside disconnected handler Target/iser: Get isert_conn reference once got to connected_handler trace: Fix epoll hang when we race with new entries usb: dwc3: core: fix ordering for PHY suspend usb: dwc3: core: fix order of PM runtime calls usb: dwc3: omap: fix ordering for runtime pm calls USB: EHCI: unlink QHs even after the controller has stopped USB: ftdi_sio: add support for NOVITUS Bono E thermal printer usb: host: xhci: fix compliance mode workaround usb: hub: take hub-hdev reference when processing from eventlist USB: option: add VIA Telecom CDS7 chipset device id USB: option: reduce interrupt-urb logging verbosity USB: serial: fix potential heap buffer overflow USB: serial: fix potential stack buffer overflow USB: serial: pl2303: add device id for ztek device USB: sierra: add 1199:68AA device ID USB: sierra: avoid CDC class functions on 68A3 devices USB: sisusb: add device id for Magic Control USB video USB: storage: Add quirk for Adaptec USBConnect 2000 USB-to-SCSI Adapter USB: storage: Add quirk for Ariston Technologies iConnect USB to SCSI adapter USB: storage: Add quirks for Entrega/Xircom USB to SCSI converters USB: zte_ev: fix removed PIDs USB: zte_ev: remove duplicate Gobi PID USB: zte_ev: remove duplicate Qualcom PID vm_is_stack: use for_each_thread() rather then buggy while_each_thread() WARNING: CPU: 0 PID: 0 at mm/early_ioremap.c:116 __early_ioremap+0x90/0x1c4() workqueue: apply __WQ_ORDERED to create_singlethread_workqueue() x86 early_ioremap: Increase FIX_BTMAPS_SLOTS to 8 xhci: Fix null pointer dereference if xhci initialization fails xhci: fix oops when xhci resumes from hibernate with hw lpm capable devices xtensa: fix a6 and a7 handling in fast_syscall_xtensa xtensa: fix access to THREAD_RA/THREAD_SP/THREAD_DS xtensa: fix address checks in dma_{alloc,free}_coherent xtensa: fix TLBTEMP_BASE_2 region handling in fast_second_level_miss xtensa: replace IOCTL code definitions with constants Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- .../062-mips_decompressor_build_fix.patch | 66 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 7b46be7..95e080b 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.55 +LINUX_VERSION:=3.10.56 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch b/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch deleted file mode 100644 index 52c45c3..000 --- a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e Mon Sep 17 00:00:00 2001 -From: Florian Fainelli flor...@openwrt.org -Date: Mon, 12 Nov 2012 12:31:55 +0100 -Subject: [PATCH] MIPS: decompressor: fix build failure on memcpy() in - decompress.c - -The decompress.c file includes linux/kernel.h which causes the following -inclusion chain to be pulled: -linux/kernel.h - - linux/dynamic_debug.h - - linux/string.h - - asm/string.h - -We end up having a the GCC builtin + architecture specific memcpy() expanding -into this: - -void
[OpenWrt-Devel] [PATCH 9/9] [ar71xx/kernel] upgrade 3.10.57 to 3.10.58 - released 2014-10-15
[ar71xx/kernel] upgrade 3.10.57 to 3.10.58 - released 2014-10-15 compile tested. runtime tested: root@box:~ dmesg [0.00] Linux version 3.10.58 (auto...@bittorf-wireless.de) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42861) ) #2 Fri Oct 17 06:26:27 EDT 2014 [0.00] MyLoader: sysp=aa2a, boardp=22aaaba8, parts=2aaa [0.00] bootconsole [early0] enabled [0.00] CPU revision is: 00019374 (MIPS 24Kc) [0.00] SoC: Atheros AR9132 rev 2 [0.00] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz [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] On node 0 totalpages: 8192 [0.00] free_area_init_node: node 0, pgdat 803149b0, node_mem_map 8100 [0.00] Normal zone: 64 pages used for memmap [0.00] Normal zone: 0 pages reserved [0.00] Normal zone: 8192 pages, LIFO batch:0 [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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [0.00] pcpu-alloc: [0] 0 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [0.00] Kernel command line: board=TL-WR1043ND console=ttyS0,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: 28720k/32768k available (2255k kernel code, 4048k reserved, 603k data, 276k init, 0k highmem) [0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [0.00] NR_IRQS:51 [0.08] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [0.08] pid_max: default: 32768 minimum: 301 [0.08] Mount-cache hash table entries: 512 [0.09] NET: Registered protocol family 16 [0.10] MIPS: machine is TP-LINK TL-WR1043ND [...] shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 9d94e0b..0bf1ed1 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.57 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 9/9 v2] [ar71xx/kernel] upgrade 3.10.57 to 3.10.58 - released 2014-10-15
[ar71xx/kernel] upgrade 3.10.57 to 3.10.58 - released 2014-10-15 compile tested. runtime tested: root@box:~ dmesg [0.00] Linux version 3.10.58 (auto...@bittorf-wireless.de) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42861) ) #2 Fri Oct 17 06:26:27 EDT 2014 [0.00] MyLoader: sysp=aa2a, boardp=22aaaba8, parts=2aaa [0.00] bootconsole [early0] enabled [0.00] CPU revision is: 00019374 (MIPS 24Kc) [0.00] SoC: Atheros AR9132 rev 2 [0.00] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz [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] On node 0 totalpages: 8192 [0.00] free_area_init_node: node 0, pgdat 803149b0, node_mem_map 8100 [0.00] Normal zone: 64 pages used for memmap [0.00] Normal zone: 0 pages reserved [0.00] Normal zone: 8192 pages, LIFO batch:0 [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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [0.00] pcpu-alloc: [0] 0 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [0.00] Kernel command line: board=TL-WR1043ND console=ttyS0,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: 28720k/32768k available (2255k kernel code, 4048k reserved, 603k data, 276k init, 0k highmem) [0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [0.00] NR_IRQS:51 [0.08] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [0.08] pid_max: default: 32768 minimum: 301 [0.08] Mount-cache hash table entries: 512 [0.09] NET: Registered protocol family 16 [0.10] MIPS: machine is TP-LINK TL-WR1043ND [...] shortlog from https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 hyperv: Fix a bug in netvsc_start_xmit() ip6_gre: fix flowi6_proto value in xmit path ipv6: reallocate addrconf router for ipv6 address when lo device up l2tp: fix race while getting PMTU on PPP pseudo-wire myri10ge: check for DMA mapping errors openvswitch: fix panic with multiple vlan headers packet: handle too big packets for PACKET_V3 sctp: handle association restarts when the socket is closed. sit: Fix ipip6_tunnel_lookup device matching criteria tcp: fixing TLP's FIN recovery tcp: fix tcp_release_cb() to dispatch via address family for mtu_reduced() tg3: Allow for recieve of full-size 8021AD frames tg3: Work around HW/FW limitations with vlan encapsulated frames USB: Add device quirk for ASUS T100 Base Station keyboard USB: cp210x: add support for Seluxit USB dongle USB: serial: cp210x: added Ketra N1 wireless interface support Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/ar71xx/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 9d94e0b..0bf1ed1 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.57 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/9] [ar71xx/kernel] upgrade 3.10.49 to 3.10.50 - released 2014-07-28
* RafaĆ MiĆecki zaj...@gmail.com [17.10.2014 13:16]: On 17 October 2014 12:46, Bastian Bittorf bitt...@bluebottle.com wrote: [ar71xx/kernel] upgrade 3.10.49 to 3.10.50 - released 2014-07-28 Why 9 patches instead of 1 (3.10.49 - 3.10.56)? Why only ar71xx? just for completeness and i wanted to test each version anyway if patches are affected. i can not test all platforms. is there a global point where i can change the kernel-version for all platforms? i dont think so... bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v3] brcm-wl: fix bash comparison error
* Ălvaro FernĂĄndez Rojas nolt...@gmail.com [17.10.2014 15:11]: - [ $leddc -eq 0x ] || { + [ $leddc == 0x\n ] || { this is a bashism, use: [ $leddc = '0x\n' ] || { bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/9] [ar71xx/kernel] upgrade 3.10.49 to 3.10.50 - released 2014-07-28
* RafaĆ MiĆecki zaj...@gmail.com [17.10.2014 13:46]: Why 9 patches instead of 1 (3.10.49 - 3.10.56)? Why only ar71xx? just for completeness and i wanted to test each version anyway if patches are affected. i can not test all platforms. is there a global point where i can change the kernel-version for all platforms? i dont think so... Take a look at some historical updates: https://dev.openwrt.org/changeset/40467/ hmmm, ok - i can do that for these platforms, but cannot test them (except ar71xx, mpc85xx, x86) user@server:~/openwrt$ grep ^'LINUX_VERSION:=3.10.' target/linux/*/Makefile target/linux/ar7/Makefile:LINUX_VERSION:=3.10.49 target/linux/ar71xx/Makefile:LINUX_VERSION:=3.10.58 target/linux/au1000/Makefile:LINUX_VERSION:=3.10.49 target/linux/avr32/Makefile:LINUX_VERSION:=3.10.49 target/linux/cns21xx/Makefile:LINUX_VERSION:=3.10.49 target/linux/cns3xxx/Makefile:LINUX_VERSION:=3.10.49 target/linux/gemini/Makefile:LINUX_VERSION:=3.10.49 target/linux/ixp4xx/Makefile:LINUX_VERSION:=3.10.49 target/linux/malta/Makefile:LINUX_VERSION:=3.10.49 target/linux/mpc85xx/Makefile:LINUX_VERSION:=3.10.49 target/linux/orion/Makefile:LINUX_VERSION:=3.10.49 target/linux/ppc40x/Makefile:LINUX_VERSION:=3.10.49 target/linux/ppc44x/Makefile:LINUX_VERSION:=3.10.49 target/linux/realview/Makefile:LINUX_VERSION:=3.10.49 target/linux/sparc/Makefile:LINUX_VERSION:=3.10.49 target/linux/x86/Makefile:LINUX_VERSION:=3.10.49 target/linux/xburst/Makefile:LINUX_VERSION:=3.10.49 any hints how this refresh patches is working in an semi-automated way? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [kernel] upgrade from 3.10.49 to 3.10.58
[kernel] upgrade from 3.10.49 to 3.10.58 removed 062-mips_decompressor_build_fix.patch, which seems to be obsolete because of commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream compile and run-tested on ar71xx Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- include/kernel-version.mk |4 +- target/linux/ar7/Makefile |2 +- target/linux/ar71xx/Makefile |2 +- target/linux/au1000/Makefile |2 +- target/linux/avr32/Makefile|2 +- target/linux/cns21xx/Makefile |2 +- target/linux/cns3xxx/Makefile |2 +- target/linux/gemini/Makefile |2 +- .../062-mips_decompressor_build_fix.patch | 66 target/linux/ixp4xx/Makefile |2 +- target/linux/malta/Makefile|2 +- target/linux/mpc85xx/Makefile |2 +- target/linux/orion/Makefile|2 +- target/linux/ppc40x/Makefile |2 +- target/linux/ppc44x/Makefile |2 +- target/linux/realview/Makefile |2 +- target/linux/sparc/Makefile|2 +- target/linux/x86/Makefile |2 +- target/linux/xburst/Makefile |2 +- 19 files changed, 19 insertions(+), 85 deletions(-) delete mode 100644 target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 3afe953..1075d0f 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -8,8 +8,8 @@ endif ifeq ($(LINUX_VERSION),3.8.13) LINUX_KERNEL_MD5SUM:=2af19d06cd47ec459519159cdd10542d endif -ifeq ($(LINUX_VERSION),3.10.49) - LINUX_KERNEL_MD5SUM:=9774e12764e740d49c80eda77d0ef3eb +ifeq ($(LINUX_VERSION),3.10.58) + LINUX_KERNEL_MD5SUM:=3ff3478b6351143cef22d4b81cf48b01 endif ifeq ($(LINUX_VERSION),3.13.7) LINUX_KERNEL_MD5SUM:=370adced5e5c1cb1d0d621c2dae2723f diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile index 3f40e57..d8c98e9 100644 --- a/target/linux/ar7/Makefile +++ b/target/linux/ar7/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs atm low_mem MAINTAINER:=Florian Fainelli flor...@openwrt.org SUBTARGETS:=generic ac49x -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 1b40074..0bf1ed1 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile index 9a2e4f5..3cc3233 100644 --- a/target/linux/au1000/Makefile +++ b/target/linux/au1000/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs usb pci SUBTARGETS=au1500 au1550 MAINTAINER:=Florian Fainelli flor...@openwrt.org -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += wpad-mini yamonenv diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile index cd8bd5e..f3c0cf6 100644 --- a/target/linux/avr32/Makefile +++ b/target/linux/avr32/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Atmel AVR32 FEATURES:=squashfs MAINTAINER:=Imre Kaloz ka...@openwrt.org -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/cns21xx/Makefile b/target/linux/cns21xx/Makefile index a183a21..5b491f8 100644 --- a/target/linux/cns21xx/Makefile +++ b/target/linux/cns21xx/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Cavium Networks Econa CNS21xx FEATURES:=squashfs CPU_TYPE:=fa526 -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/cns3xxx/Makefile b/target/linux/cns3xxx/Makefile index dd5349c..e3c1c6e 100644 --- a/target/linux/cns3xxx/Makefile +++ b/target/linux/cns3xxx/Makefile @@ -14,7 +14,7 @@ CPU_TYPE:=mpcore CPU_SUBTYPE:=vfp MAINTAINER:=Felix Fietkau n...@openwrt.org -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/gemini/Makefile b/target/linux/gemini/Makefile index 45ae97e..da5e300 100644 --- a/target/linux/gemini/Makefile +++ b/target/linux/gemini/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs pci CPU_TYPE:=fa526 MAINTAINER:=Imre Kaloz ka...@openwrt.org -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 KERNELNAME:=zImage diff --git a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch b/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch deleted file mode 100644 index 52c45c3..000 --- a/target/linux/generic/patches-3.10/062
[OpenWrt-Devel] [PATCH v2] [base-files] failsafe-mode: print short help on commandline
[base-files] failsafe-mode: print short help on commandline Like mentioned in ticket https://dev.openwrt.org/ticket/11911 this should make the IRC much quieter. Failsafe is somehow special and even experienced users are helpless, because they are not used to this seldom situation. Also: likely you have no internet access in this mode, so you cannot use the wiki. a failsafe-session now looks like this: first we see from 'package/base-files/files/bin/login.sh' the hint: === IMPORTANT Use 'passwd' to set your login password this will disable telnet and enable SSH -- after this the /etc/banner (OpenWrt - wireless freedom) and then the new text: = FAILSAFE MODE active special commands: * firstboot reset settings to factory defaults * mount_root mount root-partition with config files after mount_root: * passwd change root's password * /etc/config directory with config files for more help see: http://wiki.openwrt.org/doc/howto/generic.failsafe === this supersedes the old patches: http://patchwork.openwrt.org/patch/3337/ http://patchwork.openwrt.org/patch/3553/ Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/etc/banner.failsafe | 13 + package/base-files/files/etc/profile |1 + 2 files changed, 14 insertions(+) create mode 100644 package/base-files/files/etc/banner.failsafe diff --git a/package/base-files/files/etc/banner.failsafe b/package/base-files/files/etc/banner.failsafe new file mode 100644 index 000..14615e1 --- /dev/null +++ b/package/base-files/files/etc/banner.failsafe @@ -0,0 +1,13 @@ += FAILSAFE MODE active +special commands: +* firstboot reset settings to factory defaults +* mount_rootmount root-partition with config files + +after mount_root: +* passwdchange root's password +* /etc/config directory with config files + +for more help see: +http://wiki.openwrt.org/doc/howto/generic.failsafe +=== + diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index e9a7119..3dd58e1 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -1,5 +1,6 @@ #!/bin/sh [ -f /etc/banner ] cat /etc/banner +[ -e /tmp/.failsafe ] cat /etc/banner.failsafe export PATH=/usr/bin:/usr/sbin:/bin:/sbin export HOME=$(grep -e ^${USER:-root}: /etc/passwd | cut -d : -f 6) -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [base-files] failsafe-mode: print short help on commandline
* John Crispin blo...@openwrt.org [13.10.2014 21:18]: P.S.: i thought i fixed the -f thing. sure it does not work without ? you are right - it works, i remove the 'reboot -f' hint and send a [patch v2] for reference, a running failsafe-session with r42884 looks like: root@(none):/# ps PID USER VSZ STAT COMMAND 1 root 1200 S/sbin/init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [kworker/0:0] 5 root 0 SW [kworker/0:0H] 6 root 0 SW [kworker/u2:0] 7 root 0 SW [khelper] 8 root 0 SW [kworker/u2:1] 58 root 0 SW [writeback] 61 root 0 SW [bioset] 63 root 0 SW [kblockd] 88 root 0 SW [kworker/0:1] 93 root 0 SW [kswapd0] 138 root 0 SW [fsnotify_mark] 153 root 0 SW [ath79-spi] 234 root 0 SW [deferwq] 244 root 0 SW [khubd] 254 root 1228 S/sbin/procd -h /etc/hotplug-preinit.json 255 root 1520 S/bin/sh /etc/preinit 256 root 0 SW [kworker/0:2] 322 root 1360 Stelnetd -l /bin/login.sh 324 root 1352 Slock /tmp/.failsafe 325 root 1364 Sash --login 333 root 1364 S/bin/ash --login 343 root 1360 Rps bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask
* Jo-Philipp Wich j...@openwrt.org [15.10.2014 08:59]: So this should work: config dhcp 'roaming' option interface 'voyager' option start 192.168.8.1 option limit 252 wow, this works! thank you - this ipcalc.sh beast really needs some documentation 8-) John: the patch can be dropped. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCHv2] [netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... signal in proto_kill_command()
* Yousong Zhou yszhou4t...@gmail.com [18.10.2014 17:58]: + signal=$( kill -l $signal ) the quotes may not work... they work and you should always quote a var, unless you are really sure it is an integer... root@box:~ kill -l 15 TERM root@box:~ kill -l TERM 15 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error
* Nathan Hintz nlhi...@hotmail.com [18.10.2014 22:24]: Using the \n is not correct. I think the real problem is that the logic is reversed (should be instead of ||); although it might be better to eliminate the conditional entirely since leddc is always commanded to 0x when the interface is taken down. local leddc=$(wlc ifname $device leddc) [ $leddc = 0x ] { leddc=0x005a000a } what about: case $leddc in '0x'*) leddc='0x005a000a' ;; esac IMHO the approach from felix does not work: root@box:~ echo $((0x)) 65535 root@box:~ echo $((0x\n)) -ash: arithmetic syntax error the real would be the fix the output of 'wlc'. bye bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error
* Nathan Hintz nlhi...@hotmail.com [19.10.2014 08:49]: case $leddc in '0x'*) leddc='0x005a000a' ;; esac IMHO the approach from felix does not work: root@box:~ echo $((0x)) 65535 root@box:~ echo $((0x\n)) -ash: arithmetic syntax error the real would be the fix the output of 'wlc'. 'wlc' is not broken, a simple test case demonstrates it works as expected: root@e3000-1:~# wlc ifname wl0 leddc 0x005a000a root@e3000-1:~# wlc ifname wl0 leddc 0x root@e3000-1:~# wlc ifname wl0 leddc 0x root@e3000-1:~# leddc=$(wlc ifname wl0 leddc) root@e3000-1:~# [ $leddc = 0x ] echo yes yes root@e3000-1:~# wlc ifname wl0 leddc 0x005a000a root@e3000-1:~# wlc ifname wl0 leddc 0x005a000a root@e3000-1:~# leddc=$(wlc ifname wl0 leddc) root@e3000-1:~# [ $leddc = 0x ] echo yes root@e3000-1:~# ah - ok. sorry felix - i really was thinking that it outputs a string '0x\n' (with the symbol of a newline). so your approach is correct but without quotes, so: [ $((leddc)) -eq $((0x)) ] ... bye, bastian - please Ălvaro send a new patch ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] omap4 / Pandaboard / Pandaboard-ES / Kernel 3.14.22
* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf bitt...@bluebottle.com [27.03.2014 15:53]: http://www.intercity-vpn.de/files/openwrt/pandaboard_dmesg_booterror-kernel_3.14-rc8-new_uboot.txt today i tried kernel 3.14.22 without luck, this is the bootlog which just hangs. Has somebody OpenWrt running on an older Pandaboard? bye, bastian dmesg: OMAP4460 ES1.1 SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img U-Boot SPL 2014.10 (Oct 21 2014 - 05:19:28) OMAP4460 ES1.1 SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img U-Boot 2014.10 (Oct 21 2014 - 05:19:28) CPU : OMAP4460 ES1.1 Board: OMAP4 Panda I2C: ready DRAM: 1 GiB MMC: OMAP SD/MMC: 0 Using default environment Net: No ethernet found. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt ** Unable to read file uEnv.txt ** 1885608 bytes read in 98 ms (18.3 MiB/s) 50533 bytes read in 19 ms (2.5 MiB/s) Booting from mmc0 ... Kernel image @ 0x8200 [ 0x00 - 0x1cc5a8 ] ## Flattened Device Tree blob at 8800 Booting using the fdt blob at 0x8800 Loading Device Tree to 8fff, end 8564 ... OK Starting kernel ... [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.14.22 (auto...@bittorf-wireless.de) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43008) )#1 SMP Tue Oct 21 06:11:23 EDT 2014 [0.00] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d [0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [0.00] Machine model: TI OMAP4 PandaBoard [0.00] Memory policy: Data cache writealloc [0.00] OMAP4460 ES1.1 [0.00] PERCPU: Embedded 7 pages/cpu @eefcb000 s8064 r8192 d12416 u32768 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260368 [0.00] Kernel command line: console=ttyO2,115200n8 vram=16M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait [0.00] PID hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [0.00] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [0.00] Memory: 1032560K/1047552K available (3799K kernel code, 309K rwdata, 1140K rodata, 267K init, 229K bss, 14992K reserved, 269312K highmem) [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] vmalloc : 0xf000 - 0xff00 ( 240 MB) [0.00] lowmem : 0xc000 - 0xef80 ( 760 MB) [0.00] pkmap : 0xbfe0 - 0xc000 ( 2 MB) [0.00] modules : 0xbf00 - 0xbfe0 ( 14 MB) [0.00] .text : 0xc0008000 - 0xc04daf1c (4940 kB) [0.00] .init : 0xc04db000 - 0xc051df80 ( 268 kB) [0.00] .data : 0xc051e000 - 0xc056b528 ( 310 kB) [0.00].bss : 0xc056b528 - 0xc05a4c78 ( 230 kB) [0.00] Hierarchical RCU implementation. [0.00] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [0.00] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [0.00] NR_IRQS:16 nr_irqs:16 16 [0.00] ti_dt_clocks_register: failed to lookup clock node bandgap_fclk [0.00] OMAP clockevent source: timer1 at 32768 Hz [0.00] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 655360ns [0.30] OMAP clocksource: 32k_counter at 32768 Hz [0.000122] smp_twd: clock not found -2 [0.000946] Console: colour dummy device 80x30 [0.000976] Calibrating local timer... 349.05MHz. [0.059387] Calibrating delay loop... 1391.00 BogoMIPS (lpj=6955008) [0.099304] pid_max: default: 32768 minimum: 301 [0.099487] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.099517] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.110748] CPU: Testing write buffer coherency: ok [0.111053] CPU0: thread -1, cpu 0, socket 0, mpidr 8000 [0.111083] Setting up static identity map for 0x80013220 - 0x80013278 [0.111206] L310 cache controller enabled [0.111206] l2x0: 16 ways, CACHE_ID 0x41c7, AUX_CTRL 0x7e47, Cache size: 1024 kB [0.112426] CPU1: Booted secondary processor [0.149139] CPU1: thread -1, cpu 1, socket 0, mpidr 8001 [0.149261] Brought up 2 CPUs [0.149261] SMP: Total of 2 processors activated. [0.149291] CPU: All CPU(s) started in SVC mode. [0.152832] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [0.154083] omap_hwmod: l3_main_3 using broken dt data from ocp [0.155181
Re: [OpenWrt-Devel] mpcC85xx
* Klaus Maus klaus.ma...@aol.com [22.10.2014 10:57]: Could you clarify the state of the future support this router or SoC i have some (~50) and the german Telekom uses the platform in the trains, so i bet somebody will take core of it 8-) and it's FOSS and ath9k based, so you will not totally loose the control. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [kernel] update 3.10.49 to 3.10.58
kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15) All platforms which are using 3.10.x at the moment are upgraded. Changelogs: https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f (x86-espfix-make-it-possible-to-disable-16-bit-support.patch) I defaults to 'unset', but it's worth a discussion to enable it (turn off support for any 16-bit software). Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e (fix build failure on memcpy() in decompress.c) and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream. included in kernel 3.10.56 compile tested on all platforms with: make tools/install make toolchain/install make target/linux/compile user@box:~/user/openwrt$ cat /tmp/log.txt [Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK [Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK [Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK [Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK [Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK [Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK [Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK [Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK [Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK [Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK [Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK [Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK [Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK [Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK [Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK [Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK [Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- include/kernel-version.mk |2 +- target/linux/ar7/Makefile |2 +- target/linux/ar71xx/Makefile |2 +- target/linux/au1000/Makefile |2 +- target/linux/avr32/Makefile|2 +- target/linux/cns21xx/Makefile |2 +- target/linux/cns3xxx/Makefile |2 +- target/linux/gemini/Makefile |2 +- target/linux/generic/config-3.10 |1 + .../062-mips_decompressor_build_fix.patch | 66 target/linux/ixp4xx/Makefile |2 +- target/linux/malta/Makefile|2 +- target/linux/mpc85xx/Makefile |2 +- target/linux/orion/Makefile|2 +- target/linux/ppc40x/Makefile |2 +- target/linux/ppc44x/Makefile |2 +- target/linux/realview/Makefile |2 +- target/linux/sparc/Makefile|2 +- target/linux/x86/Makefile |2 +- target/linux/xburst/Makefile |2 +- 20 files changed, 19 insertions(+), 84 deletions(-) delete mode 100644 target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 3afe953..4eb6179 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -8,7 +8,7 @@ endif ifeq ($(LINUX_VERSION),3.8.13) LINUX_KERNEL_MD5SUM:=2af19d06cd47ec459519159cdd10542d endif -ifeq ($(LINUX_VERSION),3.10.49) +ifeq ($(LINUX_VERSION),3.10.58) LINUX_KERNEL_MD5SUM:=9774e12764e740d49c80eda77d0ef3eb endif ifeq ($(LINUX_VERSION),3.13.7) diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile index 3f40e57..d8c98e9 100644 --- a/target/linux/ar7/Makefile +++ b/target/linux/ar7/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs atm low_mem MAINTAINER:=Florian Fainelli flor...@openwrt.org SUBTARGETS:=generic ac49x -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 1b40074..0bf1ed1 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.49 +LINUX_VERSION:=3.10.58
[OpenWrt-Devel] [PATCH/resend] [netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... signal in proto_kill_command()
netifd: scripts: make netifd scripts recognize signal strings such as INT/TERM/KILL/... instead of let the caller do the conversion of symbolic to numeric (e.g. SIGUSR1 - 16), do the conversion internally - the old mode (numeric) is still supported Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- scripts/netifd-proto.sh | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index ce316c4..6625053 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -286,11 +286,22 @@ proto_run_command() { } proto_kill_command() { - local interface=$1; shift + local interface=$1 + local signal=$2 json_init json_add_int action 2 - [ -n $1 ] json_add_int signal $1 + + case $signal in + [0-9]|[0-9][0-9]) + json_add_int signal $signal + ;; + [a-zA-Z]*) + signal=$( kill -l $signal ) + json_add_int signal $signal + ;; + esac + _proto_notify $interface } -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH/resend] [odhcp6c] script: only call firewall, if installed
odhcp6c: script: only call firewall, if installed we dont use fw3, so i was wondering about error-messages in syslog about fw3. check if 'fw3' is in place, before calling it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/ipv6/odhcp6c/files/dhcpv6.script |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script index 1acad19..6c47132 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.script +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script @@ -111,7 +111,9 @@ setup_interface () { MAPRULE=$LW4O6 fi - [ -n $ZONE ] || ZONE=$(fw3 -q network $INTERFACE) + [ -z $ZONE ] { + [ -e '/sbin/fw3' ] ZONE=$(fw3 -q network $INTERFACE) + } if [ $IFACE_MAP != 0 -a -n $MAPTYPE -a -n $MAPRULE ]; then [ -z $IFACE_MAP -o $IFACE_MAP = 1 ] IFACE_MAP=${INTERFACE}_map -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [base-files] dhcp.script - only call firewall, if installed
base-files: dhcp.script: - only call firewall, if installed we dont use fw3, so i was wondering about error-messages in syslog about fw3. check if 'fw3' is in place, before calling it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/config/netifd/files/lib/netifd/dhcp.script |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script index 90fa6d3..2030fd5 100755 --- a/package/network/config/netifd/files/lib/netifd/dhcp.script +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script @@ -50,7 +50,10 @@ setup_interface () { ip6rd=${ip6rd#* } local ip6rdbr=${ip6rd%% *} - [ -n $ZONE ] || ZONE=$(fw3 -q network $INTERFACE) + [ -z $ZONE ] { + [ -e '/sbin/fw3' ] ZONE=$(fw3 -q network $INTERFACE) + } + [ -z $IFACE6RD -o $IFACE6RD = 1 ] IFACE6RD=${INTERFACE}_6rd json_init -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH/resend] [odhcp6c/scripts] directly use signal name
odhcp6c: scripts: directly use signal name in proto_dhcp_renew() we call proto_kill_command, which now supports symbolic names directly, so conversion unneeded. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/ipv6/odhcp6c/files/dhcpv6.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh b/package/network/ipv6/odhcp6c/files/dhcpv6.sh index 5914abe..5637381 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.sh +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.sh @@ -83,9 +83,9 @@ proto_dhcpv6_setup() { proto_dhcpv6_renew() { local interface=$1 - # SIGUSR1 forces odhcp6c to renew its lease - local sigusr1=$(kill -l SIGUSR1) - [ -n $sigusr1 ] proto_kill_command $interface $sigusr1 + + # forces odhcp6c to renew its lease + proto_kill_command $interface SIGUSR1 } proto_dhcpv6_teardown() { -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH/resend] [netifd] /proto/dhcp.sh: directly use signal name
netifd: proto/dhcp.sh: directly use signal name in proto_dhcp_renew() we call proto_kill_command, which now supports symbolic names directly, so conversion unneeded. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index 6668b49..b3e09e2 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -59,9 +59,9 @@ proto_dhcp_setup() { proto_dhcp_renew() { local interface=$1 - # SIGUSR1 forces udhcpc to renew its lease - local sigusr1=$(kill -l SIGUSR1) - [ -n $sigusr1 ] proto_kill_command $interface $sigusr1 + + # forces udhcpc to renew its lease + proto_kill_command $interface SIGUSR1 } proto_dhcp_teardown() { -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] mpc85xx: fix WAN/LAN-MAC for TP-LINK TL-WDR4900 v1
mpc85xx: fix WAN/LAN-MAC for TP-LINK TL-WDR4900 v1 This works around a bootloader issue and reads the macs from config-partition during initial network setup. We have 9 valid macs stored in the partition, the 1st two are used for the radios, 3 and 4 are now used for WAN/LAN. https://dev.openwrt.org/ticket/14714 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- .../mpc85xx/base-files/etc/uci-defaults/02_network | 26 1 files changed, 5 insertions(+), 21 deletions(-) diff --git a/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network b/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network index 10a2cc8..e4e3566 100755 --- a/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network @@ -1,22 +1,5 @@ #!/bin/sh -# -# Copyright (C) 2013 OpenWrt.org -# - -tplink_set_mac() -{ - local cfg=$1 - local offset=$2 - local mac - - . /lib/functions.sh - - mac=$(mtd_get_mac_binary u-boot 326656) - mac=$(macaddr_add $mac $offset) - - ucidef_set_interface_macaddr $cfg $mac -} - +# Copyright (C) 2014 OpenWrt.org [ -e /etc/config/network ] exit 0 @@ -24,6 +7,8 @@ touch /etc/config/network . /lib/functions/uci-defaults.sh . /lib/mpc85xx.sh +. /lib/functions.sh +. /lib/functions/system.sh ucidef_set_interface_loopback @@ -35,10 +20,9 @@ tl-wdr4900-v1) ucidef_add_switch switch0 1 1 ucidef_add_switch_vlan switch0 1 0t 2 3 4 5 ucidef_add_switch_vlan switch0 2 0t 1 - tplink_set_mac lan -2 - tplink_set_mac wan 1 + ucidef_set_interface_macaddr lan $(mtd_get_mac_binary config 338) + ucidef_set_interface_macaddr wan $(mtd_get_mac_binary config 344) ;; - *) ucidef_set_interfaces_lan_wan eth0 eth1 ;; -- 1.7.2.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] git.infradead.org offline? mirror for mtd-utils-1.4.5?
* Claudio Thomas c...@xmodus-systems.de [24.10.2014 10:08]: ist there somewhere a mirror for mtd-utils-1.4.5? git.infradead.org copy these to your local dl/ dir: http://www.intercity-vpn.de/files/openwrt/mtd-utils-1.4.5.tar.gz http://www.intercity-vpn.de/files/openwrt/mtd-utils-1.5.0.tar.gz there is already a ticket open for this issue. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] kernel: makefile: make use of new var KERNEL_PATCHVER
kernel: makefile: make use of new var KERNEL_PATCHVER replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/adm5120/Makefile |2 +- target/linux/adm8668/Makefile |2 +- target/linux/amazon/Makefile |2 +- target/linux/ar7/Makefile |2 +- target/linux/ar71xx/Makefile |2 +- target/linux/at91/Makefile |2 +- target/linux/atheros/Makefile |2 +- target/linux/au1000/Makefile |2 +- target/linux/avr32/Makefile|2 +- target/linux/bcm53xx/Makefile |2 +- target/linux/brcm2708/Makefile |2 +- target/linux/brcm47xx/Makefile |2 +- target/linux/brcm63xx/Makefile |2 +- target/linux/cns21xx/Makefile |2 +- target/linux/cns3xxx/Makefile |2 +- target/linux/cobalt/Makefile |2 +- target/linux/ep93xx/Makefile |2 +- target/linux/gemini/Makefile |2 +- target/linux/imx6/Makefile |2 +- target/linux/iop32x/Makefile |2 +- target/linux/ipq806x/Makefile |2 +- target/linux/ixp4xx/Makefile |2 +- target/linux/kirkwood/Makefile |2 +- target/linux/lantiq/Makefile |2 +- target/linux/malta/Makefile|2 +- target/linux/mcs814x/Makefile |2 +- target/linux/mpc52xx/Makefile |2 +- target/linux/mpc83xx/Makefile |2 +- target/linux/mpc85xx/Makefile |2 +- target/linux/mvebu/Makefile|2 +- target/linux/mxs/Makefile |2 +- target/linux/octeon/Makefile |2 +- target/linux/omap/Makefile |2 +- target/linux/omap24xx/Makefile |2 +- target/linux/orion/Makefile|2 +- target/linux/ppc40x/Makefile |2 +- target/linux/ppc44x/Makefile |2 +- target/linux/pxa/Makefile |2 +- target/linux/ramips/Makefile |2 +- target/linux/rb532/Makefile|2 +- target/linux/realview/Makefile |2 +- target/linux/sibyte/Makefile |2 +- target/linux/sparc/Makefile|2 +- target/linux/sunxi/Makefile|2 +- target/linux/uml/Makefile |2 +- target/linux/x86/Makefile |2 +- target/linux/x86/ep80579/target.mk |2 +- target/linux/x86_64/Makefile |2 +- target/linux/xburst/Makefile |2 +- 49 files changed, 49 insertions(+), 49 deletions(-) diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile index 2500f90..e58122d 100644 --- a/target/linux/adm5120/Makefile +++ b/target/linux/adm5120/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk BOARD:=adm5120 BOARDNAME:=Infineon/ADMtek ADM5120 -LINUX_VERSION:=3.8.13 +KERNEL_PATCHVER:=3.8 SUBTARGETS:=router_le router_be rb1xx INITRAMFS_EXTRA_FILES:= diff --git a/target/linux/adm8668/Makefile b/target/linux/adm8668/Makefile index de3b9e7..2220bbd 100644 --- a/target/linux/adm8668/Makefile +++ b/target/linux/adm8668/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Infineon WildPass ADM8668 FEATURES:=squashfs usb pci MAINTAINER:=Florian Fainelli flor...@openwrt.org -LINUX_VERSION:=3.3.8 +KERNEL_PATCHVER:=3.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index d2d4e8d..9553da0 100644 --- a/target/linux/amazon/Makefile +++ b/target/linux/amazon/Makefile @@ -10,7 +10,7 @@ ARCH:=mips BOARD:=amazon BOARDNAME:=Infineon Amazon FEATURES:=squashfs broken -LINUX_VERSION:=3.3.8 +KERNEL_PATCHVER:=3.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile index 3f40e57..0f6377f 100644 --- a/target/linux/ar7/Makefile +++ b/target/linux/ar7/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs atm low_mem MAINTAINER:=Florian Fainelli flor...@openwrt.org SUBTARGETS:=generic ac49x -LINUX_VERSION:=3.10.49 +KERNEL_PATCHVER:=3.10 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 1b40074..74bc361 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=mips16 CPU_TYPE=34kc SUBTARGETS:=generic nand mikrotik -LINUX_VERSION:=3.10.49 +KERNEL_PATCHVER:=3.10 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index c7e67fe..27ee330 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -13,7 +13,7 @@ BOARDNAME:=Atmel AT91 FEATURES:=squashfs targz ext2 usb SUBTARGETS:=legacy sama5d3 -LINUX_VERSION:=3.14.18 +KERNEL_PATCHVER:=3.14 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/atheros/Makefile b/target/linux/atheros/Makefile index 9ebbd34..3983ff7 100644 --- a/target/linux/atheros/Makefile +++ b/target/linux
[OpenWrt-Devel] [PATCH] kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
All platforms which are using 3.10.x at the moment are upgraded. Changelogs: https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f (x86-espfix-make-it-possible-to-disable-16-bit-support.patch) I defaults to 'unset', but it's worth a discussion to enable it (turn off support for any 16-bit software). Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e (fix build failure on memcpy() in decompress.c) and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream. included in kernel 3.10.56 compile tested on all platforms with: make tools/install make toolchain/install make target/linux/compile user@box:~/user/openwrt$ cat /tmp/log.txt [Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK [Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK [Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK [Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK [Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK [Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK [Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK [Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK [Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK [Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK [Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK [Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK [Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK [Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK [Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK [Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK [Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- include/kernel-version.mk |2 +- target/linux/generic/config-3.10 |1 + .../062-mips_decompressor_build_fix.patch | 66 3 files changed, 2 insertions(+), 67 deletions(-) delete mode 100644 target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 2511e2b..ddc85c1 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -10,7 +10,7 @@ LINUX_VERSION-3.14 = .18 LINUX_KERNEL_MD5SUM-3.3.8 = f1058f64eed085deb44f10cee8541d50 LINUX_KERNEL_MD5SUM-3.8.13 = 2af19d06cd47ec459519159cdd10542d -LINUX_KERNEL_MD5SUM-3.10.49 = 9774e12764e740d49c80eda77d0ef3eb +LINUX_KERNEL_MD5SUM-3.10.58 = 3ff3478b6351143cef22d4b81cf48b01 LINUX_KERNEL_MD5SUM-3.13.7 = 370adced5e5c1cb1d0d621c2dae2723f LINUX_KERNEL_MD5SUM-3.14.18 = 3b002a06d0964d8101abec768c2d4eef diff --git a/target/linux/generic/config-3.10 b/target/linux/generic/config-3.10 index ab72ead..5df8901 100644 --- a/target/linux/generic/config-3.10 +++ b/target/linux/generic/config-3.10 @@ -3990,6 +3990,7 @@ CONFIG_WLAN=y # CONFIG_WL_TI is not set # CONFIG_WR_PPMC is not set # CONFIG_X25 is not set +# CONFIG_X86_16BIT is not set CONFIG_XFRM=y # CONFIG_XFRM_IPCOMP is not set # CONFIG_XFRM_MIGRATE is not set diff --git a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch b/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch deleted file mode 100644 index 52c45c3..000 --- a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e Mon Sep 17 00:00:00 2001 -From: Florian Fainelli flor...@openwrt.org -Date: Mon, 12 Nov 2012 12:31:55 +0100 -Subject: [PATCH] MIPS: decompressor: fix build failure on memcpy() in - decompress.c - -The decompress.c file includes linux/kernel.h which causes the following -inclusion chain to be pulled: -linux/kernel.h - - linux/dynamic_debug.h - - linux/string.h - - asm/string.h - -We end up having a the GCC builtin + architecture specific memcpy() expanding -into this: - -void *({ size_t __len = (size_t n); void *__ret; if -(__builtin_constant_p(size_t n) __len = 64) __ret = memcpy((void *dest), -(const void *src), __len); else __ret = __builtin_memcpy((void *dest), (const -void *src), __len); __ret; }) -{ - [memcpy implementation in decompress.c starts here] - int i; - const char *s = src; - char *d = dest
[OpenWrt-Devel] [PATCH v2] kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
All platforms which are using 3.10.x at the moment are upgraded. Changelogs: https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f (x86-espfix-make-it-possible-to-disable-16-bit-support.patch) I defaults to 'unset', but it's worth a discussion to enable it (turn off support for any 16-bit software). Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e (fix build failure on memcpy() in decompress.c) and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream. included in kernel 3.10.56 compile tested on all platforms with: make tools/install make toolchain/install make target/linux/compile user@box:~/user/openwrt$ cat /tmp/log.txt [Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK [Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK [Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK [Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK [Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK [Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK [Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK [Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK [Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK [Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK [Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK [Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK [Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK [Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK [Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK [Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK [Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- include/kernel-version.mk |4 +- target/linux/generic/config-3.10 |1 + .../062-mips_decompressor_build_fix.patch | 66 3 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 2511e2b..52c49a9 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -4,13 +4,13 @@ LINUX_RELEASE?=1 LINUX_VERSION-3.3 = .8 LINUX_VERSION-3.8 = .13 -LINUX_VERSION-3.10 = .49 +LINUX_VERSION-3.10 = .58 LINUX_VERSION-3.13 = .7 LINUX_VERSION-3.14 = .18 LINUX_KERNEL_MD5SUM-3.3.8 = f1058f64eed085deb44f10cee8541d50 LINUX_KERNEL_MD5SUM-3.8.13 = 2af19d06cd47ec459519159cdd10542d -LINUX_KERNEL_MD5SUM-3.10.49 = 9774e12764e740d49c80eda77d0ef3eb +LINUX_KERNEL_MD5SUM-3.10.58 = 3ff3478b6351143cef22d4b81cf48b01 LINUX_KERNEL_MD5SUM-3.13.7 = 370adced5e5c1cb1d0d621c2dae2723f LINUX_KERNEL_MD5SUM-3.14.18 = 3b002a06d0964d8101abec768c2d4eef diff --git a/target/linux/generic/config-3.10 b/target/linux/generic/config-3.10 index ab72ead..5df8901 100644 --- a/target/linux/generic/config-3.10 +++ b/target/linux/generic/config-3.10 @@ -3990,6 +3990,7 @@ CONFIG_WLAN=y # CONFIG_WL_TI is not set # CONFIG_WR_PPMC is not set # CONFIG_X25 is not set +# CONFIG_X86_16BIT is not set CONFIG_XFRM=y # CONFIG_XFRM_IPCOMP is not set # CONFIG_XFRM_MIGRATE is not set diff --git a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch b/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch deleted file mode 100644 index 52c45c3..000 --- a/target/linux/generic/patches-3.10/062-mips_decompressor_build_fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e Mon Sep 17 00:00:00 2001 -From: Florian Fainelli flor...@openwrt.org -Date: Mon, 12 Nov 2012 12:31:55 +0100 -Subject: [PATCH] MIPS: decompressor: fix build failure on memcpy() in - decompress.c - -The decompress.c file includes linux/kernel.h which causes the following -inclusion chain to be pulled: -linux/kernel.h - - linux/dynamic_debug.h - - linux/string.h - - asm/string.h - -We end up having a the GCC builtin + architecture specific memcpy() expanding -into this: - -void *({ size_t __len = (size_t n); void *__ret; if -(__builtin_constant_p(size_t n) __len = 64) __ret = memcpy((void *dest), -(const void *src), __len); else __ret = __builtin_memcpy((void *dest
[OpenWrt-Devel] [PATCH] mpc85xx: fix WAN/LAN-MAC for TP-LINK TL-WDR4900 v1
This works around a bootloader issue where every device has the same lan/wan-mac 00:04:9f:ef:01:01 - with this patch we read the macs from config-partition during initial network setup. We have 9 valid macs stored in the partition, the 1st two are used for the radios, 3 and 4 are now used for WAN/LAN. on an already setup / running device we can get the real macs with . /lib/functions.sh . /lib/functions/system.sh echo LAN = $(mtd_get_mac_binary config 338) echo WAN = $(mtd_get_mac_binary config 344) see: https://dev.openwrt.org/ticket/14714 from the ticket / user klondike: U-Boot passed this commit https://gitorious.org/0xlab-kernel/u-boot/commit/ecd1a09b81f2ed6e6ba7bd1d0bfb0cc3d0ea2ad0 http://u-boot.10912.n7.nabble.com/U-Boot-PATCH-mpc83xx-remove-hardcoded-network-addresses-from-config-files-td44372.html I suppose to prevent this particular issue, but the WDR4900 may be using an old bootloader still affected. ^^ I have been checking the contents of the dtb on the flash, this particular bit is quite revealing: ethernet@b { #address-cells = 0x1; #size-cells = 0x1; device_type = network; model = eTSEC; compatible = fsl,etsec2; fsl,num_rx_queues = 0x8; fsl,num_tx_queues = 0x8; local-mac-address = [00 00 00 00 00 00]; ^ interrupt-parent = 0x2; phy-handle = 0x3; phy-connection-type = rgmii-id; ptimer-handle = 0x4; queue-group@0 { #address-cells = 0x1; #size-cells = 0x1; reg = 0xb 0x1000; rx-bit-map = 0xff; tx-bit-map = 0xff; interrupts = 0x1d 0x2 0x1e 0x2 0x22 0x2; }; }; I also have been checking the live device map to find this: root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe0/ethernet@b/local-mac-address 00 04 9f ef 01 01 |..| 0006 root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe0/ethernet@b1000/local-mac-address * root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe0/ethernet@b2000/local-mac-address * My conclussion is that U-Boot most likely finds the device and (as no valid MAC-address is provided) falls back to the default MAC provided by the old code, the kernel then receives thee modified device map from U-Boot and assumes this is the correct MAC for the device despite it obviously isn't. This can be seen at target/linux/mpc85xx/patches-3.10/140-powerpc-85xx-tl-wdr4900-v1-support.patch The enetaddr is filled up by using the device tree data by the process_boot_dtb function and used by the platform_fixups function to set the eth0 address (by calling dt_fixup_mac_address_by_alias(ethernet0, enetaddr); ). But instead we should be used the device address which to my understanding is provided in the mtd. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- .../mpc85xx/base-files/etc/uci-defaults/02_network | 26 1 files changed, 5 insertions(+), 21 deletions(-) diff --git a/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network b/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network index 10a2cc8..e4e3566 100755 --- a/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/mpc85xx/base-files/etc/uci-defaults/02_network @@ -1,22 +1,5 @@ #!/bin/sh -# -# Copyright (C) 2013 OpenWrt.org -# - -tplink_set_mac() -{ - local cfg=$1 - local offset=$2 - local mac - - . /lib/functions.sh - - mac=$(mtd_get_mac_binary u-boot 326656) - mac=$(macaddr_add $mac $offset) - - ucidef_set_interface_macaddr $cfg $mac -} - +# Copyright (C) 2014 OpenWrt.org [ -e /etc/config/network ] exit 0 @@ -24,6 +7,8 @@ touch /etc/config/network . /lib/functions/uci-defaults.sh . /lib/mpc85xx.sh +. /lib/functions.sh +. /lib/functions/system.sh ucidef_set_interface_loopback @@ -35,10 +20,9 @@ tl-wdr4900-v1) ucidef_add_switch switch0 1 1 ucidef_add_switch_vlan switch0 1 0t 2 3 4 5 ucidef_add_switch_vlan switch0 2 0t 1 - tplink_set_mac lan -2 - tplink_set_mac wan 1 + ucidef_set_interface_macaddr lan $(mtd_get_mac_binary config 338) + ucidef_set_interface_macaddr wan $(mtd_get_mac_binary config 344) ;; - *) ucidef_set_interfaces_lan_wan eth0 eth1 ;; -- 1.7.2.5 ___ openwrt-devel mailing list openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
* Dirk Neukirchen dirkneukirc...@web.de [28.10.2014 08:18]: ar7, au1000 and xburst fail to build on the buildbots around the update with the same error in image generation regarding an included header unsure whats wrong on buildserver. with r43099 i did a clean build (tools+toolchain+kernel) for ar7 + au1000 without errors. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
* Dirk Neukirchen dirkneukirc...@web.de [28.10.2014 08:18]: http://buildbot.openwrt.org:8010/builders/ar7 726/727 http://buildbot.openwrt.org:8010/builders/au1000 655/656 http://buildbot.openwrt.org:8010/builders/xburst 705/706 i can reproduce it here - will dig into this. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] platform xburst / maintainer
can somebody please add the maintainer of 'xburst' to https://dev.openwrt.org/wiki/platforms when looking into the commits, it seems 'lars' is it?! bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] platform xburst / maintainer
* Mirko Vogt mi...@openwrt.org [28.10.2014 22:56]: hi mirko, That was a long time ago and I guess we should consider that platform currently unmaintained. May I ask what's your interest in this platform? i just wanted show look, which arch/endianness this is and missed it, so nothing really important and i wondered... bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] jffs takes about 18 minutes to get ready on 3.10 kernel
* Claudio Thomas c...@xmodus-systems.de [29.10.2014 13:18]: [ 800.742671] jffs2: notice: (888) jffs2_build_xattr_subsystem: how large is the partitionsize? while we are at it: till r40402 we where probing jffs2_ready() before writing to disc (e.g. new config-files). what is the supposed way the handle that now? (we grep the syslog for 'complete building xattr subsystem') bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] system reboot command from ssh failed sometimes on my ar9344 board
* zhang zhao formywillcan...@gmail.com [02.11.2014 08:32]: It's just weird that sometimes when I perform reboot operation on my tp-link wdr6300v2(ar9344), the reboot procedure just hang up with all leds see https://dev.openwrt.org/ticket/17839 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Hooks on wifi up/down for starting/stopping dependent functionality?
* Johan Almbladh j...@anyfi.net [12.11.2014 10:45]: I tried just doing ubus listen in one shell and then running wifi from another, but that doesn't give much to go on: which events do you need? a joining or leaving station? use 'iw event' an upcoming (or going down) interface? use '/etc/hotplug.d/iface/$yourscript' bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Hooks on wifi up/down for starting/stopping dependent functionality?
* Johan Almbladh j...@anyfi.net [17.11.2014 10:22]: The hotplug scripts receive events for interface names, but they know nothing about the underlying configuration. Is there any way to map a WLAN interface name, e.g. wlan0, to the corresponding UCI config entry in /etc/config/wireless? /sbin/hotplug-call exports some global shell-vars, which you can use in your script, e.g.: ACTION - e.g. 'ifup' INTERFACE - e.g. 'mywan' DEVICE - e.g. eth0.2 if you need some more, you can query them in your script with e.g. ubus call network.interface.mywan status you can parse the JSON with e.g. . /usr/share/libubox/jshn.sh OUT=$( ubus call network.interface.mywan status ) eval $( jshn -r $OUT ) echo $JSON_VAR_status bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Autoneg problems with ar8216 on kernel 3.14 (related to ticket 17800)
* Weedy weedy2...@gmail.com [24.11.2014 14:14]: [deleted ~250 lines fullquote] you (and the others too) are experienced users, so please read https://www.netmeister.org/news/learn2quote2.html#ss2.8 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Seagate FreeAgent GoFlex Home / SATA not working
today i installed via serial openwrt trunk r32520 on this device, images are from: http://downloads.openwrt.org/snapshots/trunk/kirkwood openwrt-kirkwood-uImage openwrt-kirkwood--jffs2-128k.img picture: http://i32.tinypic.com/2ntiqkj.jpg installing via uboot / nandwrite: https://lists.openwrt.org/pipermail/openwrt-devel/2011-February/009760.html device is working fine, but SATA is not working. Florian suggested to add sata_mv to platform_code, but is'nt this already done? see dmesg / lsmod bye, bastian dmesg: [0.00] Booting Linux on physical CPU 0 [0.00] Linux version 3.3.8 (fnord@tschunk) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jun 29 03:26:51 UTC 2012 [0.00] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [0.00] CPU: VIVT data cache, VIVT instruction cache [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] On node 0 totalpages: 32768 [0.00] free_area_init_node: node 0, pgdat c0363350, node_mem_map c0372000 [0.00] Normal zone: 256 pages used for memmap [0.00] Normal zone: 0 pages reserved [0.00] Normal zone: 32512 pages, LIFO batch:7 [0.00] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [0.00] pcpu-alloc: [0] 0 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [0.00] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 [0.00] PID hash table entries: 512 (order: -1, 2048 bytes) [0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Memory: 128MB = 128MB total [0.00] Memory: 126380k/126380k available, 4692k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] vmalloc : 0xc880 - 0xff00 ( 872 MB) [0.00] lowmem : 0xc000 - 0xc800 ( 128 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .text : 0xc0008000 - 0xc0326000 (3192 kB) [0.00] .init : 0xc0326000 - 0xc0345000 ( 124 kB) [0.00] .data : 0xc0346000 - 0xc0363a00 ( 119 kB) [0.00].bss : 0xc0363a24 - 0xc0371970 ( 56 kB) [0.00] NR_IRQS:114 [0.00] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0 [0.00] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1 [0.00] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms [ 15.267545] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 15.357534] pid_max: default: 32768 minimum: 301 [ 15.357677] Mount-cache hash table entries: 512 [ 15.357990] CPU: Testing write buffer coherency: ok [ 15.358244] Setting up static identity map for 0x278158 - 0x278194 [ 15.359949] NET: Registered protocol family 16 [ 15.362195] Kirkwood: MV88F6281-A1, TCLK=2. [ 15.362211] Feroceon L2: Enabling L2 [ 15.362248] Feroceon L2: Cache support initialised. [ 15.363354] initial MPP regs: 0111 3322 0010 [ 15.363377] final MPP regs: 0111 3322 [ 15.369767] bio: create slab bio-0 at 0 [ 15.370669] SCSI subsystem initialized [ 15.371230] usbcore: registered new interface driver usbfs [ 15.371369] usbcore: registered new interface driver hub [ 15.371518] usbcore: registered new device driver usb [ 15.372617] Switching to clocksource orion_clocksource [ 15.374171] NET: Registered protocol family 2 [ 15.374309] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 15.374597] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 15.374697] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 15.374751] TCP: Hash tables configured (established 4096 bind 4096) [ 15.374760] TCP reno registered [ 15.374770] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 15.374793] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 15.374963] NET: Registered protocol family 1 [ 15.374990] PCI: CLS 0 bytes, default 32 [ 15.376479] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 15.376494] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 15.376828] msgmni has been set to 246 [ 15.376860] io scheduler noop registered [ 15.376868] io scheduler deadline registered (default) [ 15.91] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 15.467243] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 15.799420] console [ttyS0] enabled [ 15.804393] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit) [ 15.813068]
Re: [OpenWrt-Devel] Captive Portal with OAuth support?
Is there anyone in this mailing list tried with this idea? Which should I start from? we have this included since a long time: https://github.com/bittorf/kalua a good starting point is: https://github.com/livibetter/bash-oauth/blob/master/OAuth.sh bye, bastian. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Seagate FreeAgent GoFlex Home / SATA not working / Bootloader
http://downloads.openwrt.org/snapshots/trunk/kirkwood openwrt-kirkwood-uImage openwrt-kirkwood--jffs2-128k.img just for documentation: bootloader is from here: http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html http://people.debian.org/~tbm/u-boot/2011.12-3/dockstar/u-boot.kwb bye, bastian. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Seagate FreeAgent GoFlex Home / klog-line missing / Dockstart VS GoFlex
dmesg: [0.00] Booting Linux on physical CPU 0 [0.00] Linux version 3.3.8 (fnord@tschunk) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jun 29 03:26:51 UTC 2012 [0.00] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [0.00] CPU: VIVT data cache, VIVT instruction cache by accident one important line was missing: [0.00] Machine: Seagate FreeAgent DockStar [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] On node 0 totalpages: 32768 maybe this means, that the device is wrong detected as Dockstar, but it is a GoFlex. Or is this not related? bye, bastian. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Seagate FreeAgent GoFlex Home / SATA not working / patch missing?
Is this patch from february still missing? http://patchwork.openwrt.org/patch/734/ bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel