Impossible to install/update any packages on WZR-HP-G300NH 18.06.1/snapshot due to jffs2 errors
Username: FabioB
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1864
I’ve installed 18.06.1 on Buffalo WZR-HP-G300NH (more times with sysupgrade and tftp), and I’m not able to install/upgrade any package. The same problem happens also with SNAPSHOT r8087-38a88ade, but it works with 17.01.6
I get errors like
Collected errors:
- pkg_write_filelist: Failed to open //usr/lib/opkg/info/luci-lib-ip.list: I/O error.
- opkg_install_pkg: Failed to extract data files for luci-lib-ip. Package debris may remain!
- opkg_install_cmd: Cannot install package luci-ssl.
- opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: I/O error.
The problem seems related to jffs2 errors:
[ 0.780920] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 8.406396] jffs2: notice: (415) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 8.423476] mount_root: switching to jffs2 overlay [ 270.902671] jffs2: Write of 1989 bytes at 0x005ce6f8 failed. returned -5, retlen 962 [ 270.931965] jffs2: Write of 1989 bytes at 0x005ceec0 failed. returned -5, retlen 0 [ 270.939631] jffs2: Not marking the space at 0x005ceec0 as dirty because the flash driver returned retlen zero [ 270.950397] jffs2: Write of 68 bytes at 0x005ceec0 failed. returned -5, retlen 0 [ 270.957838] jffs2: Not marking the space at 0x005ceec0 as dirty because the flash driver returned retlen zero [ 270.968584] jffs2: Write of 68 bytes at 0x005ceec0 failed. returned -5, retlen 0
Some more information is reported in:
https://forum.openwrt.org/t/impossible-to-install-update-any-packages-on-wzr-hp-g300nh-18-06-1/21666