Thaks this could be a problem.

I have changed

- 
wait_for_completion_interruptible(&(device->wfc));


+ wait_for_completion_interruptible_timeout(&(device->wfc),   
);

But with any success it hung somewhere else.

However I will check the H3A

Print /proc/interupts is impossible, because when it hungs, it hungs 
totaly. I have no way to do anything. Only to restart whole system. Ondrej 
Pindroch

SoftHard Technology ltd.

Tel: +421(2)65459327

Fax: +421(2)65459329

Mobile:+421(904)906011

-----Original 
Message-----

From: "Jadav, Brijesh R" <brijes...@ti.com>

To: Ondrej Pindroch <opindr...@softhard.sk>, davinci-linux-open-source 
<davinci-linux-open-source@linux.davincidsp.com>

Date: Tue, 7 Jul 2009 12:22:44 +0530

Subject: RE: LSP 2.10 Previewer hung on preview task




Hi,



Can you check 
whether H3A is enabled in the Kernel and CCDC output for H3A is enabled? As 
far as I remember, there was some issue with the H3A and previewer. When H3A 

is enabled, previewer stops giving interrupts. Can you check whether 
previewer interrupts are coming properly? You can check it by printing 
/proc/interrupts file. There should an entry for the previewer in this file 
and it should be incrementing if interrupts are coming properly. If 
interrupt is not coming, previewer will wait for the interrupt and will not 
come out of it



Thanks,

Brijesh Jadav



From:davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf 
OfOndrej Pindroch

Sent: Monday, July 06, 2009 
7:47 PM

To: 
davinci-linux-open-source

Subject: LSP 2.10 Previewer 
hung on preview task



Hi



Do someone have tested davinci_previewer from LSP 
2.10 on DVEVM DM6446.

I have made one test with one frame and all was ok. 
But when use previewer for stream from MT9P031 board.

It hung on IOCTL - PREV_PREVIEW. I have put some 
printk() in driver. All is ok till:

wait_for_completion_interruptible(&(device->wfc));

It hung. All other threads are runnig, but I am not 
able to end whole applicatio, because of this one thread.

Please suggest what could be problem.

Ondrej Pindroch

SoftHard Technology ltd.
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to