Jump to content

Orange Pi Zero bricked after upgrading to 5.25


mkII

Recommended Posts

This was my second attempt and it finished with exactly the same result.

 

Console log:

~$ ssh admin@zero
  ___                               ____  _   _____              
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |__  /___ _ __ ___  
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |   / // _ \ '__/ _ \ 
| |_| | | | (_| | | | | (_| |  __/ |  __/| |  / /|  __/ | | (_) |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| /____\___|_|  \___/ 
                       |___/                                     

Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.113-sun8i 
System load:   0.07            	Up time:       3 min		
Memory usage:  9 % of 494Mb  	IP:            192.168.8.91
CPU temp:      34°C           	
Usage of /:    18% of 7.2G   	


[ 7 updates to install: apt-get upgrade ]

Last login: Sat Feb  4 14:15:58 2017 from 192.168.8.111
----------------------------------------------------------------------- 16:26:25
admin@zero:~$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  armbian-firmware armbian-tools-jessie hostapd linux-headers-sun8i
  linux-image-sun8i linux-jessie-root-orangepizero
  linux-u-boot-orangepizero-default
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/20.9 MB of archives.
After this operation, 2,142 kB of additional disk space will be used.
(Reading database ... 57509 files and directories currently installed.)
Preparing to unpack .../armbian-firmware_5.25_armhf.deb ...
Unpacking armbian-firmware (5.25) over (5.24) ...
Preparing to unpack .../armbian-tools-jessie_5.25_armhf.deb ...
Unpacking armbian-tools-jessie (5.25) over (5.24) ...
Preparing to unpack .../hostapd_1%3a2.5~armbian5.25+1_armhf.deb ...
Unpacking hostapd (1:2.5~armbian5.25+1) over (1:2.5~armbian5.24.161202+1) ...
Preparing to unpack .../linux-headers-sun8i_5.25_armhf.deb ...
Unpacking linux-headers-sun8i (5.25) over (5.24) ...
Preparing to unpack .../linux-image-sun8i_5.25_armhf.deb ...
Unpacking linux-image-sun8i (5.25) over (5.24) ...
Preparing to unpack .../linux-jessie-root-orangepizero_5.25_armhf.deb ...
Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-jessie-root-orangepizero'
Unpacking linux-jessie-root-orangepizero (5.25) over (5.24) ...
/var/lib/dpkg/info/linux-jessie-root-orangepizero.postrm: 2: [: missing ]
Preparing to unpack .../linux-u-boot-orangepizero-default_5.25_armhf.deb ...
Unpacking linux-u-boot-orangepizero-default (5.25) over (5.24) ...
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
update-initramfs: Converting to u-boot format
Setting up armbian-firmware (5.25) ...
Setting up armbian-tools-jessie (5.25) ...
Setting up hostapd (1:2.5~armbian5.25+1) ...
Setting up linux-headers-sun8i (5.25) ...
Compiling headers - please wait ...
Setting up linux-image-sun8i (5.25) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
update-initramfs: Converting to u-boot format
Setting up linux-jessie-root-orangepizero (5.25) ...
Setting up linux-u-boot-orangepizero-default (5.25) ...
Updating u-boot on device /dev/mmcblk0
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
update-initramfs: Converting to u-boot format
Scanning processes...                                                           
Scanning candidates...                                                          
Scanning kernel images...                                                       
Failed to retrieve available kernel versions.
Restarting services using systemd...
----------------------------------------------------------------------- 16:31:19
admin@zero:~$ ls -lh /boot
total 14M
-rw-r--r-- 1 root root  123 Feb  4 14:20 armbianEnv.txt
drwxr-xr-x 2 root root 4.0K Feb  4 16:29 bin
drwxr-xr-x 2 root root 4.0K Nov 14 13:13 bin.old
-rw-r--r-- 1 root root 6.8K Nov 14 13:14 boot.bmp
-rw-r--r-- 1 root root 2.0K Nov 14 13:10 boot.cmd
-rw-r--r-- 1 root root 2.1K Nov 14 13:15 boot.scr
-rw-r--r-- 1 root root  95K Feb  2 06:01 config-3.4.113-sun8i
-rw-r--r-- 1 root root 3.7M Feb  4 16:30 initrd.img-3.4.113-sun8i
lrwxrwxrwx 1 root root   20 Nov 14 13:13 script.bin -> bin/orangepizero.bin
-rw-r--r-- 1 root root 2.0M Feb  2 06:01 System.map-3.4.113-sun8i
lrwxrwxrwx 1 root root   21 Feb  4 16:30 uInitrd -> uInitrd-3.4.113-sun8i
-rw-r--r-- 1 root root 3.7M Feb  4 16:30 uInitrd-3.4.113-sun8i
-rwxr-xr-x 1 root root 4.6M Feb  2 06:01 vmlinuz-3.4.113-sun8i
lrwxrwxrwx 1 root root   21 Feb  4 16:30 zImage -> vmlinuz-3.4.113-sun8i
----------------------------------------------------------------------- 16:32:50
admin@zero:~$ sudo cat /etc/network/interfaces
# Wired adapter #1
allow-hotplug eth0
#no-auto-down eth0
iface eth0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#	hwaddress ether # if you want to set MAC manually
#	pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
	link-speed 10
	link-duplex full
	ethernet-autoneg off

# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
# 
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off

# Local loopback
auto lo
iface lo inet loopback
----------------------------------------------------------------------- 16:33:27
admin@zero:~$ pstree
systemd─┬─NetworkManager─┬─{NetworkManager}
        │                ├─{gdbus}
        │                └─{gmain}
        ├─2*[agetty]
        ├─cron
        ├─dbus-daemon
        ├─dhclient
        ├─haveged
        ├─lircd
        ├─ntpd
        ├─polkitd─┬─{gdbus}
        │         └─{gmain}
        ├─rsyslogd─┬─{in:imklog}
        │          ├─{in:imuxsock}
        │          └─{rs:main Q:Reg}
        ├─sshd───sshd───sshd───bash───pstree
        ├─systemd───(sd-pam)
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        └─wpa_supplicant
----------------------------------------------------------------------- 16:35:03
admin@zero:~$ sudo reboot
Connection to zero closed by remote host.
Connection to zero closed.
----------------------------------------------------------------------- 16:35:13
~$ ssh admin@zero
^C
----------------------------------------------------------------------- 16:40:15
~$ nmap zero

Starting Nmap 7.40 ( https://nmap.org ) at 2017-02-04 16:53 YEKT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.98 seconds
----------------------------------------------------------------------- 16:53:27
~$ nmap -Pn zero

Starting Nmap 7.40 ( https://nmap.org ) at 2017-02-04 16:53 YEKT
Nmap scan report for zero (192.168.8.91)
Host is up (0.00013s latency).
All 1000 scanned ports on zero (192.168.8.91) are filtered

Nmap done: 1 IP address (1 host up) scanned in 14.23 seconds
----------------------------------------------------------------------- 16:53:50
~$ 

After previous attempt I just restored SD card from saved image, so I can do it again, sure, but it means that I can't use subsequent releases.

 

Thanks.

Link to comment
Share on other sites

Ubuntu xenial is a lot more stable use it instead.

I have had several devices where after the upgrade the device fails to boot no more.

Downloaded a new image an worked again (I think it was orange pi pc plus debian last time...).

 

This was my second attempt and it finished with exactly the same result.

 

Console log:

~$ ssh admin@zero
  ___                               ____  _   _____              
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |__  /___ _ __ ___  
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |   / // _ \ '__/ _ \ 
| |_| | | | (_| | | | | (_| |  __/ |  __/| |  / /|  __/ | | (_) |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| /____\___|_|  \___/ 
                       |___/                                     

Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.113-sun8i 
System load:   0.07            	Up time:       3 min		
Memory usage:  9 % of 494Mb  	IP:            192.168.8.91
CPU temp:      34°C           	
Usage of /:    18% of 7.2G   	


[ 7 updates to install: apt-get upgrade ]

Last login: Sat Feb  4 14:15:58 2017 from 192.168.8.111
----------------------------------------------------------------------- 16:26:25
admin@zero:~$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  armbian-firmware armbian-tools-jessie hostapd linux-headers-sun8i
  linux-image-sun8i linux-jessie-root-orangepizero
  linux-u-boot-orangepizero-default
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/20.9 MB of archives.
After this operation, 2,142 kB of additional disk space will be used.
(Reading database ... 57509 files and directories currently installed.)
Preparing to unpack .../armbian-firmware_5.25_armhf.deb ...
Unpacking armbian-firmware (5.25) over (5.24) ...
Preparing to unpack .../armbian-tools-jessie_5.25_armhf.deb ...
Unpacking armbian-tools-jessie (5.25) over (5.24) ...
Preparing to unpack .../hostapd_1%3a2.5~armbian5.25+1_armhf.deb ...
Unpacking hostapd (1:2.5~armbian5.25+1) over (1:2.5~armbian5.24.161202+1) ...
Preparing to unpack .../linux-headers-sun8i_5.25_armhf.deb ...
Unpacking linux-headers-sun8i (5.25) over (5.24) ...
Preparing to unpack .../linux-image-sun8i_5.25_armhf.deb ...
Unpacking linux-image-sun8i (5.25) over (5.24) ...
Preparing to unpack .../linux-jessie-root-orangepizero_5.25_armhf.deb ...
Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-jessie-root-orangepizero'
Unpacking linux-jessie-root-orangepizero (5.25) over (5.24) ...
/var/lib/dpkg/info/linux-jessie-root-orangepizero.postrm: 2: [: missing ]
Preparing to unpack .../linux-u-boot-orangepizero-default_5.25_armhf.deb ...
Unpacking linux-u-boot-orangepizero-default (5.25) over (5.24) ...
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
update-initramfs: Converting to u-boot format
Setting up armbian-firmware (5.25) ...
Setting up armbian-tools-jessie (5.25) ...
Setting up hostapd (1:2.5~armbian5.25+1) ...
Setting up linux-headers-sun8i (5.25) ...
Compiling headers - please wait ...
Setting up linux-image-sun8i (5.25) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
update-initramfs: Converting to u-boot format
Setting up linux-jessie-root-orangepizero (5.25) ...
Setting up linux-u-boot-orangepizero-default (5.25) ...
Updating u-boot on device /dev/mmcblk0
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
update-initramfs: Converting to u-boot format
Scanning processes...                                                           
Scanning candidates...                                                          
Scanning kernel images...                                                       
Failed to retrieve available kernel versions.
Restarting services using systemd...
----------------------------------------------------------------------- 16:31:19
admin@zero:~$ ls -lh /boot
total 14M
-rw-r--r-- 1 root root  123 Feb  4 14:20 armbianEnv.txt
drwxr-xr-x 2 root root 4.0K Feb  4 16:29 bin
drwxr-xr-x 2 root root 4.0K Nov 14 13:13 bin.old
-rw-r--r-- 1 root root 6.8K Nov 14 13:14 boot.bmp
-rw-r--r-- 1 root root 2.0K Nov 14 13:10 boot.cmd
-rw-r--r-- 1 root root 2.1K Nov 14 13:15 boot.scr
-rw-r--r-- 1 root root  95K Feb  2 06:01 config-3.4.113-sun8i
-rw-r--r-- 1 root root 3.7M Feb  4 16:30 initrd.img-3.4.113-sun8i
lrwxrwxrwx 1 root root   20 Nov 14 13:13 script.bin -> bin/orangepizero.bin
-rw-r--r-- 1 root root 2.0M Feb  2 06:01 System.map-3.4.113-sun8i
lrwxrwxrwx 1 root root   21 Feb  4 16:30 uInitrd -> uInitrd-3.4.113-sun8i
-rw-r--r-- 1 root root 3.7M Feb  4 16:30 uInitrd-3.4.113-sun8i
-rwxr-xr-x 1 root root 4.6M Feb  2 06:01 vmlinuz-3.4.113-sun8i
lrwxrwxrwx 1 root root   21 Feb  4 16:30 zImage -> vmlinuz-3.4.113-sun8i
----------------------------------------------------------------------- 16:32:50
admin@zero:~$ sudo cat /etc/network/interfaces
# Wired adapter #1
allow-hotplug eth0
#no-auto-down eth0
iface eth0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#	hwaddress ether # if you want to set MAC manually
#	pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
	link-speed 10
	link-duplex full
	ethernet-autoneg off

# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
# 
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off

# Local loopback
auto lo
iface lo inet loopback
----------------------------------------------------------------------- 16:33:27
admin@zero:~$ pstree
systemd─┬─NetworkManager─┬─{NetworkManager}
        │                ├─{gdbus}
        │                └─{gmain}
        ├─2*[agetty]
        ├─cron
        ├─dbus-daemon
        ├─dhclient
        ├─haveged
        ├─lircd
        ├─ntpd
        ├─polkitd─┬─{gdbus}
        │         └─{gmain}
        ├─rsyslogd─┬─{in:imklog}
        │          ├─{in:imuxsock}
        │          └─{rs:main Q:Reg}
        ├─sshd───sshd───sshd───bash───pstree
        ├─systemd───(sd-pam)
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        └─wpa_supplicant
----------------------------------------------------------------------- 16:35:03
admin@zero:~$ sudo reboot
Connection to zero closed by remote host.
Connection to zero closed.
----------------------------------------------------------------------- 16:35:13
~$ ssh admin@zero
^C
----------------------------------------------------------------------- 16:40:15
~$ nmap zero

Starting Nmap 7.40 ( https://nmap.org ) at 2017-02-04 16:53 YEKT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.98 seconds
----------------------------------------------------------------------- 16:53:27
~$ nmap -Pn zero

Starting Nmap 7.40 ( https://nmap.org ) at 2017-02-04 16:53 YEKT
Nmap scan report for zero (192.168.8.91)
Host is up (0.00013s latency).
All 1000 scanned ports on zero (192.168.8.91) are filtered

Nmap done: 1 IP address (1 host up) scanned in 14.23 seconds
----------------------------------------------------------------------- 16:53:50
~$ 

After previous attempt I just restored SD card from saved image, so I can do it again, sure, but it means that I can't use subsequent releases.

 

Thanks.

Link to comment
Share on other sites

Ubuntu xenial is a lot more stable use it instead.

I have had several devices where after the upgrade the device fails to boot no more.

Downloaded a new image an worked again (I think it was orange pi pc plus debian last time...).

 

Ok, thanks, I'll try.

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