RE: LSP 2.10 Previewer hung on preview task

2009-07-08 Thread Ondrej Pindroch
Hi  the main problem was that the there was enabled pipe to H3A. So 
Previewer did not get interupts, or only few. (Errata of DM6446)
Now it is realy funny, that when I run my application telnet do not respond. 
As well saving image to NFS is really slow.
In LSP130 it work quite well. I have no idea why it is so:) Have not tried 
to examine this. May be I should exculde something from kernel. Some 
networking features.
Ondrej Pindroch
SoftHard Technology ltd.



-Original Message-

From: "Jadav, Brijesh R" 

To: Ondrej Pindroch , davinci-linux-open-source 


Date: Tue, 7 Jul 2009 19:04:24 +0530

Subject: RE: LSP 2.10 Previewer hung on preview task






Hi,





You can check by doing telnet to the board
and check the previewer interrupts if Linux kernel is not hung. Are you able 
to
come out of the application by pressing Ctrl+c? If it is not coming out, 
something
is getting corrupted. You may want to dump Previewer registers and check 
whether
they are corrupted or not.





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: Tuesday, July 07, 2009 6:09
PM

To: davinci-linux-open-source

Subject: RE: LSP 2.10 Previewer
hung on preview task





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" 

To: Ondrej Pindroch , davinci-linux-open-source


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


RE: LSP 2.10 Previewer hung on preview task

2009-07-07 Thread Jadav, Brijesh R
Hi,

You can check by doing telnet to the board and check the previewer interrupts 
if Linux kernel is not hung. Are you able to come out of the application by 
pressing Ctrl+c? If it is not coming out, something is getting corrupted. You 
may want to dump Previewer registers and check whether they are corrupted or 
not.

Thanks,
Brijesh Jadav


From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
Ondrej Pindroch
Sent: Tuesday, July 07, 2009 6:09 PM
To: davinci-linux-open-source
Subject: RE: LSP 2.10 Previewer hung on preview task

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" 
To: Ondrej Pindroch , davinci-linux-open-source 

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 Of 
Ondrej 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


RE: LSP 2.10 Previewer hung on preview task

2009-07-07 Thread Ondrej Pindroch
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" 

To: Ondrej Pindroch , davinci-linux-open-source 


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


RE: LSP 2.10 Previewer hung on preview task

2009-07-06 Thread Jadav, Brijesh R
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 Of 
Ondrej 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


LSP 2.10 Previewer hung on preview task

2009-07-06 Thread Ondrej Pindroch
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