Re: [linux-dvb] random memory corruptions with asus p7131 ( Re: asus p7131 vs ZDF?)

2007-10-20 Thread Soeren Sonnenburg
On Thu, 2007-10-18 at 02:47 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
[...]
   (My patch is pointless if you do not run a saa7146-based card.)
  
  Well but I don't have problems with the saa7146 except for the random
  saa7146_i2c_writeout: timed out waiting for end of xfer which however do
  not seem to cause any harm...
 
 Hm - could you please test whether the patch decreases the number of
 saa7146_i2c_writeout messages?

I am finally using this saa7146_core_-_busywait patch and indeed so far
no messages in the log. Will keep you updated if they re-appear.

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 ( Re: asus p7131 vs ZDF?)

2007-10-20 Thread Soeren Sonnenburg
On Sat, 2007-10-20 at 07:32 +, Soeren Sonnenburg wrote:
 On Thu, 2007-10-18 at 02:47 +0200, Oliver Endriss wrote:
  Soeren Sonnenburg wrote:
 [...]
(My patch is pointless if you do not run a saa7146-based card.)
   
   Well but I don't have problems with the saa7146 except for the random
   saa7146_i2c_writeout: timed out waiting for end of xfer which however do
   not seem to cause any harm...
  
  Hm - could you please test whether the patch decreases the number of
  saa7146_i2c_writeout messages?
 
 I am finally using this saa7146_core_-_busywait patch and indeed so far
 no messages in the log. Will keep you updated if they re-appear.

Argh, right after posting 2 of them appeared in the log.

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-19 Thread hermann pitton
Am Freitag, den 19.10.2007, 20:34 +0100 schrieb Mauro Carvalho Chehab:
  Wait! Please clarify whether you think that your problem is caused by
  the _saa7134_ driver or the _saa7146_ driver.
  
  You wrote 'that memory corruption is caused by the saa7146 driver,'
  Is this a typo? Did you mean saa7134?
 
 You are right my statement is wrong. To get it right, my asus has the
 • tda10046a
 • saa7131e
 and not the saa7146 (which my brain generated using the numbers 7131 /
 10046).
 
 On saa7131 board, the memory corruptions may be caused by V4L overlay 
 interface. On overlay mode, the driver sets the device to do a PCI2PCI memory 
 transfer. This is known to cause troubles with some VIA and SIS motherboards.
 
 If you load saa7134 with no_overlay=1, overlay mode will be disabled. Could 
 you please test if this solves the issue?
 
 AFAIK, some newer motherboards that had this problem can be corrected by 
 upgrading its bios.

That was what I told Soeren in the very beginning,
but he does not even use any analog TV.

The only case that I know of, that can cause menmory or file system
corruption on that driver, is using DVB-T at once with planar video
formats from other external inputs.

Needs packed formats, because of some dma engines limitation here,
according to Hartmut.

Since we have other users of this later revision of that card, maybe not
hardcored enough to run it over weeks, we should have at least one more
to confirm that problem.

I do not deny, that there can be an undiscovered issue.

We had something similar with signal detection flaws previously on
analog. Some apps did show it within 20 minutes, others only after two
weeks ... Have not seen it myself until today, but was true.

Cheers,
Hermann



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-19 Thread Mauro Carvalho Chehab

Wait! Please clarify whether you think that your problem is caused by
the _saa7134_ driver or the _saa7146_ driver.

You wrote 'that memory corruption is caused by the saa7146 driver,'
Is this a typo? Did you mean saa7134?


You are right my statement is wrong. To get it right, my asus has the
• tda10046a
• saa7131e
and not the saa7146 (which my brain generated using the numbers 7131 /
10046).

On saa7131 board, the memory corruptions may be caused by V4L overlay 
interface. On overlay mode, the driver sets the device to do a PCI2PCI memory 
transfer. This is known to cause troubles with some VIA and SIS motherboards.


If you load saa7134 with no_overlay=1, overlay mode will be disabled. Could 
you please test if this solves the issue?


AFAIK, some newer motherboards that had this problem can be corrected by 
upgrading its bios.


Cheers,
Mauro___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] random memory corruptions with asus p7131 ( Re: asus p7131 vs ZDF?)

2007-10-18 Thread Soeren Sonnenburg
On Thu, 2007-10-18 at 02:47 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
  
  On Wed, 2007-10-17 at 02:34 +0200, Oliver Endriss wrote:
   Soeren Sonnenburg wrote:
On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
  On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
   Soeren Sonnenburg wrote:
   [...]
[asus is not a saa7146 based card]
   (My patch is pointless if you do not run a saa7146-based card.)
  
  Well but I don't have problems with the saa7146 except for the random
  saa7146_i2c_writeout: timed out waiting for end of xfer which however do
  not seem to cause any harm...
 
 Hm - could you please test whether the patch decreases the number of
 saa7146_i2c_writeout messages?

I think I should first test the machine with the tt-1500 to see if I get
a uptime of at least a week to be sure that it is working this time (so
far 2 days 3 hrs, and 25 saa7146_i2c_writeout in the log). 

However if you think it is non intrusive enough (as in won't cause
crashes/memory corruption) I can do it right away.

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-17 Thread Soeren Sonnenburg

On Wed, 2007-10-17 at 02:34 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
  On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
   Soeren Sonnenburg wrote:
On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
 [...]
  Well :-) If the tt-1500 turns out to work OK I can just once give
 the
  asus + your isolated patch a last chance before trashing it...
 
 Wait! Please clarify whether you think that your problem is caused by
 the _saa7134_ driver or the _saa7146_ driver.
 
 You wrote 'that memory corruption is caused by the saa7146 driver,'
 Is this a typo? Did you mean saa7134?

You are right my statement is wrong. To get it right, my asus has the
• tda10046a
• saa7131e
and not the saa7146 (which my brain generated using the numbers 7131 /
10046).

 (My patch is pointless if you do not run a saa7146-based card.)

Well but I don't have problems with the saa7146 except for the random
saa7146_i2c_writeout: timed out waiting for end of xfer which however do
not seem to cause any harm...

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-17 Thread Soeren Sonnenburg
On Wed, 2007-10-17 at 04:43 +0200, hermann pitton wrote:
 Am Mittwoch, den 17.10.2007, 02:34 +0200 schrieb Oliver Endriss:
  Soeren Sonnenburg wrote:
   On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
Soeren Sonnenburg wrote:
 On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
  Soeren Sonnenburg wrote:
   [...]
   Well :-) If the tt-1500 turns out to work OK I can just once give the
   asus + your isolated patch a last chance before trashing it...
  
  Wait! Please clarify whether you think that your problem is caused by
  the _saa7134_ driver or the _saa7146_ driver.
  
  You wrote 'that memory corruption is caused by the saa7146 driver,'
  Is this a typo? Did you mean saa7134?
  
  (My patch is pointless if you do not run a saa7146-based card.)
 
 As I understand he has both.

yes, a fujitsu siemens dvb-c and wintv-nova-t (+the asus).

 Single work each, but not together and in that case always the saa713x
 is the culprit.

No, the asus does not work stable for 4 days even as a single card (it
can be less if you don't use the 1.2 lifeview firmware and your
reception is bad), the fujitsu siemens dvb-c and old wintv-nova-t setup
works reliably though over months.

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 ( Re: asus p7131 vs ZDF?)

2007-10-17 Thread Oliver Endriss
Soeren Sonnenburg wrote:
 
 On Wed, 2007-10-17 at 02:34 +0200, Oliver Endriss wrote:
  Soeren Sonnenburg wrote:
   On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
Soeren Sonnenburg wrote:
 On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
  Soeren Sonnenburg wrote:
  [...]
   Well :-) If the tt-1500 turns out to work OK I can just once give
  the
   asus + your isolated patch a last chance before trashing it...
  
  Wait! Please clarify whether you think that your problem is caused by
  the _saa7134_ driver or the _saa7146_ driver.
  
  You wrote 'that memory corruption is caused by the saa7146 driver,'
  Is this a typo? Did you mean saa7134?
 
 You are right my statement is wrong. To get it right, my asus has the
 • tda10046a
 • saa7131e
 and not the saa7146 (which my brain generated using the numbers 7131 /
 10046).

Thanks for the clarification.

  (My patch is pointless if you do not run a saa7146-based card.)
 
 Well but I don't have problems with the saa7146 except for the random
 saa7146_i2c_writeout: timed out waiting for end of xfer which however do
 not seem to cause any harm...

Hm - could you please test whether the patch decreases the number of
saa7146_i2c_writeout messages?

CU
Oliver

-- 

VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-16 Thread Soeren Sonnenburg
On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
  On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
   Soeren Sonnenburg wrote:
I am unfortunately 100% sure that it is caused by the saa7146 driver, as
I have an uptime of over a week now that it is not loaded (but the card
is still in the slot, yeah and I did memory tests for 18 passes -
nothing).
   
   Could you please try the patch posted in
   http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html
   
   and report whether it fixes your problem?
  
  Hmmhh, reading what it changes
  
  Two fixes for the 'saa7146_wait_for_debi_done' code:
  (a) Timeout did not work when the routine was called with interrupts
  disabled.
  (b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
  Seems to be very important on fast machines!
  
  I am not sure why this could fix the problems I am seeing. I can give it
  a try if you are quite confident that it could help
 
 High load on the PCI bus might trigger a bug somewhere else.
 Btw, I'm not aware of any reports that the saa7146 driver caused memory
 corruption or something like that.

Well it could be a bug in the asus p7131 firmware and the card just
randomly doing weird things... and if this can be seen only after a few
days of vdr/continuous use not many people may be affected and you may
just not get reports.

  , but I get 
  
  - gcc compile failures
  - filesystem corruptions
  - database corruptions
 
 Hm. Very often these symptoms are caused by broken hardware.

I know. But as this machine has uptimes of months without this card
(even with several pci slots in use and worked for long long times with
very different cards in these slots) and it does not work when I just
use the card instead of a win-tv or so I am sure that it is the the asus
card which is not working correctly.

Anyway I am now replacing that card with a tt-1500-t lets see whether
strange things will happen or not.

  when the card's driver is loaded and is in use for a few days (and then
  finally a hang/crash+reboot). I have the *feeling* that the situation
  improved slightly by improving reception via F-connectors, so I thing
  there is some kind of buffer overflow or so occurring...
  
  Anyway thanks for your work, I will happily try it if you think it may
  fix this problem.
 
 I would try. ;-)

Well :-) If the tt-1500 turns out to work OK I can just once give the
asus + your isolated patch a last chance before trashing it...

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-16 Thread Oliver Endriss
Soeren Sonnenburg wrote:
 On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
  Soeren Sonnenburg wrote:
   On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
Soeren Sonnenburg wrote:
 I am unfortunately 100% sure that it is caused by the saa7146 driver, 
 as
 I have an uptime of over a week now that it is not loaded (but the 
 card
 is still in the slot, yeah and I did memory tests for 18 passes -
 nothing).

Could you please try the patch posted in
http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html

and report whether it fixes your problem?
   
   Hmmhh, reading what it changes
   
   Two fixes for the 'saa7146_wait_for_debi_done' code:
   (a) Timeout did not work when the routine was called with interrupts
   disabled.
   (b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
   Seems to be very important on fast machines!
   
   I am not sure why this could fix the problems I am seeing. I can give it
   a try if you are quite confident that it could help
  
  High load on the PCI bus might trigger a bug somewhere else.
  Btw, I'm not aware of any reports that the saa7146 driver caused memory
  corruption or something like that.
 
 Well it could be a bug in the asus p7131 firmware and the card just
 randomly doing weird things... and if this can be seen only after a few
 days of vdr/continuous use not many people may be affected and you may
 just not get reports.
 
   , but I get 
   
   - gcc compile failures
   - filesystem corruptions
   - database corruptions
  
  Hm. Very often these symptoms are caused by broken hardware.
 
 I know. But as this machine has uptimes of months without this card
 (even with several pci slots in use and worked for long long times with
 very different cards in these slots) and it does not work when I just
 use the card instead of a win-tv or so I am sure that it is the the asus
 card which is not working correctly.
 
 Anyway I am now replacing that card with a tt-1500-t lets see whether
 strange things will happen or not.
 
   when the card's driver is loaded and is in use for a few days (and then
   finally a hang/crash+reboot). I have the *feeling* that the situation
   improved slightly by improving reception via F-connectors, so I thing
   there is some kind of buffer overflow or so occurring...
   
   Anyway thanks for your work, I will happily try it if you think it may
   fix this problem.
  
  I would try. ;-)
 
 Well :-) If the tt-1500 turns out to work OK I can just once give the
 asus + your isolated patch a last chance before trashing it...

Wait! Please clarify whether you think that your problem is caused by
the _saa7134_ driver or the _saa7146_ driver.

You wrote 'that memory corruption is caused by the saa7146 driver,'
Is this a typo? Did you mean saa7134?

(My patch is pointless if you do not run a saa7146-based card.)

CU
Oliver

-- 

VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-16 Thread hermann pitton
Am Mittwoch, den 17.10.2007, 02:34 +0200 schrieb Oliver Endriss:
 Soeren Sonnenburg wrote:
  On Sun, 2007-10-14 at 19:47 +0200, Oliver Endriss wrote:
   Soeren Sonnenburg wrote:
On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
  I am unfortunately 100% sure that it is caused by the saa7146 
  driver, as
  I have an uptime of over a week now that it is not loaded (but the 
  card
  is still in the slot, yeah and I did memory tests for 18 passes -
  nothing).
 
 Could you please try the patch posted in
 http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html
 
 and report whether it fixes your problem?

Hmmhh, reading what it changes

Two fixes for the 'saa7146_wait_for_debi_done' code:
(a) Timeout did not work when the routine was called with interrupts
disabled.
(b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
Seems to be very important on fast machines!

I am not sure why this could fix the problems I am seeing. I can give it
a try if you are quite confident that it could help
   
   High load on the PCI bus might trigger a bug somewhere else.
   Btw, I'm not aware of any reports that the saa7146 driver caused memory
   corruption or something like that.
  
  Well it could be a bug in the asus p7131 firmware and the card just
  randomly doing weird things... and if this can be seen only after a few
  days of vdr/continuous use not many people may be affected and you may
  just not get reports.
  
, but I get 

- gcc compile failures
- filesystem corruptions
- database corruptions
   
   Hm. Very often these symptoms are caused by broken hardware.
  
  I know. But as this machine has uptimes of months without this card
  (even with several pci slots in use and worked for long long times with
  very different cards in these slots) and it does not work when I just
  use the card instead of a win-tv or so I am sure that it is the the asus
  card which is not working correctly.
  
  Anyway I am now replacing that card with a tt-1500-t lets see whether
  strange things will happen or not.
  
when the card's driver is loaded and is in use for a few days (and then
finally a hang/crash+reboot). I have the *feeling* that the situation
improved slightly by improving reception via F-connectors, so I thing
there is some kind of buffer overflow or so occurring...

Anyway thanks for your work, I will happily try it if you think it may
fix this problem.
   
   I would try. ;-)
  
  Well :-) If the tt-1500 turns out to work OK I can just once give the
  asus + your isolated patch a last chance before trashing it...
 
 Wait! Please clarify whether you think that your problem is caused by
 the _saa7134_ driver or the _saa7146_ driver.
 
 You wrote 'that memory corruption is caused by the saa7146 driver,'
 Is this a typo? Did you mean saa7134?
 
 (My patch is pointless if you do not run a saa7146-based card.)

As I understand he has both.

Single work each, but not together and in that case always the saa713x
is the culprit.

Hermann




___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-14 Thread Soeren Sonnenburg
On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
 Soeren Sonnenburg wrote:
  I am unfortunately 100% sure that it is caused by the saa7146 driver, as
  I have an uptime of over a week now that it is not loaded (but the card
  is still in the slot, yeah and I did memory tests for 18 passes -
  nothing).
 
 Could you please try the patch posted in
 http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html
 
 and report whether it fixes your problem?

Hmmhh, reading what it changes

Two fixes for the 'saa7146_wait_for_debi_done' code:
(a) Timeout did not work when the routine was called with interrupts
disabled.
(b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
Seems to be very important on fast machines!

I am not sure why this could fix the problems I am seeing. I can give it
a try if you are quite confident that it could help, but I get

- gcc compile failures
- filesystem corruptions
- database corruptions

when the card's driver is loaded and is in use for a few days (and then
finally a hang/crash+reboot). I have the *feeling* that the situation
improved slightly by improving reception via F-connectors, so I thing
there is some kind of buffer overflow or so occurring...

Anyway thanks for your work, I will happily try it if you think it may
fix this problem.

Best,
Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-14 Thread Soeren Sonnenburg
On Fri, 2007-10-12 at 02:49 +0200, hermann pitton wrote:
 Hi,
 
 Am Freitag, den 12.10.2007, 02:24 +0200 schrieb Oliver Endriss:
  Soeren Sonnenburg wrote:
   I am unfortunately 100% sure that it is caused by the saa7146 driver, as
   I have an uptime of over a week now that it is not loaded (but the card
   is still in the slot, yeah and I did memory tests for 18 passes -
   nothing).
  
  Could you please try the patch posted in
  http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html
  
  and report whether it fixes your problem?
  
  CU
  Oliver
  
 
 Mauro also discovered a problem with SMP machines and the saa7134 driver
 i did never hit on UP stuff.
 
 Soeren, in case of dual processors or hyperthreading you might try what
 Mauro used to come around it, not sure if it is in latest v4l-dvb.

The problem is, that this is a rather old UP machine machine, no fancy
dual/quad core nor anything special at all...

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-14 Thread Oliver Endriss
Soeren Sonnenburg wrote:
 On Fri, 2007-10-12 at 02:24 +0200, Oliver Endriss wrote:
  Soeren Sonnenburg wrote:
   I am unfortunately 100% sure that it is caused by the saa7146 driver, as
   I have an uptime of over a week now that it is not loaded (but the card
   is still in the slot, yeah and I did memory tests for 18 passes -
   nothing).
  
  Could you please try the patch posted in
  http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html
  
  and report whether it fixes your problem?
 
 Hmmhh, reading what it changes
 
 Two fixes for the 'saa7146_wait_for_debi_done' code:
 (a) Timeout did not work when the routine was called with interrupts
 disabled.
 (b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
 Seems to be very important on fast machines!
 
 I am not sure why this could fix the problems I am seeing. I can give it
 a try if you are quite confident that it could help

High load on the PCI bus might trigger a bug somewhere else.
Btw, I'm not aware of any reports that the saa7146 driver caused memory
corruption or something like that.

 , but I get 
 
 - gcc compile failures
 - filesystem corruptions
 - database corruptions

Hm. Very often these symptoms are caused by broken hardware.

 when the card's driver is loaded and is in use for a few days (and then
 finally a hang/crash+reboot). I have the *feeling* that the situation
 improved slightly by improving reception via F-connectors, so I thing
 there is some kind of buffer overflow or so occurring...
 
 Anyway thanks for your work, I will happily try it if you think it may
 fix this problem.

I would try. ;-)

CU
Oliver

-- 

VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-11 Thread Oliver Endriss
Soeren Sonnenburg wrote:
 I am unfortunately 100% sure that it is caused by the saa7146 driver, as
 I have an uptime of over a week now that it is not loaded (but the card
 is still in the slot, yeah and I did memory tests for 18 passes -
 nothing).

Could you please try the patch posted in
http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html

and report whether it fixes your problem?

CU
Oliver

-- 

VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-10-11 Thread hermann pitton
Hi,

Am Freitag, den 12.10.2007, 02:24 +0200 schrieb Oliver Endriss:
 Soeren Sonnenburg wrote:
  I am unfortunately 100% sure that it is caused by the saa7146 driver, as
  I have an uptime of over a week now that it is not loaded (but the card
  is still in the slot, yeah and I did memory tests for 18 passes -
  nothing).
 
 Could you please try the patch posted in
 http://linuxtv.org/pipermail/linux-dvb/2007-October/021042.html
 
 and report whether it fixes your problem?
 
 CU
 Oliver
 

Mauro also discovered a problem with SMP machines and the saa7134 driver
i did never hit on UP stuff.

Soeren, in case of dual processors or hyperthreading you might try what
Mauro used to come around it, not sure if it is in latest v4l-dvb.

Hermann





___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] random memory corruptions with asus p7131 (Re: asus p7131 vs ZDF?)

2007-09-24 Thread Soeren Sonnenburg
On Sat, 2007-09-15 at 23:55 +0200, hermann pitton wrote:
 Hi Soeren,

Hi Hermann,
 Am Freitag, den 14.09.2007, 22:33 +0200 schrieb Soeren Sonnenburg:
  (I'm CC'ing hermann as he might know the solution)
  
  Dear all,
[...]
 
 ZDF:57000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:545:546:514
   
[...]
 closest to you is this one with 8MHz bandwidth on the older one I have
 without LNA. You might try with AUTO for all, except bandwidth.
 
 T 57800 8MHz 2/3 NONEQAM16  8k1/4
 NONE
 
 Haven't find anything special for this one so far on the tda8275a with
 tda10046a.
 
 An FMD1216ME with tda10046a, not much tested yet, more likely has some
 flaw around there on slightly weaker signal.

none of this did work :-(((

And even worse, I discovered that this driver is still very buggy, i.e.
when I load the driver (and thus vdr uses it) I get random memory
corruptions, which means databases are corrupted, gcc compiles suddenly
crash and I trigger random kernel bugs (filesystem/ slab corruption/
etc).

I am unfortunately 100% sure that it is caused by the saa7146 driver, as
I have an uptime of over a week now that it is not loaded (but the card
is still in the slot, yeah and I did memory tests for 18 passes -
nothing).

This is with vanilla kernel 2.6.22.6, I wonder whether things could be
better with hg - current?

Anyway I suspect overruns of some buffers, which may even be caused by
firmware bugs... but I have absolutely no idea where to look at. One way
to debug things would be to alloc way too large buffers and then e.g.
zero them and then check whether the expected part is still zero ...

I really hope that you (or someone has an idea...).

Thanks a lot,
Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb