Adding Live Buffer to HD-FOX by UPD

Code:
humax# cat /tmp/rag.log

--------- Info for Modinit PID 260 ---------
260: Date:       Sat Jan  1 00:00:10 GMT 2000
260: MDEV:       sda1
260: ACTION:     add
260: Model:      HD
260: Device:     /dev/sda1

260:01/01/2000 00:00: sda1 is candidate for mod [/media/drive1]
260:01/01/2000 00:00: Waiting for disk to become ready...
260:01/01/2000 00:00:   disk ready after 0 seconds
260:01/01/2000 00:00: /dev/sda1 is formatted as ext2/3
260:01/01/2000 00:00: Waiting for the disk to mount...
260:01/01/2000 00:00:   /dev/sda1 mounted on /media/drive1
260:01/01/2000 00:00:   mounted after 0 seconds.
260:01/01/2000 00:00: +++ Running modinit +++
260:01/01/2000 00:00: +++ Modinit complete +++
260:01/01/2000 00:00: Scanning /media/drive1 for packages/bundles
ls: /media/drive1/Video: Input/output error
260:01/01/2000 00:00: Source files
260:01/01/2000 00:00: ------------
260:01/01/2000 00:00: drwxr-xr-x 2 root root 4096 Jan 1 00:02 Audio
260:01/01/2000 00:00: -rw-r--r-- 1 root root 5120 Mar 26 2013 epg.db.load
260:01/01/2000 00:00: -rw-r--r-- 1 root root 3116572 Mar 26 2013 epgsavedata
260:01/01/2000 00:00: drwx------ 2 root root 16384 Jan 1 00:02 lost+found
260:01/01/2000 00:00: drwxr-xr-x 7 root root 4096 Jan 1 00:02 mod
260:01/01/2000 00:00: Checking for bundles.
260:01/01/2000 00:00: Checking for packages.
humax#
 
The I/O error is worrying but modinit ran so can you post /tmp/modinit.log ?
 
This is from a subsequent run, but it looks like the IO errors are the problem:
Code:
Connecting to 192.168.1.64:23
Connected.
Menu version 1.05
Enter system PIN: ****

      /-------------------------\
      |  T E L N E T   M E N U  |
      \-------------------------/

  [ Humax HD-Fox T2 (HDFOX1) 1.02.29/2.15 ]

    1 - Restart into maintenance mode.
    2 - Remove web interface password.
 stat - Show what the box is currently doing.
    x - Exit and close connection.
 diag - Run a diagnostic.
  cli - System command line (advanced users).

Please select option: cli

-----------------------------------------------------------------------
Now starting a system command prompt. You can make this the default by
enabling 'Expert mode telnet server' on the web interface settings page.
-----------------------------------------------------------------------

Humax HD-Fox T2 (HDFOX1) 1.02.29/2.15

To return to the menu, type: exit

humax# cat /tmp/rag.log

--------- Info for Modinit PID 262 ---------
262: Date:       Sat Jan  1 00:00:10 GMT 2000
262: MDEV:       sda1
262: ACTION:     add
262: Model:      HD
262: Device:     /dev/sda1

262:01/01/2000 00:00: sda1 is candidate for mod [/media/drive1]
262:01/01/2000 00:00: Waiting for disk to become ready...
262:01/01/2000 00:00:   disk ready after 0 seconds
262:01/01/2000 00:00: /dev/sda1 is formatted as ext2/3
262:01/01/2000 00:00: Waiting for the disk to mount...
262:01/01/2000 00:00:   /dev/sda1 mounted on /media/drive1
262:01/01/2000 00:00:   mounted after 0 seconds.
262:01/01/2000 00:00: +++ Running modinit +++
262:01/01/2000 00:00: +++ Modinit complete +++
262:01/01/2000 00:00: Scanning /media/drive1 for packages/bundles
ls: /media/drive1/Video: Input/output error
262:01/01/2000 00:00: Source files
262:01/01/2000 00:00: ------------
262:01/01/2000 00:00: drwxr-xr-x 2 root root 4096 Jan 1 00:02 Audio
262:01/01/2000 00:00: -rw-r--r-- 1 root root 5120 Mar 26 2013 epg.db.load
262:01/01/2000 00:00: -rw-r--r-- 1 root root 3117720 Mar 26 2013 epgsavedata
262:01/01/2000 00:00: drwx------ 2 root root 16384 Jan 1 00:02 lost+found
262:01/01/2000 00:00: drwxr-xr-x 7 root root 4096 Jan 1 00:02 mod
262:01/01/2000 00:00: Checking for bundles.
262:01/01/2000 00:00: Checking for packages.
humax# cat /tmp/modinit.log
=== Sat Jan  1 00:00:10 GMT 2000 - modinit - setup_hosts ===========================
=== Sat Jan  1 00:00:11 GMT 2000 - setup hosts ===========================
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
    Interface: [eth0]
    IP: [192.168.1.64]
=== Sat Jan  1 00:00:11 GMT 2000 - complete ===========================
=== Sat Jan  1 00:00:11 GMT 2000 - modinit - ===========================
=== Sat Jan  1 00:00:11 GMT 2000 - diag ===========================
Filesystem                Size      Used Available Use% Mounted on
/dev/root                16.4M     16.4M         0 100% /
tmpfs                    61.0M     32.0K     61.0M   0% /tmp
tmpfs                    61.0M         0     61.0M   0% /media
/dev/mtdblock1            2.0M    468.0K      1.5M  23% /var/lib/humaxtv
/dev/mtdblock2            2.0M      1.3M    732.0K  64% /var/lib/humaxtv_backup
/dev/sda1                29.8G     47.0M     29.8G   0% /media/drive1

eth0      Link encap:Ethernet  HWaddr 00:03:78:9B:E8:81  
          inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:786 (786.0 B)  TX bytes:664 (664.0 B)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


  PID USER       VSZ STAT COMMAND
    1 root      1244 S    init
    2 root         0 SW   [migration/0]
    3 root         0 SWN  [ksoftirqd/0]
    4 root         0 SW   [migration/1]
    5 root         0 SWN  [ksoftirqd/1]
    6 root         0 SW<  [events/0]
    7 root         0 SW<  [events/1]
    8 root         0 SW<  [khelper]
    9 root         0 SW<  [kthread]
   10 root         0 SW<  [kblockd/0]
   11 root         0 SW<  [kblockd/1]
   12 root         0 SW<  [khubd]
   13 root         0 SW<  [kseriod]
   14 root         0 SW   [pdflush]
   15 root         0 SW   [pdflush]
   16 root         0 SW<  [kswapd0]
   17 root         0 SW<  [aio/0]
   18 root         0 SW<  [aio/1]
   19 root         0 SW<  [ata/0]
   20 root         0 SW<  [ata/1]
   21 root         0 SW<  [ata_aux]
   22 root         0 SW<  [scsi_eh_0]
   23 root         0 SW<  [scsi_eh_1]
   24 root         0 SW   [mtdblockd]
   25 root         0 SW<  [kpsmoused]
   26 root      1240 S    {rcS} /bin/sh /etc/init.d/rcS
   71 root         0 SWN  [jffs2_gcd_mtd1]
   72 root         0 SWN  [jffs2_gcd_mtd2]
  124 root         0 SW<  [scsi_eh_2]
  125 root         0 SW<  [usb-storage]
  128 nobody     936 S    /usr/bin/dnsmasq
  134 root       812 S    /sbin/utelnetd -l /bin/tmenu -p 23 -d -B
  158 root      1244 S    {S90settop} /bin/sh /etc/init.d/S90settop start
  174 root      304m R    /usr/bin/humaxtv
  279 root      1252 S <  {run-and-gun} /bin/sh /etc/mdev/run-and-gun
  351 root      1516 S    udhcpc -t 5 -T 10 -p /var/lib/humaxtv/udhcpc.eth0.pid -i eth0
  370 root      1248 S <  {modinit} /bin/sh /sbin/modinit
  381 root      1236 R <  ps -w

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
default         O2WirelessBox.l 0.0.0.0         UG    0      0        0 eth0

=== Sat Jan  1 00:00:11 GMT 2000 - reset all ===========================
=== Sat Jan  1 00:00:11 GMT 2000 - rma ===========================
=== Sat Jan  1 00:00:11 GMT 2000 - ugprade bootmod ===========================
=== Sat Jan  1 00:00:11 GMT 2000 - setup directories ===========================
mkdir: can't create directory '/mod/var/': Input/output error
humax#
 
That got it. After a bit of reading I fired up my EeePC netbook and opened a command console, then:
Code:
sudo bash
fdisk -l (to identify the flash drive)
umount /dev/sdc1
mkfs -t ext2 /dev/sdc1

Plugged the result into HD1 and bingo, the installation web page appeared. Conclusion: the ext2 conversion process in the Telnet maintenance mode menu isn't thorough enough.
 
Hellfire. I plugged the 32GB UPD into HDR3 and got this:
Code:
HDRFOX3# ls media
HDRFOX1/  My Music@ My Photo@ My Video@ drive1/   drive2/
HDRFOX3# cd media/drive2
HDRFOX3# ls
ls: ./mod: Input/output error
lost+found/
HDRFOX3#
 
I have now acquired a Verbatim 32GB Pinstripe to trial. I used a Parted Magic live boot on my PC to format it Ext2 and then rsync the content of my operational UPD to it. I plugged the 32GB into the HD-FOX in place of the usual UPD and booted, expecting everything to be as normal and.. no CF.
 
Back
Top