Jump to content

pcDuino3 nano-Debian jessie 3.4.109 : Boot error...


Recommended Posts

Posted

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 Systems
See '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.

post-693-0-22538200-1453309769_thumb.jpg

post-693-0-98388500-1453309824_thumb.jpg

Posted

You can try to install once again from SD card but most likely your NAND is failed. It's not than uncommon.

Posted

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?

Posted

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.

Posted

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.

Posted

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.

Posted

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 ?

Posted

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.

Posted

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

Posted

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

Posted

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.

Posted

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?

Posted

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).

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines