* pkg_write_filelist: Failed to open /mod/var/opkg/info/jim.list: Input/output error.
* opkg_install_pkg: Failed to extract data files for jim. Package debris may remain!
* opkg_install_cmd: Cannot install package webif.
Error installing packages. Please try again.
Is the FTP working. If so copy everything off, even encrypted stuff, format the disk load the factory firmware, then the CF, then ftp all the files back. The CF will then decrypt the files.Ok thanks for the tip, another USB stick is now working.
Just put the CF on, but the WebIF full install is still failing:
Code:* pkg_write_filelist: Failed to open /mod/var/opkg/info/jim.list: Input/output error. * opkg_install_pkg: Failed to extract data files for jim. Package debris may remain! * opkg_install_cmd: Cannot install package webif. Error installing packages. Please try again.
I could do a HDD format, but I'd really like to get all my programs off first.
humax# ls -la
ls: ./jim.list: Input/output error
drwxr-xr-x 2 root root 12288 Jul 31 19:23 .
drwxrwxrwx 4 root root 4096 Jul 31 17:54 ..
?---rwxrwx 72 4194389 3932223 5570623 Dec 13 1901 inotify-tools.list
?--x--xrwx 124 4128844 6160401 4980815 Apr 5 1970 jim-oo.control
?--x-wxrw- 40960 100 root 6553694 Mar 17 1970 jim-oo.list
?--------- 82 32768 -21474832189591170 Mar 4 1970 jim-sqlite3.control
?--x------ 78 4587596 5111868 4980800 Mar 1 1970 jim-sqlite3.list
-rw-r--r-- 1 root root 173 Jan 28 2012 jim.control
-rw-r--r-- 1 root root 18 Apr 13 2011 mongoose.conffiles
-rw-r--r-- 1 root root 195 Jan 19 2012 mongoose.control
-rw-rw-rw- 1 root root 96 Jul 31 17:54 mongoose.list
-rwxr-xr-x 1 root root 481 Jan 19 2012 mongoose.postinst
-rwxr-xr-x 1 root root 53 Apr 13 2011 mongoose.prerm
-rw-r--r-- 1 root root 190 Jun 28 18:53 webif-channelicons.control
-rw-rw-rw- 1 root root 35954 Jul 31 17:54 webif-channelicons.list
humax#
humax#
I'm not sure what the fix-disk package does but it probably automates what I suggest you do :
humax# umount /dev/sda1
humax# umount /dev/sda2
humax# umount /dev/sda3
humax# e2fsck /dev/sda1
e2fsck 1.41.14 (22-Dec-2010)
/dev/sda1 has been mounted 140 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create<y>? yes
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 14/65808 files (7.1% non-contiguous), 14394/263064 blocks
humax# e2fsck /dev/sda2
e2fsck 1.41.14 (22-Dec-2010)
/dev/sda2 has been mounted 140 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes
Inode 23028466 was part of the orphaned inode list. FIXED.
Inode 23028466 has a extra size (346) which is invalid
Fix<y>? yes
Inode 23028467 has EXTENTS_FL flag set on filesystem without extents support.
Clear<y>? yes
Inode 23028468 has EXTENTS_FL flag set on filesystem without extents support.
Clear<y>? yes
Inode 23028469 was part of the orphaned inode list. FIXED.
Inode 23028470 has EXTENTS_FL flag set on filesystem without extents support.
Clear<y>? yes
Inode 23028472 is in use, but has dtime set. Fix<y>? yes
Inode 23028474 has EXTENTS_FL flag set on filesystem without extents support.
Clear<y>? yes
-------------
Pass 2: Checking directory structure
Entry '..' in ??? (23029396) has deleted/unused inode 23028471. Clear<y>? yes
Entry 'lib' in /mod (23027713) has deleted/unused inode 23028471. Clear<y>? yes
Entry 'inotifywait' in /mod/bin (23027714) has deleted/unused inode 23028475. Clear<y>? yes
Entry '..' in ??? (25854062) has deleted/unused inode 23028471. Clear<y>? yes
Entry 'jim-oo.list' in /mod/var/opkg/info-old (23027725) has deleted/unused inode 23028474. Clear<y>? yes
Inode 23028478 (/mod/var/opkg/info-old/jim-sqlite3.control) has invalid mode (00).
Clear<y>? yes
e2fsck: Memory allocation failed while retrying to read bitmaps for /dev/sda2
e2fsck: aborted
humax#
I think this is what af123 is refering to in #30failed on pass 2 due to lack of memory.
export PATH=/bin:/sbin
/var/lib/humaxtv/mod/fix-disk
/mod/bin/busybox/md5sum /bin/busybox /var/lib/humaxtv/mod/fix-disk /var/lib/humaxtv/mod/minibb /mod/bin/busybox/busybox /sbin/e2fsck /lib/libc.so.0 /lib/ld-uClibc.so.0 /lib/libcrypt.so.0 /lib/libpthread.so.0 /lib/libdl.so.0
1f749c76f4e88c3966b6b979fc8829c3 /bin/busybox
0d40008aff1cd81801f957311fe18283 /var/lib/humaxtv/mod/fix-disk
efb97f04463b79dcc20a21b168c2d9f1 /var/lib/humaxtv/mod/minibb
b588c1d0957f629a91f0867c4f0a95d2 /mod/bin/busybox/busybox
d3927abb22ff5cea8113a000a5a910e3 /sbin/e2fsck
c0ca5235f4c79369c2750dd8f5bd8bab /lib/libc.so.0
d8d9d222f8934cf6fb2235bf04103245 /lib/ld-uClibc.so.0
66e5589c43bf85713ef1afed4b96b327 /lib/libcrypt.so.0
e049d123e73afaf690e19948040ebabb /lib/libpthread.so.0
a1b5a77ab03e276b7a18dcbc60724df5 /lib/libdl.so.0