I have problems with my TP-LINK TD-W8980 running OpenWrt 18.06.4. Connected WIFI devices quite often unexpectedly are losing internet connection. Pinging remote servers (eg 8.8.8.8) works, but nothing else (no dns, no http). It start working again, after disconnecting and reconnecting to the Wifi (router doesn't need to be restarted).
Looking to the kernel log, I've found several SQUASHFS errors, but not sure if it's related.
I'm using extroot with hdd connected to the router. Also hdd is set to sleep after some inacitivity, but SQUASH errors seems not coming from the hdd, but rather router's flash.
Any advice is very welcome.
[2053437.714386] m25p80 spi32766.4: SPI transfer timed out
[2053437.723797] blk_update_request: I/O error, dev mtdblock3, sector 1878
[2053437.729400] SQUASHFS error: squashfs_read_data failed to read block 0xeafc6
[2053437.736281] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053437.742658] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053437.749917] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053437.755986] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053443.003766] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053443.008852] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053443.015935] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053443.022132] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053443.032123] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053443.037210] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053448.051447] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053448.056537] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053448.063590] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053448.069831] SQUASHFS error: Unable to read page, block eafc6, size 14568
[2053448.088007] SQUASHFS error: Unable to read data cache entry [eafc6]
[2053448.093102] SQUASHFS error: Unable to read page, block eafc6, size 14568
Update:
Just connected to ssh and typed block command and result was:
@Gatekeeper:/root# block info
-ash: block: I/O error
@Gatekeeper:/root# block info
Strange it fixed itself after few seconds (after disconnect from ssh) and on next ssh login it was fine again.
/dev/mtdblock3: UUID="4e871f1b-4e53ab41-e65292b7-db17a797" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock4: MOUNT="/rwm" TYPE="jffs2"
/dev/sda2: UUID="dee3d7db-7776-4d9a-a5eb-469be60914e9" VERSION="1.0" MOUNT="/overlay" TYPE="ext3"