Hallo, ich habe einen DVB-C Stick an einer Fritzbox 7490. Dies lief mit der alten Firmware FritzOS 06.05 mit Kernel 2.6.32.60 prima. Nach einem Update auf Firmware FritzOS 06.24 mit Kernel 2.6.32.61 hängt der "mediasrv" beim "Starting up device manager". Hoffe ihr könnt an den straces was erkennen.
Im Anhang noch strace mit follow-forks
alte Firmware, alles ok
# mediasrv -v
2015-04-19 02:31:01 [3726] Alsa Blocking on (default)
2015-04-19 02:31:01 [3726] Starting up Multimedia Framework (Apr 15 2015 22:30:17)
2015-04-19 02:31:01 [3726] API Version: 5.10
2015-04-19 02:31:01 [3726] Running on Linux (2.6.32.60)
2015-04-19 02:31:01 [3727] Starting service processor (PID 3727)
2015-04-19 02:31:01 [3726] scanning devices
2015-04-19 02:31:01 [3726] scanning for drivers
2015-04-19 02:31:01 [3726] scanning for plugins
2015-04-19 02:31:01 [3726] Starting up device manager
2015-04-19 02:31:01 [3726] scanning devices done
2015-04-19 02:31:01 [3726] attached devices:
2015-04-19 02:31:01 [3727] Autostarting scripts in /etc/sundtek/
2015-04-19 02:31:01 [3727] executed all available items
2015-04-19 02:31:01 [3730] registering ID: 0
2015-04-19 02:31:01 [3730] disconnecting kernel driver
2015-04-19 02:31:02 [3730] Big Endian detected
2015-04-19 02:31:03 [3730] attaching DVB-T, DVB-C
2015-04-19 02:31:03 [3730] Using first generation demodulator
2015-04-19 02:31:08 [3730] SETTING DVB-C
2015-04-19 02:31:08 [3730] demodulator successfully attached (DVBC)!
2015-04-19 02:31:08 [3730] Allocation using pg for type 65678
2015-04-19 02:31:08 [3730] requesting to attach tuner(s) now
2015-04-19 02:31:10 [3730] registering: adapter0/0
2015-04-19 02:31:10 [3730] registered virtual: /dev/dvb/adapter0/frontend0
2015-04-19 02:31:10 [3730] registered virtual: /dev/dvb/adapter0/demux0
2015-04-19 02:31:10 [3730] registered virtual: /dev/dvb/adapter0/dvr0
2015-04-19 02:31:10 [3730] Setting RC Protocol to NEC
2015-04-19 02:31:10 [3730] registered virtual: /dev/mediainput0
2015-04-19 02:31:10 [3730] Remote Control Layout: 0
2015-04-19 02:31:10 [3727] trying to load uinput module
2015-04-19 02:31:10 [3727] loading uinput kernel extention failed, remote control will not work with lirc
2015-04-19 02:31:10 [3730] No remote control support available
2015-04-19 02:31:10 [3730]
2015-04-19 02:31:10 [3730] Sundtek MediaTV Driver loaded. This driver is licensed for non-commercial use
2015-04-19 02:31:10 [3730] with Sundtek MediaTV only
2015-04-19 02:31:10 [3730] Driver loaded within 8474 milliseconds
2015-04-19 02:31:10 [3730] Serial(0):
2015-04-19 02:31:10 [3730] Initial devicescan done, switching detection mode
2015-04-19 02:31:22 [3737] This system does not support memory mapped USB transfers
2015-04-19 02:31:22 [3737] Once your system reaches the latest kernel version the
2015-04-19 02:31:22 [3737] performance will increase automatically
2015-04-19 02:31:23 [3737] Setting Frequency: 546000000
2015-04-19 02:31:23 [3737] Setting Symbolrate: 6952000
2015-04-19 02:31:23 [3737] Setting Modulation: 5
2015-04-19 02:31:24 [3737] Channel found (546000000)
2015-04-19 02:31:24 [3737] =============
hängt mit neuer
# /usr/bin/mediasrv -v
2015-04-19 02:50:51 [3879] Alsa Blocking on (default)
2015-04-19 02:50:51 [3879] Starting up Multimedia Framework (Apr 15 2015 22:30:17)
2015-04-19 02:50:51 [3879] API Version: 5.10
2015-04-19 02:50:51 [3879] Running on Linux (2.6.32.61)
2015-04-19 02:50:51 [3880] Starting service processor (PID 3880)
2015-04-19 02:50:51 [3879] scanning devices
2015-04-19 02:50:51 [3879] scanning for drivers
2015-04-19 02:50:51 [3879] scanning for plugins
2015-04-19 02:50:51 [3879] Starting up device manager
mit strace
# strace /usr/bin/mediasrv -v
execve("/usr/bin/mediasrv", ["/usr/bin/mediasrv", "-v"], [/* 264 vars */]) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aaaf000
open("/mod/lib/librt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/librt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/librt.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=13508, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aab0000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\r\360\0\0\0004"..., 4096) = 4096
mmap(NULL, 81920, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac0000
mmap(0x2aac0000, 11968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aac0000
mmap(0x2aad3000, 232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3000) = 0x2aad3000
close(3) = 0
munmap(0x2aab0000, 4096) = 0
open("/mod/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=13536, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aab0000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\n\300\0\0\0004"..., 4096) = 4096
mmap(NULL, 81920, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aad4000
mmap(0x2aad4000, 9952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aad4000
mmap(0x2aae6000, 4304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x2aae6000
close(3) = 0
munmap(0x2aab0000, 4096) = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=56576, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aab0000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\33\220\0\0\0004"..., 4096) = 4096
mmap(NULL, 122880, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aae8000
mmap(0x2aae8000, 54916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aae8000
mmap(0x2ab05000, 2048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x2ab05000
close(3) = 0
munmap(0x2aab0000, 4096) = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=88108, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aab0000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0E0\0\0\0004"..., 4096) = 4096
mmap(NULL, 163840, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab06000
mmap(0x2ab06000, 82504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab06000
mmap(0x2ab2a000, 4940, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x14000) = 0x2ab2a000
mmap(0x2ab2c000, 5216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab2c000
close(3) = 0
munmap(0x2aab0000, 4096) = 0
open("/mod/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=512980, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aab0000
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\342\200\0\0\0004"..., 4096) = 4096
mmap(NULL, 602112, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2e000
mmap(0x2ab2e000, 505672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab2e000
mmap(0x2abb9000, 8040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7b000) = 0x2abb9000
mmap(0x2abbb000, 23244, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2abbb000
close(3) = 0
munmap(0x2aab0000, 4096) = 0
open("/mod/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=512980, ...}) = 0
close(3) = 0
open("/mod/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=13536, ...}) = 0
close(3) = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=88108, ...}) = 0
close(3) = 0
open("/mod/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=512980, ...}) = 0
close(3) = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=29828, ...}) = 0
open("/mod/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=512980, ...}) = 0
close(3) = 0
open("/mod/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=13536, ...}) = 0
close(3) = 0
open("/mod/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/usr/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=512980, ...}) = 0
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x2aab0000
set_thread_area(0x2aab7440) = 0
mprotect(0x2aae6000, 4096, PROT_READ) = 0
mprotect(0x2ab2a000, 4096, PROT_READ) = 0
mprotect(0x2abb9000, 4096, PROT_READ) = 0
mprotect(0x2aabe000, 4096, PROT_READ) = 0
set_tid_address(0x2aab0068) = 3900
set_robust_list(0x2aab0070, 12) = 0
futex(0x7ff8a990, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 2aaaf6c8) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRT_0, {0x8, [], SA_STACK|SA_INTERRUPT|SA_NOCLDWAIT|0x2b002d4}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {0x10000008, [], SA_STACK|SA_INTERRUPT|SA_NOCLDWAIT|0x2b001a0}, NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_0 RT_1], NULL, 16) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=2199023256064*1024, rlim_max=71041024*1024}) = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid() = 0
socket(PF_LOCAL, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path=@"/de/sundtek/mediasocket"}, 26) = -1 ECONNREFUSED (Connection refused)
close(3) = 0
stat64("/sys/module/usbcore", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
socket(PF_LOCAL, SOCK_STREAM, 0) = 3
bind(3, {sa_family=AF_LOCAL, sun_path=@"/de/sundtek/mediasocket"}, 26) = 0
listen(3, 15) = 0
brk(0) = 0x845000
brk(0x846000) = 0x846000
stat64("/etc/sundtek.conf", 0x7ff8a888) = -1 ENOENT (No such file or directory)
stat64("/tmp/sundtek.conf", 0x7ff8a888) = -1 ENOENT (No such file or directory)
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] Alsa "..., 542015-04-19 02:54:02 [3900] Alsa Blocking on (default)
) = 54
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] Start"..., 832015-04-19 02:54:02 [3900] Starting up Multimedia Framework (Apr 15 2015 22:30:17)
) = 83
pipe([0, 0]) = 4
ipc(0x2, 0x2c293, 0x1, 0x3b6, 0, 0) = 851993
pipe([0, 0]) = 6
pipe([0, 0]) = 8
pipe([0, 0]) = 10
pipe([0, 0]) = 12
pipe([0, 0]) = 14
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2aab0068) = 3901
read(12, "\0", 1) = 1
close(14) = 0
2015-04-19 02:54:02 [3901] Starting service processor (PID 3901)
close(13) = 0
stat64("/etc/protocols", {st_mode=S_IFREG|0777, st_size=1595, ...}) = 0
stat64("/usr/include/linux/dvb/version.h", 0x7ff897b0) = -1 ENOENT (No such file or directory)
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] API V"..., 452015-04-19 02:54:02 [3900] API Version: 5.10
) = 45
uname({sys="Linux", node="F7490.lan", ...}) = 0
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] Runni"..., 562015-04-19 02:54:02 [3900] Running on Linux (2.6.32.61)
) = 56
open("/proc/cpuinfo", O_RDONLY) = 13
read(13, "system type\t\t: VR9\nprocessor\t\t: "..., 1024) = 781
read(13, "", 1024) = 0
close(13) = 0
open("/dev", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 13
fstat64(13, {st_mode=S_IFDIR|0755, st_size=14560, ...}) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
brk(0x847000) = 0x847000
getdents(13, /* 201 entries */, 4096) = 4088
getdents(13, /* 206 entries */, 4096) = 4084
getdents(13, /* 205 entries */, 4096) = 4096
getdents(13, /* 116 entries */, 4096) = 2432
getdents(13, /* 0 entries */, 4096) = 0
close(13) = 0
open("/dev/misc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] scann"..., 442015-04-19 02:54:02 [3900] scanning devices
) = 44
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] scann"..., 482015-04-19 02:54:02 [3900] scanning for drivers
) = 48
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] scann"..., 482015-04-19 02:54:02 [3900] scanning for plugins
) = 48
open("plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
pipe([0, 0]) = 13
mmap(NULL, 524288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abc1000
mprotect(0x2abc1000, 4096, PROT_NONE) = 0
clone(child_stack=0x2ac400d0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2ac40588, tls=0x2ac47960, child_tidptr=0x2ac40588) = 3902
mmap(NULL, 524288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac41000
mprotect(0x2ac41000, 4096, PROT_NONE) = 0
clone(child_stack=0x2acc00d0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2acc0588, tls=0x2acc7960, child_tidptr=0x2acc0588) = 3903
mmap(NULL, 524288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acc1000
mprotect(0x2acc1000, 4096, PROT_NONE) = 0
clone(child_stack=0x2ad400d0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2ad40588, tls=0x2ad47960, child_tidptr=0x2ad40588) = 3904
time(NULL) = 1429404842
time(NULL) = 1429404842
write(1, "2015-04-19 02:54:02 [3900] Start"..., 542015-04-19 02:54:02 [3900] Starting up device manager
) = 54
gettimeofday({1429404842, 886569}, NULL) = 0
pipe([0, 0]) = 16
mmap(NULL, 524288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2adc1000
mprotect(0x2adc1000, 4096, PROT_NONE) = 0
clone(child_stack=0x2ae400d0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2ae40588, tls=0x2ae47960, child_tidptr=0x2ae40588) = 3906
stat64("/tmp/.disable_device_detection", 0x7ff89cb8) = -1 ENOENT (No such file or directory)
stat64("/dev/sundtek", {st_mode=S_IFDIR|0700, st_size=60, ...}) = 0
stat64("/dev/sundtek/usb", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
open("/sys/bus/pci/devices/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 20
fstat64(20, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(20, F_SETFD, FD_CLOEXEC) = 0
getdents(20, /* 4 entries */, 4096) = 80
open("/sys/bus/pci/devices/0000:00:00.0/config", O_RDONLY) = 21
read(21, "\357\33\21\0G\1\20\0\1\0\0\6\0\0\1\0\0\0\0\0\0\0\0\0\0\1\1\0\360\0\0\0"..., 100) = 100
close(21) = 0
futex(0x842494, FUTEX_WAIT_PRIVATE, 2, NULL