davigre Posted January 20, 2016 Posted January 20, 2016 Boot from SD without any problems, then install to NAND (no error)... In NAND boot it comes in the log... (transcription from a photo)[ OK ] Started LSB: Set preliminary keymap.Starting Remount Root and Kernel File Systems...[FAILED] Failed to start Remount Root and Kernel File SystemsSee 'systemctl status systemd-remount-fs.service' for details.Starting Load/Save Random Seed...[ OK ] Reached target Local File Systems (Pre).Mounting /boot.[ OK ] Started Load/Save Random Seed[ OK ] Mounted /boot.The 'Failed' message is the only error in the log.Problem:Can ssh locally ('ssh localhost') but can't from outside (it shows nothing).ping is responding.If I boot from SD all ok.I upgrade ( 'apt-get upgrade' ) but problem persist.Thank you.
Igor Posted January 20, 2016 Posted January 20, 2016 You can try to install once again from SD card but most likely your NAND is failed. It's not than uncommon.
davigre Posted January 20, 2016 Author Posted January 20, 2016 Had already suspected that. I will stick to MicroSD boot. Thank you.
zador.blood.stained Posted January 20, 2016 Posted January 20, 2016 Log message says about wrong mount option for rootfs, it's possible that just /etc/fstab is wrong due to outdated nand-sata-install script. @davigre, can you post here contents of /etc/fstab and dmesg output ("dmesg | grep mount" should be enough) after you try booting from NAND?
zador.blood.stained Posted January 22, 2016 Posted January 22, 2016 Now edit your /etc/fstab on nand and remove "data=writeback" parameter from mount options. To do so, you can boot system from SD, mount second NAND partition (/dev/nand2) somewhere and use your preferred text editor. Remember to safely unmount NAND partition after that, and your system should be able to boot from NAND normally.
davigre Posted January 22, 2016 Author Posted January 22, 2016 I edited directly from NAND boot...Yes, you were right!!!, the 'FAILED' msg do not appears.But still don't have outside ssh service.I try: service sshd restart iptables -F iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables-save apt-get update apt-get install ssh (Installed 137k files) service sshd restart but nothing. Thank you.
zador.blood.stained Posted January 22, 2016 Posted January 22, 2016 There are no firewall rules in Armbian by default, so it shouldn't be a problem. Please check ssh server status and logs, maybe there are configuration issues. Also check your network configuration, at least to confirm that you are trying to connect to the right ip address systemctl status sshd -l ifconfig apt-get install ssh It's should be openssh-server package, but since "service sshd restart" doesn't ouptpu any errors, it should be installed.
atula Posted October 3, 2016 Posted October 3, 2016 pcduino3 nano, Armbian_5.20_Pcduino3nano_Debian_jessie_3.4.112, all works fine sdcard, when i "nand-sata-install" to nand - ifconfig is ok - systemctl status sshd -l is ok - ping google.com is ok ssh does not work apt-get update does not work what did I do wrong ?
Igor Posted October 3, 2016 Posted October 3, 2016 Those NAND chips are not so good quality and perhaps FS is corrupted and things does not work. That would be logical explanation if such behavior occur ... based on provided data.
atula Posted October 3, 2016 Posted October 3, 2016 perhaps due to something else because the Ubuntu pcduino3b_nano_dd_1404 to work with nand I tested the desktop version Armbian_5.20_Pcduino3nano_Debian_jessie_3.4.112_desktop, eth0 connect, i see the router ip, sdcard and nand sdcard work but nand no when i flash ssh and monitor hdmi, can be seen twice fs error when partitions are made sorry for my bad english
atula Posted October 3, 2016 Posted October 3, 2016 i tested also install to SSD hd, boot from nand, system sata....connection 'eth0' active.....server not found....not work Onboard Storage 4GB Flash there is H27UBG8T2CTR 32GB can not be possible that only 4GB....28GB is broken.....and with ubuntu work I'm not so smart that would know, maybe work only sdcard with jessie, bananapi3 nand and bananapiM1 sata works fine with ambian jessie, there is also rtl8211E
atula Posted October 5, 2016 Posted October 5, 2016 this is my problem, what wrong, "nand header bad for ali MBR copies"
Igor Posted October 5, 2016 Posted October 5, 2016 Perhaps you are facing network / auto mirror selection (default Debian) issue. Try changing /etc/apt/sources.list with: deb http://ftp.de.debian.org/debian jessie main contrib non-free deb-src http://ftp.de.debian.org/debian jessie main contrib non-free deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free Do an apt-get update after that.
atula Posted October 5, 2016 Posted October 5, 2016 does not work, I build own armbian jessie img step by step, just the same end result .....all works SDcard but not nand what this mean "nand header bad for ali MBR copies" its print to screen when script (nand-sata-install) do partitions is it possible that NAND is not completely blank when script do partitions?
Igor Posted October 5, 2016 Posted October 5, 2016 NAND is problematic and also u-boot (where basic hw init is done) with abilities to boot Linux from NAND is old and sources are lost. In any case NAND chips, found on A10 and A20 boards, are slower and less reliable than most SD cards. Forget about or migrate to H3 board with eMMC - Orange PC+ for example. That's another story. Faster and more reliable than SD card(s).
Recommended Posts