Compiling vtunerc module on kernel 4.9.0.9

  • Hi,

    I am trying to use the vtunerc.ko module with kernel 4.9.0.9.


    I successfully compiled and installed the module, but when I start the satip client it crashes with this dmesg. I suspect some patches are needed for this kernel. Could you help please? Thanks.


    [ 321.199976] virtual DVB adapter driver, version 1.4, (c) 2010-12 Honza Petrous, SmartImp.cz

    [ 321.202811] DVB: registering new adapter (vTuner proxy)

    [ 321.203807] vtunerc: registered /dev/vtunerc0

    [ 322.979391] BUG: unable to handle kernel paging request at 0000000000405a9c

    [ 322.979423] IP: [<ffffffffa273ddd0>] strlen+0x0/0x20

    [ 322.979444] PGD 80000003ce157067

    [ 322.979455] PUD 3d0bc6067

    [ 322.979465] PMD 3a2040067

    [ 322.979471] PTE 43acf6025


    [ 322.979489] Oops: 0001 [#1] SMP

    [ 322.979501] Modules linked in: vtunerc(O) dvb_core fuse cpufreq_powersave cpufreq_conservative cpufreq_userspace nls_utf8 cifs sha256_ssse3 cmac md4 des_generic dns_resolver fscache snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) arc4 joydev snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device btusb btrtl btbcm btintel bluetooth evdev snd_soc_skl iwlmvm snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp mac80211 snd_hda_ext_core snd_soc_sst_match iwlwifi snd_soc_core i915 snd_compress intel_rapl rtsx_pci_ms snd_hda_intel cfg80211 x86_pkg_temp_thermal intel_powerclamp snd_hda_codec coretemp rfkill drm_kms_helper kvm_intel snd_hda_core memstick snd_hwdep kvm snd_pcm irqbypass snd_timer pcspkr snd mei_me iTCO_wdt shpchp soundcore

    [ 322.979812] iTCO_vendor_support drm intel_pch_thermal mei i2c_algo_bit wmi video tpm_crb acpi_pad button parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid ext4 crc16 jbd2 fscrypto ecb mbcache btrfs crc32c_generic xor raid6_pq rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel nvme nvme_core aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd i2c_i801 i2c_smbus ahci libahci e1000e ptp xhci_pci pps_core libata xhci_hcd rtsx_pci mfd_core scsi_mod usbcore usb_common thermal

    [ 322.980044] CPU: 3 PID: 1698 Comm: satip Tainted: G O 4.9.0-9-amd64 #1 Debian 4.9.168-1+deb9u2

    [ 322.980073] Hardware name: /NUC7i3BNB, BIOS BNKBL357.86A.0079.2019.0516.1758 05/16/2019

    [ 322.980097] task: ffff8fcc65daa080 task.stack: ffffa81142814000

    [ 322.980116] RIP: 0010:[<ffffffffa273ddd0>] [<ffffffffa273ddd0>] strlen+0x0/0x20

    [ 322.980142] RSP: 0018:ffffa81142817e18 EFLAGS: 00010246

    [ 322.980159] RAX: ffffffffc096c000 RBX: ffff8fcbd0ba0000 RCX: 0000000000405a9c

    [ 322.980181] RDX: 0000000000000001 RSI: 0000000000000286 RDI: 0000000000405a9c

    [ 322.980211] RBP: 000000004008e203 R08: 0000000000700000 R09: 0000000000000000

    [ 322.980233] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000405a9c

    [ 322.980255] R13: ffff8fcbd0ba06f0 R14: 0000000000405a9c R15: 0000000000000000

    [ 322.980277] FS: 00007fe4464bdb00(0000) GS:ffff8fcc7ed80000(0000) knlGS:0000000000000000

    [ 322.980302] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033

    [ 322.980320] CR2: 0000000000405a9c CR3: 000000045bb00000 CR4: 0000000000362670

    [ 322.980342] Stack:

    [ 322.980350] ffffffffc09696a1 000000000000049c 0000000000000000 ffffa81142817e38

    [ 322.980378] ffff8fcc65daa080 ffff8fcc57a35400 e855afa585a42994 ffff8fcc6a346e00

    [ 322.980406] ffff8fcc6a346e00 0000000000405a9c ffff8fcbcb8a95e8 0000000000405a9c

    [ 322.980434] Call Trace:

    [ 322.980446] [<ffffffffc09696a1>] ? vtunerc_ctrldev_ioctl+0x241/0x5c0 [vtunerc]

    [ 322.980470] [<ffffffffa2620312>] ? do_vfs_ioctl+0xa2/0x620

    [ 322.980489] [<ffffffffa2620904>] ? SyS_ioctl+0x74/0x80

    [ 322.980507] [<ffffffffa2403b7d>] ? do_syscall_64+0x8d/0x100

    [ 322.980527] [<ffffffffa2a1a88e>] ? entry_SYSCALL_64_after_swapgs+0x58/0xc6

    [ 322.980548] Code: f8 f6 82 40 56 c5 a2 20 74 14 48 c7 c1 40 56 c5 a2 48 83 c0 01 0f b6 10 f6 04 11 20 75 f3 f3 c3 90 66 2e 0f 1f 84 00 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3

    [ 322.980701] RIP [<ffffffffa273ddd0>] strlen+0x0/0x20

    [ 322.980720] RSP <ffffa81142817e18>

    [ 322.980732] CR2: 0000000000405a9c

    [ 323.010936] ---[ end trace 20e79ee1e7ec77f0 ]---

  • I suspect there is something wrong with the vtunerc_ctrldev_ioctl function in vtunerc_ctrldev.c


    Please help me, it's a pity we can't use this module on recent Linux distributions.

  • Sorry the last time I dealt with this was years ago. I can't tell you what I did for it anymore.

    I see you've already found a newer patch that I used in 2011.


    You can look in the sources of my package what was done there.

    Gruß
    Frodo

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!