mss

Members
  • Content Count

    14
  • Joined

  • Last visited

About mss

  • Rank
    Member

Recent Profile Visitors

478 profile views
  1. Not exactly! I tested SD cart with H2testw and no issue detected. output log: Warning: Only 14786 of 14787 MByte tested. Test finished without errors. You can now delete the test files *.h2w or verify them again. Writing speed: 8.07 MByte/s Reading speed: 20.6 MByte/s H2testw v1.4 demsg log after filesystem crash :
  2. Thanks but I tested SD cart with H2testw and no issue detected. output log: Please Help
  3. Hi Sometimes after heavy disk writes like disk speed test (iozone) or database writes or install new packages the file system get read only and I not able to run any command even reboot and I have to disconnect power. My pi is a orange pi pc (H3) and I installed a relatively cheap micro sd card on it.
  4. I working on video streaming and if I succeed if would be really cool
  5. Just run these commands one by one : sudo apt-get install git automake libglib2.0-dev gstreamer0.10-alsa gstreamer0.10-tools libgstreamer0.10-dev libupnp-dev libxml2-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-fluendo-mp3 gstreamer0.10-pulseaudio pulseaudio git clone https://github.com/hzeller/gmrender-resurrect.git cd gmrender-resurrect ./configure LIBS=-lm make sudo make install gmediarender -f OPI and to add video play back install gstreamer: sudo apt-get install gstreamer1.0 the last command run gmediarender server and now u cat sream audio from phone using any app that support dnla. like this app: https://play.google.com/store/apps/details?id=com.tuxera.streambels&hl=en[AllConnect - Play & Stream] you might need make it a service or autostart script it's up to you. maybe I miss some step so I left all my references but if you have problem please let me know. References: http://blog.scphillips.com/posts/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/ http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/ https://chrisbaume.wordpress.com/2012/06/24/raspberry-pi-upnp-media-player/ http://paste.ubuntu.com/7449701/
  6. Problem Solved alsamixer `hdmi audio function` may set to `pcm` [open alsamixer / press F6 / select hdmi ... / up-down to find pcm] lqqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.0.28 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Card: sndhdmi F1: Help x x Chip: F2: System information x x View: F3:[Playback] F4: Capture F5: All F6: Select sound card x x Item: hdmi audio format Function [pcm] Esc: Exit x x x x x x x x x x x x x x x x x x pcm x x <hdmi audio format Function> x x x x x x x x x x x x x x x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
  7. Thanks @AnonymousPi but I try both config and I get cutting whit noise on hdmi while analogue outline working well. what did i do wrong? can it be a bad configuration on alsamixer ? lqqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.0.28 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Card: audiocodec F1: Help x x Chip: F2: System information x x View: F3:[Playback] F4: Capture F5: All F6: Select sound card x x Item: Lineout volume control Esc: Exit x x x x lqqk lqqk lqqk lqqk x x xaax xaax xaax xaax x x xaax xaax xaax xaax x x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax x x xaax xaax xaax xaax x x mqqj mqqj lqqk lqqk lqqk lqqk mqqj mqqj x x xOOx xOOx xOOx xOOx x x mqqj mqqj mqqj mqqj x x 100 100 100 100 x x <Lineout >ADC inpu Audio ad Audio ad Audio li Audio li LINEIN_G MIC1 boo x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
  8. Nice review and a great work ! I try to test my storage but after I run iozone and cancel it(it take too long and didn't finish) some strange things happens ! My file system get locked! root@orangepipc:~# touch test touch: cannot touch ‘test’: Read-only file system root@orangepipc:~# reboot -bash: /sbin/reboot: Input/output error my board : orange pi pc my sd card: galecy bit 16Bit U1 my kernel: Linux orangepipc 3.4.112-sun8i #8 SMP PREEMPT Tue May 31 19:00:17 CEST 2016 armv7l GNU/Linux
  9. After some crashes and hard shout down my orange pi pc stuck on systemd services during boot after checking it seems file system has some problems. Then I try run fsck on root device by sudo touch /forcefsck but it did anything and dont run fsck after reboot no prompt on display and fsck log files are empty: cat /var/log/fsck/* any way I try to enable fsck by editing : nano /etc/default/rcS and set : FSCKFIX=yes and also try set in file system : tune2fs -c 1 /dev/mmcblk0p1 and all my attempts failed Igor please help
  10. mss

    acl in kernel

    Ok Install ubuntu 16.04 follow instruction you make and yes it compiled and it was simple thanks to igore script (there was problem with dialog I suggest to add apt update to start of script ) . During the compile process it ask about device type and kernel version and I choose orange pi pc and default kernel. finally it makes some .deb file in output directory i copy all of them to orange pi pc /root and install on armbian . The acl flag kernel config is now enabled : root@orangepipc:~# cat /boot/config-3.4.112-sun8i | grep _ACL CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_FS_POSIX_ACL=y CONFIG_GENERIC_ACL=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_NFS_V3_ACL=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3_ACL=y CONFIG_NFS_ACL_SUPPORT=y but mount command doesn't show acl flag is available: root@orangepipc:~# mount /dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600) devtmpfs on /dev type devtmpfs (rw,relatime,size=380824k,nr_inodes=95206,mode=755) sysfs on /sys type sysfs (rw,relatime) none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) none on /proc type proc (rw,nosuid,nodev,noexec,relatime) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755) none on /sys/fs/fuse/connections type fusectl (rw,relatime) none on /sys/kernel/debug type debugfs (rw,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=262144k) none on /run type tmpfs (rw,nosuid,noexec,relatime,size=102416k,mode=755) none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755) none on /run/shm type tmpfs (rw,nosuid,nodev,relatime) none on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755) and now I'm able to run setfacl -dm without problem but it still doesn't set default permission for new files it's really strange. root@orangepipc:~# setfacl -dm u::rwx,g::rwx,o::r /var/www/html/files root@orangepipc:~# getfacl /var/www/html/files getfacl: Removing leading '/' from absolute path names # file: var/www/html/files # owner: www-data # group: www-data # flags: ss- user::rwx group::rwx other::rwx default:user::rwx default:group::rwx default:other::r-- root@orangepipc:~# touch /var/www/html/files/test root@orangepipc:~# ls -ltrh /var/www/html/files total 0 -rw-rw-r-- 1 root www-data 0 May 22 17:39 test I hope somebody can help me to understand whats happening here?
  11. mss

    acl in kernel

    It seams you write a great and simple instruction to compile kernel but if you guide me about how specify my board and how to replace kernel I love to do it myself
  12. My cursor in console (not desktop environment) disappeared after apt upgrade from a clean install. Device : orange pi pc Version: ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i I also changed led triggers red one to mmc0 and green to timer. I run apt list>aptlist.txt and attach result to post. it changed a lot i install further packages. aptlist.txt
  13. mss

    acl in kernel

    you are blazing fast thanks but I don't really how compile and replace the kernel and I afraid of boot fail. I'm running `ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i` on orange pi pc.
  14. I try to use acl but I failed to remount file system with acl if seams kernel compiled with disabled acl for ext filesystem. my fstab config: # UNCONFIGURED FSTAB FOR BASE SYSTEM tmpfs /tmp tmpfs nodev,nosuid,size=256M 0 0 /dev/mmcblk0p1 / ext4 acl,defaults,noatime,nodiratime,data=writeback,commit=600,errors=remount-ro 0 0 /var/swap none swap sw 0 0 and my check for acl in kernel config: root@orangepipc:~# cat /boot/config-3.4.112-sun8i | grep _ACL # CONFIG_EXT4_FS_POSIX_ACL is not set CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_FS_POSIX_ACL=y CONFIG_GENERIC_ACL=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_NFS_V3_ACL=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3_ACL=y CONFIG_NFS_ACL_SUPPORT=y It seams the analog audio out put dos't work too, I can't test it with speaker-test. It would be a great favor to recompile kernel with acl for ext4 and guide me about audio out put.