PDA

View Full Version : Help required with kissdx on MSS


1932tudor
10-02-07, 12:07
Hi
I have tried to install kissdx on my MSS with OpenMSS.
In telnet I have done the following:

ipkg install http://ipkg-us-dyoung.nslu2-linux.org/feeds/optware/mss/cross/unstable/libdvdread_0.9.4-2_mipsel.ipk

ipkg install http://ipkg-us-dyoung.nslu2-linux.org/feeds/optware/mss/cross/unstable/libjpeg_6b-2_mipsel.ipk

ipkg install http://ipkg-us-dyoung.nslu2-linux.org/feeds/optware/mss/cross/unstable/kissdx_0.13-10a-1_mipsel.ipk

After I have edited my kissdx.conf with
vi /opt/etc/kissdx.conf
I have started kissdx

But I get the following message:
pidof: not found


Can someone help me ??
Much appreciated
Thomas

vit
10-02-07, 12:14
It seems pidof is missing on the MSS. There is a way around it:

Edit the file /opt/etc/init.d/S83kissdx

You will find a section like this:

if [ -n "`pidof kissdx`" ]; then
killall kissdx 2>/dev/null
fi

Change that to only this:

killall kissdx 2>/dev/null

That should fix it. If there's still a problem, remove the killall line too.

1932tudor
10-02-07, 12:29
Thanks for the quick response

I can open the file with
vi /opt/etc/init.d/S83kissdx
but I am not able to change anything !?

Thomas
[/b]

1932tudor
10-02-07, 14:41
As I am not able to edit the S83kissdx I have just typed:

# OPTWARE_TARGET=mss
# /opt/bin/kissdx -kd >/dev/null 2>&1

It executes without any message.
But when I then check with ps if kissdx is running, I don't see it in the list.

Also I can't connet to the mss with my KISS

As you see I am an absoluty novice to Linux, but maybe someone can help me again.
Thanks
Thomas

vit
10-02-07, 16:07
> It executes without any message.

When the -d option is used, kissdx will not output any messages, not even errors. Instead it writes to the syslog. Check the syslog file if you have one.

> But when I then check with ps if kissdx is running, I don't see it in the list.

That probably means that kissdx exited because of an error in the kissdx.conf file. The error message will be in the syslog.

If you don't find the syslog, you can just start kissdx manually from the command line, without the -d option. Then any messages from kissdx will be output to the telnet console:

/opt/bin/kissdx -k

When you finally get it working this way, press Ctrl+C to terminate kissdx, and start it with the S83kissdx file to have it run in the background.

1932tudor
10-02-07, 16:22
When I start kissdx manually I get:

/opt/bin/kissdx: error while loading shared libraries: /opt/bin/kissdx: symbol scandir64, version GLIBC_2.2 not defined in file libc.so.6 with link time reference


Any more hints?
THANKS!

Thomas

vit
10-02-07, 17:31
When I start kissdx manually I get:

/opt/bin/kissdx: error while loading shared libraries: /opt/bin/kissdx: symbol scandir64, version GLIBC_2.2 not defined in file libc.so.6 with link time reference

Never seen that one before. :-( It seems kissdx was compiled for OpenMSS with a different libc than the one you have on your MSS.

Do you have the latest OpenMSS firmware?

If yes, do your have multiple libc.so.6 files on your system? What do you get if you do this:

find / -name 'libc.so*'

If you find multiple files, check the version of each by executing each of them. E.g.:

/lib/libc.so.6

If you find different versions, pick the newest version file and add its directory at the start of your library path before trying to start kissdx again. E.g. if you found /opt/lib/libc.so.6 then run this command:

export LD_LIBRARY_PATH="/opt/lib:$LD_LIBRARY_PATH"

That's all the advice I can give. Anyone else with a MSS and more info?

vit
10-02-07, 17:41
One more thing: I see that you installed the packages from the feed at http://ipkg-us-dyoung.nslu2-linux.org/feeds/optware/mss/cross/unstable/

You may want to try this feed instead:
http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/

You should probably ipkg remove all three packages before installing them again from the new feed.

1932tudor
10-02-07, 18:06
I have now done the following:

ipkg remove kissdx
ipkg remove libdvdread
ipkg remove libjpeg

ipkg install http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/libdvdread_0.9.4-2_mipsel.ipk
ipkg install http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/libjpeg_6b-2_mipsel.ipk
ipkg install http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/kissdx_0.13-10a-1_mipsel.ipk
/opt/bin/kissdx -k


After that I get exactly the same error message :cry:

I have checked libc.so.6 and its only one time in the system.
When I type:
/lib/libc.so.6
I get: SIGSEGV

What I also need to mention: After downloading installation of kissdx I will be noticed: kissdx: unsatisfied recommendation for gconv-modules

And I can confirm that I have the latest 2.6.2-openmss1-rc2 firmware.

Can you go on with some more hints.... :lol:

THANKS
Thomas

vit
11-02-07, 01:39
See this page: http://www.openmss.org/Development/Optware

At the bottom it says: "Some applications may require that you copy the contents of /opt/brcm/hndtools-mipsel-linux/mipsel-linux/lib to your mss’s /opt/lib"

Maybe that is the case for kissdx? But instead of copying the files as suggested, I would set LD_LIBRARY_PATH. It should have the same effect, and you don't risk overwriting files in /opt/lib that are needed by other programs.

Did you try running this before running kissdx, as I suggested earlier:

export LD_LIBRARY_PATH="/opt/lib:$LD_LIBRARY_PATH"

If it doesn't help, try this:

export LD_LIBRARY_PATH="/opt/brcm/hndtools-mipsel-linux/mipsel-linux/lib:/opt/lib:$LD_LIBRARY_PATH"

1932tudor
11-02-07, 10:32
Error message remains the same... :cry:

vit
11-02-07, 13:37
Error message remains the same... :cry:
Do you actually have a directory called /opt/brcm/hndtools-mipsel-linux/mipsel-linux/lib on your system?

If yes, do you see any libc.so files in there?

1932tudor
11-02-07, 13:47
No, there isn't such directory.

There isn't even a /opt/brcm

vit
11-02-07, 13:57
No, there isn't such directory.

There isn't even a /opt/brcm
I'm starting to think you have the wrong OpenMSS firmware. There are firmware alternatives here:
http://www.openmss.org/Firmware/OpenMSS

I don't know much about OpenMSS, could someone else chip in here please?

1932tudor
12-02-07, 22:07
Hello
Got some help at http://www.openmss.org/forum/viewtopic.php?p=2957#2957 which enables me to update the content of my /opt/lib directory.


Now I have the error message:
Inconsistency detected by ld.so: dl-version.c: 218: _dl_check_map_versions: Assertion 'needed != ((void *)0)' failed!

@vit:
Have you come across that before ??

THANKS
Thomas

vit
12-02-07, 22:47
Never seen that one before, sorry.

vit
15-02-07, 23:19
Hello again. I did some more reading today and found this thread (http://www.openmss.org/forum/viewtopic.php?t=233&highlight=dlcheckmapversions&sid=9e19422a128510a7fc49422b62d359fe) that mentions your problem.

So try this before starting kissdx:

export LD_LIBRARY_PATH=/lib:/opt/lib

The important thing is having /lib first in the list.

1932tudor
16-02-07, 21:32
Thank you vit for being so frindly to still looking after my problem.
I have removed and installed all components and entered the above command before I started kissdx.

But the error message keeps the same.

Thomas

vit
16-02-07, 21:52
But the error message keeps the same.
OK, let's just give up then :(

...until hopefully someone who got kissdx working on OpenMSS chips in to tell us how they did it. :?: