Jump to content

BPP stucks during boot


Eugo

Recommended Posts

Hello,

I run Armbian (Ubuntu) on my Banana Pi Pro.

-> uname -a
Linux bananapipro 4.10.12-sunxi #7 SMP Wed Apr 26 02:44:12 CEST 2017 armv7l armv7l armv7l GNU/Linux

Since the last days the boot process stops. The BPP shows the followings lines on screen:

[   10.943882] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[   11.233049] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[   13.348258] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[  100.212252] rc_core: Can't enable IR protocol cec

After second 100 I'm asked for the root password to "investigate" the situation. I think some timeout is reached here. The boot process will not complete then.

dmesg log tells me the same:

...
[   10.516930] Registered IR keymap rc-empty
[   10.517393] input: sunxi-ir as /devices/platform/soc@01c00000/1c21800.ir/rc/rc0/input3
[   10.517421] rc rc0: sunxi-ir as /devices/platform/soc@01c00000/1c21800.ir/rc/rc0
[   10.568886] sunxi-ir 1c21800.ir: initialized sunXi IR driver
[   10.620132] lirc_dev: IR Remote Control driver registered, major 244
[   10.652900] systemd-journald[295]: Received request to flush runtime journal from PID 1
[   10.657929] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[   10.657945] IR LIRC bridge handler initialized
[   10.691597] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[   10.943882] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[   11.233049] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[   13.348258] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[   14.600129] random: crng init done
[   98.517809] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   98.517840] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   98.517858] sun7i-dwmac 1c50000.ethernet eth0: fail to init PTP.
[   98.518389] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   99.692560] IR RC5(x/sz) protocol handler initialized
[   99.753070] IR NEC protocol handler initialized
[   99.814714] IR RC6 protocol handler initialized
[   99.872026] IR JVC protocol handler initialized
[   99.930764] IR Sony protocol handler initialized
[   99.992782] IR SANYO protocol handler initialized
[  100.049599] IR Sharp protocol handler initialized
[  100.110790] input: MCE IR Keyboard/Mouse (sunxi-ir) as /devices/virtual/input/input4
[  100.113104] IR MCE Keyboard/mouse protocol handler initialized
[  100.169823] IR XMP protocol handler initialized
[  100.212252] rc_core: Can't enable IR protocol cec
[ 1003.301594] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1003.301665] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1021.887164] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready

First, I thought brcmfmac and the WiFi interface stop the boot process. So, I blocked the module brcmfmac as an experiment, but it makes no difference.

 

How to go on here?

Thank you for your help!

Link to comment
Share on other sites

This problem is still not solved, so I started over with a fresh clean Ubuntu Xenial (next) image. Even with a new installation I get the same error messages for brcmfmac, but this time it started as expected...
But after apt-get upgrade / dist-upgrade and installing some software (apache2, zsh, logwatch, fail2ban, ...) it brings me back to the same problem during the boot process:
It just boots to the emergency mode after 100 seconds.

I already checked the file system of my MultiMediaCard but fsck -pvcf /dev/sdc1 and dumpe2fs -b /dev/sdc1 did not show any bad blocks and did not solve the problem.

 

:-( Any advice?

Link to comment
Share on other sites

I assume you are using self built image / kernel? If this is so ... just install older "u-boot 5.25 next" from apt.armbian.com and you should be fine. There is a wrong configuration for network (gmac), which does not work properly.  Wireless modules is o.k. and it should work even it throws out some errors / warnings.

Link to comment
Share on other sites

I was trying hard to replicate your problem on my Banana PRO but without success.

 

1. I started with the same image - from download section

2. My hardware is Banana PRO

3. I have reliable PSU, quality cable, good router, good cables and I used some older SD card. Deliberately.

4. apt update + upgrade

5. installed apache, mail, dovecot, mysql, ...

6. rebooted few times ...

 

Logs: http://sprunge.us/UcHO

 

I also have those errors regarding brfcmac on console, but they are irrelevant.

 

The only problem - which should not affect -  is small bug in ramlog. It's fixed upstream, but not yet in this version ... nginx does not start if there is no log directory (/var/log/nginx) -  for apache I am not sure.  After recreating it works fine.

Link to comment
Share on other sites

On 6/5/2017 at 6:02 PM, Eugo said:

But after apt-get upgrade / dist-upgrade and installing some software (apache2, zsh, logwatch, fail2ban, ...) it brings me back to the same problem during the boot process

 

15 hours ago, Eugo said:

Just took the image file Armbian_5.25_Bananapipro_Ubuntu_xenial_next_4.9.7 from https://dl.armbian.com/bananapipro/

I think in your case, I will re-flash with a fresh image, then do every step with a reboot. apt-get dist-upgrade -> reboot, apt-get upgrade -> reboot, install one by one to find out exactly what cause the problem. If Igor has try to replicate your problem but without success, then it likely to be your hardware or the way you install and set up the system (any tweak can cause trouble).

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