Oscam-emu can not start.

spanner123

Registered
Messages
37
I have updated binary the same as always and Oscam will not start. Anyone else having same problem? Vu+ solo2 openvix
 

juli13

Staff member
Administrator
Messages
10,198
The oscam runs fine.

Try to run it via telnet and tell us the error.
 

antrabe

Registered
Messages
530
i use the same version and im having problems with dm7080 on discoverys 0.8W begin to works but after 5s the picture is freeze and i can hear the audio but the picture is stoped
 

nautilus7

VIP
Messages
607
Maybe it's the libcrypto that is required now. Maybe the version of openssl (libcrypto is part of it) against which it was compiled (dynamically linked) is different than the version in his image.


spanner123, open cmd in windows and run the following commands:

"telnet <your ip of your box>", e.g. "telnet 192.168.1.21"

then type "root", when asked for username

and then type "openssl version"


@juli13 which is the openssl version in your toolchain?
 

juli13

Staff member
Administrator
Messages
10,198
I will check the ssl version when i get home.

As i remember libcrypto is 0.9.8
 

spanner123

Registered
Messages
37
Maybe it's the libcrypto that is required now. Maybe the version of openssl (libcrypto is part of it) against which it was compiled (dynamically linked) is different than the version in his image.


spanner123, open cmd in windows and run the following commands:

"telnet <your ip of your box>", e.g. "telnet 192.168.1.21"

then type "root", when asked for username

and then type "openssl version"


@juli13 which is the openssl version in your toolchain?

Could not get command prompt to recognise commands but via dreambox control centre it brings up openssl 1.0.2m 2 nov 2017
 

dxdy

VIP
Messages
669
i had same problem with oscam-svn11509-795-arm_dm900-solo4k-webif-oscam-emu-patched.tar.gz (always before used this dm900-solo4k and worked perfect)
solved problem with this version: oscam-svn11509-795-arm_dream-webif-oscam-emu-patched.tar.gz

with oscam-11509-arm_dream-emu from juli13 never had problem, start always
 

nautilus7

VIP
Messages
607
I will check the ssl version when i get home.

As i remember libcrypto is 0.9.8
well, this version is ancient anyway. Is this a toolchain from simplebuild?

Probably this is why is does not work (his image has version 1.0.2).

You can build with static libcrypto from now on, so your binaries don't rely on image's libcrypto.

There is a bug in oscam right now that prevents building with static libcrypto, though. I am working on it.
 

juli13

Staff member
Administrator
Messages
10,198
well, this version is ancient anyway. Is this a toolchain from simplebuild?

Probably this is why is does not work (his image has version 1.0.2).

You can build with static libcrypto from now on, so your binaries don't rely on image's libcrypto.

There is a bug in oscam right now that prevents building with static libcrypto, though. I am working on it.

You know, even though we change the libcrypto versio, there will be people who have old image with old library.

The static library will be better choise
 

nautilus7

VIP
Messages
607
Thanks that is working fine. But why is it double the size of all the others?
Also log is showing total available descramblers as 16, is this correct for a solo2?

size is bigger because all necessary crypto functions are copied from libcrypto and are included in the binary. That what's "static linking" means.

On the other hand, "dynamic linking" means that the oscam binary will use an external libcrypto for whatever crypto function it needs.


Regarding descramblers...
Make a log with debug 128. It must include the boot up of oscam-emu, because any error message will be at the beginning.
 
Last edited:

nautilus7

VIP
Messages
607
You know, even though we change the libcrypto versio, there will be people who have old image with old library.

The static library will be better choise

Yes, of course, using static linking is guaranteed to work. From 11512 and on you should be able to statically link libcrypto when compiling oscam-emu.
 

spanner123

Registered
Messages
37
size is bigger because all necessary crypto functions are copied from libcrypto and are included in the binary. That what's "static linking" means.

On the other hand, "dynamic linking" means that the oscam binary will use an external libcrypto for whatever crypto function it needs.


Regarding descramblers...
Make a log with debug 128. It must include the boot up of oscam-emu, because any error message will be at the beginning.



2019/04/10 08:43:34 00000000 s (main) System name = Linux
2019/04/10 08:43:34 00000000 s (main) Host name = xbox
2019/04/10 08:43:34 00000000 s (main) Release = 3.13.5
2019/04/10 08:43:34 00000000 s (main) Version = #1 SMP Mon Feb 18 17:00:34 GMT 2019
2019/04/10 08:43:34 00000000 s (main) Machine = mips
2019/04/10 08:43:34 00000000 s (main) Stb model = dm8000
2019/04/10 08:43:34 00000000 s (main) Stb vumodel = vusolo2
2019/04/10 08:43:34 00000000 s (main) Stb boxtype = vusolo2
2019/04/10 08:43:34 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 19998
2019/04/10 08:43:34 00000000 s (emu) OSCam-Emu version 794
2019/04/10 08:43:34 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2019/04/10 08:43:34 00000000 s (main) signal handling initialized
2019/04/10 08:43:34 00000000 s (config) 3 provid's loaded
2019/04/10 08:43:34 00000000 s (config) 34 service-id's loaded in 1 ms
2019/04/10 08:43:34 00000000 s (reader) emulator [emu] creating thread for device emulator
2019/04/10 08:43:34 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
2019/04/10 08:43:34 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
2019/04/10 08:43:34 00000000 s (anticasc) anti cascading disabled
2019/04/10 08:43:34 6F65CD9A c (client) plain dvbapi-client granted (dvbapiuser, au=auto (5 reader))
2019/04/10 08:43:34 7051761C r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2019/04/10 08:43:34 6F65CD9A c (dvbapi) dvbapi channelcache loaded from /var/tuxbox/config/oscam.ccache
2019/04/10 08:43:34 6F65CD9A c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
2019/04/10 08:43:34 6F65CD9A c (dvbapi) Detected /dev/dvb/adapter0/ca0 device, total available descramblers: 16
2019/04/10 08:43:34 0F03884B h (webif) webif: decompressed 167574 bytes back into 411904 bytes
2019/04/10 08:43:34 0F03884B h (webif) HTTP Server running. ip=0.0.0.0 port=9000
2019/04/10 08:43:35 7051761C r (reader) emulator [emu] card detected
2019/04/10 08:43:36 7051761C r (reader) emulator [emu] found card system emu
2019/04/10 08:43:36 7051761C r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2019/04/10 08:43:36 7051761C r (emu) Reading key file: /var/tuxbox/config/SoftCam.Key
2019/04/10 08:43:36 7051761C r (emu) Total keys in memory: W:23 V:37 N:4 I:7 S:2 F:194 P:754 D:0 T:167 A:0

Is this ok?
 

nautilus7

VIP
Messages
607
Hi, yes log is ok, and emu is ok, unfortunately for you.

Code:
2019/04/10 08:43:34 6F65CD9A c (dvbapi) Detected /dev/dvb/adapter0/ca0 device, total available descramblers: 16

This is the number of descramblers that your box responds with to oscam's question. I thought it could be something wrong and oscam did not get an answer so it used the default which is 16, but it seems there is no problem.

Another thing, just in case... How many adapters are listed under /dev/dvb/ ??? I would bet only adapter0, right?
 

spanner123

Registered
Messages
37
Hi, yes log is ok, and emu is ok, unfortunately for you.

Code:
2019/04/10 08:43:34 6F65CD9A c (dvbapi) Detected /dev/dvb/adapter0/ca0 device, total available descramblers: 16

This is the number of descramblers that your box responds with to oscam's question. I thought it could be something wrong and oscam did not get an answer so it used the default which is 16, but it seems there is no problem.

Another thing, just in case... How many adapters are listed under /dev/dvb/ ??? I would bet only adapter0, right?

You are correct nautilus adapter0 only!
 
Top