ubiattach fails
Alex Boag-Munroe
boagenator at gmail.com
Tue Jun 15 19:03:02 EDT 2010
Hey folks, quick question. I'm playing, or at least trying to play,
with ubifs on my HTC Hero. Running ubiattach /dev/ubi_ctrl -m 4 gives
the error:
ubiattach: error!: cannot attach mtd4 error 22 (Invalid argument)
I get the following in dmesg:
[ 779.384338] UBI: attaching mtd4 to ubi0
[ 779.385253] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 779.385742] UBI: logical eraseblock size: 126976 bytes
[ 779.386627] UBI: smallest flash I/O unit: 2048
[ 779.387115] UBI: VID header offset: 2048 (aligned 2048)
[ 779.387969] UBI: data offset: 4096
[ 779.389251] msm_nand_read_oob: unsupported ops->len, 64
[ 779.390319] msm_nand_read_oob: unsupported ops->len, 64
[ 779.390777] msm_nand_read_oob: unsupported ops->len, 64
[ 779.391021] msm_nand_read_oob: unsupported ops->len, 64
[ 779.391448] UBI error: ubi_io_read: error -22 while reading 64
bytes from PEB 0:0, read 0 bytes
I would appreciate any help anyone can provide, thank you.
--
Alex Boag-Munroe
Lack of planning on your part does not constitute an emergency on mine.
More information about the linux-mtd
mailing list