Jump to content

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


davigre

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines