Re: Seeing ubifs unmap LEB error with linux 2.6.35 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 17, 2019 at 7:38 PM Kiran Bangalore Sathyanarayana
(kibangal) <kibangal@xxxxxxxxx> wrote:
>
> Hi,
> We are seeing the below ubifs errors with linux 2.6.35 Kernel:
>
> 3:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<3>UBIFS error (pid 24831): ubifs_leb_unmap: unmap LEB -1 failed, error -22
> 4:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<4>UBIFS warning (pid 24831): ubifs_ro_mode: switched to read-only mode, error -22
> 3:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<3>UBIFS error (pid 24831): make_reservation: cannot reserve 4144 bytes in jhead 2, error -22
> 3:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<3>UBIFS error (pid 24831): do_writepage: cannot write page 98 of inode 67, error -22
> 3:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<3>UBIFS error (pid 24581): make_reservation: cannot reserve 4144 bytes in jhead 2, error -30
> 3:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<3>UBIFS error (pid 24581): do_writepage: cannot write page 99 of inode 67, error -30
> 3:2019 Jul 21 13:13:03 UTC:4.0(2h):kernel:-:<3>Buffer I/O error on device loop2, logical block 1
>
> The system has a NAND flash with ubifs filesystem installed. The above errors happened randomly at runtime and ubifs switched to read-only mode.
> The NAND flash itself is fine and there are no badblocks detected.
> "ubinfo -a" output is as below:
> UBI version:                    1
> Count of UBI devices:           1
> UBI control device major/minor: 10:63
> Present UBI devices:            ubi0
>
> ubi0:
> Volumes count:                           1
> Logical eraseblock size:                 126976
> Total amount of logical eraseblocks:     1024 (130023424 bytes, 124.0 MiB)
> Amount of available logical eraseblocks: 0 (0 bytes)
> Maximum count of volumes                 128
> Count of bad physical eraseblocks:       0
> Count of reserved physical eraseblocks:  10
> Current maximum erase counter value:     536
> Minimum input/output unit size:          2048 bytes
> Character device major/minor:            235:0
> Cisco UBI Flash Worn:                    No
> Present volumes:                         0
>
> Volume ID:   0 (on ubi0)
> Type:        dynamic
> Alignment:   1
> Size:        1010 LEBs (128245760 bytes, 122.3 MiB)
> State:       OK
> Name:        data
> Character device major/minor: 235:1
>
> This has occurred on multiple systems now.
> Can you please provide me more info on this error? Is this any known issue with linux 2.6.35 Kernel?

Aren't there more logs of UBI or UBIFS?

> Please let me know how to proceed with fixing this(any specific patch that needs to be specifically applied on 2.6.35 kernel).

Can you please reproduce using a recent kernel?

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux