This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

saLoopBack application crashing

Other Parts Discussed in Thread: PMP, THS8200

Hi

While running saLoopBack application for capturing video to adv7182 video decoder I'm getting below crash,

Please help me to solve this issue.

------------[ cut here ]------------
WARNING: at kernel/softirq.c:159 local_bh_enable+0x54/0xc4()
Modules linked in: ti81xxvin adv7182 ti81xxhdmi ti81xxvo ti81xxfb vpss syslink
Backtrace:
[<c0049bb8>] (dump_backtrace+0x0/0x110) from [<c035ca20>] (dump_stack+0x18/0x1c)
 r7:00000000 r6:c00740b4 r5:c041af38 r4:0000009f
[<c035ca08>] (dump_stack+0x0/0x1c) from [<c006eb38>] (warn_slowpath_common+0x54/0x6c)
[<c006eae4>] (warn_slowpath_common+0x0/0x6c) from [<c006eb74>] (warn_slowpath_null+0x24/0x2c)
 r9:c04bc060 r8:d0878700 r7:0000000c r6:cca2f000 r5:c049a5a8
r4:c04e4380
[<c006eb50>] (warn_slowpath_null+0x0/0x2c) from [<c00740b4>] (local_bh_enable+0x54/0xc4)
[<c0074060>] (local_bh_enable+0x0/0xc4) from [<c0068a30>] (omap_mbox_msg_send+0xcc/0xdc)
 r5:c049a5a8 r4:00000000
[<c0068964>] (omap_mbox_msg_send+0x0/0xdc) from [<c02ad880>] (notify_shm_drv_send_event+0x1c8/0x208)
 r5:00000001 r4:00000000
[<c02ad6b8>] (notify_shm_drv_send_event+0x0/0x208) from [<c02ab010>] (notify_send_event+0x114/0x26c)
[<c02aaefc>] (notify_send_event+0x0/0x26c) from [<bf149a08>] (vps_fvid2_queue+0xe4/0x21c [vpss])
[<bf149924>] (vps_fvid2_queue+0x0/0x21c [vpss]) from [<bf152da4>] (capture_queue+0x50/0x64 [vpss])
 r8:bf19652c r7:cbdb6e80 r6:cb72d000 r5:00000000 r4:cb72e000
[<bf152d54>] (capture_queue+0x0/0x64 [vpss]) from [<bf19528c>] (ti81xxvin_buffer_queue+0xa0/0xe0 [ti81xxvin])
 r5:cb72e000 r4:cbdb6eac
[<bf1951ec>] (ti81xxvin_buffer_queue+0x0/0xe0 [ti81xxvin]) from [<c0292de0>] (videobuf_streamon+0x80/0xd0)
 r7:60000013 r6:cb72d1c4 r5:cb72d104 r4:cbdb6e80
[<c0292d60>] (videobuf_streamon+0x0/0xd0) from [<bf194d08>] (vidioc_streamon+0x1c8/0x39c [ti81xxvin])
 r7:cbeb1400 r6:00000001 r5:cb72d000 r4:cb72d104
[<bf194b40>] (vidioc_streamon+0x0/0x39c [ti81xxvin]) from [<c0288184>] (__video_do_ioctl+0x1618/0x3fa0)
 r6:40045612 r5:00000000 r4:00000001
[<c0286b6c>] (__video_do_ioctl+0x0/0x3fa0) from [<c0286960>] (__video_usercopy+0x2dc/0x41c)
[<c0286684>] (__video_usercopy+0x0/0x41c) from [<c0286ad0>] (video_ioctl2+0x30/0x38)
[<c0286aa0>] (video_ioctl2+0x0/0x38) from [<c0285b1c>] (v4l2_ioctl+0xe8/0x11c)
 r5:cbeb1400 r4:cbdb6200
[<c0285a34>] (v4l2_ioctl+0x0/0x11c) from [<c00d4158>] (vfs_ioctl+0x28/0x44)
 r9:cb7d6000 r8:bec46ca4 r7:00000004 r6:00000004 r5:cbdb6200
r4:00000000
[<c00d4130>] (vfs_ioctl+0x0/0x44) from [<c00d4868>] (do_vfs_ioctl+0x500/0x540)
[<c00d4368>] (do_vfs_ioctl+0x0/0x540) from [<c00d4900>] (sys_ioctl+0x58/0x7c)
[<c00d48a8>] (sys_ioctl+0x0/0x7c) from [<c0045e00>] (ret_fast_syscall+0x0/0x30)
 r8:c0045fa8 r7:00000036 r6:000115c0 r5:00000000 r4:0000b000
---[ end trace b7dd1bdbd2cb9eac ]---

Thanks in advance,

Nithin

  • Hi all,


    After applying "5633.v4l2_patches.zip" patches this problem solved. I modified saLoopBack.c file to capture video frames into file.yuv. I'm using ADV7182 decoder chip as V4L2 sub device, when I'm running saLoopBack application it is hanging in "videobuf_waiton" function, in videobuf_waiton function it is waiting for DMA interrupt. Below is the log which I got while running saLoopBack application and attached modefied saLoopBack application, Can any one tell me what is going wrong, why it is not getting DMA interrupt.

    Linux version 2.6.37+ (root@nithinkn-OptiPlex-745) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #66 Sat Mar 1 18:30:59 IST 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168evm
    vram size = 52428800 at 0x0
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 2.0
    On node 0 totalpages: 52736
    free_area_init_node: node 0, pgdat c04bf95c, node_mem_map c04fb000
      Normal zone: 512 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 52224 pages, LIFO batch:15
    pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    pcpu-alloc: [0] 0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 52224
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=256M earlyprink vram=50M ti816xfb.vram=0:16M,1:16M,2:6M ip=off noinitrd notifyk.vpssm3_sva=0xA0000000
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 206MB = 206MB total
    Memory: 203556k/203556k available, 58588k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003b000   ( 204 kB)
          .text : 0xc003b000 - 0xc0480000   (4372 kB)
          .data : 0xc0480000 - 0xc04c10c0   ( 261 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 0
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    registered ti816x_sr device
    pm_dbg_init: only OMAP3 supported
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xd0820000
    ti81xx_pcie: Starting PCI scan...
    pci 0000:00:00.0: [104c:b800] type 1 class 0x000604
    PCI: bus0: Fast back to back transfers disabled
    pci 0000:01:00.0: [1172:e001] type 0 class 0x00ff00
    pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00000fff]
    pci 0000:01:00.0: reg 18: [mem 0x00000000-0x00007fff]
    PCI: bus1: Fast back to back transfers disabled
    pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
    pci 0000:01:00.0: BAR 2: assigned [mem 0x20000000-0x20007fff]
    pci 0000:01:00.0: BAR 2: set to [mem 0x20000000-0x20007fff] (PCI address [0x20000000-0x20007fff])
    pci 0000:01:00.0: BAR 0: assigned [mem 0x20008000-0x20008fff]
    pci 0000:01:00.0: BAR 0: set to [mem 0x20008000-0x20008fff] (PCI address [0x20008000-0x20008fff])
    pci 0000:00:00.0: PCI bridge to [bus 01-01]
    pci 0000:00:00.0:   bridge window [io  disabled]
    pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
    pci 0000:00:00.0:   bridge window [mem pref disabled]
    PCI: enabling device 0000:00:00.0 (0140 -> 0143)
    pci_bus 0000:00: resource 0 [mem 0x20000000-0x2fffffff]
    pci_bus 0000:00: resource 1 [io  0x40000000-0x402fffff]
    pci_bus 0000:01: resource 1 [mem 0x20000000-0x200fffff]
    bio: create slab <bio-0> at 0
    regulator: VFB: 800 <--> 1025 mV at 1010 mV
    vgaarb: loaded
    SCSI subsystem initialized
    libata version 3.00 loaded.
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    PCI: CLS 64 bytes, default 64
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 397
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    omap2-nand driver initializing
    ONFI flash detected
    ONFI param page 0 valid
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0x48 (Micron NAND 2GiB 3,3V 8-bit)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000001400000-0x000003200000 : "U-Boot"
    0x000003200000-0x000003c00000 : "U-Boot Env"
    0x000003c00000-0x000004600000 : "Kernel"
    0x000004600000-0x000017200000 : "File System"
    0x000017200000-0x000080000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffff8
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver Micrel KSZ9031 Gigabit PHY
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver Micrel KSZ9031 Gigabit PHY
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver Micrel KSZ9031 Gigabit PHY
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xa0000000
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
      #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    smartreflex smartreflex: Driver initialized
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata2: SATA link down (SStatus 0 SControl 300)
    ata1: SATA link down (SStatus 0 SControl 300)
    Waiting for root device /dev/mmcblk0p2...
    mmc0: new SDHC card at address e624
    mmcblk0: mmc0:e624 SU04G 3.69 GiB
     mmcblk0: p1 p2
    EXT3-fs: barriers not enabled
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing init memory: 204K
    udevd (71): /proc/71/oom_adj is deprecated, please use /proc/71/oom_score_adj instead.
    SysLink version : 2.20.02.20
    SysLink module created on Date:Dec 26 2012 Time:11:03:34
    FOUND 0xa0200000, end 0xa0400000, map vir 0xd5c00000 size 4096
    VPSS_FVID2: M3 firmware version 0x1000144 is newer,driver may not work properly.
    FOUND 0xa0200000, end 0xa0400000, map vir 0xd5c00000 size 4096
    vps_alloc_fvid2_ctrl :fctrl ccadcc00
    FOUND 0xa0201000, end 0xa0400000, map vir 0xd5c01000 size 4096
    send control with cmd 0x10080002
    send control with cmd 0x10080002 status 0x00000000
    control event 0x10080002 return 0 within 0 ms.
    vps_dc_init ******************
    FOUND 0xa0202000, end 0xa0400000, map vir 0xd5c02000 size 4096
    vps_alloc_fvid2_ctrl :fctrl ccadc600
    FOUND 0xa0203000, end 0xa0400000, map vir 0xd5c03000 size 4096
    parse_def_modes ******************
    send control with cmd 0x10040003
    send control with cmd 0x10040003 status 0x00000000
    control event 0x10040003 return 0 within 0 ms.
    send control with cmd 0x10040003
    send control with cmd 0x10040003 status 0x00000000
    control event 0x10040003 return 0 within 0 ms.
    send control with cmd 0x10040003
    send control with cmd 0x10040003 status 0x00000000
    control event 0x10040003 return 0 within 0 ms.
    send control with cmd 0x10040003
    send control with cmd 0x10040003 status 0x00000000
    control event 0x10040003 return 0 within 0 ms.
    send control with cmd 0x1004001c
    send control with cmd 0x1004001c status 0x00000000
    control event 0x1004001c return 0 within 0 ms.
    send control with cmd 0x1004001c
    send control with cmd 0x1004001c status 0x00000000
    control event 0x1004001c return 0 within 0 ms.
    send control with cmd 0x1004001c
    send control with cmd 0x1004001c status 0x00000000
    control event 0x1004001c return 0 within 0 ms.
    send control with cmd 0x10080000
    send control with cmd 0x10080000 status 0x00000000
    control event 0x10080000 return 0 within 0 ms.
    send control with cmd 0x10080000
    send control with cmd 0x10080000 status 0x00000000
    control event 0x10080000 return 0 within 0 ms.
    send control with cmd 0x10080000
    send control with cmd 0x10080000 status 0x00000000
    control event 0x10080000 return 0 within 0 ms.
    send control with cmd 0x10080000
    send control with cmd 0x10080000 status 0x00000000
    control event 0x10080000 return 0 within 0 ms.
    dc_set_vencmode ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
     dc_set_vencmode ******************1
     dc_set_vencmode ******************4
     dc_set_vencmode ******************1
     dc_set_vencmode ******************4
     dc_set_vencmode ******************1
     dc_set_vencmode ******************4
     dc_set_vencmode ******************1
     dc_set_vencmode ******************4
    send control with cmd 0x10040019
    send control with cmd 0x10040019 status 0x00000000
    control event 0x10040019 return 0 within 0 ms.
     dc_set_vencmode ******************5
     dc_set_vencmode ******************5
     dc_set_vencmode ******************5
     dc_set_vencmode ******************5
    FOUND 0xa0204000, end 0xa0400000, map vir 0xd5c04000 size 4096
    FOUND 0xa0205000, end 0xa0400000, map vir 0xd5c05000 size 8192

    cap init
    FOUND 0xa0207000, end 0xa0400000, map vir 0xd5c07000 size 49152
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    check_fb_var
    xres = 1920, yres = 1080, vxres = 1920, vyres = 1080,xoffset = 0, yoffset = 0
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    vps_dc_get_timing ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    check_fb_var
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    check_fb_var
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    dc_get_format_from_vid ******************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    HDMI W1 rev 2.0
    HDMI CEC Spec version 1.2

     TI81xx_register_display_panel **************
    send control with cmd 0x1004001a
    send control with cmd 0x1004001a status 0x00000000
    control event 0x1004001a return 0 within 0 ms.
    send control with cmd 0x10040004
    send control with cmd 0x10040004 status 0x00000000
    control event 0x10040004 return 0 within 0 ms.
    hdmi: Enter HDMI_W1_StopVideoFrame()
    I2C No Ack

    hdmi: Enter HDMI_W1_GlobalInitVars()
    hdmi: Enter HDMI_Core_GlobalInitVars()
    hdmi: Enter HDMI_W1_ConfigVideoResolutionTiming()
    hdmi: Enter HDMI_W1_ConfigVideoInterface()
    hdmi: HDMI_WP_AUDIO_CFG = 0x1030006
    hdmi: HDMI_WP_AUDIO_CFG2 = 0x20c0
    hdmi: HDMI_WP_AUDIO_CTRL = 0x20
    hdmi: Enter DSS_HDMI_CORE_SW_RESET_ASSERT ()
    hdmi: Enter DSS_HDMI_CORE_POWER_DOWN_DISABLE()
    hdmi: Enter DSS_HDMI_CORE_SW_RESET_RELEASE()
    hdmi: Enter HDMI_W1_StartVideoFrame  ()
    hdmi: Irqenable 60000011
    hdmi: 40 hpd
    ******** init_ths8200 ********
    ths8200_probe client->addr:20
    ******** ths8200_read ********
    ******** ths8200_write ********
    ******** ths8200_read ********

    ths8200_core_init ret ret:193
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ******** ths8200_write ********
    ths8200 2-0020: ths8200 found @ 0x20 (OMAP I2C adapter)
    adv7182
    adv7182 1-0021: chip found @ 0x21 (OMAP I2C adapter)

    adv7182:::::::state->irq:0
    adv7182:init_device 1!!!!!!!!!!:client->addr:21: client->adapter:cc875e40:
    adv7182:init_device 1*********
    *************adv7182:init_device 2*********ret cd
    adv7182:init_device 3
    adv7182:init_device 4
    ******* adv7182_probe *******
    ti81xxvin ti81xxvin: registered sub device adv7182
    ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initialized
    ti81xxvin_check_format pixfmt->pixelformat :1448695129

     Req count = 4

    reqbufs: bufs=4, size=0x0 [0 pages total]

    mmap setup: 4 buffers, 0 bytes each

     Inside videobuf_qbuf V4L2_MEMORY_USERPTR

     userptr = 402f6008

     Inside videobuf_qbuf V4L2_MEMORY_USERPTR

     userptr = 40400008

     Inside videobuf_qbuf V4L2_MEMORY_USERPTR

     userptr = 40537008

     Inside videobuf_qbuf V4L2_MEMORY_USERPTR

     userptr = 4063e008
    ---111222333 -----vidioc_s_std

     adv7182_s_std*********

     STD = 18286

     RET val form v4l2_std_to_adv7182 80
    vidioc_s_std----------- inst->video.cur_std_id :520
    ti81xxvin_update_std_info ----------------1111
    ti81xxvin_config_format--------------------
     vidioc_streamon------------- buftype1
    ti81xxvin_check_format pixfmt->pixelformat :1448695129
    ti81xxvin_check_format ----- after

    create capture0
    vps_alloc_fvid2_ctrl :fctrl ccb5da80
    FOUND 0xa0213000, end 0xa0400000, map vir 0xd5c13000 size 4096
    send control with cmd 0x10020003
    send control with cmd 0x10020003 status 0x00000000
    control event 0x10020003 return 0 within 0 ms.
    send control with cmd 0x1002000d
    send control with cmd 0x1002000d status 0x00000000
    control event 0x1002000d return 0 within 0 ms.
    send control with cmd 0x1002000e
    send control with cmd 0x1002000e status 0x00000000
    control event 0x1002000e return 0 within 0 ms.
    send control with cmd 0x1002000b
    send control with cmd 0x1002000b status 0x00000000
    control event 0x1002000b return 0 within 0 ms.
    ----vps_capture_register_isr------- ret0
    ------------------set buffer

    queue capture
    vps_fvid2_queue------1111111111------------------------
    vps_fvid2_queue---------------2222222222222222-------status 0--------
    vps_fvid2_queue----$$$$$$$$$-------------------------
    queue event return 0 within 0 ms.-------------
    ------------------set buffer

    queue capture
    vps_fvid2_queue------1111111111------------------------
    vps_fvid2_queue---------------2222222222222222-------status 0--------
    vps_fvid2_queue----$$$$$$$$$-------------------------
    queue event return 0 within 0 ms.-------------
    ------------------set buffer

    queue capture
    vps_fvid2_queue------1111111111------------------------
    vps_fvid2_queue---------------2222222222222222-------status 0--------
    vps_fvid2_queue----$$$$$$$$$-------------------------
    queue event return 0 within 0 ms.-------------
    ------------------set buffer

    queue capture
    vps_fvid2_queue------1111111111------------------------
    vps_fvid2_queue---------------2222222222222222-------status 0--------
    vps_fvid2_queue----$$$$$$$$$-------------------------
    queue event return 0 within 0 ms.-------------
    vps start ----------------------
    start capture0
    send control with cmd 0x00000005
    send control with cmd 0x00000005 status 0x00000000
    control event 0x5 return 0 within 3 ms.
    ----------------------------vidioc_dqbuf
    ////////////////////////////////-----------dequeue video
    vps_fvid2_dequeue---------
    =dequeue timeout+++++++++++++++++++++++
    dequeue event return 0 within 0 ms
    ///////----dequeue video::::---r0
    ----------------------------vidioc_dqbuf ret:0
    ---::::::::::::::::----vidioc_dqbuf num_frms_dequeued:0
    stream_next_buffer--------------
    stream_next_buffer_check_queue
    stream_next_buffer--------------retval 0
    videobuf_waiton--------------------------------

    6761.saLoopBack.c

    Thanks and Regards,

    Nithin