Jump to content

wildcat_paris

Members
  • Posts

    498
  • Joined

  • Last visited

Everything posted by wildcat_paris

  1. btw, a new driver replacement to come: rtl8xxxu-nextgen "This driver is still under development, but has proven to be verystable for me. It currently supports station mode only." no AP yet
  2. Hi Rui, 1/ yes Tido + Igor docs lead me to Armbian website I have found some stuff in https://aur.archlinux.org/packages/8192cu-dkms/=> nodebug.patch, kernel 4.x patch, other wifi usb keys 2/ ok before that, the Armbian 4.5 gives a more or less correct wifi for lamobo-r1 but the signal can drop from 50-60 dB (fine signal) to 70-90 dB (signal lost) my D-link-160 usb key has a fairly stronger stable AP signal (2.4GHz) 40-50 dB I wanted to keep DLink160 for the 5GHz AP https://wikidevi.com/wiki/D-Link_DWA-160_rev_B1
  3. I am trying hard I cannot reproduce the kernel logs on Armbian 4.5 ok, while changing back autoconf.h
  4. Hi Rui, Tido, Igor, @Rui: you made some excellent job. Igor & other fellows made parts of the solution, you made the glue of the solution, something more clear. (to paraphrase Tido...) if you have linux-*-root-next-lamobo-r1 then hostapd* are included in the package designed for Armbian. Did you get this package? @Igor, What would you think of splitting the package in 2/3 packages? Mixing all in "linux-*-root-next-lamobo-r1" making original "hostapd" broken many thanks
  5. Hello Igor, hello buddies, [ o.k. ] Create and sign [ Armbian_4.5_Lamobo-r1_Debian_wheezy_4.2.3.zip ] [ o.k. ] Runtime [ 43 min ] -rw-r--r-- 1 root root 306M oct. 19 01:16 Armbian_4.5_Lamobo-r1_Debian_wheezy_4.2.3.zip (VM host : amd64 Ubuntu 15.10 8 GB 4 cores)it looks I made it, well, not me, the 'Armbian team' scripts The base of the Armbian "toolchain" is a very serious work/process. 1/ I guess 8 GB of RAM is a minimum for the VM. All my other tries (4GB) ended with a failure when applying "Armbian" on top of the "distro". note : other failure reported "upstart" as a problem (or a memory issue as the VM was beginning to fill the swap), otherwise the terminal to run "compile.sh" was killed (missing memory? gnome WM issue?) - The more cores to compile, the more RAM needed (unsure if it applies to applying "Armbian" on top of "distro") - Probably, logs are needed to trace any issue (see below) 2/ One of my tests was on a VM with "netinstall" (very lightweight distro) jessie. some prerequisite deb packages for the scripts to work: I needed to add to the VM : device-tree-compiler (of course), ntpdate, dialog, looptools with Debian jessie host, I needed to add the repo for the cross compile (Ubuntu 14.04 already has the cross tools) ### cross tools for debian jessie host VM (not in standard repo) deb http://emdebian.org/tools/debian/ jessie main3/ In case of a failure: I needed to unmount the loopback device and wipe "rm -rf lib/ output/" if the case the loopback is locked, my only chance was to reboot the VM. (the Gnome WM just popups a file manager window with the loopback device files when the loopback is created, might be a lock and a failure cause; otherwise, more "lsof" investigation needed if I have time to get the lock reason) 4/ the shell scripts are well formated, easy enough to understand. My idea: adding a logging in the script to understand the issue with more fine grain, in case of a failure. Would you need it? Arr! Monday already... paid work. @allbuddies: Nice week Guillaume
  6. Igor, let's see with 4.6 I keep you in touch if needed. 1/ I have observed the situation from Armbian 4.3 -> 4.5 2/ Or is it the "image-only" kernel 4.5 you tendered me to check if zram module was ok. I switched back to 4.4 after, reinstalling all the 4.4 (kernel, header, boot, etc.), then installing my own compiled 4.5, then overwritten with the Armbian 4.5 you have published. => you cannot imagine all the tricky things your users(&fans) can do! Thks!
  7. Hello Igor, greatings everyone, I have realized the "build" link is missing to the /usr/src/linux-headers-x.x.x-sunxi Ubuntu Trusty (x86/amd64 kernel) provides such a link I was building a small kernel module from source (frandom-dkms) on my labomo-r1 gr@bpi:/lib/modules/4.2.3-sunxi$ ll total 1260 drwxr-xr-x 4 root root 4096 Oct 13 18:34 ./ drwxr-xr-x 3 root root 4096 Oct 13 15:20 ../ lrwxrwxrwx 1 root root 34 Oct 13 14:23 build -> /usr/src/linux-headers-4.2.3-sunxi/ drwxr-xr-x 9 root root 4096 Oct 13 15:20 kernel/ -rw-r--r-- 1 root root 360156 Oct 13 18:34 modules.alias -rw-r--r-- 1 root root 367304 Oct 13 18:34 modules.alias.bin -rw-r--r-- 1 root root 14935 Oct 11 14:12 modules.builtin -rw-r--r-- 1 root root 17813 Oct 13 18:34 modules.builtin.bin -rw-r--r-- 1 root root 82602 Oct 13 18:34 modules.dep -rw-r--r-- 1 root root 128280 Oct 13 18:34 modules.dep.bin -rw-r--r-- 1 root root 128 Oct 13 18:34 modules.devname -rw-r--r-- 1 root root 40034 Oct 11 14:12 modules.order -rw-r--r-- 1 root root 131 Oct 13 18:34 modules.softdep -rw-r--r-- 1 root root 103401 Oct 13 18:34 modules.symbols -rw-r--r-- 1 root root 131685 Oct 13 18:34 modules.symbols.bin drwxr-xr-x 3 root root 4096 Oct 13 18:34 updates/ without the link: gr@bpi:~/frandom/frandom-master$ ls CHANGELOG debian description-pak etc frandom.c INSTALL Makefile README usr gr@bpi:~/frandom/frandom-master$ make make -C /lib/modules/4.2.3-sunxi/build SUBDIRS=/home/gr/frandom/frandom-master modules make: *** /lib/modules/4.2.3-sunxi/build: No such file or directory. Stop. make: *** [default] Error 2 with the link: gr@bpi:~/frandom/frandom-master$ make make -C /lib/modules/4.2.3-sunxi/build SUBDIRS=/home/gr/frandom/frandom-master modules make[1]: Entering directory `/home2/src/linux-headers-4.2.3-sunxi' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /home/gr/frandom/frandom-master/.tmp_versions ; rm -f /home/gr/frandom/frandom-master/.tmp_versions/* make -f ./scripts/Makefile.build obj=/home/gr/frandom/frandom-master gcc -Wp,-MD,/home/gr/frandom/frandom-master/.frandom.o.d -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/4.8/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(frandom)" -D"KBUILD_MODNAME=KBUILD_STR(frandom)" -c -o /home/gr/frandom/frandom-master/frandom.o /home/gr/frandom/frandom-master/frandom.c (cat /dev/null; echo kernel//home/gr/frandom/frandom-master/frandom.ko;) > /home/gr/frandom/frandom-master/modules.order make -f ./scripts/Makefile.modpost find /home/gr/frandom/frandom-master/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -i ./Module.symvers -I /home/gr/frandom/frandom-master/Module.symvers -o /home/gr/frandom/frandom-master/Module.symvers -S -w -s -T - gcc -Wp,-MD,/home/gr/frandom/frandom-master/.frandom.mod.o.d -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/4.8/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(frandom.mod)" -D"KBUILD_MODNAME=KBUILD_STR(frandom)" -DMODULE -c -o /home/gr/frandom/frandom-master/frandom.mod.o /home/gr/frandom/frandom-master/frandom.mod.c ld -EL -r -T ./scripts/module-common.lds --build-id -o /home/gr/frandom/frandom-master/frandom.ko /home/gr/frandom/frandom-master/frandom.o /home/gr/frandom/frandom-master/frandom.mod.o make[1]: Leaving directory `/home2/src/linux-headers-4.2.3-sunxi' gr@bpi:~/frandom/frandom-master$ ls CHANGELOG description-pak frandom.c frandom.mod.c frandom.o Makefile Module.symvers usr debian etc frandom.ko frandom.mod.o INSTALL modules.order README thanks! Guillaume
  8. Hello Igor, I am starting exploring your nice "lib" tools for mainline/lamobo/trusty and end with this error message. the host is trusty / amd64 / quad cores / 8 GB RAM unsure if /bin/mktemp refers to loopback device or host /tmp lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Installing Armbian on the top of Ubuntu trusty base system ... x x x x build-essential x x x x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x x x 0% x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj [ error ] Installation failed Setting up cmake-data (2.8.12.2-0ubuntu3) ... Setting up cmake (2.8.12.2-0ubuntu3) ... Processing triggers for libc-bin (2.19-0ubuntu6) ... Processing triggers for ca-certificates (20141019ubuntu0.14.04.1) ... /bin/mktemp: failed to create file via template '/tmp/user/0/ca-certificates.crt.tmp.XXXXXX': No such file or directory dpkg: error processing package ca-certificates (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: ca-certificates E: Sub-process /usr/bin/dpkg returned an error code (1) FYI gr@gr /run $ df -h Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur /dev/sda1 115G 63G 47G 58% / none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 3,9G 4,0K 3,9G 1% /dev none 1,0G 8,0K 1,0G 1% /tmp tmpfs 799M 1,1M 798M 1% /run none 5,0M 0 5,0M 0% /run/lock none 3,9G 0 3,9G 0% /run/shm none 100M 0 100M 0% /run/user ramlog-tmpfs 2,0G 706M 1,3G 36% /var/log /dev/sda2 991M 105M 820M 12% /boot /dev/sdb6 210G 141G 59G 71% /home2 /dev/sdc1 1,8T 533G 1,2T 31% /home4 /dev/mapper/sdd1 1,8T 93M 1,7T 1% /home5 /dev/loop0p1 3,8G 526M 3,1G 15% /home/gr/armbian/output/cache/sdcard chdev 3,9G 4,0K 3,9G 1% /home/gr/armbian/output/cache/sdcard/dev regards, Guillaume
  9. Hello Igor, I have noticed for a couple of kernel updates, a very minor issue : the previous initrd.img-x.x.x-sunxi is not removed I have tested both dpkg -i *.deb or apt upgrade, same issue so I guess a debian pkg script update is needed. gr@bpi:~$ ls -l /boot total 13864 drwxr-xr-x 2 root root 4096 Oct 13 15:37 bin -rw-r--r-- 1 root root 6944 Aug 31 17:48 boot.bmp -rw-r--r-- 1 root root 1749 Aug 31 17:49 boot.cmd -rw-r--r-- 1 root root 1821 Aug 31 17:49 boot.scr -rw-r--r-- 1 root root 115484 Oct 11 14:12 config-4.2.3-sunxi drwxr-xr-x 2 root root 12288 Oct 13 15:37 dtb drwxr-xr-x 2 root root 4096 Oct 13 14:23 dtb.old -rw-r--r-- 1 root root 3294810 Oct 10 23:13 initrd.img-4.2.2-sunxi -rw-r--r-- 1 root root 3312199 Oct 13 15:38 initrd.img-4.2.3-sunxi lrwxrwxrwx 1 root root 23 Sep 17 00:46 script.bin -> /boot/bin/lamobo-r1.bin -rw-r--r-- 1 root root 1955569 Oct 11 14:12 System.map-4.2.3-sunxi -rwxr-xr-x 1 root root 5468416 Oct 11 14:12 vmlinuz-4.2.3-sunxi lrwxrwxrwx 1 root root 25 Oct 13 15:38 zImage -> /boot/vmlinuz-4.2.3-sunxi thanks. Guillaume
  10. Igor, Thanks it is fine with http://mirror.igorpecovnik.com/test/linux-image-next-sunxi_4.5_armhf.deb gr@bpi:~$ cat /proc/version Linux version 4.2.3-sunxi (root@kitchen) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #16 SMP Fri Oct 9 23:08:18 CEST 2015 gr@bpi:~$ lsmod [...] zram 17790 2 lz4_compress 3201 1 zram gr@bpi:~$ swapon -s Filename Type Size Used Priority /home2/swap file 4999996 0 -1 /dev/zram0 partition 256980 0 5 /dev/zram1 partition 256980 0 5 ok, now testing... compiling thunderbird 42b1 on my "labomo-r1" FTTH home router Edit : Igor, this is an awesome piece of work! :-) Edit 2 : I am not sure if it is really useful here CONFIG_CLEANCACHE=y CONFIG_FRONTSWAP=y Edit 3 : compared to : - (arm) Raspbian : zsmalloc seems to be missing - (x86-amd64) Ubuntu 14.04 : the same as armbian : modules zram + lz4_compress pi@pi ~ $ lsmod Module Size Used by zram 20112 0 lz4_compress 3100 1 zram zsmalloc 10430 1 zram pi@pi ~ $ cat /proc/version Linux version 4.1.10-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #820 SMP PREEMPT Sun Oct 4 16:26:51 BST 2015 Edit 4: zsmalloc is probably useful : allocate small object to reduce memory fragmentation http://lwn.net/Articles/477067/ zsmalloc is builtin, so ok gr@bpi:~$ sudo modprobe --show-depends zram insmod /lib/modules/4.2.3-sunxi/kernel/lib/lz4/lz4_compress.ko insmod /lib/modules/4.2.3-sunxi/kernel/drivers/block/zram/zram.ko gr@bpi:~$ sudo modprobe --show-depends -v zsmalloc builtin zsmalloc
  11. on the hunt... to try the Armbian 4.5 beta kernel... my feed-back asap
  12. btw, the 2013 thread for the raspberry pi https://github.com/raspberrypi/linux/issues/179
  13. Hello Igor, I am using vanilla 4.4 for labomo-r1 it seems zram module is missing. Do you intend to compile the kernel with this option, please? gr@bpi:~$ sudo modprobe -Rf zram modprobe: FATAL: Module zram not found. On raspbian, kernel 3.18.x-4.1.x, there is a kernel module "zram" useful for embedded systems... working fine (also using on my x86 laptop) https://wiki.gentoo.org/wiki/Zram Nice week-end, Regards, Guillaume
  14. ok, so your banana-pi seems to boot, so I am wrong. Igor replied so it seems there is something wrong with the Armbian 4.4 for you So? save your sdcard reinstall the distrib from scratch... alternate : if you can retrieve the 4.3 armbian packages (linux-{dtb,firmware,headers,image,u-boot}-next-sunxi extract the files from .deb files and reapply them on the sdcard filesystem
  15. unsure if it can help... as you cannot login Igor quite forgot about "u-boot" my "labomo-r1" card needed the package "linux-u-boot-lamobo-r1-next" and btw, I don't have "syncthing" package (I am running Armbian vanilla Ubuntu 14.04) so my package list is gr@bpi:~$ dpkg -l "*next*" Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================================-============================-============================-================================================================================================== ii linux-dtb-next-sunxi 4.4 armhf Linux DTB, version 4.2.2-sunxi ii linux-firmware-image-next-sunxi 4.4 armhf Linux kernel firmware, version 4.2.2-sunxi ii linux-headers-next-sunxi 4.4 armhf Linux kernel headers for 4.2.2-sunxi on armhf ii linux-image-next-sunxi 4.4 armhf Linux kernel, version 4.2.2-sunxi ii linux-trusty-root-next-lamobo-r1 4.4 armhf Various root file system tweaks for ARM boards ii linux-u-boot-lamobo-r1-next 4.4 armhf Uboot loader 2015.07.
  16. Thanks Igor! Armbian is my best pick for my bpi-r1 and my "network" needs (proper wifi drivers, switch tool, sd-to-sata SSD boot) I would tender you my network config if useful/clear enough to other armbian users (replacement for a French telecom FTTH box, the prototype is working on a power hungry amd64 PC)
  17. Igor, the image I put on the sd card was 4.1.6 (vanilla) working with both CPU cores. to check if any updates avail, I picked the "vanilla" (aka -next) version from the script and figured out that I only had one CPU core left. later I tried to switch to legacy (which was working with dual cores) and then back to vanilla, still missing a CPU core I ended on this forum page and put "linux-u-boot-lamobo-r1-next" package and the missing core was back
  18. Hello Igor, thanks for your help. I have fetched the lamobo-r1 4.1.6 image, then tried the "wget -q -O - http://upgrade.armbian.com | bash" for testing if a new "-next" version was in the pipe But this script has an issue because I was left with "linux-u-boot-lamobo-r1" so I had to "sudo apt-get install linux-u-boot-lamobo-r1-next" and the 2 cores were active
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines