<div dir="ltr">Hello,<div><br></div><div>I isolated the problem to be kernel upgrade from 4.14 to 4.19. If I build ath79 with 4.14, it simply works.</div><div>The mtd problem also happens while booting 4.19 without touching the flash 4.19 (using initram image).</div><div><br></div><div>Is there a mechanism to do a kernel bisect in OpenWrt?</div><div>Or does anybody have any clue of what could have caused this?</div><div><br></div><div>Regards,</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>---<br> Luiz Angelo Daros de Luca<br> <a href="mailto:luizluca@gmail.com" target="_blank">luizluca@gmail.com</a></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 31 de jan. de 2020 às 03:53, Luiz Angelo Daros de Luca <<a href="mailto:luizluca@gmail.com">luizluca@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm trying to debug <a href="https://bugs.openwrt.org/index.php?do=details&task_id=2742" target="_blank">https://bugs.openwrt.org/index.php?do=details&task_id=2742</a>.</div><div>So far, what I discovered:</div><div><br></div><div>1) it happens only in master, 19.07 is fine on both ath79 and ar71xx<br></div><div>2) it happens only in ath79. ar71xx is fine in master</div><div>3) rootfs_data (mtd4) contents keeps changing on each read. Each time I run: "dd if=/dev/mtd4 | md5sum - " I get a different hash.</div><div>4) I get the random data reading flash from firmware (mtd1), rootfs (mtd3) or rootfs_data(mtd4), but always around the region where rootfs_data is (after squashfs). I could not identify the exactly upper and lower boundaries where it happens (addresses are random).</div><div>5) I also happens without mounting jffs2 (failsafe)</div><div>6) Most mtd4 is 0xff (as expected). Only sparse bytes or sequence of bytes contains other values.</div><div>7) I looked for a string inside mtd4 (if I came some a buffer), but changes where too small and without any sequence of printable chars.</div><div><br></div><div>There are plenty of longs in the bug report.</div><div><br></div><div>Has someone faced something similar?</div><div><br></div><div>Regards,<br clear="all"><div><div dir="ltr"><div dir="ltr"><div>---<br> Luiz Angelo Daros de Luca<br> <a href="mailto:luizluca@gmail.com" target="_blank">luizluca@gmail.com</a></div></div></div></div></div></div>
</blockquote></div>