Thanks for trying, but unfortunately your kernel does not resolve the problem:
4.13.0-32-generic #35~lp1742316 SMP Fri Jan 26 21:40:59 CST 2018 i686 i686 i686 GNU/Linux
[ 6.429543] ------------[ cut here ]------------ [ 6.429548] kernel BUG at /home/khfeng/Sources/linux-lp1742316-saa7146/drivers/media/common/saa7146/saa7146_core.c:163! [ 6.429561] invalid opcode: 0000 [#1] SMP [ 6.429708] Modules linked in: snd_hda_codec_hdmi(+) snd_hda_codec_realtek budget_av(+) saa7146_vv snd_hda_codec_generic budget_core ttpci_eeprom snd_hda_intel saa7146 ppdev videobuf_dma_sg videobuf_core dvb_core v4l2_common snd_hda_codec videodev snd_hda_core snd_hwdep intel_powerclamp media joydev input_leds snd_pcm lpc_ich snd_timer snd soundcore shpchp parport_pc parport nuvoton_cir mac_hid rc_core nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 hid_generic usbhid hid gma500_gfx i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm r8169 mii video [ 6.431394] CPU: 3 PID: 306 Comm: systemd-udevd Not tainted 4.13.0-32-generic #35~lp1742316 [ 6.431654] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./AD2700-ITX, BIOS P1.60 04/19/2013 [ 6.431949] task: f5202700 task.stack: f4886000 [ 6.432108] EIP: saa7146_vmalloc_build_pgtable+0x180/0x1020 [saa7146] [ 6.432301] EFLAGS: 00010246 CPU: 3 [ 6.432406] EAX: f21e2568 EBX: f8365000 ECX: 00000002 EDX: fff1c000 [ 6.432592] ESI: 00000000 EDI: f871f000 EBP: f4887c44 ESP: f4887c20 [ 6.432784] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 6.432954] CR0: 80050033 CR2: 00b6e924 CR3: 35048940 CR4: 000006f0 [ 6.433142] Call Trace: [ 6.433229] ttpci_budget_init+0x26c/0x530 [budget_core] [ 6.433398] budget_av_attach+0x75/0x4e8 [budget_av] [ 6.433556] ? vprintk_func+0x29/0x70 [ 6.433666] ? printk+0x13/0x15 [ 6.433767] ? saa7146_init_one+0x69f/0x770 [saa7146] [ 6.433925] saa7146_init_one+0x70b/0x770 [saa7146] [ 6.434080] ? __pm_runtime_resume+0x51/0x80 [ 6.434213] pci_device_probe+0xc2/0x160 [ 6.434328] driver_probe_device+0x2b9/0x410 [ 6.434457] __driver_attach+0x99/0xe0 [ 6.434575] ? driver_probe_device+0x410/0x410 [ 6.434708] bus_for_each_dev+0x57/0x90 [ 6.434832] driver_attach+0x19/0x20 [ 6.434937] ? driver_probe_device+0x410/0x410 [ 6.440934] bus_add_driver+0x187/0x230 [ 6.440938] ? 0xf8522000 [ 6.440943] driver_register+0x56/0xd0 [ 6.440946] ? 0xf8522000 [ 6.440950] __pci_register_driver+0x33/0x40 [ 6.440957] saa7146_register_extension+0x50/0x80 [saa7146] [ 6.440966] budget_av_init+0xd/0x1000 [budget_av] [ 6.440971] do_one_initcall+0x46/0x180 [ 6.440977] ? kfree+0x134/0x140 [ 6.440980] ? kfree+0x134/0x140 [ 6.440983] ? kfree+0x134/0x140 [ 6.440987] ? kmem_cache_alloc_trace+0x13d/0x1a0 [ 6.440992] ? do_init_module+0x21/0x1cc [ 6.440995] ? do_init_module+0x21/0x1cc [ 6.441000] do_init_module+0x50/0x1cc [ 6.441004] load_module+0x1533/0x1aa0 [ 6.441011] ? kernel_read_file+0x26e/0x2a0 [ 6.441018] SyS_finit_module+0x8a/0xe0 [ 6.441025] do_fast_syscall_32+0x71/0x150 [ 6.441032] entry_SYSENTER_32+0x4e/0x7c [ 6.441034] EIP: 0xb7f5acf9 [ 6.441036] EFLAGS: 00000292 CPU: 3 [ 6.441039] EAX: ffffffda EBX: 00000018 ECX: b7d4ba71 EDX: 00000000 [ 6.441042] ESI: 01a60ec0 EDI: 01a5e940 EBP: 00000000 ESP: bfc713bc [ 6.441045] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b [ 6.441049] Code: e8 e8 c5 eb ff ff 85 c0 59 75 7c 8b 45 ec 8d 65 f4 5b 5e 5f 5d c3 90 8d 74 26 00 83 3d f0 ec e1 dd 02 0f 85 07 ff ff ff 8d 76 00 <0f> 0b 8d b6 00 00 00 00 0f 0b 8d b6 00 00 00 00 c7 45 dc 00 00 [ 6.441125] EIP: saa7146_vmalloc_build_pgtable+0x180/0x1020 [saa7146] SS:ESP: 0068:f4887c20 [ 6.441210] ---[ end trace 4087a60d1b1a4971 ]---
Thanks for trying, but unfortunately your kernel does not resolve the problem:
4.13.0-32-generic #35~lp1742316 SMP Fri Jan 26 21:40:59 CST 2018 i686 i686 i686 GNU/Linux
[ 6.429543] ------------[ cut here ]------------ Sources/ linux-lp1742316 -saa7146/ drivers/ media/common/ saa7146/ saa7146_ core.c: 163! codec_hdmi( +) snd_hda_ codec_realtek budget_av(+) saa7146_vv snd_hda_ codec_generic budget_core ttpci_eeprom snd_hda_intel saa7146 ppdev videobuf_dma_sg videobuf_core dvb_core v4l2_common snd_hda_codec videodev snd_hda_core snd_hwdep intel_powerclamp media joydev input_leds snd_pcm lpc_ich snd_timer snd soundcore shpchp parport_pc parport nuvoton_cir mac_hid rc_core nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 hid_generic usbhid hid gma500_gfx i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm r8169 mii video vmalloc_ build_pgtable+ 0x180/0x1020 [saa7146] init+0x26c/ 0x530 [budget_core] av_attach+ 0x75/0x4e8 [budget_av] func+0x29/ 0x70 init_one+ 0x69f/0x770 [saa7146] init_one+ 0x70b/0x770 [saa7146] resume+ 0x51/0x80 probe+0xc2/ 0x160 probe_device+ 0x2b9/0x410 attach+ 0x99/0xe0 probe_device+ 0x410/0x410 each_dev+ 0x57/0x90 attach+ 0x19/0x20 probe_device+ 0x410/0x410 driver+ 0x187/0x230 register+ 0x56/0xd0 driver+ 0x33/0x40 register_ extension+ 0x50/0x80 [saa7146] av_init+ 0xd/0x1000 [budget_av] initcall+ 0x46/0x180 alloc_trace+ 0x13d/0x1a0 module+ 0x21/0x1cc module+ 0x21/0x1cc module+ 0x50/0x1cc 0x1533/ 0x1aa0 read_file+ 0x26e/0x2a0 module+ 0x8a/0xe0 syscall_ 32+0x71/ 0x150 32+0x4e/ 0x7c vmalloc_ build_pgtable+ 0x180/0x1020 [saa7146] SS:ESP: 0068:f4887c20
[ 6.429548] kernel BUG at /home/khfeng/
[ 6.429561] invalid opcode: 0000 [#1] SMP
[ 6.429708] Modules linked in: snd_hda_
[ 6.431394] CPU: 3 PID: 306 Comm: systemd-udevd Not tainted 4.13.0-32-generic #35~lp1742316
[ 6.431654] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./AD2700-ITX, BIOS P1.60 04/19/2013
[ 6.431949] task: f5202700 task.stack: f4886000
[ 6.432108] EIP: saa7146_
[ 6.432301] EFLAGS: 00010246 CPU: 3
[ 6.432406] EAX: f21e2568 EBX: f8365000 ECX: 00000002 EDX: fff1c000
[ 6.432592] ESI: 00000000 EDI: f871f000 EBP: f4887c44 ESP: f4887c20
[ 6.432784] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 6.432954] CR0: 80050033 CR2: 00b6e924 CR3: 35048940 CR4: 000006f0
[ 6.433142] Call Trace:
[ 6.433229] ttpci_budget_
[ 6.433398] budget_
[ 6.433556] ? vprintk_
[ 6.433666] ? printk+0x13/0x15
[ 6.433767] ? saa7146_
[ 6.433925] saa7146_
[ 6.434080] ? __pm_runtime_
[ 6.434213] pci_device_
[ 6.434328] driver_
[ 6.434457] __driver_
[ 6.434575] ? driver_
[ 6.434708] bus_for_
[ 6.434832] driver_
[ 6.434937] ? driver_
[ 6.440934] bus_add_
[ 6.440938] ? 0xf8522000
[ 6.440943] driver_
[ 6.440946] ? 0xf8522000
[ 6.440950] __pci_register_
[ 6.440957] saa7146_
[ 6.440966] budget_
[ 6.440971] do_one_
[ 6.440977] ? kfree+0x134/0x140
[ 6.440980] ? kfree+0x134/0x140
[ 6.440983] ? kfree+0x134/0x140
[ 6.440987] ? kmem_cache_
[ 6.440992] ? do_init_
[ 6.440995] ? do_init_
[ 6.441000] do_init_
[ 6.441004] load_module+
[ 6.441011] ? kernel_
[ 6.441018] SyS_finit_
[ 6.441025] do_fast_
[ 6.441032] entry_SYSENTER_
[ 6.441034] EIP: 0xb7f5acf9
[ 6.441036] EFLAGS: 00000292 CPU: 3
[ 6.441039] EAX: ffffffda EBX: 00000018 ECX: b7d4ba71 EDX: 00000000
[ 6.441042] ESI: 01a60ec0 EDI: 01a5e940 EBP: 00000000 ESP: bfc713bc
[ 6.441045] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 6.441049] Code: e8 e8 c5 eb ff ff 85 c0 59 75 7c 8b 45 ec 8d 65 f4 5b 5e 5f 5d c3 90 8d 74 26 00 83 3d f0 ec e1 dd 02 0f 85 07 ff ff ff 8d 76 00 <0f> 0b 8d b6 00 00 00 00 0f 0b 8d b6 00 00 00 00 c7 45 dc 00 00
[ 6.441125] EIP: saa7146_
[ 6.441210] ---[ end trace 4087a60d1b1a4971 ]---