[OpenWrt-Devel] [PATCH] dudders without openssl

2012-06-16 Thread Peter Holik
On a small system with only 4MByte Flash dudders with openssl as dependency is 
huge - libgcrypt is
sufficient.
--- Makefile.orig	2012-06-15 17:52:48.084415295 +0200
+++ Makefile	2012-06-15 17:52:56.860458814 +0200
@@ -15,7 +15,7 @@
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=1d368a86f3c284e95d260a94767a8ded
 
-PKG_BUILD_DEPENDS:=+libopenssl +libgcrypt
+PKG_BUILD_DEPENDS:=+libgcrypt
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
@@ -25,7 +25,7 @@
   SECTION:=net
   CATEGORY:=Network
   SUBMENU:=IP Addresses and Names
-  DEPENDS:=+libopenssl +libgcrypt +libgpg-error
+  DEPENDS:=+libgcrypt +libgpg-error
   TITLE:=DNS Update SIG(0) client
   MAINTAINER:=Dean Scarff d...@scarff.id.au
   URL:=http://dudders.sourceforge.net/
@@ -57,8 +57,6 @@
 	$(INSTALL_DIR) $(1)/usr/lib/dudders
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_gcrypt.so \
 		   $(1)/usr/lib/dudders/
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_openssl.so \
-		   $(1)/usr/lib/dudders/
 	$(INSTALL_DIR) $(1)/etc/config
 	$(INSTALL_CONF) ./files/dudders.config $(1)/etc/config/dudders
 	$(INSTALL_DIR) $(1)/etc/hotplug.d/iface___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Has snapshot buildbot system went crazy?

2012-06-16 Thread Hannu Nyman
There has not been successful buildbot snapshots for a week for any platform. 
The buildbot status screens are full of exceptions. Alternatively, some of 
the builds have now been on the make for 37 hours, without the displayed 
status progressing even into the kernel compilation status.

http://tksite.gotdns.org:8010/grid
http://tksite.gotdns.org:8010/one_line_per_build

To me it looks like either the buildbot master has got crazy or all the 
buildslaves have started to experience problems at the same time.


Last 20 finished builds:
Time Revision Result Builder Build # Info
Jun 14 22:55 32381 retry iop32x #30 Build successful 
exception slave lost
Jun 14 22:55 32381 retry au1000 #29 Build successful 
exception slave lost
Jun 14 22:55 32381 retry ar71xx #29 Build successful 
exception slave lost
Jun 14 22:55 32381 exception avr32 #35 Exception shell_4 
shell_15 compile_12
Jun 14 17:09 32376 retry avr32 #34 Build successful 
exception slave lost
Jun 14 17:09 32376 exception x86 #34 Exception shell_4 
shell_15 compile_12
Jun 14 17:09 32376 exception sibyte #34 Exception shell_4 
shell_15 compile_12
Jun 14 17:09 32376 exception ar7 #33 Exception shell_4 
shell_15 compile_12
Jun 13 22:56 32353 retry avr32 #33 Build successful 
exception slave lost
Jun 13 22:56 32353 retry sibyte #33 Build successful 
exception slave lost
Jun 13 22:56 32353 retry ar7 #32 Build successful 
exception slave lost
Jun 13 22:56 32353 retry x86 #33 Build successful 
exception slave lost
Jun 14 05:13 32353 retry kirkwood #30 Build successful 
exception slave lost
Jun 14 05:13 32353 retry ixp4xx #31 Build successful 
exception slave lost
Jun 14 05:13 32353 retry xburst #30 Build successful 
exception slave lost
Jun 14 05:12 32353 retry s3c24xx #42 Build successful 
exception slave lost

Jun 14 04:36 32353 exception uml #36 Exception download
Jun 14 04:35 32353 exception pxcab #37 Exception download
Jun 14 04:35 32353 exception ramips #37 Exception download
Jun 14 04:34 32353 retry s3c24xx #41 Build successful 
exception slave lost



Another buildbot-related question: there have been some messages on the list 
saying that new buildslaves would be available if needed. But I think I 
haven't seen any new slaves being put into use, and only alicia, buildslave1 
and buildslave2 seem to be doing any work. Have those messages went 
unnoticed? Or were the offered slaves unsuitable?



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] why xburst target mark as BROKEN

2012-06-16 Thread Xiangfu Liu

Hi Jonas

Thanks for reply. attachment is the dmesg log. this kernel build at 'Jun 8 
16:44:01 CST 2012'
base on svn://svn.openwrt.org/openwrt/trunk@32117, works just fine under Ben 
Nanonote(QI_LB60).

Xiangfu


On 06/08/2012 08:20 PM, Jonas Gorski wrote:

What can I do for remove the 'broken' on xburst target?


Well, what you already did; test it ;) And since it works for you, it
looks like the broken mark can be removed. Could you perhaps provide a
bootlog for verification?


Jonas
[0.00] Linux version 3.3.8 (xiangfu@macbook) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 PREEMPT Fri Jun 8 16:44:01 CST 2012
[0.00] bootconsole [early0] enabled
[0.00] CPU revision is: 0ad0024f (Ingenic JZRISC)
[0.00] SDRAM preconfigured: bus:1 bank:2 rows:13 cols:9
[0.00] Determined physical RAM map:
[0.00]  memory: 0200 @  (usable)
[0.00] User-defined physical RAM map:
[0.00]  memory: 0200 @  (usable)
[0.00] Zone PFN ranges:
[0.00]   Normal   0x - 0x2000
[0.00] Movable zone start PFN for each node
[0.00] Early memory PFN ranges
[0.00] 0: 0x - 0x2000
[0.00] On node 0 totalpages: 8192
[0.00] free_area_init_node: node 0, pgdat 8044b4d0, node_mem_map 8100
[0.00]   Normal zone: 64 pages used for memmap
[0.00]   Normal zone: 0 pages reserved
[0.00]   Normal zone: 8128 pages, LIFO batch:0
[0.00] Reserving 0MB of memory at 0MB for crashkernel
[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 off.  Total pages: 8128
[0.00] Kernel command line: mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait
[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] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[0.00] Memory: 27708k/32768k available (3292k kernel code, 5060k reserved, 1042k data, 232k init, 0k highmem)
[0.00] NR_IRQS:190
[0.00] Console: colour dummy device 80x25
[0.00] console [tty0] enabled
[0.01] Calibrating delay loop... 334.23 BogoMIPS (lpj=1671168)
[0.08] pid_max: default: 32768 minimum: 301
[0.09] Mount-cache hash table entries: 512
[0.11] NET: Registered protocol family 16
[0.13] gpiochip_add: registered GPIOs 0 to 31 on device: Bank A
[0.14] gpiochip_add: registered GPIOs 32 to 63 on device: Bank B
[0.15] gpiochip_add: registered GPIOs 64 to 94 on device: Bank C
[0.16] gpiochip_add: registered GPIOs 96 to 127 on device: Bank D
[0.17] JZ4740 GPIO initialized
[0.18] Qi Hardware JZ4740 QI LB60 setup
[0.28] bio: create slab bio-0 at 0
[0.31] Advanced Linux Sound Architecture Driver Version 1.0.24.
[0.32] Switching to clocksource jz4740-timer
[0.44] NET: Registered protocol family 2
[0.45] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.46] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[0.47] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[0.48] TCP: Hash tables configured (established 1024 bind 1024)
[0.49] TCP reno registered
[0.49] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.50] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.51] NET: Registered protocol family 1
[0.53] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[0.54] msgmni has been set to 54
[0.55] io scheduler noop registered
[0.56] io scheduler deadline registered (default)
[0.59] Console: switching to colour frame buffer device 53x21
[0.61] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[0.62] serial8250.0: ttyS0 at MMIO 0x1003 (irq = 17) is a 16550
[0.63] console [ttyS0] enabled, bootconsole disabled
[0.64] serial8250.0: ttyS1 at MMIO 0x10031000 (irq = 16) is a 16550
[0.66] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
[0.67] jz4740-nand jz4740-nand.0: Found chip 0 on bank 1
[0.68] Scanning device for bad blocks
[0.96] Creating 4 MTD partitions on jz4740-nand:
[0.97] 0x-0x0040 : NAND BOOT partition
[0.98] 0x0040-0x0080 : NAND KERNEL partition
[0.99] 0x0080-0x2080 : NAND ROOTFS partition
[1.00] 0x2080-0x8000 : NAND DATA partition
[   

[OpenWrt-Devel] [PATCH] [packages] hsflowd: fix compile for x86+uClibc

2012-06-16 Thread Stijn Tintel
Remove another call to backtrace_symbols_fd to make hsflowd compile
for x86+uClibc targets.

---
 net/hsflowd/patches/200-uclibc-compat.patch |   10 +-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/net/hsflowd/patches/200-uclibc-compat.patch 
b/net/hsflowd/patches/200-uclibc-compat.patch
index 5492daa..4c0a82e 100644
--- a/net/hsflowd/patches/200-uclibc-compat.patch
+++ b/net/hsflowd/patches/200-uclibc-compat.patch
@@ -15,7 +15,15 @@
fflush(f_crash);
// Do something useful with siginfo_t 
if (sig == SIGSEGV) {
-@@ -2005,7 +2004,6 @@ extern C {
+@@ -1430,7 +1429,6 @@ extern C {
+   // overwrite sigaction with caller's address
+   backtracePtrs[1] = (void *)(((ucontext_t 
*)secret)-uc_mcontext.gregs[REG_EIP]);
+   // then write again:
+-  backtrace_symbols_fd(backtracePtrs, siz, fileno(f_crash));
+   fflush(f_crash);
+ #endif
+   // exit with the original signal so we get the right idea
+@@ -2005,7 +2003,6 @@ extern C {
  if(debug) {
myLog(LOG_INFO, initAgent suceeded);
// print some stats to help us size HSP_RLIMIT_MEMLOCK etc.
-- 
1.7.3.4

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] wifitoggle: fix typos in Makefile

2012-06-16 Thread Roman A. aka BasicXP
Signed-off-by: Roman A. aka BasicXP

Index: feeds/packages/utils/wifitoggle/Makefile
===
--- feeds/packages/utils/wifitoggle/Makefile (revision 32396)
+++ feeds/packages/utils/wifitoggle/Makefile (working copy)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2010-2011 OpenWrt.org
+# Copyright (C) 2010-2012 OpenWrt.org
 # Copyright (C) 2010 segal.di.ubi.pt 
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -17,13 +17,13 @@
 define Package/wifitoggle
   SECTION:=utils
   CATEGORY:=Utilities
-  TITLE:=Script to toogle WiFi with a button and UCI config
+  TITLE:=Script to toggle Wi-Fi with a button and UCI config
   MAINTAINER:=Nuno Goncalves nuno...@gmail.com
 endef
 
 define Package/wifitoggle/description
-Very versatile script to toogle WiFi with a button. Allows to set
-timeouts, persist changes after boot, and set leds acording to the state.
+Very versatile script to toggle Wi-Fi with a button. Allows to set
+timeouts, persist changes after boot, and set LEDs according to the state.
 endef
 
 define Package/wifitoggle/conffiles



smime.p7s
Description: S/MIME cryptographic signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] optimize kernel config for kvm_guest

2012-06-16 Thread Stijn Tintel
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support

Signed-off-by: Stijn Tintel st...@linux-ipv6.be
---
 target/linux/x86/kvm_guest/config-3.3 |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/target/linux/x86/kvm_guest/config-3.3 
b/target/linux/x86/kvm_guest/config-3.3
index 4e4ae73..ad4025b 100644
--- a/target/linux/x86/kvm_guest/config-3.3
+++ b/target/linux/x86/kvm_guest/config-3.3
@@ -22,6 +22,7 @@ CONFIG_ACPI_PROCESSOR=y
 # CONFIG_ACPI_WMI is not set
 # CONFIG_ASUS_LAPTOP is not set
 CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_CPU_IDLE_GOV_MENU=y
 CONFIG_DUMMY_CONSOLE=y
 # CONFIG_EFI is not set
 # CONFIG_HPET is not set
@@ -38,11 +39,12 @@ CONFIG_KVM_GUEST=y
 # CONFIG_LGUEST is not set
 # CONFIG_LGUEST_GUEST is not set
 CONFIG_NLS=y
+CONFIG_NO_HZ=y
 CONFIG_PARAVIRT=y
 CONFIG_PARAVIRT_CLOCK=y
 # CONFIG_PARAVIRT_DEBUG is not set
 CONFIG_PARAVIRT_GUEST=y
-# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
+CONFIG_PARAVIRT_TIME_ACCOUNTING=y
 CONFIG_PCI_IOAPIC=y
 CONFIG_PCI_LABEL=y
 CONFIG_PCI_MMCONFIG=y
-- 
1.7.3.4

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] hsflowd: fix compile for x86+uClibc

2012-06-16 Thread Stijn Tintel
On 16-06-12 19:27, Stijn Tintel wrote:
 Remove another call to backtrace_symbols_fd to make hsflowd compile
 for x86+uClibc targets.
Signed-off-by: Stijn Tintel st...@linux-ipv6.be

 ---
  net/hsflowd/patches/200-uclibc-compat.patch |   10 +-
  1 files changed, 9 insertions(+), 1 deletions(-)

 diff --git a/net/hsflowd/patches/200-uclibc-compat.patch 
 b/net/hsflowd/patches/200-uclibc-compat.patch
 index 5492daa..4c0a82e 100644
 --- a/net/hsflowd/patches/200-uclibc-compat.patch
 +++ b/net/hsflowd/patches/200-uclibc-compat.patch
 @@ -15,7 +15,15 @@
   fflush(f_crash);
   // Do something useful with siginfo_t 
   if (sig == SIGSEGV) {
 -@@ -2005,7 +2004,6 @@ extern C {
 +@@ -1430,7 +1429,6 @@ extern C {
 + // overwrite sigaction with caller's address
 + backtracePtrs[1] = (void *)(((ucontext_t 
 *)secret)-uc_mcontext.gregs[REG_EIP]);
 + // then write again:
 +-backtrace_symbols_fd(backtracePtrs, siz, fileno(f_crash));
 + fflush(f_crash);
 + #endif
 + // exit with the original signal so we get the right idea
 +@@ -2005,7 +2003,6 @@ extern C {
 if(debug) {
   myLog(LOG_INFO, initAgent suceeded);
   // print some stats to help us size HSP_RLIMIT_MEMLOCK etc.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] new package lua-crypt

2012-06-16 Thread Jiri Slachta
Hello,

I would like to introduce you small new package Lua-crypt. It is a C library 
that binds the crypt() function from POSIX operating systems to the standard 
Lua 5.0 interpreter. This package is needed to build asterisk module, e.g. 
pbx-lua.

Signed-off-by: Jiri Slachta j...@slachta.eu 

Index: feeds/packages/lang/lua-crypt/Makefile
===
--- feeds/packages/lang/lua-crypt/Makefile  (revision 0)
+++ feeds/packages/lang/lua-crypt/Makefile  (revision 0)
@@ -0,0 +1,48 @@
+#
+# Copyright (C) 2012 OpenWrt
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=lua-crypt
+PKG_VERSION:=1.0
+PKG_RELEASE:=1
+
+PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/312/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MD5SUM:=4a9816f10763e8f6a96220671c2f8518
+PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DEPENDS:=lua
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/lua-crypt
+  SUBMENU:=Lua
+  SECTION:=lang
+  CATEGORY:=Languages
+  TITLE:=Lua crypt library.
+  URL:=http://luaforge.net/projects/lua-crypt/
+  DEPENDS:=+lua
+endef
+
+define Build/Configure
+endef
+
+TARGET_CFLAGS += -fPIC $(FPIC)
+
+PKG_MAKE_ARGS:= \
+   CC=$(TARGET_CC) $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include 
-L$(STAGING_DIR)/usr/lib
+
+define Build/Compile
+   $(MAKE) -C $(PKG_BUILD_DIR) $(PKG_MAKE_ARGS) all
+endef
+
+define Package/lua-crypt/install
+   $(INSTALL_DIR) $(1)/usr/lib/lua
+   $(CP) $(PKG_BUILD_DIR)/libluacrypt.so $(1)/usr/lib/lua/
+endef
+
+$(eval $(call BuildPackage,lua-crypt))

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel