Sign up here and you can log into the forum!

Optware for WDLXTV Live

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Re: Optware for WDLXTV Live   

Postby jaromil » Sat Dec 04, 2010 10:32 am

hi vike,

vike wrote:
just gave it a try but the issue is still here:

# ./optware-install.sh

[...]

and one more thing I'd like to mention, before optware installation my $PATH (you can find it in /tmp/sys.path also) is something like:

/apps/wdmon/bin:/apps/wdlxtv_optware/bin:/apps/rrdtool/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

but after then I got in $PATH something like:

/apps/wdlxtv_optware/bin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin

it'd be great to have all the others apps in $PATH and just append to /tmp/sys.path content what we need: /opt/bin:/opt/sbin:...

Thanks for the efforts, I really appreciate it.


i've made some updates and fixes (see git history), happy if you can help with further debugging. also I've realized that right after running optware-install.sh to activate the wrappers and have ipkg working you need to logout and login again... does the perl bug is still there then?

your mention of the PATH problem is right, right now we overwrite all the PATH disregarding of other applications existing, i'll fix this ASAP else feel free to submit a patch. BTW i didn't knew /tmp/sys.path - is that a way to update the path at runtime?
still, with optware we might need more than that since its wrappers must come early in the PATH...
Jaromil, developer @ Dyne.org
GPG: B2D9 9376 BFB2 60B7 601F 5B62 F6D3 FBD9 C2B6 8E39
User avatar
jaromil
Developer
 
Posts: 61
Joined: Tue Aug 24, 2010 5:03 am
Location: Am★dam

Re: Optware for WDLXTV Live   

Postby marvelm » Sat Jan 08, 2011 11:25 am

Hi Jaromil,

I've just been playing around with your optware for the HD Live (to get python running), and I ran into the same issue with libdl.so.0. But the solution is quite simple, and does not require to compile it. The uclibc project already provides a precompiled version of that lib for the mipsel processor here: http://uclibc.org/downloads/binaries/0.9.30/cross-compiler-mipsel.tar.bz2. The one in that package works great.
marvelm
n00b
 
Posts: 2
Joined: Sat Jan 08, 2011 11:15 am

Re: Optware for WDLXTV Live   

Postby allidea » Tue Jan 11, 2011 8:20 am

OK, guys have you finally managed to solve problem with 'libdl.so.0'? As I do not understand much of what you are talking about (yeah Win user I am ;-) and I need a solution.

So here is my problem, can you please help me out to solve it?

Before upgrading to 1.03.49_0.4.5.3 from 1.02.21_0.4.5.1 I had installed mc (Midnight Commander, and used it as well) on my WDTVLIVE via ipkg. For some reason after upgrading to new fw I decided to run "ipkg update" and "ipkg upgrade" and for some reason I lost ability to run mc. I have uninstalled it and tried re-installing, but I always get the same error:

# ipkg install mc
Installing mc (4.7.0.9-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable//mc_4.7.0.9-1_mipsel.ipk
Configuring bzip2
/opt/bin/bash: can't load library 'libdl.so.0'
postinst script returned status 16
ERROR: bzip2.postinst returned 16
Configuring mc
Configuring ncurses
/opt/bin/bash: can't load library 'libdl.so.0'
postinst script returned status 16
ERROR: ncurses.postinst returned 16
Successfully terminated.

the problem is definitely in 'libdl.so.0' but does anyone know how to fix it?
Actually ipgk upgrade caused this:
# ipkg upgrade
Configuring bzip2
/opt/bin/bash: can't load library 'libdl.so.0'
postinst script returned status 16
ERROR: bzip2.postinst returned 16
Configuring ncurses
/opt/bin/bash: can't load library 'libdl.so.0'
postinst script returned status 16
ERROR: ncurses.postinst returned 16
Nothing to be done
Successfully terminated.

Now whenever I try to run ipkg I always get error "/opt/bin/bash: can't load library 'libdl.so.0'". How can I fix this? And why it worked before and now it does not? Thanx.
Have a problem? Visit Tweak Master's House Of Useful Tricks.
Ad 1) I tend to find a solution by myself just after I submit a new post asking others to do it for me.
Ad 2) Proud to be *nix n00b - not because I prefer m$, rather I'm trying to get better at it!
allidea
WDTVer
 
Posts: 28
Joined: Wed Dec 22, 2010 4:12 am

Re: Optware for WDLXTV Live   

Postby b-rad.cc » Tue Jan 11, 2011 8:18 pm

optware opt.bin

Here's a standard Optware opt.bin for wdlxtv-g2 & wdlxtv-live/plus. It's 512MB and can be used like any app.bin, no need to have an ext3 filesystem around. I have included libdl & libnsl from 0.9.30 since they are the two libs missing.

I have fixed the /opt $PATH issue in crazymount, so that in the next wdlxtv release /opt/bin & /opt/sbin don't override built in binaries.

Good job on the initial build & creation jaromil :ugeek:
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Optware for WDLXTV Live   

Postby rkpisanu » Wed Jan 12, 2011 2:34 am

b-rad.cc wrote:optware opt.bin

Here's a standard Optware opt.bin for wdlxtv-g2 & wdlxtv-live/plus. It's 512MB and can be used like any app.bin, no need to have an ext3 filesystem around. I have included libdl & libnsl from 0.9.30 since they are the two libs missing.

I have fixed the /opt $PATH issue in crazymount, so that in the next wdlxtv release /opt/bin & /opt/sbin don't override built in binaries.

Good job on the initial build & creation jaromil :ugeek:


Nice to read this goodnews :)

Thanks B-Rad and Jaromil
rkpisanu
WDTVer
 
Posts: 44
Joined: Tue Dec 07, 2010 10:07 am
Location: Milan - Italy

Re: Optware for WDLXTV Live   

Postby allidea » Wed Jan 12, 2011 7:22 am

b-rad.cc wrote:optware opt.bin

Here's a standard Optware opt.bin for wdlxtv-g2 & wdlxtv-live/plus. It's 512MB and can be used like any app.bin, no need to have an ext3 filesystem around. I have included libdl & libnsl from 0.9.30 since they are the two libs missing.

I have fixed the /opt $PATH issue in crazymount, so that in the next wdlxtv release /opt/bin & /opt/sbin don't override built in binaries.

Good job on the initial build & creation jaromil :ugeek:


I have placed opt.bin you provided on my fat formatted usb drive attached to wdtvlive, but now all I get is:
# ipkg
-sh: ipkg: not found

why is that happening? It worked with previous version v0.2.

This is from my bug report:

Jan 1 00:00:16 (none) user.notice kernel: Linux version 2.6.22.19-19-4 (andy@SVN-server) (gcc version 4.3.2 (Sourcery G++ Lite 4.3-51) ) #7 PREEMPT Thu Nov 18 22:53:05 CST 2010
Jan 1 00:00:16 (none) user.info kernel: tango3dog: Hardware Watchdog Timer for SMP864x/SMP865x 0.1 (def. timeout: 30 sec)
Jan 1 00:00:16 (none) user.notice root: 1.02.21.WDLXTV_LIVE-0.4.5.3
Jan 1 01:00:21 (none) user.notice init: /dev/sda1: LABEL="WDLXTV EXT3" UUID="1AFF-2E28" TYPE="vfat"
Jan 1 01:00:21 (none) user.notice usb.agent: sda1
Jan 1 01:00:21 (none) user.notice xmount: xmounted /dev/sda1 WDLXTV.EXT3 vfat codepage=1250,utf8
Jan 1 01:00:23 (none) user.notice crazymount: checking /dev/sda1 for app.bins
Jan 1 01:00:23 (none) user.notice crazymount: ddclient app found
Jan 1 01:00:23 (none) user.notice crazymount: Mounting ddclient.app.bin at /apps/ddclient
Jan 1 01:00:24 (none) user.notice crazymount: adjusting PATH: /apps/ddclient/bin
Jan 1 01:00:24 (none) user.notice crazymount: noip app found
Jan 1 01:00:24 (none) user.notice crazymount: Mounting noip.app.bin at /apps/noip
Jan 1 01:00:24 (none) user.notice crazymount: adjusting PATH: /apps/noip/bin
Jan 1 01:00:24 (none) user.notice crazymount: Mounting Optware
Jan 1 01:00:25 (none) user.notice crazymount: wdmon app found
Jan 1 01:00:25 (none) user.notice crazymount: Mounting wdmon.app.bin at /apps/wdmon
Jan 1 01:00:25 (none) user.notice crazymount: adjusting PATH: /apps/wdmon/bin
Jan 1 01:00:25 (none) user.notice crazymount: .wdtvext-plugins directory found on /dev/sda1
Jan 1 01:00:25 (none) user.notice crazymount: extension[s] found on /dev/sda1:/tmp/mnt/1AFF-2E28 - do not remove device from wdtv
Jan 1 01:00:26 (none) user.notice mount.watch: starting
Jan 1 01:02:00 (none) user.notice load.webplugin: add nzbgetweb, create link and starter-icon, with icon disappear function
Jan 1 01:02:00 (none) user.notice load.webplugin: add daemon status and start/stop option for nzbgetweb in builtin section
Jan 1 01:02:00 (none) user.notice load.webplugin: add rtorrent, create link and starter-icon, with icon disappear function
Jan 1 01:02:00 (none) user.notice load.webplugin: add daemon status and start/stop option for rtorrent in builtin section
Jan 1 01:02:00 (none) user.notice load.webplugin: add umsp, create link and starter-icon, with icon disappear function
Jan 1 01:02:00 (none) user.notice load.webplugin: add daemon status and start/stop option for umsp in builtin section
Jan 1 01:02:00 (none) user.notice load.webplugin: add mt-daapd, create link and starter-icon, with icon disappear function
Jan 1 01:02:00 (none) user.notice load.webplugin: add daemon status and start/stop option for mt-daapd in builtin section
Jan 1 01:02:00 (none) user.notice load.webplugin: add ddclient, create link and starter-icon, with icon disappear function
Jan 1 01:02:00 (none) user.notice load.webplugin: add daemon status and start/stop option for ddclient in plugin section
Jan 1 01:02:00 (none) user.notice S64umsp: starting UMSP
Jan 1 01:02:00 (none) user.notice S64umsp: Obtaining svn UMSP plugins...
Jan 1 01:02:01 (none) user.notice S64umsp: exporting all umsp plugins from svn
Jan 1 01:02:02 (none) user.notice load.web_managed_daemons: add system daemon status and start/stop option for FTP Server
Jan 1 01:02:02 (none) user.notice load.web_managed_daemons: add system daemon status and start/stop option for Samba Server
Jan 1 01:02:02 (none) user.notice load.web_managed_daemons: add system daemon status and start/stop option for SSH Daemon
Jan 1 01:02:02 (none) user.notice load.web_managed_daemons: add system daemon status and start/stop option for Telnet Daemon
Jan 1 01:02:02 (none) user.notice load.web_managed_daemons: add system daemon status and start/stop option for NFS Server
Jan 1 01:02:02 (none) user.notice load.webplugin: add nzbgetweb, create link and starter-icon, with icon disappear function
Jan 1 01:02:02 (none) user.notice load.webplugin: add daemon status and start/stop option for nzbgetweb in builtin section
Jan 1 01:02:02 (none) user.notice load.webplugin: add rtorrent, create link and starter-icon, with icon disappear function
Jan 1 01:02:02 (none) user.notice load.webplugin: add daemon status and start/stop option for rtorrent in builtin section
Jan 1 01:02:02 (none) user.notice load.webplugin: add mt-daapd, create link and starter-icon, with icon disappear function
Jan 1 01:02:02 (none) user.notice load.webplugin: add daemon status and start/stop option for mt-daapd in builtin section
Jan 1 01:02:03 (none) user.notice load.webplugin: add ddclient, create link and starter-icon, with icon disappear function
Jan 1 01:02:03 (none) user.notice load.webplugin: add daemon status and start/stop option for ddclient in plugin section
Jan 1 01:02:03 (none) user.notice load.webplugin: add umsp, create link and starter-icon, with icon disappear function
Jan 1 01:02:03 (none) user.notice load.webplugin: add daemon status and start/stop option for umsp in builtin section
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling MediaMark.plugin.js (/tmp/wdtvext-plugins/MediaMark/MediaMark.plugin.js)
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling MediaNavigationV2.plugin.js (/tmp/wdtvext-plugins/MediaNavigationV2/MediaNavigationV2.plugin.js)
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling SleepTimer.plugin.js (/tmp/wdtvext-plugins/SleepTimer/SleepTimer.plugin.js)
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling SubDownloader.plugin.js (/tmp/wdtvext-plugins/SubDownloader/SubDownloader.plugin.js)
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling Tools.plugin.js (/tmp/wdtvext-plugins/Tools/Tools.plugin.js)
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling VolumeControlOSD.plugin.js (/tmp/wdtvext-plugins/VolumeControl/VolumeControlOSD.plugin.js)
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling CDManager.plugin.js
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling Shoutcast.plugin.js
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling HideMenus.plugin.js
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling MovieSheet.plugin.js
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: gen: enabling Reloader.plugin.js
Jan 1 01:02:05 (none) user.notice wdlxtv.watch: wdlxtv.watch starting...
Jan 1 01:02:05 (none) user.notice wdtvext-plugman: bg-process: waiting for internet connection...
Jan 1 01:02:06 (none) user.notice wdlxtv.watch: USBICONS=OFF
Jan 1 01:02:07 (none) user.notice vidthumb-change: Switching to movie thumb view to std
Jan 1 01:02:07 (none) user.notice genthumb-change: Switching to default 15 music/photo thumb view
Jan 1 01:02:07 (none) user.notice wdlxtv.watch: Switching to list view to std
Jan 1 01:02:08 (none) user.notice nfsd-gen: NFSD_AUTO enabled, but NFSD_AUTO_DEFAULT not set!!!
Jan 1 01:02:08 (none) user.notice youtube-switch: Switching YouTube to youtubeHD
Jan 1 01:02:09 (none) user.notice load.webplugin: add mt-daapd, create link and starter-icon, with icon disappear function
Jan 1 01:02:09 (none) user.notice load.webplugin: add daemon status and start/stop option for mt-daapd in builtin section
Jan 1 01:02:09 (none) user.notice load.webplugin: add ddclient, create link and starter-icon, with icon disappear function
Jan 1 01:02:09 (none) user.notice load.webplugin: add daemon status and start/stop option for ddclient in plugin section
Jan 1 01:02:10 (none) user.notice load.webplugin: add umsp, create link and starter-icon, with icon disappear function
Jan 1 01:02:10 (none) user.notice load.webplugin: add daemon status and start/stop option for umsp in builtin section
Jan 1 01:02:10 (none) user.notice load.webplugin: add nzbgetweb, create link and starter-icon, with icon disappear function
Jan 1 01:02:10 (none) user.notice load.webplugin: add daemon status and start/stop option for nzbgetweb in builtin section
Jan 1 01:02:10 (none) user.notice load.webplugin: add rtorrent, create link and starter-icon, with icon disappear function
Jan 1 01:02:10 (none) user.notice load.webplugin: add daemon status and start/stop option for rtorrent in builtin section
Jan 1 01:02:12 (none) user.notice load.webplugin: add mt-daapd, create link and starter-icon, with icon disappear function
Jan 1 01:02:12 (none) user.notice load.webplugin: add daemon status and start/stop option for mt-daapd in builtin section
Jan 1 01:02:12 (none) user.notice load.webplugin: add ddclient, create link and starter-icon, with icon disappear function
Jan 1 01:02:12 (none) user.notice load.webplugin: add daemon status and start/stop option for ddclient in plugin section
Jan 1 01:02:12 (none) user.notice load.webplugin: add umsp, create link and starter-icon, with icon disappear function
Jan 1 01:02:12 (none) user.notice load.webplugin: add daemon status and start/stop option for umsp in builtin section
Jan 1 01:02:12 (none) user.notice load.webplugin: add nzbgetweb, create link and starter-icon, with icon disappear function
Jan 1 01:02:12 (none) user.notice load.webplugin: add daemon status and start/stop option for nzbgetweb in builtin section
Jan 1 01:02:13 (none) user.notice load.webplugin: add rtorrent, create link and starter-icon, with icon disappear function
Jan 1 01:02:13 (none) user.notice load.webplugin: add daemon status and start/stop option for rtorrent in builtin section
Jan 1 01:02:13 (none) user.notice load.webplugin: add WDMon, create link and starter-icon, with icon disappear function
Jan 1 01:02:13 (none) user.notice load.webplugin: add daemon status and start/stop option for WDMon in plugin section
Jan 1 01:02:24 (none) user.notice nfsd-gen: NFSD_AUTO enabled, but NFSD_AUTO_DEFAULT not set!!!
Jan 1 01:02:24 (none) user.notice ifconfig: ifconfig command intercepted: ifconfig eth0 0.0.0.0
Jan 1 01:02:24 (none) user.notice ifconfig: command ignored
Jan 1 01:02:24 (none) user.notice ifconfig: ifconfig command intercepted: ifconfig eth0 down
Jan 1 01:02:24 (none) user.notice ifconfig: command ignored
Jan 1 01:02:32 (none) user.notice mount.watch: Unmounting official device /tmp/media/usb/WDLXTV.EXT3
Jan 1 01:02:37 (none) user.notice nfsd-gen: NFSD_AUTO enabled, but NFSD_AUTO_DEFAULT not set!!!
Jan 1 01:02:42 (none) user.notice ifconfig: ifconfig command intercepted: ifconfig eth0 up
Jan 1 01:02:44 (none) user.notice nfsd-gen: NFSD_AUTO enabled, but NFSD_AUTO_DEFAULT not set!!!
Jan 1 01:02:44 (none) user.notice /usr/bin/online-restart-monitor: Internet is available, restarting apache & UMSP!
Jan 1 01:02:49 (none) user.notice S64umsp: starting UMSP
Jan 1 01:02:49 (none) user.notice S64umsp: Obtaining svn UMSP plugins...
Jan 1 01:02:49 (none) user.notice S64umsp: exporting all umsp plugins from svn
Jan 1 01:02:52 (none) daemon.notice ddclient[5050]: SENDING: User-Agent: ddclient/3.7.3
Have a problem? Visit Tweak Master's House Of Useful Tricks.
Ad 1) I tend to find a solution by myself just after I submit a new post asking others to do it for me.
Ad 2) Proud to be *nix n00b - not because I prefer m$, rather I'm trying to get better at it!
allidea
WDTVer
 
Posts: 28
Joined: Wed Dec 22, 2010 4:12 am

Re: Optware for WDLXTV Live   

Postby recliq » Wed Jan 12, 2011 11:47 am

which fw? which wdtv model? ... :roll:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5035
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Optware for WDLXTV Live   

Postby allidea » Wed Jan 12, 2011 12:08 pm

recliq wrote:which fw? which wdtv model? ... :roll:


I have posted in my previous post - http://forum.wdlxtv.com/viewtopic.php?f=40&t=2637&p=25241#p25128

Anyway WDTVLIVE with 1.02.21_0.4.5.3.
mc/ipkg worked just normally with 1.02.21_0.4.5.1. and than I decided to update to 1.03.39_0.4.5.3 which did something with my ipkg/mc after I ran "ipkg update" & "ipkg upgrade".
I also had problems accessing my NAS NFS shares with 1.03.49_0.4.5.3 so I reverted to 1.02.21_0.4.5.1 which I have at the moment.

Hope this helps.
Have a problem? Visit Tweak Master's House Of Useful Tricks.
Ad 1) I tend to find a solution by myself just after I submit a new post asking others to do it for me.
Ad 2) Proud to be *nix n00b - not because I prefer m$, rather I'm trying to get better at it!
allidea
WDTVer
 
Posts: 28
Joined: Wed Dec 22, 2010 4:12 am

Re: Optware for WDLXTV Live   

Postby b-rad.cc » Wed Jan 12, 2011 12:18 pm

depending on what you have installed you'll run into path precedence issues like this in current firmwares using the opt.bin. This is why jaromil had to make the wrapper script. This is fixed in the current dev version and i'll publish it soon.
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Optware for WDLXTV Live   

Postby gunz_drawn » Mon Jan 17, 2011 5:02 pm

Hi,

The optware bin is running fine for me on 0.4.5.3. But I have a problem with python. Suppose i try to run SABnzbd or hellanzb it spits out the following

Code: Select all
python: can't handle reloc type 0x2f


It probably is a problem with ld.so.1 but am not sure.. Any help would be appreciated..
gunz_drawn
n00b
 
Posts: 3
Joined: Tue Nov 30, 2010 3:49 pm

PreviousNext

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 1 guest