Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Banana PI M1 freeze compiling headers

Featured Replies

Hi everyone, 

im playing quite a while with my BP and OMV simplenas Images. 

for perfomance reasons i decided to test armbian but i have some trouble with it. 

 

I prepare the SD boot them up change my root pw and set a user ... so far so well but everytime i tried a 

sudo apt-get update
sudo apt-get upgrade 

my system freeze at the point where it should setting up linux-headers-sun7i 5.23 ... compiling headers please wait...

 

first i thought i only have to wait but after 12h waiting while 100% Cpu usage i was quite sure there is somthing going wrong.

 

did anyone saw this problem before and solved it? 

tried armbian Vanilla( xenial, jessie) also lagacy (xenial) without sucess

 

greetings 

Hm. Since this is not the first time similar error happens, we could use a timeout command in postinstall script to run headers compilation with a reasonable value of 10 minutes.

Very good idea. And what is the worst that could happen if compilation get stuck?

And what is the worst that could happen if compilation get stuck?

Missing kernel headers tools - so it won't be possible to compile out of tree wireless drivers (for example).

And you can check exit code to see if compilation simply failed or was killed due to timeout. In the latter case a "nice" message regarding SD card quality (and instructions for manual compilation) can be displayed.

  • Author

 i used 2 new 32 GB samsung evo cards,

If i reboot the system it will run into problems wich make it unable to boot completely so i think an interrupt causes more trouble.

im curious what is going on, it is depending on my hardware? or are these it maybe network problems?

 

greetings an thanks for the fast response

@pope

 

Since you are telling about 100% CPU usage you already have another session running in parallel. So you can use htop in preocess tree mode (activated by pressing F5) to find the process that is using 100% CPU, and if it is a part of dpkg - make - gcc chain (or even if it doesn't use any CPU time), you can kill it (make or gcc processes). This will allow upgrade process to finish.

 

Edit: you should probably run htop as root (with sudo)

  • Author

Htop free kill pid worked for me fine. The second Iteration of runs without problems, thanks for the help. Is the make file running into a loop? Lookes like if i watch the htop Prozesses.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.