Linux CI4x10 4.17.19-20180520-1-ge513a596a094-dirty #5 SMP 2018-11-01 armv7l GNU/Linux root@CI4x10:~ fdisk /dev/mmcblk0 The number of cylinders for this disk is set to 116736. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Segmentation fault root@CI4x10:~ parted [14262.725677] ------------[ cut here ]------------ [14262.730400] WARNING: CPU: 1 PID: 378 at block/blk-core.c:2180 generic_make_request_checks+0x61c/0x8b0 [14262.739717] generic_make_request: Trying to write to read-only block-device mmcblk0boot0 (partno 0) [14262.748837] Modules linked in: [14262.751922] CPU: 1 PID: 378 Comm: parted Not tainted 4.17.19-20180520-1-ge513a596a094-dirty #5 [14262.760545] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [14262.767103] [<801131dc>] (unwind_backtrace) from [<8010e864>] (show_stack+0x18/0x1c) [14262.774866] [<8010e864>] (show_stack) from [<808a063c>] (dump_stack+0xa8/0xd4) [14262.782111] [<808a063c>] (dump_stack) from [<80123a0c>] (__warn+0xf8/0x114) [14262.789091] [<80123a0c>] (__warn) from [<80123a68>] (warn_slowpath_fmt+0x40/0x50) [14262.796593] [<80123a68>] (warn_slowpath_fmt) from [<8041c304>] (generic_make_request_checks+0x61c/0x8b0) [14262.806092] [<8041c304>] (generic_make_request_checks) from [<8041fd68>] (generic_make_request+0xac/0x434) [14262.815763] [<8041fd68>] (generic_make_request) from [<804201d4>] (submit_bio+0x48/0x144) [14262.823956] [<804201d4>] (submit_bio) from [<80415684>] (submit_bio_wait+0x5c/0x74) [14262.831629] [<80415684>] (submit_bio_wait) from [<80425c70>] (blkdev_issue_flush+0x8c/0xb4) [14262.840004] [<80425c70>] (blkdev_issue_flush) from [<802d2754>] (blkdev_fsync+0x40/0x54) [14262.848118] [<802d2754>] (blkdev_fsync) from [<802c8cf4>] (do_fsync+0x44/0x6c) [14262.855361] [<802c8cf4>] (do_fsync) from [<80101000>] (ret_fast_syscall+0x0/0x28) [14262.862855] Exception stack(0xbddedfa8 to 0xbddedff0) [14262.867921] dfa0: 00000001 01883400 00000004 00000868 0000006c 00000000 [14262.876115] dfc0: 00000001 01883400 01883468 00000076 76ee08c8 76ed974c 00000000 7efc9dc4 [14262.884305] dfe0: 00000076 7efc9950 76db7baf 76d3b196 [14262.889528] irq event stamp: 10895 [14262.892999] hardirqs last enabled at (10905): [<80186bd0>] console_unlock+0x47c/0x640 [14262.900992] hardirqs last disabled at (10914): [<80186808>] console_unlock+0xb4/0x640 [14262.908884] softirqs last enabled at (10894): [<80102490>] __do_softirq+0x368/0x5c0 [14262.916688] softirqs last disabled at (10869): [<8012adf0>] irq_exit+0x11c/0x1ac [14262.924144] ---[ end trace 44f4850ddd24133d ]--- GNU Parted 2.3 Using /dev/mtdblock2 Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) quit