Auszug Log von Qauge: NAND read: device 0 offset 0x0000000003c40000, size 0x0000000000500000 Starting kernel ... UBI: auto-attach mtd12 ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 513:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 513:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 514:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 514:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 515:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 515:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 516:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 516:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 517:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 517:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 518:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 518:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 519:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 519:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 520:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 520:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 522:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 522:512, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 523:0, read 64 bytes ubi0 error: 0x8030fa58: error -77 (ECC error) while reading 64 bytes from PEB 523:512, read 64 bytes ubi0: scanning is finished ubi0 error: 0x80304a64: the layout volume was not found ubi0 error: 0x80309314: failed to attach mtd12, error -22 root@OpenWrt:/# flash_erase /dev/mtd12 0 0 (no errors reported) root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null (no errors reported) root@OpenWrt:/# ubiattach -m 12 (no errors reported) root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null (no errors reported) root@OpenWrt:/# ubimkvol -N MyImportantStuff /dev/ubi0 -m (no errors reported) root@OpenWrt:/# ubimkvol -N MyImportantStuff /dev/ubi0 -m <----- :-) (guess above command was not actuallly executed; glitch caused by manually editing the log) root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null ECC: 4 uncorrectable bitflip(s) at offset 0x04020000 : 0x20000 = 0x201 = 513 ECC: 4 uncorrectable bitflip(s) at offset 0x04040000 514 root@OpenWrt:/# mount -t ubifs /dev/ubi0_0 /mnt/ root@OpenWrt:/# echo 'Hello World!' > /mnt/echo.txt root@OpenWrt:/# umount /mnt && ubidetach -m 12 root@OpenWrt:/# mount -t ubifs /dev/ubi0_0 /mnt/ (no errors reported for above commands) root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null ECC: 4 uncorrectable bitflip(s) at offset 0x04020000 : 0x20000 = 0x201 = 513 ECC: 4 uncorrectable bitflip(s) at offset 0x04040000 514 ECC: 4 uncorrectable bitflip(s) at offset 0x04060000 515 ECC: 4 uncorrectable bitflip(s) at offset 0x04080000 516 ECC: 4 uncorrectable bitflip(s) at offset 0x040a0000 517 ECC: 4 uncorrectable bitflip(s) at offset 0x040c0000 518 ECC: 4 uncorrectable bitflip(s) at offset 0x040e0000 519 ECC: 4 uncorrectable bitflip(s) at offset 0x04100000 520 root@OpenWrt:/# flash_erase /dev/mtd12 0 0 (no errors reported) root@OpenWrt:/# ubiformat /dev/mtd12 -s 2048 (no errors reported) root@OpenWrt:/# ubiattach -m 12 ubi0 error: 0x8030f1f0: bad VID header offset 2048, expected 512 ubi0 error: 0x8030f250: bad EC header OpenWrt:/# ubiattach -m 12 -o 2048 (no errors reported) OpenWrt:/# ubimkvol -N MyImportantStuff /dev/ubi0 -m (no errors reported) root@OpenWrt:/# mount -t ubifs /dev/ubi0_0 /mnt/ root@OpenWrt:/# echo 'Hello World!' > /mnt/echo.txt root@OpenWrt:/# umount /mnt && ubidetach -m 12 (no errors reported for above commands) root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null (no errors reported) <--- This I find most important. All ok when not using sub-pages root@OpenWrt:/# flash_erase /dev/mtd0 <--- Two params missing :-) Guess this is a glitch when pasting logs (no errors reported) root@OpenWrt:/# nandwrite -p /dev/mtd0 /tmp/u-boot.lq (no errors reported) root@OpenWrt:/# reboot ROM VER: 1.1.4 CFG 06 NAND NAND Read OK nand_read_page - 00000008 DDR autotuning Rev 0.3c Read DQS Delay Slice0:00000021 Read DQS Delay Slice1:00000022 Write DQS Delay Slice0:00000066 Write DQS Delay Slice1:00000066 VR9 # nand erase 0x08C00000 0x13200000 (no errors reported) VR9 # reset NAND read: device 0 offset 0x0000000003c40000, size 0x0000000000500000 Starting kernel ... UBI error: no valid UBI magic found inside mtd12 Reserved instruction in kernel code[#1]: CPU: 1 PID: 666 Comm: sh Not tainted 4.14.78 #0 (WTF???) <----!!! Kernel panic - not syncing: Fatal exception [ 14.382207] Rebooting in 1 seconds.. .... After uboot restauration .... NAND read: device 0 offset 0x0000000003c40000, size 0x0000000000500000 Starting kernel ... UBI error: no valid UBI magic found inside mtd12 ubiformat /dev/mtd12 (no errors reported) root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null root@OpenWrt:/# ubiattach -m 12 ubi0: VID header offset: 512 (aligned 512), data offset: 2048 (no errors reported) root@OpenWrt:/# ubiattach -m 12 ubi: mtd12 is already attached to ubi0 root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null root@OpenWrt:/# ubimkvol -N MyImportantStuff /dev/ubi0 -m root@OpenWrt:/# nanddump /dev/mtd12 > /dev/null ECC: 3 uncorrectable bitflip(s) at offset 0x04020000 ECC: 6 uncorrectable bitflip(s) at offset 0x04040000 (... then probably after power-off-on cycle ...) Type "run flash_nfs" to mount root filesystem over NFS reset button pressed --> 11 enter rescue process ... TFTP from server 192.168.2.100; our IP address is 192.168.2.1 Filename 'fullimage.img'. Loading: ################################################################# Linux version 4.14.78 (mueller@OfficePC).... UBI: auto-attach mtd12 ubi0 error: 0x8030f230: bad VID header offset 512, expected 2048 UBI error: cannot attach mtd12