Jump to content

danybr

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by danybr

  1. On 16/3/2017 at 10:58 AM, tkaiser said:

    Follow the instructions in linux-sunxi wiki please: http://linux-sunxi.org/Orange_Pi_Lite#Locating_the_UART

     

    Then you increase verbosity as outlined in the docs https://docs.armbian.com/User-Guide_Fine-Tuning/#how-to-toogle-verbose-boot reboot and wait until the next freeze happens. And then maybe on the second machine connected to the serial console some interesting messages can be collected. 'Second machine' can be as small as another Lite or an OPi Zero (which you might want to order anyway to probably replace the Lite if it's a hardware issue?)

    I don't have another OPi to use for this scope.. Buy another one means that I will "solve" my problem in 2 months (shipping problems).

    Can I use an Arduino for this scope?

  2. 14 minutes ago, tkaiser said:

    Well, ultra cheap hardware like $12 computers might break... since we had so many reports of 'no power problems ... 1 week later ... it turned out my PSU...' a quick check whether you run in undervoltage situations (execute with the same peripherals connected at the time the freezes happen):

    
    cd /tmp
    git clone https://github.com/ssvb/cpuburn-arm
    gcc cpuburn-a7.S
    ./a.out

     

    Sorry, is not very clear for me what I should do.. My english is bad :(

    Anyway I run the script for 4 minutes for a test and statistics are here:

    No freeze during the test nor after.

     

     

    Statistics_cpu_burn.PNG

  3. Dear @tkaiser and @zador.blood.stained

    Today I had 2 freezes in the same day (in real, in 4 hours of work).

    I generate new log, and is here:

    http://sprunge.us/RDEU

     

    I hope you can help me!

    Thanks

     

    EDIT: other informations
     

    Quote

     

    octoprint@orangepilite:~$ sudo tune2fs -l /dev/mmcblk0p1
    tune2fs 1.42.13 (17-May-2015)
    Filesystem volume name:   <none>
    Last mounted on:          /
    Filesystem UUID:          869936a4-c08b-41a3-8bef-a42ddd71700c
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
    Filesystem flags:         signed_directory_hash
    Default mount options:    journal_data_writeback user_xattr acl
    Filesystem state:         clean
    Errors behavior:          Continue
    Filesystem OS type:       Linux
    Inode count:              923680
    Block count:              3760936
    Reserved block count:     44258
    Free blocks:              2879609
    Free inodes:              754664
    First block:              0
    Block size:               4096
    Fragment size:            4096
    Reserved GDT blocks:      172
    Blocks per group:         32768
    Fragments per group:      32768
    Inodes per group:         8032
    Inode blocks per group:   502
    Flex block group size:    16
    Filesystem created:       Sun Feb  5 12:44:58 2017
    Last mount time:          Tue Mar 14 13:17:02 2017
    Last write time:          Thu Jan  1 00:00:06 1970
    Mount count:              61
    Maximum mount count:      -1
    Last checked:             Sun Feb  5 12:44:58 2017
    Check interval:           0 (<none>)
    Lifetime writes:          18 GB
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)
    First inode:              11
    Inode size:               256
    Required extra isize:     28
    Desired extra isize:      28
    Journal inode:            8
    Default directory hash:   half_md4
    Directory Hash Seed:      afb4d02d-24fd-4dbd-932d-278e4c40115a
    Journal backup:           inode blocks


     

     

  4. 2 hours ago, tkaiser said:
    
    sudo systemctl enable resize2fs && sudo reboot

    I tried this command, because system read only 7.1 GB. After reboot, I have the same size. Do you know why?

    This is the output and the command take around 3 second to complete..

    "

    Synchronizing state of resize2fs.service with SysV init with /lib/systemd/systemd-sysv-install...
    Executing /lib/systemd/systemd-sysv-install enable resize2fs
    "

    EDIT: I tried another time and now it works. I'm sorry.

    How can I check the file system?

  5. 32 minutes ago, tkaiser said:

    Sure. But the new card has to be at least 'of same size' otherwise partitioning will throw errors. You can search the forum for 'backup sd card emmc' or 'mmcblk0 dd lz4' to get a lot of valuable stuff regarding creation of device images. But as zador already mentioned take care that filesystem isn't corrupted and try at least to repair it if that's true.

     

    In case new card is significantly larger you might want to expand rootfs again. With all updates applied running off new card it should be as simple as

    
    sudo systemctl enable resize2fs && sudo reboot

     

    Yes, the Samsung Evo microSD is of 16GB, indeed the old microSD is 8GB (or less, for the fact that it is fake).

    Can I use this script?

     

    Or maybe the best way is this?

     

  6. Thanks @tkaiser and @zador.blood.stained

    Meanwhile I test the microSD card to verify if is bad and fake (microSD in Orange Pi), I have a real samsung Evo U1 (the same showed on User-Guide_Getting-Started). I will use it to reinstall OS.

    Can I create an image of the system from the old microSD card and burn it on new microSD? Or best way is to reinstall all from 0? Beacuse I've a lot of things to backup..

    EDIT: Anyway, this is a screen of informations about test

    ConsoleLog.PNG

  7. My Orange Pi Lite + octoprint often freeze during a print. 
    I noticed that when it happens I can not access either the web panel nor in ssh.
    I believe that it detaches from wifi and go into freeze.
    I have already ruled out power supply problems and overheating. 
    Someone can help me?My image is: Armbian_5.25_Orangepilite_Ubuntu_xenial.
    Here is a screenshot of the statistics:

    Thanks!

    Opi_monitor_full.png

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines