I flashed 18.06.1 on Buffalo WZR-HP-G300NH (32M flash, 64M RAM) twice, first time with sysupgrade and second time with tftp and I'm not able to install/update any additional package.
get something like:
root@OpenWrt:~# opkg upgrade odhcp6c
Upgrading odhcp6c on root from 2018-07-14-67ae6a71-14 to 2018-07-14-67ae6a71-14.1...
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/odhcp6c_2018-07-14-67ae6a71-14.1_mips_24kc.ipk
Collected errors:
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/odhcp6c.list: I/O error.
* opkg_install_pkg: Failed to extract data files for odhcp6c. Package debris may remain!
* opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: I/O error.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/odhcp6c.list: I/O error.
or
Upgrading dropbear on root from 2017.75-5 to 2017.75-5.1...
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/dropbear_2017.75-5.1_mips_24kc.ipk
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/luci-mod-admin-full.list: No such file or directory.
* wfopen: //usr/lib/opkg/info/odhcp6c.control: I/O error.
* wfopen: //usr/lib/opkg/info/odhcp6c.postinst: I/O error.
* wfopen: //usr/lib/opkg/info/odhcp6c.prerm: I/O error.
* wfopen: /lib/netifd/dhcpv6.script: I/O error.
* wfopen: /lib/netifd/proto/dhcpv6.sh: I/O error.
* wfopen: /usr/sbin/odhcp6c: I/O error.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/odhcp6c.list: I/O error.
* opkg_install_pkg: Failed to extract data files for odhcp6c. Package debris may remain!
* copy_file: unable to open `/etc/dropbear/dropbear_rsa_host_key-opkg.backup': I/O error.
* file_copy: Failed to copy file /etc/dropbear/dropbear_rsa_host_key to /etc/dropbear/dropbear_rsa_host_key-opkg.backup.
* backup_make_backup: Failed to copy /etc/dropbear/dropbear_rsa_host_key to /etc/dropbear/dropbear_rsa_host_key-opkg.backup
* opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: I/O error.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/odhcp6c.list: I/O error.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/dropbear.list: I/O error.
I thought it was the same problem about small flash memory size routers not able to save configuration, but 32MB is not that small.
Do you need more information ? I would like to test with 17.01.6 also
Have a look at dmesg and logread, maybe that provides some hints (maybe the flash chip is dying). There should be error messages concering I/O errors and/ or failure to mount the overlay - perhaps that can also provides hints about the reasons.
I've been running OpenWrt/LEDE on that device for years, currently up to LEDE 17.01.5 but not the latest 18.06.x releases. As you said, 32MB flash is a lot so I don't see you anywhere near running out on a fresh install. There have also been past problems with opkg on limited RAM systems, but 64MB seem like enough once again.
In addition to the suggestions from @slh, what happens if you manually try to read the initial file it can't open? What about the output of mount and df?
I'm curious about all this as I planned to also upgrade my device to 18.06 soon.
Everything seems ok in dmesg and below some overlay related lines:
[ 0.905676] Searching for RedBoot partition table in physmap-flash at offset 0x1fc0000
[ 0.929177] Searching for RedBoot partition table in physmap-flash at offset 0x1fe0000
[ 0.952632] No RedBoot partition table detected in physmap-flash
[ 0.959117] Creating 5 MTD partitions on "physmap-flash":
[ 0.964568] 0x000000000000-0x000000040000 : "u-boot"
[ 0.971964] 0x000000040000-0x000000060000 : "u-boot-env"
[ 0.979918] 0x000000060000-0x000001fc0000 : "firmware"
[ 0.992957] 2 uimage-fw partitions found on MTD device firmware
[ 0.998964] 0x000000060000-0x0000001addb6 : "kernel"
[ 1.005910] 0x0000001addb6-0x000001fc0000 : "rootfs"
[ 1.013139] mtd: device 4 (rootfs) set to be root filesystem
[ 1.018869] 1 squashfs-split partitions found on MTD device rootfs
[ 1.025160] 0x000000400000-0x000001fc0000 : "rootfs_data"
[ 1.033280] 0x000001fc0000-0x000001fe0000 : "user_property"
[ 1.041501] 0x000001fe0000-0x000002000000 : "art"
[ 8.225239] jffs2: notice: (406) 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.242411] mount_root: switching to jffs2 overlay
[ 10.664378] jffs2: notice: (407) check_node_data: wrong data CRC in data node at 0x00da5224: read 0x9110713, calculated 0x205efb8f.
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock5 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2560 2560 0 100% /rom
tmpfs 30160 536 29624 2% /tmp
/dev/mtdblock5 28416 1000 27416 4% /overlay
overlayfs:/overlay 28416 1000 27416 4% /
tmpfs 512 0 512 0% /dev
What's best method to recreate jffs2/overlay partition like first_boot ?
I removed wpad-mini in order to install wpad, but now I don't have access to Internet for router.
Fabio
By invoking the firstboot tool, ideally from the failsafe environment (as the overlay isn't mounted in that case, allowing firstboot to reformat instead of just deleting the files from it).
Ok, I executed firstboot from failsafe, set password, configured wifi from webgui and changed lan ip to 192.168.11.1 cause 192.168.1.0/24 collides with WWAN, and reboot
This is dmesg from first boot
[ 28.952078] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 28.985685] jffs2_build_filesystem(): unlocking the mtd device...
[ 28.991799] done.
[ 28.993739] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 116.328996] random: crng init done
[ 181.655270] done.
[ 181.657271] jffs2: notice: (1153) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Trying to install new package
root@OpenWrt:~# opkg install diffutils
Installing diffutils (3.6-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/diffutils_3.6-1_mips_24kc.ipk
Collected errors:
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/diffutils.list: I/O error.
* opkg_install_pkg: Failed to extract data files for diffutils. Package debris may remain!
* opkg_install_cmd: Cannot install package diffutils.
* opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: I/O error.
root@OpenWrt:~#
Try increasing the verbosity of opkg using -V (4 is the highest). Also you could try downloading the package first and experiment with various parameters for installing, like tmp-dir and lists-dir. I assume the /usr/lib/opkg/info/diffuti* files were installed by the opkg install command above, meaning writing seems to work for everything except the list file.
I would like to post verbose output of opkg -V4 install lsof,
but it's 179000 bytes and exceed 32k limit, also on debian pastebin.
How can I show you the output ?
root@OpenWrt:/usr/lib/opkg/info# opkg -V3 install bzip2
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
opkg_prepare_url_for_install: applying abpkg flag to bzip2
pkg_hash_load_feeds:
flag_related_packages: propagating pkg flag to dependent abpkg kernel
flag_related_packages: propagating pkg flag to dependent abpkg kmod-mac80211
flag_related_packages: propagating pkg flag to dependent abpkg kmod-ath
flag_related_packages: propagating pkg flag to dependent abpkg kmod-hwmon-core
pkg_parse_line: propagating abpkg flag to pkg kmod-ath
pkg_parse_line: propagating abpkg flag to pkg kmod-hwmon-core
pkg_parse_line: propagating abpkg flag to pkg kmod-mac80211
flag_related_packages: propagating pkg flag to dependent abpkg kmod-cfg80211
flag_related_packages: propagating pkg flag to dependent abpkg hostapd-common
flag_related_packages: propagating pkg flag to dependent abpkg libc
flag_related_packages: propagating pkg flag to dependent abpkg kmod-ath10k-ct
pkg_parse_line: propagating abpkg flag to pkg bzip2
flag_related_packages: propagating pkg flag to dependent abpkg libbz2
flag_related_packages: propagating pkg flag to dependent abpkg libubus
flag_related_packages: propagating pkg flag to dependent abpkg libnettle
flag_related_packages: propagating pkg flag to dependent abpkg kmod-ipt-ipset
flag_related_packages: propagating pkg flag to dependent abpkg libnetfilter-conntrack
flag_related_packages: propagating pkg flag to dependent abpkg kmod-gre
flag_related_packages: propagating pkg flag to dependent abpkg kmod-gre6
flag_related_packages: propagating pkg flag to dependent abpkg resolveip
pkg_parse_line: propagating abpkg flag to pkg hostapd-common
flag_related_packages: propagating pkg flag to dependent abpkg libnl-tiny
flag_related_packages: propagating pkg flag to dependent abpkg libmnl
pkg_parse_line: propagating abpkg flag to pkg libbz2
pkg_parse_line: propagating abpkg flag to pkg libmnl
flag_related_packages: propagating pkg flag to dependent abpkg terminfo
pkg_parse_line: propagating abpkg flag to pkg libnetfilter-conntrack
flag_related_packages: propagating pkg flag to dependent abpkg libnfnetlink
flag_related_packages: propagating pkg flag to dependent abpkg kmod-nf-conntrack-netlink
pkg_parse_line: propagating abpkg flag to pkg libnettle
flag_related_packages: propagating pkg flag to dependent abpkg libgmp
pkg_parse_line: propagating abpkg flag to pkg libnfnetlink
pkg_parse_line: propagating abpkg flag to pkg libnl-tiny
pkg_parse_line: propagating abpkg flag to pkg libubus
flag_related_packages: propagating pkg flag to dependent abpkg libubox
flag_related_packages: propagating pkg flag to dependent abpkg kmod-tun
flag_related_packages: propagating pkg flag to dependent abpkg liblzo
flag_related_packages: propagating pkg flag to dependent abpkg libmbedtls
flag_related_packages: propagating pkg flag to dependent abpkg libopenssl
pkg_parse_line: propagating abpkg flag to pkg resolveip
pkg_parse_line: propagating abpkg flag to pkg terminfo
flag_related_packages: propagating pkg flag to dependent abpkg libavahi-dbus-support
flag_related_packages: propagating pkg flag to dependent abpkg libexpat
flag_related_packages: propagating pkg flag to dependent abpkg librt
flag_related_packages: propagating pkg flag to dependent abpkg libdaemon
flag_related_packages: propagating pkg flag to dependent abpkg libavahi-nodbus-support
flag_related_packages: propagating pkg flag to dependent abpkg libncurses
flag_related_packages: propagating pkg flag to dependent abpkg zlib
flag_related_packages: propagating pkg flag to dependent abpkg libgd
pkg_parse_line: propagating abpkg flag to pkg libavahi-dbus-support
flag_related_packages: propagating pkg flag to dependent abpkg dbus
pkg_parse_line: propagating abpkg flag to pkg libavahi-nodbus-support
flag_related_packages: propagating pkg flag to dependent abpkg libpthread
pkg_parse_line: propagating abpkg flag to pkg libdaemon
flag_related_packages: propagating pkg flag to dependent abpkg libxml2
flag_related_packages: propagating pkg flag to dependent abpkg libdb47
flag_related_packages: propagating pkg flag to dependent abpkg uclibcxx
pkg_parse_line: propagating abpkg flag to pkg libexpat
flag_related_packages: propagating pkg flag to dependent abpkg alsa-lib
flag_related_packages: propagating pkg flag to dependent abpkg libopus
flag_related_packages: propagating pkg flag to dependent abpkg shine
pkg_parse_line: propagating abpkg flag to pkg libgd
flag_related_packages: propagating pkg flag to dependent abpkg libjpeg
flag_related_packages: propagating pkg flag to dependent abpkg libpng
pkg_parse_line: propagating abpkg flag to pkg libjpeg
flag_related_packages: propagating pkg flag to dependent abpkg libatomic
flag_related_packages: propagating pkg flag to dependent abpkg libstdcpp
flag_related_packages: propagating pkg flag to dependent abpkg libcares
pkg_parse_line: propagating abpkg flag to pkg libopus
pkg_parse_line: propagating abpkg flag to pkg libpng
flag_related_packages: propagating pkg flag to dependent abpkg libevdev
flag_related_packages: propagating pkg flag to conflicting abpkg libudev
flag_related_packages: propagating pkg flag to conflicting abpkg eudev
flag_related_packages: propagating pkg flag to conflicting abpkg udev
parse_providelist: propagating provided abpkg flag to provider abpkg libudev-fbsd
flag_related_packages: propagating pkg flag to dependent abpkg libcap
flag_related_packages: propagating pkg flag to dependent abpkg libuv
pkg_parse_line: propagating abpkg flag to pkg libxml2
flag_related_packages: propagating pkg flag to dependent abpkg libuuid
flag_related_packages: propagating pkg flag to dependent abpkg libsodium
...
flag_related_packages: propagating pkg flag to dependent abpkg libavahi-client
flag_related_packages: propagating pkg flag to dependent abpkg sbc
pkg_parse_line: propagating abpkg flag to pkg sbc
flag_related_packages: propagating pkg flag to dependent abpkg libconfig
flag_related_packages: propagating pkg flag to dependent abpkg libpopt
flag_related_packages: propagating pkg flag to dependent abpkg libsoxr
pkg_parse_line: propagating abpkg flag to pkg shine
flag_related_packages: propagating pkg flag to dependent abpkg libvorbis
flag_related_packages: propagating pkg flag to dependent abpkg libfaad2
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg terminfo
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libc
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libevdev
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libjpeg
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libopus
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libpthread
...
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libavahi-dbus-support
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libdb47
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libffmpeg
pkg_hash_load_package_details: Found 86 packages requiring details, reloading feeds
pkg_hash_load_feeds:
pkg_parse_line: propagating abpkg flag to pkg kmod-ath10k-ct
pkg_parse_line: propagating abpkg flag to pkg kmod-ath
pkg_parse_line: propagating abpkg flag to pkg kmod-cfg80211
flag_related_packages: propagating pkg flag to dependent abpkg iw
flag_related_packages: propagating pkg flag to dependent abpkg wireless-regdb
pkg_parse_line: propagating abpkg flag to pkg kmod-gre6
flag_related_packages: propagating pkg flag to dependent abpkg kmod-iptunnel
flag_related_packages: propagating pkg flag to dependent abpkg kmod-ip6-tunnel
pkg_parse_line: propagating abpkg flag to pkg kmod-gre
pkg_parse_line: propagating abpkg flag to pkg kmod-hwmon-core
pkg_parse_line: propagating abpkg flag to pkg kmod-ip6-tunnel
flag_related_packages: propagating pkg flag to dependent abpkg kmod-iptunnel6
pkg_parse_line: propagating abpkg flag to pkg kmod-ipt-ipset
flag_related_packages: propagating pkg flag to dependent abpkg kmod-ipt-core
flag_related_packages: propagating pkg flag to dependent abpkg kmod-nfnetlink
pkg_parse_line: propagating abpkg flag to pkg kmod-iptunnel6
pkg_parse_line: propagating abpkg flag to pkg kmod-iptunnel
pkg_parse_line: propagating abpkg flag to pkg kmod-mac80211
pkg_parse_line: propagating abpkg flag to pkg kmod-nf-conntrack-netlink
flag_related_packages: propagating pkg flag to dependent abpkg kmod-ipt-conntrack
pkg_parse_line: propagating abpkg flag to pkg kmod-nfnetlink
pkg_parse_line: propagating abpkg flag to pkg kmod-tun
pkg_parse_line: propagating abpkg flag to pkg libatomic
flag_related_packages: propagating pkg flag to dependent abpkg libgcc
pkg_parse_line: propagating abpkg flag to pkg libgcc
pkg_parse_line: propagating abpkg flag to pkg libpthread
pkg_parse_line: propagating abpkg flag to pkg librt
pkg_parse_line: propagating abpkg flag to pkg libstdcpp
pkg_parse_line: propagating abpkg flag to pkg bzip2
...
pkg_parse_line: propagating abpkg flag to pkg zlib
pkg_parse_line: propagating abpkg flag to pkg alsa-lib
flag_related_packages: propagating pkg flag to dependent abpkg kmod-sound-core
pkg_parse_line: propagating abpkg flag to pkg boost-container
pkg_parse_line: propagating abpkg flag to pkg boost
pkg_parse_line: propagating abpkg flag to pkg dbus
flag_related_packages: propagating pkg flag to dependent abpkg libdbus
pkg_parse_line: propagating abpkg flag to pkg libaio
pkg_parse_line: propagating abpkg flag to pkg libavahi-client
flag_related_packages: propagating pkg flag to dependent abpkg avahi-dbus-daemon
pkg_parse_line: propagating abpkg flag to pkg libavahi-dbus-support
pkg_parse_line: propagating abpkg flag to pkg libavahi-nodbus-support
pkg_parse_line: propagating abpkg flag to pkg libcap
pkg_parse_line: propagating abpkg flag to pkg libcares
pkg_parse_line: propagating abpkg flag to pkg libdaemon
pkg_parse_line: propagating abpkg flag to pkg libdb47
pkg_parse_line: propagating abpkg flag to pkg libdbus
pkg_parse_line: propagating abpkg flag to pkg libevdev
pkg_parse_line: propagating abpkg flag to pkg libexpat
pkg_parse_line: propagating abpkg flag to pkg libfaad2
parse_providelist: propagating provided abpkg flag to provider abpkg libffmpeg-audio-dec
parse_providelist: propagating provided abpkg flag to provider abpkg libffmpeg-full
parse_providelist: propagating provided abpkg flag to provider abpkg libffmpeg-mini
pkg_parse_line: propagating abpkg flag to pkg libflac
pkg_parse_line: propagating abpkg flag to pkg libgd
pkg_parse_line: propagating abpkg flag to pkg libid3tag
...
pkg_parse_line: propagating abpkg flag to pkg libuv
pkg_parse_line: propagating abpkg flag to pkg libvorbis
flag_related_packages: propagating pkg flag to dependent abpkg libogg
pkg_parse_line: propagating abpkg flag to pkg libvorbisidec
pkg_parse_line: propagating abpkg flag to pkg libwebsockets-openssl
pkg_parse_line: propagating abpkg flag to pkg libwrap
pkg_parse_line: propagating abpkg flag to pkg libxml2
pkg_parse_line: propagating abpkg flag to pkg sbc
pkg_parse_line: propagating abpkg flag to pkg shine
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg terminfo
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libc
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg avahi-dbus-daemon
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-ip6-tunnel
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libevdev
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libjpeg
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libopus
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libpthread
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg iw
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg alsa-lib
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-gre6
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmpg123
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libatomic
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-nfnetlink
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-tun
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libvorbisidec
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libdbus
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg liblzma
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libcurl
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libogg
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-gre
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libcap
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libavahi-client
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-ipt-conntrack
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libudev-fbsd
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libpcre
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libgd
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmms
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libconfig
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmnl
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libnettle
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg bzip2
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg sbc
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg resolveip
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmbedtls
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libflac
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libwrap
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-iptunnel
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libaio
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libffmpeg-audio-dec
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libudev
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libvorbis
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libxml2
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libsodium
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libupnp
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libdaemon
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libpng
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libwebsockets-openssl
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg dbus
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libnetfilter-conntrack
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-hwmon-core
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libsoxr
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libstdcpp
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libltdl
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libgcc
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmosquitto-ssl
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libuuid
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libubox
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-sound-core
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg eudev
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg liblzo
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg librt
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-mac80211
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg uclibcxx
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libavahi-nodbus-support
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libsndfile
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-nf-conntrack-netlink
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg udev
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg shine
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libncurses
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-ipt-core
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libuv
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libcares
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libshout
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-ipt-ipset
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libnfnetlink
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libubus
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-iptunnel6
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg boost
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmosquitto-nossl
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg zlib
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-ath10k-ct
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libid3tag
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libgmp
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-ath
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libexpat
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kernel
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libnl-tiny
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libbz2
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libfaad2
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg boost-container
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libmpdclient
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libpopt
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libffmpeg-mini
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg hostapd-common
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libopenssl
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg wireless-regdb
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-cfg80211
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libavahi-dbus-support
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libdb47
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg libffmpeg-full
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libffmpeg
pkg_hash_load_package_details: Found 16 packages requiring details, reloading feeds
pkg_hash_load_feeds:
pkg_parse_line: propagating abpkg flag to pkg kmod-ath10k-ct
pkg_parse_line: propagating abpkg flag to pkg kmod-ath
pkg_parse_line: propagating abpkg flag to pkg kmod-cfg80211
pkg_parse_line: propagating abpkg flag to pkg kmod-gre6
pkg_parse_line: propagating abpkg flag to pkg kmod-gre
pkg_parse_line: propagating abpkg flag to pkg kmod-hwmon-core
pkg_parse_line: propagating abpkg flag to pkg kmod-ip6-tunnel
pkg_parse_line: propagating abpkg flag to pkg kmod-ipt-conntrack
flag_related_packages: propagating pkg flag to dependent abpkg kmod-nf-conntrack
pkg_parse_line: propagating abpkg flag to pkg kmod-ipt-core
flag_related_packages: propagating pkg flag to dependent abpkg kmod-nf-reject
flag_related_packages: propagating pkg flag to dependent abpkg kmod-nf-ipt
pkg_parse_line: propagating abpkg flag to pkg kmod-ipt-ipset
pkg_parse_line: propagating abpkg flag to pkg kmod-iptunnel6
pkg_parse_line: propagating abpkg flag to pkg kmod-iptunnel
pkg_parse_line: propagating abpkg flag to pkg kmod-mac80211
pkg_parse_line: propagating abpkg flag to pkg kmod-nf-conntrack-netlink
pkg_parse_line: propagating abpkg flag to pkg kmod-nf-conntrack
pkg_parse_line: propagating abpkg flag to pkg kmod-nf-ipt
pkg_parse_line: propagating abpkg flag to pkg kmod-nf-reject
pkg_parse_line: propagating abpkg flag to pkg kmod-nfnetlink
pkg_parse_line: propagating abpkg flag to pkg kmod-sound-core
flag_related_packages: propagating pkg flag to dependent abpkg kmod-input-core
pkg_parse_line: propagating abpkg flag to pkg kmod-tun
pkg_parse_line: propagating abpkg flag to pkg libatomic
pkg_parse_line: propagating abpkg flag to pkg libgcc
pkg_parse_line: propagating abpkg flag to pkg libpthread
...
pkg_parse_line: propagating abpkg flag to pkg libwrap
pkg_parse_line: propagating abpkg flag to pkg libxml2
pkg_parse_line: propagating abpkg flag to pkg sbc
pkg_parse_line: propagating abpkg flag to pkg shine
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg terminfo
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libc
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg avahi-dbus-daemon
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-ip6-tunnel
...
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libavahi-client
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-ipt-conntrack
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-nf-reject
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libudev-fbsd
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-input-core
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libpcre
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libgd
...
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libvorbis
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libxml2
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-nf-ipt
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libsodium
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libupnp
...
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libnfnetlink
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libubus
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg kmod-nf-conntrack
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-iptunnel6
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg boost
...
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libffmpeg-full
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libffmpeg
pkg_hash_load_package_details: Found 4 packages requiring details, reloading feeds
pkg_hash_load_feeds:
pkg_parse_line: propagating abpkg flag to pkg kmod-ath10k-ct
pkg_parse_line: propagating abpkg flag to pkg kmod-ath
pkg_parse_line: propagating abpkg flag to pkg kmod-cfg80211
pkg_parse_line: propagating abpkg flag to pkg kmod-gre6
pkg_parse_line: propagating abpkg flag to pkg kmod-gre
...
pkg_parse_line: propagating abpkg flag to pkg libwrap
pkg_parse_line: propagating abpkg flag to pkg libxml2
pkg_parse_line: propagating abpkg flag to pkg sbc
pkg_parse_line: propagating abpkg flag to pkg shine
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg terminfo
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libc
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg avahi-dbus-daemon
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg kmod-ip6-tunnel
...
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libffmpeg-full
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg libffmpeg
pkg_hash_load_status_files:
flag_related_packages: propagating pkg flag to dependent abpkg libiwinfo
flag_related_packages: propagating pkg flag to dependent abpkg uclient-fetch
...
flag_related_packages: propagating pkg flag to dependent abpkg kmod-pppoe
flag_related_packages: propagating pkg flag to dependent abpkg kmod-nf-nat
pkg_info_preinstall_check: Updating file owner list.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for bzip2:
pkg_hash_fetch_best_installation_candidate: Adding bzip2 to providers.
pkg_hash_fetch_best_installation_candidate: bzip2 arch=mips_24kc arch_priority=10 version=1.0.6.
pkg_hash_fetch_best_installation_candidate: Candidate: bzip2 1.0.6.
pkg_arch_supported: Arch mips_24kc (priority 10) supported for pkg bzip2.
Installing bzip2 (1.0.6-4) to root...
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/bzip2_1.0.6-4_mips_24kc.ipk
pkg_hash_fetch_best_installation_candidate: Best installation candidate for libc:
pkg_hash_fetch_best_installation_candidate: Adding libc to providers.
pkg_hash_fetch_best_installation_candidate: libc arch=mips_24kc arch_priority=10 version=1.1.19.
pkg_hash_fetch_best_installation_candidate: Candidate: libc 1.1.19.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x83e050
pkg_hash_fetch_best_installation_candidate: Best installation candidate for libbz2:
pkg_hash_fetch_best_installation_candidate: Adding libbz2 to providers.
pkg_hash_fetch_best_installation_candidate: libbz2 arch=mips_24kc arch_priority=10 version=1.0.6.
pkg_hash_fetch_best_installation_candidate: Using latest matching libbz2 1.0.6 mips_24kc.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0
pkg_hash_fetch_best_installation_candidate: Best installation candidate for libbz2:
pkg_hash_fetch_best_installation_candidate: Adding libbz2 to providers.
pkg_hash_fetch_best_installation_candidate: libbz2 arch=mips_24kc arch_priority=10 version=1.0.6.
pkg_hash_fetch_best_installation_candidate: Candidate: libbz2 1.0.6.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x7701acc0
pkg_hash_fetch_best_installation_candidate: Best installation candidate for libc:
pkg_hash_fetch_best_installation_candidate: Adding libc to providers.
pkg_hash_fetch_best_installation_candidate: libc arch=mips_24kc arch_priority=10 version=1.1.19.
pkg_hash_fetch_best_installation_candidate: Candidate: libc 1.1.19.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x83e050
pkg_arch_supported: Arch mips_24kc (priority 10) supported for pkg libbz2.
Installing libbz2 (1.0.6-4) to root...
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/libbz2_1.0.6-4_mips_24kc.ipk
pkg_run_script: Running script /tmp/opkg-caCMoE/libbz2-cambAj/preinst.
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for libbz2.
install_data_files: Extracting data files to /.
install_data_files: Calling pkg_write_filelist.
pkg_write_filelist: Creating //usr/lib/opkg/info/libbz2.list file for pkg libbz2.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
opkg_recurse_pkgs_in_order: pkg iwinfo.
opkg_recurse_pkgs_in_order: Descending on pkg libc.
opkg_recurse_pkgs_in_order: pkg libc.
opkg_recurse_pkgs_in_order: Descending on pkg libgcc.
opkg_recurse_pkgs_in_order: pkg libgcc.
...
opkg_recurse_pkgs_in_order: pkg kmod-pppoe already visited, skipping.
opkg_recurse_pkgs_in_order: pkg kmod-ipt-nat already visited, skipping.
write_status_files_if_changed: Writing status file.
pkg_write_changed_filelists: Saving changed filelists.
hash_table: pkg-hash, 12288 bytes
n_buckets=1024, n_elements=1787, n_collisions=942
max_bucket_len=6, n_used_buckets=845, ave_bucket_len=2.11
n_hits=68871, n_misses=18675
hash_table: file-hash, 12288 bytes
n_buckets=1024, n_elements=732, n_collisions=195
max_bucket_len=4, n_used_buckets=537, ave_bucket_len=1.36
n_hits=0, n_misses=743
hash_table: obs-file-hash, 768 bytes
n_buckets=64, n_elements=0, n_collisions=0
max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
n_hits=0, n_misses=11
Collected errors:
* wfopen: //usr/lib/opkg/info/libbz2.control: I/O error.
* wfopen: //usr/lib/opkg/info/libbz2.postinst: I/O error.
* wfopen: //usr/lib/opkg/info/libbz2.prerm: I/O error.
* extract_archive: Cannot create symlink from ./usr/lib/libbz2.so.1.0 to 'libbz2.so.1.0.6': I/O error.
* wfopen: /usr/lib/libbz2.so.1.0.6: I/O error.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/libbz2.list: I/O error.
* opkg_install_pkg: Failed to extract data files for libbz2. Package debris may remain!
* opkg_install_cmd: Cannot install package bzip2.
* opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: I/O error.
root@OpenWrt:/usr/lib/opkg/info#
I could try with 17.01.6 or with development snapshot to check if it behaves different. I will wait some more time to know if you need more data or tests from me using 18.06.1
Is it good to upgrade with sysupgrade -n -p -v openwrtfile.. ? Or do you prefer different options ?
thank you
I already flashed 2 times with sysupgrade without keeping settings, once with tftp and also gave firstboot command from failsafe. So I suppose jffs has been recreated each time, and problem persist.
From your linked page: Note: for most routers, “firstboot” actually just issues a “jffs2reset” command, so there is no difference compared to the “hard reset” advice below.
Also when I did firstboot I got the following as stated before:
[ 28.952078] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 28.985685] jffs2_build_filesystem(): unlocking the mtd device...
[ 28.991799] done.
[ 28.993739] jffs2_build_filesystem(): erasing all blocks after the end marker...