Hallo zusammen,
ich wollte auf meinem renovierten vdr unter Debian 12 mit Kernel 6.1.0-17 (stable) den interen ddbidge 0.9.33 gegen den aktuellen 0.9.38 austauschen,
aber anscheindend gibt es nach dem complieren Probleme bei Laden des Moduls:
dmesg beim übersetzten 0.9.38:
[ 660.979557] Digital Devices PCIE bridge driver 0.9.38, Copyright (C) 2010-19 Digital Devices GmbH
[ 660.979788] ddbridge 0000:01:00.0: Digital Devices Cine CT V7 DVB adapter
[ 660.979792] ddbridge 0000:01:00.0: HW 00010002 REGMAP 00010004 FW 1.2
[ 660.979804] ddbridge 0000:01:00.0: link 0 vendor dd01 device 0006 subvendor dd01 subdevice 0032
[ 661.092965] ddbridge 0000:01:00.0: Port 0: Link 0, Link Port 0 (TAB 1): DUAL DVB-C2T2 CXD2843
[ 661.093850] ddbridge 0000:01:00.0: XO2 ID 0c
[ 661.208384] ddbridge 0000:01:00.0: Port 1: Link 0, Link Port 1 (TAB 2): DUAL DVB-C/C2/T/T2
[ 661.209324] ddbridge 0000:01:00.0: XO2 ID 03
[ 661.209527] ddbridge 0000:01:00.0: Port 2: DuoFlex CI 1.1
[ 661.323892] ddbridge 0000:01:00.0: Port 2: Link 0, Link Port 2 (TAB 3): DuoFlex CI
[ 661.324942] ddbridge 0000:01:00.0: Port 3: Link 0, Link Port 3 (TAB 4): DuoFlex CI_B
[ 661.327524] ddbridge 0000:01:00.0: 0 netstream channels
[ 661.327535] dvbdev: DVB: registering new adapter (DDBridge)
[ 661.327538] dvbdev: DVB: registering new adapter (DDBridge)
[ 661.327540] dvbdev: DVB: registering new adapter (DDBridge)
[ 661.327541] dvbdev: DVB: registering new adapter (DDBridge)
[ 661.327543] dvbdev: DVB: registering new adapter (DDBridge)
[ 661.327545] dvbdev: DVB: registering new adapter (DDBridge)
[ 661.332566] failing symbol_get of non-GPLONLY symbol cxd2843_attach.
[ 661.332574] DVB: Unable to find symbol cxd2843_attach()
[ 661.332578] ddbridge 0000:01:00.0: No cxd2837/38/43/54 found!
[ 661.332582] ddbridge 0000:01:00.0: port_attach on port 0 failed
[ 661.332968] ddbridge 0000:01:00.0: fail3
[ 661.332974] ddbridge 0000:01:00.0: fail2
[ 661.336891] ddbridge 0000:01:00.0: fail1
[ 661.336906] ddbridge 0000:01:00.0: fail0
[ 661.336909] ddbridge 0000:01:00.0: fail
[ 661.337326] ddbridge: probe of 0000:01:00.0 failed with error -1
Display More
und dmesg beim internen 0.9.33:
[ 882.844003] ddbridge: Digital Devices PCIE bridge driver 0.9.33-integrated, Copyright (C) 2010-17 Digital Devices GmbH
[ 882.844217] ddbridge 0000:01:00.0: detected Digital Devices Cine CT V7 DVB adapter
[ 882.844244] ddbridge 0000:01:00.0: HW 00010002 REGMAP 00010004
[ 882.956362] ddbridge 0000:01:00.0: Port 0: Link 0, Link Port 0 (TAB 1): DUAL DVB-C2T2 CXD2843
[ 883.071889] ddbridge 0000:01:00.0: Port 1: Link 0, Link Port 1 (TAB 2): DUAL DVB-C/C2/T/T2
[ 883.072986] ddbridge 0000:01:00.0: Port 2: DuoFlex CI 1.1
[ 883.187877] ddbridge 0000:01:00.0: Port 2: Link 0, Link Port 2 (TAB 3): DuoFlex CI
[ 883.188960] ddbridge 0000:01:00.0: Port 3: Link 0, Link Port 3 (TAB 4): DuoFlex CI_B
[ 883.191862] dvbdev: DVB: registering new adapter (DDBridge)
[ 883.191872] dvbdev: DVB: registering new adapter (DDBridge)
[ 883.191876] dvbdev: DVB: registering new adapter (DDBridge)
[ 883.191879] dvbdev: DVB: registering new adapter (DDBridge)
[ 883.191882] dvbdev: DVB: registering new adapter (DDBridge)
[ 883.191885] dvbdev: DVB: registering new adapter (DDBridge)
[ 883.204920] i2c i2c-12: cxd2841er_attach(): I2C adapter 0000000041badde7 SLVX addr 6e SLVT addr 6c
[ 883.205178] i2c i2c-12: cxd2841er_attach(): attaching CXD2843ER DVB-C/C2/T/T2 frontend
[ 883.205185] i2c i2c-12: cxd2841er_attach(): chip ID 0xa4 OK.
[ 883.211666] tda18212 12-0060: NXP TDA18212HN/M successfully identified
[ 883.211708] ddbridge 0000:01:00.0: DVB: registering adapter 0 frontend 0 (Sony CXD2843ER DVB-T/T2/C/C2 demodulator)...
[ 883.214277] i2c i2c-12: cxd2841er_attach(): I2C adapter 0000000041badde7 SLVX addr 6f SLVT addr 6d
[ 883.214533] i2c i2c-12: cxd2841er_attach(): attaching CXD2843ER DVB-C/C2/T/T2 frontend
[ 883.214540] i2c i2c-12: cxd2841er_attach(): chip ID 0xa4 OK.
[ 883.219450] tda18212 12-0063: NXP TDA18212HN/S successfully identified
[ 883.219502] ddbridge 0000:01:00.0: DVB: registering adapter 1 frontend 0 (Sony CXD2843ER DVB-T/T2/C/C2 demodulator)...
[ 883.220226] i2c i2c-13: cxd2841er_attach(): I2C adapter 00000000deefc8e1 SLVX addr 6e SLVT addr 6c
[ 883.223105] i2c i2c-13: cxd2841er_attach(): attaching CXD2843ER DVB-C/C2/T/T2 frontend
[ 883.223116] i2c i2c-13: cxd2841er_attach(): chip ID 0xa4 OK.
[ 883.230188] tda18212 13-0060: NXP TDA18212HN/M successfully identified
[ 883.230248] ddbridge 0000:01:00.0: DVB: registering adapter 2 frontend 0 (Sony CXD2843ER DVB-T/T2/C/C2 demodulator)...
[ 883.231027] i2c i2c-13: cxd2841er_attach(): I2C adapter 00000000deefc8e1 SLVX addr 6f SLVT addr 6d
[ 883.231867] i2c i2c-13: cxd2841er_attach(): attaching CXD2843ER DVB-C/C2/T/T2 frontend
[ 883.231875] i2c i2c-13: cxd2841er_attach(): chip ID 0xa4 OK.
[ 883.239472] tda18212 13-0063: NXP TDA18212HN/S successfully identified
[ 883.239527] ddbridge 0000:01:00.0: DVB: registering adapter 3 frontend 0 (Sony CXD2843ER DVB-T/T2/C/C2 demodulator)...
[ 888.541477] dvb_ca_en50221: dvb_ca adapter 4: DVB CAM detected and initialised successfully
Display More
Module sind alle unter /usr/lib/modules/6.1.0-17-amd64/extra/* vorhanden.
Der Code ist von: https://github.com/DigitalDevices/dddvb/releases und bei der Übersetzung gab es "nur" ein paar Warnings:
cc -g -Wall -Wno-unused -Wno-format -I../ddbridge -I../include/ flashprog.c -o flashprog
flashprog.c:2:1: warning: "/*" within comment [-Wcomment]
2 | /* flashprog - Programmer for flash on Digital Devices Octopus
|
In file included from flashprog.c:38:
flash.c: In function ‘check_fw’:
flash.c:1078:29: warning: pointer targets in initialization of ‘char *’ from ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
1078 | char *key = &buf[p], *val = NULL;
| ^
flash.c:1083:37: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign]
1083 | val = &buf[p + 1];
| ^
[...]
flash.c: In function ‘flashwrite_pagemode’:
flash.c:633:63: warning: ‘flen’ may be used uninitialized [-Wmaybe-uninitialized]
633 | int blockerase = be && ((FlashOffset & 0xFFFF) == 0 ) && (flen >= 0x10000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
flash.c:632:18: note: ‘flen’ was declared here
632 | uint32_t flen, blen;
| ^~~~
Display More
Auch neu bei kernel 6 ist das hier:
CC [M] /usr/src/dddvb-0.9.38/frontends/stv6110x.mod.o
LD [M] /usr/src/dddvb-0.9.38/frontends/stv6110x.ko
BTF [M] /usr/src/dddvb-0.9.38/frontends/stv6110x.ko
Skipping BTF generation for /usr/src/dddvb-0.9.38/frontends/stv6110x.ko due to unavailability of vmlinux
für jedes Modul.
Unter dem alten Debian 11 Kernel-5.10.0-27 war das Übersetzen und Laden von ddbridge 0.9.38 ohne Probleme möglich.
Hab erst mal wieder auf den internen 0.9.33 zurückgerollt, aber das aktuellste Modul sollte doch auch laufen oder gibt es da Probleme mit Kernel 6?
VG,
Bernd