GeeXboX

cubox-i tvheadend kernel oops

April 10th, 2014

Home Forums GeeXboX on ARM SoCs cubox-i tvheadend kernel oops

This topic contains 1 reply, has 2 voices, and was last updated by Warped Rudi 2 days ago.

Viewing 2 posts – 1 through 2 (of 2 total)
  • Author
    Posts
  • #7893

    michal
    Member

    I am running geexbox on a Cubox-i4. I see periodic kernel oops’s. These are triggered sometimes by xbmc itself, but more often by tvheadend.

    I am using a Hauppauge WinTv-HVR-950Q tv tuner stick (uses au0828 and au8522) modules.

    While xbmc seems to actually stay functional, the tvtuner stick doesn’t work at all afterwards.

    backtraces pasted in below:

    ————[ cut here ]————
    WARNING: at mm/vmalloc.c:126 vmap_page_range_noflush+0×178/0x1c4()
    Modules linked in: au8522_dig tuner au8522_decoder au8522_common mxc_v4l2_capture au0828 ipu_bg_overlay_sdc snd_usb_audio ipu_still ipu_prp_enc snd_usbmidi_lib ipu_csi_enc tveeprom snd_rawmidi ipu_fg_overlay_sdc videobuf_vmalloc snd_hwdep brcmutil ir_lirc_codec lirc_dev ir_rc5_sz_decoder ir_sanyo_decoder ir_mce_kbd_decoder ir_sony_decoder ir_nec_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder uinput
    CPU: 0 PID: 700 Comm: xbmc.bin Not tainted 3.10.30 #1
    [<8001444c>] (unwind_backtrace) from [<800114ac>] (show_stack+0×10/0×14)
    [<800114ac>] (show_stack) from [<80025fd0>] (warn_slowpath_common+0x4c/0x6c)
    [<80025fd0>] (warn_slowpath_common) from [<8002600c>] (warn_slowpath_null+0x1c/0×24)
    [<8002600c>] (warn_slowpath_null) from [<800af188>] (vmap_page_range_noflush+0×178/0x1c4)
    [<800af188>] (vmap_page_range_noflush) from [<800b0228>] (map_vm_area+0x2c/0x7c)
    [<800b0228>] (map_vm_area) from [<800b0dd0>] (__vmalloc_node_range+0xfc/0x1dc)
    [<800b0dd0>] (__vmalloc_node_range) from [<800b0eec>] (__vmalloc_node+0x3c/0×44)
    [<800b0eec>] (__vmalloc_node) from [<800b0f24>] (vmalloc+0×30/0×38)
    [<800b0f24>] (vmalloc) from [<80438778>] (gckOS_AllocateMemory+0×40/0×54)
    [<80438778>] (gckOS_AllocateMemory) from [<804387c0>] (gckOS_Allocate+0×34/0×44)
    [<804387c0>] (gckOS_Allocate) from [<8043d694>] (gckKERNEL_AllocateIntegerId+0xe4/0×160)
    [<8043d694>] (gckKERNEL_AllocateIntegerId) from [<8043d82c>] (gckKERNEL_AllocateNameFromPointer+0×18/0x2c)
    [<8043d82c>] (gckKERNEL_AllocateNameFromPointer) from [<8043e510>] (gckKERNEL_Dispatch+0xc84/0x12ac)
    [<8043e510>] (gckKERNEL_Dispatch) from [<8043753c>] (drv_ioctl+0×118/0×234)
    [<8043753c>] (drv_ioctl) from [<800cd33c>] (do_vfs_ioctl+0×80/0x5a0)
    [<800cd33c>] (do_vfs_ioctl) from [<800cd894>] (SyS_ioctl+0×38/0×60)
    [<800cd894>] (SyS_ioctl) from [<8000e080>] (ret_fast_syscall+0×0/0×30)
    —[ end trace 318ff254bf545f80 ]—
    vmalloc: allocation failure, allocated 479232 of 483328 bytes
    xbmc.bin: page allocation failure: order:0, mode:0xd2
    CPU: 0 PID: 700 Comm: xbmc.bin Tainted: G W 3.10.30 #1
    [<8001444c>] (unwind_backtrace) from [<800114ac>] (show_stack+0×10/0×14)
    [<800114ac>] (show_stack) from [<8008be94>] (warn_alloc_failed+0xd0/0×110)
    [<8008be94>] (warn_alloc_failed) from [<800b0e70>] (__vmalloc_node_range+0x19c/0x1dc)
    [<800b0e70>] (__vmalloc_node_range) from [<800b0eec>] (__vmalloc_node+0x3c/0×44)
    [<800b0eec>] (__vmalloc_node) from [<800b0f24>] (vmalloc+0×30/0×38)
    [<800b0f24>] (vmalloc) from [<80438778>] (gckOS_AllocateMemory+0×40/0×54)
    [<80438778>] (gckOS_AllocateMemory) from [<804387c0>] (gckOS_Allocate+0×34/0×44)
    [<804387c0>] (gckOS_Allocate) from [<8043d694>] (gckKERNEL_AllocateIntegerId+0xe4/0×160)
    [<8043d694>] (gckKERNEL_AllocateIntegerId) from [<8043d82c>] (gckKERNEL_AllocateNameFromPointer+0×18/0x2c)
    [<8043d82c>] (gckKERNEL_AllocateNameFromPointer) from [<8043e510>] (gckKERNEL_Dispatch+0xc84/0x12ac)
    [<8043e510>] (gckKERNEL_Dispatch) from [<8043753c>] (drv_ioctl+0×118/0×234)
    [<8043753c>] (drv_ioctl) from [<800cd33c>] (do_vfs_ioctl+0×80/0x5a0)
    [<800cd33c>] (do_vfs_ioctl) from [<800cd894>] (SyS_ioctl+0×38/0×60)
    [<800cd894>] (SyS_ioctl) from [<8000e080>] (ret_fast_syscall+0×0/0×30)
    Mem-info:
    DMA per-cpu:
    CPU 0: hi: 186, btch: 31 usd: 71
    CPU 1: hi: 186, btch: 31 usd: 51
    CPU 2: hi: 186, btch: 31 usd: 161
    CPU 3: hi: 186, btch: 31 usd: 30
    active_anon:32634 inactive_anon:458 isolated_anon:0
    active_file:75360 inactive_file:275422 isolated_file:0
    unevictable:33 dirty:2011 writeback:0 unstable:0
    free:9091 slab_reclaimable:7864 slab_unreclaimable:6195
    mapped:7616 shmem:635 pagetables:496 bounce:0
    free_cma:7336
    DMA free:36364kB min:4960kB low:6200kB high:7440kB active_anon:130536kB inactive_anon:1832kB active_file:301440kB inactive_file:1101688kB unevictable:132kB isolated(anon):0kB isolated(file):0kB present:1826816kB managed:1539272kB mlocked:132kB dirty:8044kB writeback:0kB mapped:30464kB shmem:2540kB slab_reclaimable:31456kB slab_unreclaimable:24780kB kernel_stack:1208kB pagetables:1984kB unstable:0kB bounce:0kB free_cma:29344kB writeback_tmp:0kB pages_scanned:3 all_unreclaimable? no
    lowmem_reserve[]: 0 0 0
    DMA: 1704*4kB (EMRC) 1160*8kB (UEMRC) 947*16kB (UMRC) 15*32kB (MR) 1*64kB (R) 1*128kB (R) 4*256kB (R) 5*512kB (R) 1*1024kB (R) 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 36528kB
    351490 total pagecache pages
    0 pages in swap cache
    Swap cache stats: add 0, delete 0, find 0/0
    Free swap = 0kB
    Total swap = 0kB
    456704 pages of RAM
    9697 free pages
    6289 reserved pages
    11851 slab pages
    780535 pages shared
    0 pages swap cached

    tvheadend: page allocation failure: order:4, mode:0x10c0d0
    CPU: 1 PID: 687 Comm: tvheadend Tainted: G W 3.10.30 #1
    [<8001444c>] (unwind_backtrace) from [<800114ac>] (show_stack+0×10/0×14)
    [<800114ac>] (show_stack) from [<8008be94>] (warn_alloc_failed+0xd0/0×110)
    [<8008be94>] (warn_alloc_failed) from [<8008eb18>] (__alloc_pages_nodemask+0x5a4/0x8b4)
    delay: estimated 336, actual 0
    [<8008eb18>] (__alloc_pages_nodemask) from [<8008ee38>] (__get_free_pages+0×10/0x4c)
    [<8008ee38>] (__get_free_pages) from [<7f140430>] (urb_completion+0×164/0×280 [au0828])
    [<7f140430>] (urb_completion [au0828]) from [<7f140604>] (au0828_dvb_start_feed+0xb8/0xe4 [au0828])
    [<7f140604>] (au0828_dvb_start_feed [au0828]) from [<803fa4f0>] (dmx_section_feed_start_filtering+0xc8/0x16c)
    [<803fa4f0>] (dmx_section_feed_start_filtering) from [<803f8c44>] (dvb_dmxdev_filter_start+0×228/0x3e0)
    delay: estimated 336, actual 0
    [<803f8c44>] (dvb_dmxdev_filter_start) from [<803f91a8>] (dvb_demux_do_ioctl+0x3ac/0×618)
    [<803f91a8>] (dvb_demux_do_ioctl) from [<803f7528>] (dvb_usercopy+0×38/0×158)
    [<803f7528>] (dvb_usercopy) from [<800cd33c>] (do_vfs_ioctl+0×80/0x5a0)
    [<800cd33c>] (do_vfs_ioctl) from [<800cd894>] (SyS_ioctl+0×38/0×60)
    [<800cd894>] (SyS_ioctl) from [<8000e080>] (ret_fast_syscall+0×0/0×30)

    #7904

    Warped Rudi
    Moderator

    Looks like a memory leak. But I cannot tell from the log who is causing it (XBMC, tvheadend ot the hardware driver).

Viewing 2 posts – 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.