Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Oscam geht ständig aus

AW: Oscam geht ständig aus

also bt gibt man direkt nach einem absturz ein, dann werden noch ein paar mehr zeilen mit informationen ausgegeben.

die obige zeile in die datei .gdbinit (mit einem punkt am anfang) im verzeichnis /home/root


die consolen ausgabe vom absturz hast du nicht mehr? :/

- - - - - - - - - -

wenn du es nochmal versuchen willst, dann starte mal mit

Code:
run --config-dir /etc/tuxbox/config/oscam > /etc/tuxbox/config/gdb.log
(also '> /etc/tuxbox/config/gdb.log' anhängen)
und poste dann die gdb.log nach einem absturz
 
AW: Oscam geht ständig aus

ja die habe ich nicht mehr
bt hatte ich sogar direkt danach eingetrage da ich zufällig am Lappi war (also 2min später oder so)

die Datei gibt es nicht im Verzeichnis

ich habe nur

.ash History
enigma2_crash_log
resumepoints.pkl
 
AW: Oscam geht ständig aus

neuer Log
Starting program: /usr/bin/oscam --config-dir /etc/tuxbox/config/oscambt
warning: GDB can't find the start of the function at 0x77fc6d8c.

GDB is unable to find the start of the function at 0x77fc6d8c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x77fc6d8c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

versuch Konsole

debugging will not be available.
warning: GDB can't find the start of the function at 0x77fc8244.
19:19:16 0 s >> OSCam << cardserver started, version 1.20-unstable_svn,
build r9842 (mipsel-unknown-linux-gnu-libusb)
19:19:16 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 19602
19:19:16 0 s signal handling initialized
19:19:16 0 s Emulator [emu] creating thread for device Emulator
19:19:16 0 s loadbalancer: can't read from file /tmp/.oscam/stat
19:19:16 0 s waiting for local card init
19:19:16 77C00468 h webif: decompressed 154340 bytes back into 363672 bytes
19:19:16 77C00468 h HTTP Server running. ip=0.0.0.0 port=8888
19:19:16 58CFA8 r Emulator [emu] Reader initialized (device=Emulator, detect=
d, mhz=357, cardmhz=357)
19:19:18 0 s init for all local cards done
19:19:18 0 s anti cascading disabled
19:19:18 592458 c plain dvbapi-client granted (anonymous, au=off)
19:19:18 592458 c [DVBAPI] Detected /dev/dvb/adapter0/demux0 Api: 0, userconf
g boxtype: 0
19:19:21 592458 c Found 0 ECMpids and 8 STREAMpids in PMT
19:19:21 592458 c [DVBAPI] Receiver wants to demux srvid 2B66 on adapter 0000
camask 0001 index 0000 pmtpid 17D4
19:19:21 592458 c New program number: 2B66 (FFFE:2B66 unknown) [pmt_list_mana
ement 3]

aber er kopiert nicht alles von der Konsole...zu viel
 
AW: Oscam geht ständig aus

dann erstelle einfach eine datei mit dem namen, unter windows ist das etwas schwierig, aber du kannst sie erstmal als gdbinit erstllen und dann mit dem befehl:

Code:
mv gdbinit .gdbinit
umbenennen


mit dem befehl:
Code:
killall oscam
beendest du oscam.

bevor du oscam mit gdb (nach der anleitung von mir) startest, musst du auf jeden fall erstmal oscam beenden falls es schon laufen sollte


btw. dein posteingang ist voll ;)


edit:

erstelle erstmal die .gdbinit datei mit der zeile, sonst funktoniert gdb nicht richtig,

dann starte oscam mit gdb mit der zeile:

Code:
run --config-dir /etc/tuxbox/config/oscam > /etc/tuxbox/config/gdb.log

dann wird die consolen ausgabe in gdb.log gespeichert, und du kannst sie direkt daraus kopieren
 
AW: Oscam geht ständig aus

bei
run --config-dir /etc/tuxbox/config/oscam > /etc/tuxbox/config/gdb.log

passiert nix im Verzeichnis
Console sagt nix

ich habe killall gemacht
starte jetzt wieder mit

gdb /usr/bin/oscam
set logging file /etc/tuxbox/config/oscam/oscam.debug
set logging on
run --config-dir /etc/tuxbox/config/oscam

die Oscam startet nicht mit dem Befehl?
 
AW: Oscam geht ständig aus

so startest du am besten:

Code:
gdb /usr/bin/oscam
set logging file /etc/tuxbox/config/oscam/oscam.debug
set logging on
run --config-dir /etc/tuxbox/config/oscam [B]> /etc/tuxbox/config/gdb.log[/B]

dann wird die consolen ausgabe (zumindest ein großer teil davon) in gdb.log gespeichert (bzw. weitergeleitet, deswegen siehst du dann nix mehr in der console)
 
AW: Oscam geht ständig aus

aber er startet die Oscam nicht
habe eben in der Box selber mal auf neustart gemacht, dann startet die Oscam

wie gesagt, hatte ja das ET4000 OpenPli genommen zum testen
 
AW: Oscam geht ständig aus

das oscam startet dann schon, aber du siehst die ausgabe nicht mehr in der console, da sie nach gdb.log weitergeleitet wird
 
AW: Oscam geht ständig aus

ne, kann die Oscam im WebIf nicht mehr sehen und bekomme auf der anderen Box auch kein Bild
wenn ich im Menü aber Oscam neustart drücke gehts
wieso?
PM sollte wieder gehen
 
AW: Oscam geht ständig aus

über das menü wird oscam ja ohne gdb gestartet, das bringt uns ja nix.

hat es nicht vorher schon geklapt?
notfalls kannste auch das " > /etc/tuxbox/config/gdb.log" weglassen
 
AW: Oscam geht ständig aus

also ich bin mir sicher das ich die 38er Debug Version so gestartet hatte per console
er sagt auch connectet

wie kann ich das testen per console ob er Befehle annimmt
Wenn nicht, wo liegt das StartScript beim OpenPli, dann fügen wir es dort ein, oder geht das nicht?
 
AW: Oscam geht ständig aus

wenn du ohne das "> ..." anhängel startest siehst du ja direkt die oscam ausgabe, das muss auf jeden fall funktionieren

ein start script hilft uns in dem fall nicht

-----

aber wir müßen erst mal das thread debugging zum laufen bekommen, ich teste das gerade bei mir, und schreibe dir dann
 
AW: Oscam geht ständig aus

wenn ich jetzt telnet direkt nutze gebe ich das ein

run --config-dir /etc/tuxbox/config/oscam > /etc/tuxbox/config/gdb.log

es kommt das raus
-sh: run: not found

ich habe den kill Befehl eingegeben per telnet, das ging
oscam ist aus

gdb oscam kommt das hier, jedoch Oscam wird nicht gestartet

-sh: run: not found
root@et4x00:~# gdb /usr/bin/oscam
nfig/oscamGNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-oe-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/oscam...done.
(gdb) set logging file /etc/tuxbox/config/oscam/oscam.debug
(gdb) set logging on
Copying output to /etc/tuxbox/config/oscam/oscam.debug.
(gdb) run --config-dir /etc/tuxbox/config/oscam
 
AW: Oscam geht ständig aus

du musst schon die reihenfolge der befehle beachten:

Code:
gdb /usr/bin/oscam
set logging file /etc/tuxbox/config/oscam/oscam.debug
set logging on
run --config-dir /etc/tuxbox/config/oscam > /etc/tuxbox/config/gdb.log

den "run" befehl kannst du erst nutzen nachdem du gdb gestartet hast

aber momentan haben wir noch das problem dass das thread debuging noch nicht geht, und ich kann gerade nichts testen, da der openpli server down ist
 
AW: Oscam geht ständig aus

ich habe doch nur deins kopiert
wenn er kill macht, sollte doch telnet gehen
habs extra nochmal in windows aktiviert

wenn das eine geht, wieso geht dann nicht das starten der cam von hand

ps.
wo liegt denn das StartScript, mal reinschauen was da drin steht, muss doch an irgendwas liegen das ich sie nicht gestartet bekomme, per OSD es aber geht

Telnet nochmal neugestartet
dann nur /usr/bin/oscam eingetragen

kam dies hier

et4x00 login: root
root@et4x00:~# /usr/bin/oscam
20:14:45 0 s >> OSCam << cardserver started, version 1.20-unstable_svn,
build r9842 (mipsel-unknown-linux-gnu-libusb)
20:14:45 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 27718
20:14:45 0 s signal handling initialized
20:14:45 0 s Emulator [emu] creating thread for device Emulator
20:14:45 0 s loadbalancer: can't read from file /tmp/.oscam/stat
20:14:45 0 s waiting for local card init
20:14:45 76E00468 h webif: decompressed 154340 bytes back into 363672 bytes
20:14:45 76E00468 h HTTP Server couldn't bind on port 8888 (errno=125 Address al
ready in use). Not starting HTTP!
20:14:45 58CFA8 r Emulator [emu] Reader initialized (device=Emulator, detect=c
d, mhz=357, cardmhz=357)
20:14:47 0 s init for all local cards done
20:14:47 0 s anti cascading disabled
20:14:47 592450 c plain dvbapi-client granted (anonymous, au=off)
20:14:47 592450 c [DVBAPI] Detected /dev/dvb/adapter0/demux0 Api: 0, userconfi
g boxtype: 0

das scheint das StartScript von OpenPli zu sein

#!/bin/sh
case "$1" in
start)
ulimit -s 1024
/usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8
;;
stop)
kill `cat /tmp/oscam.pid` 2> /dev/null
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "svn9077"
;;
info)
echo "oscam svn9077"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0

edit.
per console hatte ich doch das gdb Paket installiert, eben nochmal überprüft, also Verbindung muss gehen
 
Zuletzt bearbeitet:
Zurück
Oben