Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1864 - Impossible to install/update any packages on WZR-HP-G300NH 18.06.1/snapshot due to jffs2 errors #6784

Open
openwrt-bot opened this issue Sep 23, 2018 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

fabio70mi:

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-38a88ad, 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]]

@openwrt-bot
Copy link
Author

fabio70mi:

Hello, trying to fill /dev/mtdblock5 (/overlay) in failsafe mode, with a build I made from git I get the errors above. If I do the same with Lede 17.01.6 it takes lot of time but it works without any errors.

root@(none):~# dd if=/dev/urandom of=/dev/mtdblock5 bs=64k count=446

[ 420.032294] blk_update_request: I/O error, dev mtdblock5, sector 256
[ 420.038700] Buffer I/O error on dev mtdblock5, logical block 32, lost async page write
[ 440.333941] MTD do_erase_oneblock(): software timeout
[ 442.948139] blk_update_request: I/O error, dev mtdblock5, sector 264
[ 442.954537] Buffer I/O error on dev mtdblock5, logical block 33, lost async page write
[ 463.243940] MTD do_erase_oneblock(): software timeout
[ 465.798161] blk_update_request: I/O error, dev mtdblock5, sector 272
[ 465.804563] Buffer I/O error on dev mtdblock5, logical block 34, lost async page write
[ 486.093939] MTD do_erase_oneblock(): software timeout
[ 488.695413] blk_update_request: I/O error, dev mtdblock5, sector 280
[ 488.701819] Buffer I/O error on dev mtdblock5, logical block 35, lost async page write
[ 508.993939] MTD do_erase_oneblock(): software timeout

@openwrt-bot
Copy link
Author

flipmess:

hi, got the same problem on my WZR-HP-G300NH with 18.06.1. 18.06.0 was working fine.

Installing libustream-openssl (2018-05-22-5322f9db-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/libustream-openssl_2018-05-22-5322f9db-1_mips_24kc.ipk

Collected errors:

  • wfopen: //usr/lib/opkg/info/libustream-openssl.control: I/O error.
  • wfopen: //usr/lib/opkg/info/libustream-openssl.postinst: I/O error.
  • wfopen: //usr/lib/opkg/info/libustream-openssl.prerm: I/O error.
  • wfopen: /lib/libustream-ssl.so: I/O error.
  • pkg_write_filelist: Failed to open //usr/lib/opkg/info/libustream-openssl.list: I/O error.
  • opkg_install_pkg: Failed to extract data files for libustream-openssl. Package debris may remain!
  • opkg_install_cmd: Cannot install package libustream-openssl.
  • opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: I/O error.

[ 706.899813] jffs2: Write of 1367 bytes at 0x017e457c failed. returned -5, retlen 164
[ 706.937226] jffs2: Write of 1367 bytes at 0x017e4ad4 failed. returned -5, retlen 0
[ 706.945121] jffs2: Not marking the space at 0x017e4ad4 as dirty because the flash driver returned retlen zero
[ 706.956567] jffs2: Write of 68 bytes at 0x017e4ad4 failed. returned -5, retlen 0
[ 706.964764] jffs2: Not marking the space at 0x017e4ad4 as dirty because the flash driver returned retlen zero
[ 706.975593] jffs2: Write of 68 bytes at 0x017e4ad4 failed. returned -5, retlen 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant