0
va88

Rock64 not booting after "apt upgrade"

Recommended Posts

Hey guys, I installed Armbian some months ago in my Rock64 and I had never updated the packages.

 

Yesterday I decided to do an apt update + apt upgrade to update one of the applications I use.

 

I noticed that meanwhile apt updated Armbian itself, and began to ask for a reboot.

 

A few hours later I rebooted the board.

 

At first I couldn't connect due to connection refusal, so I went plugged a keyboard and hdmi on the board to see what was happening.

 

It looks like while doing this I unplugged the power source suddenly, and now the board won't boot the system in this OS. No image or response in the USB keyboard.

 

I thought it could be SD corruption, but I'm able to open the SD card in my Desktop and see its contents.

 

Since I had a lot of tweaking in the old system, is there a way to copy some parts of a new image and paste in the SD, so I can boot it again?

 

Or maybe reflash the SD with the latest armbian, then pasting some folders over it (maybe home and /var/lib at least)?

 

Thanks for the advices.

 

Share this post


Link to post
Share on other sites

I did a test by upgrading oldest (1 year old Bionic server) image that we have and upgrade went without a problem. If you broke the system somehow, you have to fix it or ... perhaps its better to start with a clean build and copy over your data and settings.

Share this post


Link to post
Share on other sites
Just now, Igor said:

I did a test by upgrading oldest (1 year old Bionic server) image that we have and upgrade went without a problem. If you broke the system somehow, you have to fix it or ... perhaps its better to start with a clean build and copy over your data and settings.

 

Yeah, since at first it was just refusing connections, it probably needed a simple UFW fix. 

 

But now it just won't boot, so I guess I'll have to begin from scratch...

Share this post


Link to post
Share on other sites

I have the same problem. 4G Version with emmc module here.
=> Board does not boot up anymore since Kernel Update last friday. (I was on Stretch initially)

Even with a newly flashed sd card and without emmc module. (managed to boot into armbian buster 5.91 once but after rebooting it, it failed again and stayed that way- tried the latest 3 images in the meanwhile ) Kernel is 4.4182

 

with armbian on an sd card i am getting:
failed to start armbian zram config - failed to start journal service - Failed to flush Journal to Persitent Storagerockchip64 #6 and at some point the boot sequence stops with something like: work_pending+0x10/0x14 or I am getting consistent timeouts from "waiting for device" 

 

with the original emmc card it gives me:

...

BUG: spinlock bad magic on CPU#2

goes to:

secondary_start_kernel +0x190/0xbc

0x2cxa188

repeats and stops there

 

also since the beginning I sometimes get: "fixing recursive fault. Reboot is needed!" - without reboot improving anything of course..

 

I am afraid that at this point of failure notices and kernel panics I have no idea how to proceed anymore.

Share this post


Link to post
Share on other sites

I recently had a similar issue with my Tinkerboard. I was still using the legacy 4.4 kernel. To solve it:

1, I booted another SD card with TinkerOS

2. Plugged in the SD with Armbian using a USB SD-card adapter

3. mounted /dev/sda1 the partition with Armbian

4. bind mounted /dev /run /proc and /sys on the Armbian filesystem

5. chrooted into Armbian

6. ran armbian-config

7. first switched to the 5.2 kernel, but that didn't boot either, then did above again, switched to 4.19 and Armbian was booting again!!

Share this post


Link to post
Share on other sites

jschwart thanks, that you try to help!

my problem still is, that I tried at least 3 different images now on an sd-card and on my emmc module and with non of these the board would boot to a usable state.

I have no problem at all wiping all the data and start new but i highly doubt that tinkerOS would run on the rock64?

Share this post


Link to post
Share on other sites

update: found images now that are actually booting the board.

still the latest 3 armbian images are not working for my rock64 4G neither on SD nor on emmc.

I would exclude the sd (tried 2) and the power adapter as source of the problem at the moment.

So right now sadly I can just stay away from armbian images as the simply will not boot.

Share this post


Link to post
Share on other sites
On 10/7/2019 at 3:35 PM, Igor said:

I would question HW maker why they are making so many versions in 1st place?

As much as I like the Rock64 board, I couldn't agree more with you. It is a really nifty board, so much better in many aspects compared to the Pi, yet so badly supported by Pine.

 

This board (REV. 2 in my case) has still the big problem of not being able to boot from the SSD when it's hooked on the USB3 port, not even with the recent U-Boot version provided by ayufan, for which I had some hope. :(

 

Back on subject, I have no problem with REV. 2 and the latest 4.4.192 kernel. I have even finally solved the problem with the missing DTV-USB driver, more on this on the relevant thread.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0