-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Armbian-config hardware -> empty "Toggle hardware configuration" list #33
Comments
Could not recreate, closing. It must be related to bad SD card media or corrupted install. |
The same issue with same log above.
Don't help too.. |
Changing locales could have some impact on this. Have to check ... |
Yep, I've reinstalled distr and with no changes of locals it's work. |
For Orange Pi Zero I see this list:
It can somebody help :) |
Good, we find the cause. Solution is that critical commands are called with LANG=C prefix and it should survive locales change. Like this one: https://github.com/armbian/config/blob/master/debian-config-functions#L201 |
I'm still seeing this exact error on a freshly downloaded / installed Armbian on a NanoPi Neo Air. Also tried What is the current workaround? I tried setting |
I didn't change any locale settings by the way, this error is showing up on a vanilla armbian setup. |
I can reproduce this on a random occasion. Sometimes https://github.com/armbian/config/blob/master/debian-config-jobs#L1045 is executed properly, sometimes not. Don't know what is wrong :( |
Ok, I think I found something. On my affected system the I'm absolutely positive that I haven't touched that file. All I did was apt installing and apt update/upgrade once. @igorpecovnik If you happen to experience this random occasion again, maybe you could have a look at |
Exactly the same issue as @troyane here. The only thing that could have touched
|
@igorpecovnik @Gasman2014 I haven't seen this issue for a long time already. I've treated Igor's words
And all works well. |
This is what I was getting
but is now OK since I have re-written my armbianEnv.txt with
verbosity=1
logo=disabled
console=both
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=uart1 uart2 usbhost2 usbhost3
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
I hasten to add I have had NO other issues with my OPZero so I am not sure it is simply an SD card problem.
… On 12 Feb 2019, at 12:20, Nazar ***@***.***> wrote:
burn Armbian using Etcher.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#33 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AIAyuZzOObPP8YiTQb_WL2y2-1IyWvpmks5vMrF_gaJpZM4XFzDv>.
|
Consider this disucssion: It's not just ext4 or the SD that is broken; the issue occurs only when some init script alters armbianEnv.txt ; and the issue is 95% reproductible when you know how to: remove the line about USBquircks ... rerun the script that introduces it blindly, power cycle before sync. One part of the problem is that this script may readd the line even if it's already in there. I have fixed this by backing up the file regularly, and automatically restaure the last backup if it looks broken. For me this is now a fully automated service; backup files appear from time to time; but since I developped this service, I never had any failure. An other part of the problem is how temp files are managed. An other part of the problem is the lack of sync after some critical steps. Even if I know very well why sync should not be more frequent than 5mn on normal use, during the first 5mn after boot, there should be a sync every 10s. Especially after altering /boot ... |
A sync can be added here and there, to make sure those configs are written properly.
This will lead to another problem - extreme SD card lifespan shortening which will sooner or later produce similar problems - fs corruption. Bottom up. If you want to have file system that survive power cut it has to be read/only ... you can also alter few things to improve this but sacrifice performance/SD card endurance. Check / mount option in /etc/fstab |
Hi there, I'm not sure to have followed correctly the discussion here, but my armbianEnv.txt looks like this:
Is there anything that I can do ? I run an orange pi PC+ (with internal emmc, no sdcard) |
bonjour81, I have seen many changes in the way I2C is handled between kernels 3 and 4. I have discussed about this at many places. From memory, you need to play with overlays in /boot/armbianEnv.txt . I had a lot of issues with SPI and 1W. I had a project which got stuck because one feature required a kernel 4 , and an other feature required kernel 3 for a driver which is not ported yet; project is stuck. Be carefull when playing with I2C, because a mistake can mess your eMMC; then you need to boot from SD to fix the eMMC. Also, armbian-config may not be up to date for the feature you need. And whatever you find in Google or a forum, assume it was written for kernel 3 and expect it to not work with kernel 4. |
Hi! But the issue mentionned here is still present in armbian-config (no display in toggle HW section). |
"This will lead to another problem - extreme SD card lifespan shortening which will sooner or later produce similar problems - fs corruption." Ony if you drop parts of the phrase you quoted: during the first 5mn after boot |
I had the same issue on several Orange Pi Zero H3 and H5. Thanks to @pwuertz comment, I can confirm that in all cases the file |
In my case, the culprit of the empty hardware section with I think armbian-config should check if that key is not missing or empty before running As it is, it's not sufficiently robust. |
I am aware of that, but since there is very little time and lots of issues/wishes it will remain this way. This is amateur development. Few help here and there changes a lot https://www.armbian.com/get-involved |
I'll see if I can contribute with a decent PR for this... 😊 |
@ZupoLlask That would be great! This issue causes me all sorts of headaches. |
I deploy armbian in the field where power cutoffs happen all to often. Would setting Edit: I should say, prevent the issue from happening in future. |
My NanoPi NEO2 Black had the same issue. |
Had issues with my NanoPi Air (H3). There was a OpenSSH private key in it (a fact I don't understand). After it the following entries where in it: Resolved thanks to the information here - I removed the SSH key, left the three lines above, added two lines to it: |
I found similar with nightly on ODroid-N2.
debug trace I add at theend of this message. It start to work when I add string Seems there should be check for string presence with error diag — or kind of workaround for line 1220 of file
maybe I can try to fix this — if owner points me what behavior is correct for this case.
|
Has anyone fixed this? Every single image for the Renegade i burned to SD has the issue. |
Probably not and probably won't anymore since all efforts going into the overhaul of that tool as announced in forums. |
fix for Renegade create verbosity=1 save, reboot, the menu will start working. |
Fix some spelling mistakes
I'm using
Armbian_5.59_Nanopiair_Debian_stretch_next_4.14.65.img
on NanoPi Neo Air.System -> Hardware option looks like this:
Before showing this window with empty checkboxes it outputs this:
Same situation after switch to nightly automated builds.
The text was updated successfully, but these errors were encountered: