Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-09 Thread Daniel Danzberger
e writer filling with 0xFF > and the reader catching up. The open() syscall does the memset(0xff) and blocks. This ensures the memory is initialized before the open() returns. I don't think there is a race. > > Again, assume that I am an idiot and am missing something fundamental. &g

Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-08 Thread Daniel Danzberger
On 05/07/2018 01:16 PM, Daniel Danzberger wrote: > On 05/06/2018 09:00 PM, Rosen Penev wrote: >> On Sun, May 6, 2018 at 10:08 AM, Rosen Penev wrote: >>> On Sun, May 6, 2018 at 3:52 AM, Daniel Danzberger wrote: >>>> MMAP'ed memory that has been allocated v

Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-07 Thread Daniel Danzberger
On 05/06/2018 09:00 PM, Rosen Penev wrote: > On Sun, May 6, 2018 at 10:08 AM, Rosen Penev wrote: >> On Sun, May 6, 2018 at 3:52 AM, Daniel Danzberger wrote: >>> MMAP'ed memory that has been allocated via 'get_zeroed_page(GFP_KERNEL)' or >>> 'vmall

[LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-06 Thread Daniel Danzberger
heck memory ...FAIL (at byte 96) check memory ...FAIL (at byte 96) check memory ...FAIL (at byte 96) check memory ...FAIL (at byte 128) --- I have no idea whats causing it. Does anybody have a hint on how to fix this ? -- Regards Daniel Danzberger

[LEDE-DEV] [PATCH] dnsmasq: add interface-name uci list.

2017-05-02 Thread Daniel Danzberger
interface 'lan' ... list interface_name 'home.lan' ... -- Signed-off-by: Daniel Danzberger --- package/network/services/dnsmasq/files/dnsmasq.init | 6 ++ 1 file changed, 6 insertions(+) diff --git a/package/network/services/dnsmasq/files/d

[LEDE-DEV] [PATCH] Opkg: add --no-configure option patch.

2017-02-15 Thread Daniel Danzberger
Calling opkg with --no-configure prevents opkg from running the configuration of the package (postinstall scripts ..etc) This way opkg will only install the package, without restarting the service for example. Signed-off-by: Daniel Danzberger --- .../opkg/patches/300-add-no-configure

[LEDE-DEV] [PATCH] ext4: Add missing kmod-crypto-crc32c dependency

2016-10-10 Thread Daniel Danzberger
This fixes the following error when mounting a ext4 filesystem [ 166.24] EXT4-fs (sda1): Cannot load crc32c driver. Signed-off-by: Daniel Danzberger --- package/kernel/linux/modules/fs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux

[LEDE-DEV] [PATCH 1/2] Octeon: Use ext4 on mmcblk0p3 per default for ER.

2016-08-22 Thread Daniel Danzberger
ernel tries to mount /root. The old commandline was: block2mtd.block2mtd=/dev/mmcblk0p2,65536,rootfs,15 This line caused the following error message and stopped booting: "block2mtd: erasesize must be a divisor of device size" Signed-off-by: Daniel Danzberger --- target/linux/octeon/ima

[LEDE-DEV] [PATCH 0/2] Octeon: Fixes for currently broken UBNT Edgerouter images

2016-08-22 Thread Daniel Danzberger
Hi, The current Edgerouter images are broken. Initramfs and Edgerouter Lite images are not affected. 1. The System stopps booting because it cannot load rootfs. 2. Sysupgrade might destroy the kernel boot image. About the first patch (ext4 rootfs): I am not very happy with this solution, but it

[LEDE-DEV] [PATCH 2/2] Octeon: Do not create backup for vmlinux64.bin on Edgerouter.

2016-08-22 Thread Daniel Danzberger
ng. Signed-off-by: Daniel Danzberger --- target/linux/octeon/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index 91763ce..e763763 1

[LEDE-DEV] [PATCH v2] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

2016-06-30 Thread Daniel Danzberger
bridge and returns a false state for the local querier in __br_multicast_querier_exists(). Special thanks to Linus Lüssing. Signed-off-by: Daniel Danzberger --- diff --git a/target/linux/generic/patches-4.4/646-bridge_fix_ipv6_mc_snooping_if_bridge_has_no_ipv6_address.patch b/target/linux/generic

[LEDE-DEV] [PATCH] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

2016-06-30 Thread Daniel Danzberger
bridge and returns a false state for the local querier in __br_multicast_querier_exists(). Special thanks to Linus Lüssing. Signed-off-by: Daniel Danzberger --- ...mc_snooping_if_bridge_has_no_ipv6_address.patch | 76 ++ 1 file changed, 76 insertions(+) create mode 100644