Welcome! Log In Create A New Profile

Advanced

uboot UBIFS error

Posted by renojim 
uboot UBIFS error
January 17, 2016 12:38AM
I recently had another (cheap) flash drive fail and after restoring a backup I noticed a "UBIFS error" message in the netconsole output. For all I know it's always been there and after doing a little research I think it's because it's trying to load a UBIFS image from the internal flash and there's none there. I believe it's harmless and/or normal, but I'd like to get some confirmation from the experts here.
U-Boot 2014.07-tld-2 (Sep 20 2014 - 01:10:10)
Seagate FreeAgent DockStar
gcc (Debian 4.6.3-14) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22
Hit any key to stop autoboot:  0
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 2 Storage Device(s) found
** File not found /rescueme **
** Unrecognized filesystem type **
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1750
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1729
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "rootfs", error -22
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'rootfs' er
rno=-22!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
1 bytes read in 461 ms (0 Bytes/s)
Found bootable drive on usb 0:1
2707144 bytes read in 318 ms (8.1 MiB/s)
6310882 bytes read in 472 ms (12.8 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.16.0-kirkwood-tld-1
   Created:      2014-08-30  18:31:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2707080 Bytes = 2.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.16.0-kirkwood-tld-1
   Created:      2014-08-30  18:31:37 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6310818 Bytes = 6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK


Starting kernel ...
Thanks!

-JT
Re: uboot UBIFS error
January 17, 2016 02:38AM
JT,

It is harmless. But if you want to reduce the noise, look for the run ubifs boot command in uboot envs and remove it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: uboot UBIFS error
January 17, 2016 03:07PM
bohdi, as always, thank you!

-JT
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: