{5} Accepted, Active Tickets by Owner (Full Description) (7 matches)

List tickets accepted, group by ticket owner. This report demonstrates the use of full-row display.

amain (7 matches)

Ticket Summary Component Milestone Type Created
Description
#10045 openwrt trunk does not use hotplug2 openwrt next-release defect Dec 16, 2014

The preinit script is unable to find devices because openwrt/trunk does not use hotplug2 anymore. Adapting to the new toolchain may work but introduces lots of dependencies for simple device creation that Debian will do later on again. Therefor I'd suggest to do device creation manually:

Index: openwrt/files/package/base-files/files/etc/preinit
===================================================================
--- openwrt/files/package/base-files/files/etc/preinit  (revision 639)
+++ openwrt/files/package/base-files/files/etc/preinit  (working copy)
@@ -18,14 +18,35 @@
 mount -t tmpfs tmpfs /dev -o mode=0755,size=512K
 mount -t tmpfs tmpfs /tmp -o size=3m,nosuid,nodev,mode=1777
 [ -c /dev/console ] || mknod /dev/console c 5 1
-/sbin/hotplug2 --set-worker /lib/hotplug2/worker_fork.so --set-rules-file /etc/hotplug2-init.rules --no-persistent --set-coldplug-cmd /sbin/udevtrigger
-/sbin/hotplug2 --set-worker /lib/hotplug2/worker_fork.so --set-rules-file /etc/hotplug2-init.rules --persistent &

+mkdev() {
+    # argument is /sys/block/sdX or /sys/block/sdX/sdXN
+    devpath="${1}"
+    if [ -f ${devpath}/dev ]; then
+        devname=$(basename ${devpath})
+        if [ ! -e /dev/${devname} ]; then
+            mknod /dev/${devname} b $(cat ${devpath}/dev | sed "s/:/\ /g")
+        fi
+    fi
+}
+
+find_blockdevs() {
+    for bdev in /sys/block/*; do
+        if [ -e ${bdev}/dev ]; then
+            mkdev ${bdev}
+            for subdev in ${bdev}/*/dev; do
+                mkdev $(dirname ${subdev})
+            done
+        fi
+    done
+}
+
 wait_for_root_device() { # return: (default) root device
    local n=0
    local dev=""

    while [ $n -lt $WAIT ]; do
+      find_blockdevs
       dev=$(blkid -t LABEL=$ROOT_LABEL)
       if [ "" != "$dev" ]; then
          dev=${dev/:*/}
@@ -49,7 +70,6 @@
    # pivot_root to it and run /sbin/init
    # or kexec if /boot/vmlinux.elf is found on the new root

-   killall hotplug2
    mount $dev /mnt

    if [ -f /mnt/boot/vmlinux.elf ] && ! grep -q "kexec=1" /proc/cmdline; then

#104 ARM cross compilers can't be found buildsystem unscheduled defect Mar 15, 2011

display:

: GPG error: http://www.emdebian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B5B7720097BB3B58 sudo chroot /home/soltek/openwrt/88f6281/debwrt/build/debian-kirkwood-Default-squeeze apt-get -y install apt-cross Reading package lists... Done Building dependency tree Reading state information... Done apt-cross is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. sudo chroot /home/soltek/openwrt/88f6281/debwrt/build/debian-kirkwood-Default-squeeze apt-get -y install libmpfr1ldbl Reading package lists... Done Building dependency tree Reading state information... Done libmpfr1ldbl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. sudo chroot /home/soltek/openwrt/88f6281/debwrt/build/debian-kirkwood-Default-squeeze bash -c "export LC_ALL=C; apt-get -y --force-yes install build-essential debootstrap fakeroot zlib1g-dev dh-make openssh-client dpkg-cross vim pkg-config dpatch libncurses5-dev devscripts subversion automake gcc-multilib g++-multilib" Reading package lists... Done Building dependency tree Reading state information... Done automake is already the newest version. build-essential is already the newest version. debootstrap is already the newest version. devscripts is already the newest version. dh-make is already the newest version. dpatch is already the newest version. dpkg-cross is already the newest version. fakeroot is already the newest version. g++-multilib is already the newest version. gcc-multilib is already the newest version. libncurses5-dev is already the newest version. openssh-client is already the newest version. pkg-config is already the newest version. subversion is already the newest version. vim is already the newest version. zlib1g-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. sudo chroot /home/soltek/openwrt/88f6281/debwrt/build/debian-kirkwood-Default-squeeze bash -c "export LC_ALL=C; apt-get -y --force-yes install libc6-arm-cross libc6-dev-arm-cross binutils-arm-linux-gnu gcc-4.3-arm-linux-gnu g++-4.3-arm-linux-gnu linux-kernel-headers-arm-cross" Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'gcc-4.3-arm-linux-gnueabi-base' for regex 'gcc-4.3-arm-linux-gnu' Note, selecting 'gcc-4.3-arm-linux-gnueabi' for regex 'gcc-4.3-arm-linux-gnu' E: Unable to locate package libc6-arm-cross E: Unable to locate package libc6-dev-arm-cross E: Unable to locate package binutils-arm-linux-gnu E: Unable to locate package g++-4.3-arm-linux-gnu E: Couldn't find any package by regex 'g++-4.3-arm-linux-gnu' E: Unable to locate package linux-kernel-headers-arm-cross make: * [debian/buildenv/emdebian-prepare] error 100


#45 Compile error on kernel rev136: SSB and OHCI undefined references openwrt next-release defect Dec 4, 2010

drivers/built-in.o: In function `ssb_ohci_remove': ohci-hcd.c:(.text.ssb_ohci_remove+0x6c): undefined reference to `ssb_ehci_detach' ohci-hcd.c:(.text.ssb_ohci_remove+0x6c): relocation truncated to fit: R_MIPS_26 against `ssb_ehci_detach' drivers/built-in.o: In function `ssb_ohci_probe': ohci-hcd.c:(.text.ssb_ohci_probe+0x2c8): undefined reference to `ssb_ehci_attach' ohci-hcd.c:(.text.ssb_ohci_probe+0x2c8): relocation truncated to fit: R_MIPS_26 against `ssb_ehci_attach' make[5]: * [vmlinux] Error 1 make[5]: Leaving directory `/home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default/build_dir/linux-brcm47xx/linux-2.6.36.1' make[4]: * home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default/build_dir/linux-brcm47xx/linux-2.6.36.1/.modules Error 2 make[4]: Leaving directory `/home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default/target/linux/brcm47xx' make[3]: * [compile] Error 2 make[3]: Leaving directory `/home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default/target/linux' make[2]: * [target/linux/compile] Error 2 make[2]: Leaving directory `/home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default' make[1]: * home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default/staging_dir/target-mipsel_uClibc-0.9.31/stamp/.target_compile Error 2 make[1]: Leaving directory `/home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default' make: * [world] Error 2 make: Leaving directory `/home/erik/src/trunk/build/openwrt-brcm47xx-Broadcom-b43-trunk-default' make: * [openwrt/build] Fout 2


#83 Odd ownership of some system files other unscheduled defect Feb 16, 2011

Hello, I have noticed some of the files have strange ownership just after fresh installation of debwrt:

The following directories and everything under them have UID:GID 1000:1000 (i.e., no records in passwd or groups for them), expected ownership would be root:root

/lib/firmware /lib/modules /lib/wifi

Also the following are owned by root:voice (expected group for these is utmp) in the default installation:

/var/log/btmp /var/log/lastlog /var/log/wtmp

Maybe I have made some mistake during the unpacking/installation but if not, this is a security breach and should be fixed.

Regards.


#163 Use QEMU to mount rootfs from usb device other unscheduled enhancement Sep 5, 2011

For those without a serial cable (or those too lazy to connect one up) it would be handy to be able to mount the rootfs off of the usb device when a user has accidentally locked themselves out of their router. Essentially it would be exactly the same function as make chr except it would point to /media/DEBWRT_ROOT.


#9984 Add mjpeg_streamer to DebWrt packages debian/packages next-release enhancement Nov 16, 2013

Mjpeg streamer is able to stream webcam(uvc) video on low CPU devices. Using motion, which can do this as well, takes 60% cpu ( even with motion detection off ) while mjpeg streamer does this at 8% cpu. Benchmarked on:

cpu model : Broadcom BMIPS3300 V0.6 BogoMIPS : 262.14

@ 640x480.

The mjpeg streamer can stream video without problems to motion on a remote machine or any other browser / machine.

Compiler issue: http_output plugin makes GCC crash. This can be fixed by removing -O1 in the Makefile of the plugin.


#9994 TARGET_ARCH=armel need some Makefiles tweaks debian/rootfs next-release enhancement Mar 17, 2014

make TARGET_ARCH=armel seem to work (not tested on real hardware for now).

After tweaking some scripts and Makefiles, I get a complete build done :

debian/package/broadcom-wl is the only package which not build at all. debian/package/debwrt-net need a dependence to broadcom-wl to be removed.

Hee are my notes, hope I do not forget some modifications : <!>


debian/rootfs/debian.mk


ifeq ($(TARGET_ARCH), armel) define qemu-prepare

@if [ ! -x $(QEMU_BIN_STATIC) ]; then echo "E: can't find qemu ($(QEMU_BIN_STATIC))"; fi @if [ ! -e /proc/sys/fs/binfmt_misc/qemu-arm ]; then echo "E: can't find binfmt_misc qemu-arm ( /proc/sys/fs/binfmt_misc/qemu-arm).\nE: install qemu-user-static, or\nE: disable second stage with qemu with menuconfig (DEBIAN_ROOTFS_QEMU_2ND_STAGE)."; fi @if [ ! -x $(QEMU_BIN_STATIC) -o ! -e /proc/sys/fs/binfmt_misc/qemu-arm ]; then echo "E: abort - qemu not available in chroot"; exit 1; fi @if [ ! -e $(ROOTFS_BUILD_DIR)$(QEMU_INTERPRETER) ]; then sudo cp $(QEMU_BIN_STATIC) $(ROOTFS_BUILD_DIR)$(QEMU_INTERPRETER); fi @if ! sudo chroot $(ROOTFS_BUILD_DIR) /bin/ls >/dev/null; then echo "E: qemu can't execute binaries for armel"; echo "E: abort"; exit 1; fi @if ! (mount | grep -q $(ROOTFS_BUILD_DIR)/proc); then sudo chroot $(ROOTFS_BUILD_DIR) mount -t proc none /proc; fi @if ! (mount | grep -q $(ROOTFS_BUILD_DIR)/sys ); then sudo chroot $(ROOTFS_BUILD_DIR) mount -t sysfs none /sys; fi @mount

endef else define qemu-prepare

@if [ ! -x $(QEMU_BIN_STATIC) ]; then echo "E: can't find qemu ($(QEMU_BIN_STATIC))"; fi @if [ ! -e /proc/sys/fs/binfmt_misc/qemu-$(TARGET_ARCH) ]; then echo "E: can't find binfmt_misc qemu-$(TARGET_ARCH) ( /proc/sys/fs/binfmt_misc/qemu-$(TARGET_ARCH)).\nE: install qemu-user-static, or\nE: disable second stage with qemu with menuconfig (DEBIAN_ROOTFS_QEMU_2ND_STAGE)."; fi @if [ ! -x $(QEMU_BIN_STATIC) -o ! -e /proc/sys/fs/binfmt_misc/qemu-$(TARGET_ARCH) ]; then echo "E: abort - qemu not available in chroot"; exit 1; fi @if [ ! -e $(ROOTFS_BUILD_DIR)$(QEMU_INTERPRETER) ]; then sudo cp $(QEMU_BIN_STATIC) $(ROOTFS_BUILD_DIR)$(QEMU_INTERPRETER); fi @if ! sudo chroot $(ROOTFS_BUILD_DIR) /bin/ls >/dev/null; then echo "E: qemu can't execute binaries for $(TARGET_ARCH)"; echo "E: abort"; exit 1; @if ! (mount | grep -q $(ROOTFS_BUILD_DIR)/proc); then sudo chroot $(ROOTFS_BUILD_DIR) mount -t proc none /proc; fi @if ! (mount | grep -q $(ROOTFS_BUILD_DIR)/sys ); then sudo chroot $(ROOTFS_BUILD_DIR) mount -t sysfs none /sys; fi @mount

endef endif


# Fow now: Include debwrt-packages dependencies staticly. This # list(DEBWRT_ROOTFS_PKGLST_DEPS) is managed in debian/package/debian.mk. debian/rootfs/bootstrap: debian/rootfs/clean-rootfs-dir ifeq ($(TARGET_ARCH),arm)

sudo debootstrap --arch=armel\

--foreign \

--include=$(call rootfs-package-list) \

$(DEBIAN_BUILD_VERSION) \

$(ROOTFS_BUILD_DIR) \

$(CONFIG_DEBIAN_BUILDENV_REPOSITORY)

else

sudo debootstrap --arch=$(TARGET_ARCH)\

--foreign \

--include=$(call rootfs-package-list) \

$(DEBIAN_BUILD_VERSION) \

$(ROOTFS_BUILD_DIR) \

$(CONFIG_DEBIAN_BUILDENV_REPOSITORY)

endif


debian/buildenv/debian.mk


ifeq ($(TARGET_ARCH),armel) QEMU_BIN=$(DEBIAN_BUILD_DIR)/usr/local/bin/qemu-arm QEMU_BIN_STATIC=$(QEMU_BIN)-static QEMU_INTERPRETER=$(shell cat /proc/sys/fs/binfmt_misc/qemu-arm 2>/dev/null | grep interpreter | awk '{print $$2}') else QEMU_BIN=$(DEBIAN_BUILD_DIR)/usr/local/bin/qemu-$(TARGET_ARCH) QEMU_BIN_STATIC=$(QEMU_BIN)-static QEMU_INTERPRETER=$(shell cat /proc/sys/fs/binfmt_misc/qemu-$(TARGET_ARCH) 2>/dev/null | grep interpreter | awk '{print $$2}') endif


ifeq ($(TARGET_ARCH),armel)

sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.4-arm-linux-gnu g++-4.4-arm-linux-gnueabi linux-kernel-headers-armel-cross"

else

sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install libc6-$(TARGET_ARCH)-cross libc6-dev-$(TARGET_ARCH)-cross binutils-$(TARGET_ARCH)-linux-gnu gcc-4.3-$(TARGET_ARCH)-linux-gnu g++-4.3-$(TARGET_ARCH)-linux-gnu linux-kernel-headers-$(TARGET_ARCH)-cross"

endif


debian/buildenv/qemu-build: debian/buildenv/qemu-prepare ifeq ($(TARGET_ARCH),armel)

$(CHROOT_USER) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && ./configure --static --target-list=arm-linux-user && make" $(CHROOT) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && make install" $(CHROOT) cp /usr/local/bin/qemu-arm /usr/local/bin/qemu-arm-static $(CHROOT_USER) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && ./configure --target-list=arm-linux-user && make" $(CHROOT) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && make install"

else

$(CHROOT_USER) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && ./configure --static --target-list=$(TARGET_ARCH)-linux-user && make" $(CHROOT) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && make install" $(CHROOT) cp /usr/local/bin/qemu-$(TARGET_ARCH) /usr/local/bin/qemu-$(TARGET_ARCH)-static $(CHROOT_USER) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && ./configure --target-list=$(TARGET_ARCH)-linux-user && make" $(CHROOT) bash -c "cd /usr/src/qemu/qemu-$(call qstrip,$(CONFIG_DEBIAN_BUILDENV_QEMU_VERSION)) && make install"

endif

touch $@


debian/package/debwrt-net/debian/control


Package: debwrt-net Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, robocfg (>= 1.0.1), debwrt-hostapd, swconfig, dnsmasq Replaces: hostapd Description: DebWrt network scripts


<!> $ make menuconfig -> choose target device type

MVEBU

$ make TARGET_ARCH=armel

... Make DebWrt completed

DEBWRTVERSION : testing - 2.1-1 - [ 17 March 2014 (584) ] TARGET_ARCH : armel BOARD : mvebu SUB_BOARD : Generic LINUX_VERSION : 3.10.32 (default)


Note: See TracReports for help on using and creating reports.