Welcome! Log In Create A New Profile

Advanced

UBI Errors

Posted by laprjns 
UBI Errors
December 27, 2010 10:09AM
Hi all,

I've got the Rescue System installed in my dockstar and although I have no problems booting into an os (the rescue system, plugbox and armedslack) I do get a few errors messages during the early uboot startup. I'm just asking if there is anything wrong here and how would I go about fixing it. Here's the output from my serial connection (it's the three UBI errors just before the loading if uImage that I'm asking about)
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
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 error: ubi_read_volume_table: the layout volume was not found
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2925720 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.36-dockstar
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2925656 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Thanks for your help

Rich
Re: UBI Errors
December 29, 2010 10:16AM
That's nothing to worry about. The bootloader is just checking to see if you have a bootable system on the internal nand. You don't, so it fails and falls back to booting from the USB drive.

-- Jeff
Re: UBI Errors
December 29, 2010 03:46PM
Jeff Wrote:
-------------------------------------------------------
> That's nothing to worry about.
That's what I thought.
Thanks
Rich
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: