sklnet / vtuner

Automatically exported from code.google.com/p/vtuner
0 stars 0 forks source link

vtunerc.ko dont wpork with kernel-3.4.0 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when i build the vtuner.linux-driver with the patch from "issue 18" i get the 
following issue:

vdr01 vtuner.linux-driver # make
make -C /usr/src/linux-3.4.0-gentoo SUBDIRS=/tmp/vtuner.linux-driver modules
make[1]: Entering directory `/usr/src/linux-3.4.0-gentoo'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "dvb_dmx_init" [/tmp/vtuner.linux-driver/vtunerc.ko] undefined!
WARNING: "dvb_unregister_adapter" [/tmp/vtuner.linux-driver/vtunerc.ko] 
undefined!
WARNING: "dvb_register_frontend" [/tmp/vtuner.linux-driver/vtunerc.ko] 
undefined!
WARNING: "dvb_unregister_frontend" [/tmp/vtuner.linux-driver/vtunerc.ko] 
undefined!
WARNING: "dvb_dmxdev_release" [/tmp/vtuner.linux-driver/vtunerc.ko] undefined!
WARNING: "dvb_dmx_release" [/tmp/vtuner.linux-driver/vtunerc.ko] undefined!
WARNING: "dvb_dmx_swfilter_packets" [/tmp/vtuner.linux-driver/vtunerc.ko] 
undefined!
WARNING: "dvb_register_adapter" [/tmp/vtuner.linux-driver/vtunerc.ko] undefined!
WARNING: "dvb_dmxdev_init" [/tmp/vtuner.linux-driver/vtunerc.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-3.4.0-gentoo'
vdr01 vtuner.linux-driver #

i can check it and it seems all OK:

vdr01 vtuner.linux-driver # modinfo vtunerc.ko
filename:       vtunerc.ko
version:        1.2p2
license:        GPL
description:    virtual DVB device
author:         Honza Petrous
srcversion:     443CAF9CC658ACC7638E12A
depends:
vermagic:       3.4.0-gentoo SMP preempt mod_unload modversions CORE2
parm:           adapter_nr:DVB adapter numbers (array of short)
parm:           devices:Number of virtual adapters (default is 1) (int)
parm:           tscheck:Check TS packet validity (default is 0) (int)
parm:           debug:Enable debug messages (default is 0) (int)
vdr01 vtuner.linux-driver #

i copyed  the modul..

vdr01 vtuner.linux-driver # cp vtunerc.ko /lib/modules/`uname -r`/misc
vdr01 vtuner.linux-driver # depmod -a

but if i want to load it, i get this message:

vdr01 vtuner.linux-driver # modprobe -v vtunerc adapter_nr=4,5 devices=2  
debug=1
insmod /lib/modules/3.4.0-gentoo/misc/vtunerc.ko adapter_nr=4,5 devices=2 
debug=1
FATAL: Error inserting vtunerc (/lib/modules/3.4.0-gentoo/misc/vtunerc.ko): 
Invalid argument
vdr01 vtuner.linux-driver #

dmesg says:

vdr01 vtuner.linux-driver # dmesg
vtunerc: no symbol version for dvb_dmxdev_init
vtunerc: Unknown symbol dvb_dmxdev_init (err -22)
vtunerc: no symbol version for dvb_register_adapter
vtunerc: Unknown symbol dvb_register_adapter (err -22)
vtunerc: no symbol version for dvb_dmx_swfilter_packets
vtunerc: Unknown symbol dvb_dmx_swfilter_packets (err -22)
vtunerc: no symbol version for dvb_dmx_release
vtunerc: Unknown symbol dvb_dmx_release (err -22)
vtunerc: no symbol version for dvb_dmxdev_release
vtunerc: Unknown symbol dvb_dmxdev_release (err -22)
vtunerc: no symbol version for dvb_unregister_frontend
vtunerc: Unknown symbol dvb_unregister_frontend (err -22)
vtunerc: no symbol version for dvb_register_frontend
vtunerc: Unknown symbol dvb_register_frontend (err -22)
vtunerc: no symbol version for dvb_unregister_adapter
vtunerc: Unknown symbol dvb_unregister_adapter (err -22)
vtunerc: no symbol version for dvb_dmx_init
vtunerc: Unknown symbol dvb_dmx_init (err -22)
vdr01 vtuner.linux-driver #

any ideas??

greets

Original issue reported on code.google.com by d_sping...@gmx.de on 28 May 2012 at 8:22

GoogleCodeExporter commented 9 years ago
Seems like dvb-core.ko is not loaded?

/Honza

Original comment by jpetrous on 26 Jun 2012 at 8:37

GoogleCodeExporter commented 9 years ago
dvb-core is loaded:

vdr01 ~ # lsmod
Module                  Size  Used by
w83627ehf              21452  0
hwmon_vid               1672  1 w83627ehf
ipv6                  187177  61
lirc_serial             6044  3
lirc_dev                8194  1 lirc_serial
snd_seq_oss            23280  0
snd_seq_midi_event      3720  1 snd_seq_oss
snd_seq                36522  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          3849  2 snd_seq_oss,snd_seq
snd_pcm_oss            32703  0
snd_mixer_oss          10241  1 snd_pcm_oss
snd_hda_codec_hdmi     20092  1
snd_hda_codec_via      26712  1
tda18271c2dd           13047  2
drxk                   38336  2
stv6110x                3120  2
lnbp21                  1258  2
cdc_acm                11944  0
nvidia              10922755  52
stv090x                41854  2
coretemp                4277  0
hwmon                    893  2 w83627ehf,coretemp
ddbridge               20522  13
pcspkr                  1263  0
i2c_i801                6425  0
dvb_core               66537  1 ddbridge
sg                     17236  0
snd_hda_intel          18463  2
snd_hda_codec          51472  3 
snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
r8169                  36672  0
i2c_core               12986  8 
tda18271c2dd,drxk,stv6110x,lnbp21,nvidia,stv090x,ddbridge,i2c_i801
snd_pcm                53771  5 
snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
xhci_hcd               60371  0
snd_timer              13020  2 snd_seq,snd_pcm
snd_page_alloc          4949  2 snd_hda_intel,snd_pcm
rng_core                2274  0
joydev                  6909  0
vdr01 ~ #

Any further iedas?

Original comment by d_sping...@gmx.de on 27 Jun 2012 at 3:44

GoogleCodeExporter commented 9 years ago
vdr01 ~ # modinfo dvb-core
filename:       
/lib/modules/3.4.4-gentoo/kernel/drivers/media/dvb/dvb-core/dvb-core.ko
license:        GPL
author:         Marcus Metzler, Ralph Metzler, Holger Waechtler
description:    DVB Core Driver
depends:
vermagic:       3.4.4-gentoo SMP preempt mod_unload modversions CORE2
parm:           dvb_net_debug:enable debug messages (int)
parm:           frontend_debug:Turn on/off frontend core debugging 
(default:off). (int)
parm:           dvb_shutdown_timeout:wait <shutdown_timeout> seconds after 
close() before suspending hardware (int)
parm:           dvb_force_auto_inversion:0: normal (default), 1: INVERSION_AUTO 
forced always (int)
parm:           dvb_override_tune_delay:0: normal (default), >0 => delay in 
milliseconds to wait for lock after a tune attempt (int)
parm:           dvb_powerdown_on_sleep:0: do not power down, 1: turn LNB 
voltage off on sleep (default) (int)
parm:           dvb_mfe_wait_time:Wait up to <mfe_wait_time> seconds on open() 
for multi-frontend to become available (default:5 seconds) (int)
parm:           cam_debug:enable verbose debug messages (int)
parm:           dvb_demux_tscheck:enable transport stream continuity and TEI 
check (int)
parm:           dvb_demux_speedcheck:enable transport stream speed check (int)
parm:           debug:Turn on/off debugging (default:off). (int)
parm:           dvbdev_debug:Turn on/off device debugging (default:off). (int)
vdr01 ~ #

Original comment by d_sping...@gmx.de on 27 Jun 2012 at 4:09

GoogleCodeExporter commented 9 years ago
If you still have the issue - can you load it w/o parameters?

/Honza

Original comment by jpetrous on 30 Jul 2012 at 8:56

GoogleCodeExporter commented 9 years ago
It seems, the problem is, that i use this media_build repo:

-->  
http://www.vdr-portal.de/board16-video-disk-recorder/board85-hdtv-dvb-s2/113367-
aktuelle-treiber-für-octopus-ddbridge-cines2-ngene-ddbridge-duoflex-s2-duoflex-
ct-cinect-sowie-tt-s2-6400-teil-2/

Original comment by d_sping...@gmx.de on 11 Aug 2012 at 5:30

GoogleCodeExporter commented 9 years ago
If you are using another headers files (then in usual place like /usr/src or 
so), then you have to set the kernel's tree to the make by using KDIR= 
environment variable.

/Honza

Original comment by jpetrous on 19 Sep 2012 at 9:15

GoogleCodeExporter commented 9 years ago
Seems issue was resolved by user (wrong headers source), so closed the issue.

/Honza

Original comment by jpetrous on 2 Apr 2013 at 11:52