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.

Avoiding kernel panics on shutdown?

Featured Replies

Hi,

 

while testing with various sun8i legacy builds with connected display it came to my attention that kernel always panics at shutdown (in fact I was all the time doing a reboot so it took me some time to notice this).

 

I tried to replace our rmmod example here with this code

for module in $(cut -f1 -d' ' </proc/modules) ; do rmmod -f ${module} ; done

But to no avail. Still on shutdown or reboot the kernel panics, waits 10 seconds and reboots then. Behaviour might be related to recent kernel additions (FriendlyARM Matrix stuff)? And the other question is which drawbacks the above code could have?

  • Author

Any comments on doing a forced rmmod for all loaded modules in armhwinfo stop case? We have a few modules reported where removing the specific module is the only way to avoid a panic on shutdown... so why not removing them all?

Any comments on doing a forced rmmod for all loaded modules in armhwinfo stop case? We have a few modules reported where removing the specific module is the only way to avoid a panic on shutdown... so why not removing them all?

Some modules have dependencies and cannot be removed or need to be processed in special order, others may produce crashes on manual removal too. First we need to find what exactly crashes and why, after that we may fix this issue or disable/blacklist buggy modules

  • Author

Some modules have dependencies and cannot be removed or need to be processed in special order, others may produce crashes on manual removal too. First we need to find what exactly crashes and why, after that we may fix this issue or disable/blacklist buggy modules

 

I remember we had a report about g_mass_storage on sun7i and a Wi-Fi driver on sun8i. So now I simply added the unload procedure as comment to armhwinfo since I doubt anyone wants to diagnose smelly legacy kernel modules?

 

And I can't reproduce any kernel panics on FEL booted Plus2E

 

Potential differences: Gbit vs. Fast Ethernet and no SDIO/mmc involved in your setup?

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.