public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBIFS assert when rebooting a read only ubifs when it's been remounted r/w
@ 2016-05-17 15:19 Martin Townsend
  2016-05-17 16:13 ` Richard Weinberger
  0 siblings, 1 reply; 21+ messages in thread
From: Martin Townsend @ 2016-05-17 15:19 UTC (permalink / raw)
  To: linux-mtd

Hi,

I've just seen the following UBIFS assert which relates to
ubifs_remount_fs in fs/ubifs/super.c
We have a read only root filesystem and it looks like this problem
occurs after rebooting the board when the root filesystem has been
remounted as as r/w, I use the following command to do this in case
I'm doing this incorrectly.
mount -o remount,rw /
The only way to stop it is to login and run
mount -o remount,rw /
mount -o remount,ro /
and then reboots do not assert.

I've tried a few times now and can happily reproduce it.

Any ideas on how to fix this?

Many Thanks,
Martin.

May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: UBIFS assert
failed in ubifs_remount_fs at 1869 (pid 108)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: CPU: 0 PID: 108
Comm: mount Not tainted 4.1.18-g6b41ca0b94 #1
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: Hardware name:
Generic AM43 (Flattened Device Tree)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: Backtrace:
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c0013398>]
(dump_backtrace) from [<c00135b8>] (show_stack+0x18/0x1c)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r7:00000000
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r6:ee327ee4
r5:00000000 r4:ee01a000
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c00135a0>]
(show_stack) from [<c060006c>] (dump_stack+0x20/0x28)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c060004c>]
(dump_stack) from [<c029ba4c>] (ubifs_remount_fs+0x558/0x800)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c029b4f4>]
(ubifs_remount_fs) from [<c013e1e0>] (do_remount_sb+0x6c/0x1d8)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r9:ee0dfc40
r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:ee0dfc00
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c013e174>]
(do_remount_sb) from [<c015d69c>] (do_mount+0x80c/0xcd0)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r8:00000021
r7:ee0dfc00 r6:ee0fe0d0 r5:00000060 r4:00000000
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c015ce90>]
(do_mount) from [<c015dee4>] (SyS_mount+0x9c/0xc8)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r10:00000000
r9:ee326000 r8:c0ed0021 r7:7f62d700 r6:00000000 r5:ee31d280
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r4:ee31d240
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel: [<c015de48>]
(SyS_mount) from [<c000f920>] (ret_fast_syscall+0x0/0x3c)
May 17 14:54:44 am43-controller-aquila-1bf6b1 kernel:  r8:c000fac4
r7:00000015 r6:7f62d6f0 r5:00000000 r4:00000000

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-10-12 13:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 15:19 UBIFS assert when rebooting a read only ubifs when it's been remounted r/w Martin Townsend
2016-05-17 16:13 ` Richard Weinberger
2016-05-18  9:24   ` Martin Townsend
2016-05-18  9:30     ` Martin Townsend
2016-05-18 10:13     ` Richard Weinberger
2016-05-18 10:39       ` Martin Townsend
2016-05-20  7:49         ` Richard Weinberger
2016-05-20  7:51           ` Richard Weinberger
2016-05-20  9:47           ` Martin Townsend
2016-05-23 14:16             ` Martin Townsend
2016-05-23 19:57               ` Richard Weinberger
2016-05-24  8:31                 ` Martin Townsend
2016-05-24  9:04                   ` Richard Weinberger
2016-05-24 10:37                     ` Martin Townsend
2016-05-24 12:26                       ` Richard Weinberger
2016-05-24 13:23                         ` Martin Townsend
2016-05-24 13:42                           ` Richard Weinberger
2016-05-24 14:12                             ` Martin Townsend
2016-05-24 16:51                               ` Richard Weinberger
2016-05-25  8:04                                 ` Martin Townsend
2016-10-12 13:07                                   ` Martin Townsend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox