From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org, Artem Bityutskiy <dedekind1@gmail.com>
Subject: Re: [BUG?] ubi.fm_autoconvert=1 on first boot
Date: Mon, 30 Jan 2017 10:23:23 +0100 [thread overview]
Message-ID: <73k29cgaus.fsf@pengutronix.de> (raw)
In-Reply-To: <6708b0f4-63e4-663f-794a-13b95f38a928@nod.at>
Hi Richard!
Richard Weinberger <richard@nod.at> writes:
> Steffen,
>
> Am 25.11.2016 um 14:51 schrieb Steffen Trumtrar:
>> [ 3.167543] ubi1: scanning is finished
>> [ 3.190860] ubi1 error: ubi_refill_pools: no free eraseblocks
>> [ 3.196670] ubi1 error: ubi_update_fastmap: could not find any anchor PEB
>> [ 3.203608] ubi1 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
>> [ 3.211299] ubi1 error: ubi_refill_pools: no free eraseblocks
>> [ 3.217082] ubi1 error: ubi_update_fastmap: could not find any anchor PEB
>> [ 3.223965] ubi1 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
>> [ 3.231632] ubi1 error: ubi_wl_get_peb: Unable to get a free PEB from user WL pool
>> [ 3.239320] ubi1 warning: ubi_eba_atomic_leb_change: switch to read-only mode
>> [ 3.246484] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.0-rc6 #45
>> [ 3.255341] Hardware name: Freescale MXS (Device Tree)
>> [ 3.260616] [<c000ed60>] (unwind_backtrace) from [<c000d0a4>] (show_stack+0x10/0x14)
>> [ 3.268483] [<c000d0a4>] (show_stack) from [<c020d364>] (ubi_eba_atomic_leb_change+0x3c4/0x3e0)
>> [ 3.277232] [<c020d364>] (ubi_eba_atomic_leb_change) from [<c020470c>] (ubi_update_layout_vol+0x38/0x54)
>> [ 3.286826] [<c020470c>] (ubi_update_layout_vol) from [<c0204e00>] (ubi_change_vtbl_record+0x8c/0x110)
>> [ 3.296247] [<c0204e00>] (ubi_change_vtbl_record) from [<c0206a60>] (ubi_resize_volume+0x158/0x2e0)
>> [ 3.305406] [<c0206a60>] (ubi_resize_volume) from [<c02079f4>] (autoresize+0x68/0x130)
>> [ 3.313437] [<c02079f4>] (autoresize) from [<c0208518>] (ubi_attach_mtd_dev+0x4c4/0xd54)
>> [ 3.321641] [<c0208518>] (ubi_attach_mtd_dev) from [<c0452828>] (ubi_init+0x1bc/0x25c)
>> [ 3.329688] [<c0452828>] (ubi_init) from [<c0009594>] (do_one_initcall+0x3c/0x17c)
>> [ 3.337306] [<c0009594>] (do_one_initcall) from [<c0440cf0>] (kernel_init_freeable+0x108/0x1d0)
>> [ 3.346123] [<c0440cf0>] (kernel_init_freeable) from [<c0345a98>] (kernel_init+0x8/0xf8)
>> [ 3.354331] [<c0345a98>] (kernel_init) from [<c000a2d0>] (ret_from_fork+0x14/0x24)
>> [ 3.362017] ubi1 error: autoresize: cannot auto-resize volume 0
>> [ 3.369308] UBI error: cannot attach mtd8[ 3.373284] stmp3xxx-rtc 80056000.rtc: setting system clock to 1970-01-01 00:57:18 UTC (3438)
>> [ 3.382547] usb0_vbus: disabling
>> [ 3.386189] uart-pl011 80074000.serial: no DMA platform data
>> [ 3.394947] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 40
>> [ 3.482996] UBIFS (ubi0:0): recovery needed
>> [ 3.739605] UBIFS (ubi0:0): recovery completed
>> [ 3.744224] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root"
>> [ 3.751583] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
>> [ 3.761600] UBIFS (ubi0:0): FS size: 61837312 bytes (58 MiB, 487 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
>> [ 3.772122] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
>> [ 3.778051] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 79048B39-39D6-4BA2-89CF-8F2A0C699060, small LPT model
>> [ 3.791974] VFS: Mounted root (ubifs filesystem) on device 0:14.
>> [ 3.801380] devtmpfs: mounted
>> [ 3.805096] Freeing unused kernel memory: 144K (c0440000 - c0464000)
>> [ 3.811571] This architecture does not have kernel memory protection.
>> mounting filesystems...[ 4.463895] UBIFS error (pid: 44): cannot open "ubi1:data", error -19done.
>
> Can you please give the attached patch a try?
> It is untested since I cannot reproduce.
>
Thank you for the patch, I will get back to you once I found the time
to test it.
Thanks,
Steffen
--
Pengutronix e.K. | Steffen Trumtrar |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2017-01-30 9:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 11:34 [BUG?] ubi.fm_autoconvert=1 on first boot Steffen Trumtrar
2016-11-25 13:14 ` Richard Weinberger
2016-11-25 13:51 ` Steffen Trumtrar
2016-12-06 10:42 ` Steffen Trumtrar
2016-12-06 11:05 ` Richard Weinberger
2016-12-06 11:14 ` Steffen Trumtrar
2017-01-25 8:58 ` Richard Weinberger
2017-01-30 9:23 ` Steffen Trumtrar [this message]
2017-02-28 14:50 ` Sascha Hauer
2017-03-01 9:42 ` Sascha Hauer
2017-03-03 8:15 ` Richard Weinberger
2017-03-03 9:46 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=73k29cgaus.fsf@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).