View: 11608|Reply: 31

OS stuck at boot

[Copy link]

1

threads

1

posts

25

credits

Novice

Rank: 1

credits
25
Published in 2020-10-9 15:50:54 | Show all floors |Read mode
Hi,
I have some orangepi zero boards running armbian and I was having issues with SD card corruption. Doing some research led me to the conclusion that I should make the OS read only. So i created 2 partitions on the SD card with armbian on the first partition and made it readonly and other partition I mounted as read/write since I needed to have a persistent storage also. But after doing that I still have random devices getting stuck at boot after running fine for sometime. I got one of them and attached the serial converter and got some logs but searching about them online is leading to various conclusions like power supply or end of life SD card. I am not very experienced with low level kernel stuff, so if anyone can help me point in some direction how to narrow down this issue, it would be a grea help.

Logs from the serial port: https://pastebin.com/embed_js/XKaY1vyY

8

threads

169

posts

934

credits

Senior member

Rank: 4

credits
934
Published in 2022-10-1 05:12:39 | Show all floors
I recommended that my colleague go to this website called https://howtowiki.net/how-to-write-a-good-dissertation/. And the outcome pleased him much. There are no disadvantages.

1

threads

24

posts

105

credits

Registered member

Rank: 2

credits
105
Published in 2021-1-14 02:05:43 | Show all floors
Well its  some time since you posted this, but the answer is indeed in your logs:

  1. [ 18.893668] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4699: inode #973: block 136: comm armbian-hardwar: unable to read itable block
  2. [ 18.907601] EXT4-fs (mmcblk0p1): I/O error while writing superblock
  3. [ 18.920729] EXT4-fs (mmcblk0p1): previous I/O error to superblock detected
  4. [ 18.933947] EXT4-fs (mmcblk0p1): I/O error while writing superblock
  5. [DEPEND] Dependency failed for Network Manager Wait Online.
  6. [ 18.956421] EXT4-fs error (device mmcblk0p1): __ext4_find_entry:1531: inode #11733: comm armbian-hardwar: reading directory lblock 0
  7. [FAILED[ 18.969158] EXT4-fs error (device mmcblk0p1): __ext4_find_entry:1531: inode #11727: comm armbian-hardwar: reading directory lblock 0
  8. ] Failed to start Dispatcher daemon for systemd-networkd.
  9. [ 18.982688] EXT4-fs error (device mmcblk0p1): __ext4_find_entry:1531: inode #4367: comm armbian-hardwar: reading directory lblock 0
  10. [ 18.999378] EXT4-fs error (device mmcblk0p1): __ext4_find_entry:1531: inode #29827: comm armbian-hardwar: reading directory lblock 0
  11. [ 19.011391] EXT4-fs error (device mmcblk0p1): __ext4_find_entry:1531: inode #12: comm armbian-hardwar: reading directory lblock 0
Copy code


So what its showing is corruption on the cards file system.
The linux filesystem is much more  resilient than FAT32 and NTFS and the individual
sectors are called inodes.
Has this card been used in anything else, camera, laptop ?

It is possible to repair the errors if you can get the sd card into a laptop running linux.
The command would be:
sudo fsck.ext4  /dev/sdx

Device sdx would be the designation of the card, as its sometime since you posted
you may have solved this error.

The buster version of Armbian now  has a major advantage in that the partition is expanded
to use the full sd card making corruption less likely. When I used Raspberry Pi it had two partitions a FAT partition which would always corrupt. The Orange Pi is more powerful and uses less power and with Armbian ideal for IoT
Hope that helps.

0

threads

2

posts

14

credits

Novice

Rank: 1

credits
14
Published in 2023-2-28 11:22:37 | Show all floors
This article is an excellent example of how journalism ovo game can make a real difference in people's lives.

0

threads

80

posts

216

credits

Intermediate member

Rank: 3Rank: 3

credits
216
Published in 2023-3-13 15:54:44 | Show all floors

0

threads

135

posts

414

credits

Intermediate member

Rank: 3Rank: 3

credits
414
Published in 2023-4-20 19:03:37 | Show all floors
Ordinary this put up is totaly unrelated to what I become looking for google for, but it absolutely have turn out to be indexed at the number one internet page. I assume your doing something right if Google likes you sufficient to place you at the primary web page of a non related are in search of for.        Cortexi

0

threads

135

posts

414

credits

Intermediate member

Rank: 3Rank: 3

credits
414
Published in 2023-5-5 12:10:37 | Show all floors
Je chérit cette photographie toutefois j’en ai avant cela vu de semblable de meilleures modalités        Cortexi
Published in 2023-9-9 22:01:06 | Show all floors
I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.        บาคาร่าออนไลน์
Published in 2023-9-10 17:50:18 | Show all floors
If you are looking for more information about flat rate locksmith Las Vegas check that right away.        온라인 카지노
Published in 2023-9-18 19:10:52 | Show all floors
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.        메이저 사이트
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list