Re: pctv452e

2012-08-06 Thread Steve Hill

On 04/07/12 17:22, Antti Palosaari wrote:


  As the new DVB-USB fixes many bugs I ask you to test it. I converted
  pctv452e driver for you:
http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/pctv452e


I've had chance to give this kernel a go.  Unfortunately I'm getting an 
(unrelated) crash, which appears to be caused by IP forwarding.  The 
crash basically makes it unusable so I'm not actually able to test the 
PCTV driver. :(


I'll add the stack trace here for reference, although as mentioned, it 
doesn't appear to be related to the DVB drivers:


[  126.188809] [ cut here ]
[  126.193455] kernel BUG at mm/slab.c:505!
[  126.197388] Internal error: Oops - BUG: 0 [#1] ARM
[  126.202191] Modules linked in: ctr twofish_generic twofish_common 
camellia_generic serpent_generic blowfish_generic blowfish_common cao

[  126.261699] CPU: 0Not tainted  (3.5.0-rc5+ #1)
[  126.266510] PC is at kfree+0xa0/0xfc
[  126.270096] LR is at __kfree_skb+0x14/0xbc
[  126.274204] pc : [c00c991c]lr : [c0275a20]psr: 4093
[  126.274204] sp : deadbb20  ip : 00ff  fp : deadbba4
[  126.285729] r10: c045b0a4  r9 :   r8 : 0001
[  126.290971] r7 :   r6 : a013  r5 : de2e7034  r4 : de2e7000
[  126.297519] r3 : c08bdce0  r2 :   r1 :   r0 : de2e7000
[  126.304069] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM 
Segment user

[  126.311315] Control: 0005397f  Table: 1eac8000  DAC: 0015
[  126.317078] Process tput (pid: 1411, stack limit = 0xdeada270)
[  126.322930] Stack: (0xdeadbb20 to 0xdeadc000)
[  126.327304] bb20: de11a5e0 de2e7034 0003 c0275a20 de11a5e0 
c02aa448 ded95000 00012c9f
[  126.335518] bb40:  de11a5e0 de2e7034 de11a5e0 de2e7034 
deadbba4 0008 
[  126.343732] bb60: c048e8c0 c02a885c ded95000 0001 0002 
c045b084 df904000 deadbba4
[  126.351946] bb80: 0008 c027d77c    
c04915f4  de11a5e0
[  126.360161] bba0: deada000 c045b0a4 c08bdce0 de11a5e0 2fcded46 
df9045dc df904000 8000
[  126.368374] bbc0:  df904460  bf01c054  
0005  df904460
[  126.376588] bbe0:  0010 df90454c 0080 df9059b0 
 df904600 
[  126.384802] bc00: def2be38 df90454c c0492360 0001 c04b5bc0 
012c  0080
[  126.393017] bc20: c0492368 c027db90 c04b5bcc b3c1 c04b5bcc 
deada000 0001 000c
[  126.401232] bc40: c04b5bc0 0003 0100 c0491bcc c0468944 
c0025f68  c046a7f0
[  126.409446] bc60:  000a deadbcdc 000b  
fed20200 deadbcdc c04915f4
[  126.417660] bc80:  c0491bcc 000200da c002618c 000b 
c000f850 c009c228 4013
[  126.425874] bca0: fed20200 c000e574 c04915f4  0385 
0004 0041 
[  126.434089] bcc0: a18a4473 0002 c04915f4  c0491bcc 
000200da 0001bc8c deadbcf4
[  126.442303] bce0: c009c28c c009c228 4013   
 deada000 c009c28c
[  126.450516] bd00: 0041 0001bc8c 0385 c009e830 0041 
 0002 0001
[  126.458732] bd20: 0018  c0491bd0   
deada000 c04915f4 0002
[  126.466945] bd40:   deadbd8c c04915f4 0122 
000200da deada000 
[  126.475159] bd60: 0002 def2be38  c0491bcc 0001 
c009eebc 0001 0041
[  126.483374] bd80: c04915f4 0002 dedb41c0 de0e50f8 0100 
  df48d868
[  126.491587] bda0: 0002 002a de42ae04 dee49b78 c0491bd0 
0200  000200da
[  126.499801] bdc0: 0010   c00b5234 de87b69c 
 0028 002a
[  126.508016] bde0: c04915f4 c0527580 def2be38 def2be38 0001 
bea81000 de9a3204 def2be38
[  126.516230] be00:  de42aca0 deacafa8 c00b6f94 002a 
0028  
[  126.524445] be20:  deada000 b6d7b000   
 deadbe78 bea81000
[  126.532659] be40: deac8000 05f5 de42aca0 def2be38 0029 
deacafa8  c00b76ec
[  126.540874] be60: deacafa8 0029 deadbfb0 bea81c34 def2be38 
def2eb60 de42aca0 0029
[  126.549088] be80: 0817 c0015548 deadbf08 b6efb000 deadbf08 
c00b8390 de42acd4 
[  126.557302] bea0: deacadb8 de42aca0 b6efafff b6efb000 df59f1c8 
df59f1a4 b6eed000 
[  126.565517] bec0: b6efb000 b6eed000 deadbf08 de0fa548 df9af70c 
b6eed000  c08cd1c0
[  126.573730] bee0:  c08cd1c0  0817 c045e414 
bea81c34 deadbfb0 
[  126.581944] bf00:  b6f2  c0008404  
  c00d5018
[  126.590158] bf20:   017d  de0fa548 
  de0fa548
[  126.598373] bf40:  b6efb000 b6eed000 c00ba184 de42aca0 
de0fa548  c00bb3c4
[  126.606588] bf60: b6efb000 b6eed000 d71f de42acd4  
b6eed000 de42aca0 c000eae8
[  126.614802] bf80: deada000  bea83aec c00bb450 b6f2 
08b4  8bd4
[  

re: pctv452e

2012-07-04 Thread Steve Hill

 Ps. Steve, could you please give me full version of kernel which
 works with pctv452e?

I think it was 2.6.37-1-kirkwood from Debian which I was using (this is 
an ARM system).


 As the new DVB-USB fixes many bugs I ask you to test it. I converted 
 pctv452e driver for you:


 http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/pctv452e

 Only PCTV device supported currently, not TechnoTrend at that time.

Can I ask why it only works on the PCTV devices?  I was under the 
impression that the TechnoTrend hardware was identical?



If you are able to provide any pointers as to where the TechnoTrend 
support is broken (or what debugging I should be turning on to figure 
out where it is broken) then that would be helpful.


Thanks.

--

 - Steve

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


pctv452e

2012-07-02 Thread Steve Hill


I've been using a Technotrend TT 3600 USB DVB-S2 receiver for a couple 
of years, which has (largely) been working fine under the S2-liplianin 
pctv452e driver.  I've been aware of a lot of documented problems with 
running this receiver under the 3.x kernel, so I've stuck with the 2.6 
series kernels.


Unfortunately I've now had to upgrade to the 3.2.0 kernel for other 
unrelated reasons, and it seems that the device is more or less unusable 
under this kernel.  With the stock 3.2.0 kernel, the driver produces 
numerous I2C errors and is quite unreliable.  The I2C errors seem to be 
produced exclusively as a result of stb_6100_read_reg() reading register 
F, and notably all calls to stb6100_read_regs() seem to succeed, so I've 
replaced the stb_6100_read_reg() function with a call to 
stb6100_read_regs(), so it reads all the registers and then returns the 
requested one, rather than reading just the requested register.  This 
seems to make the I2C errors disappear.


However, the card is still very unreliable - after about 5 minutes of 
receiving a channel (using MythTV), it breaks.  No errors logged in 
dmesg, but MythTV logs:


DevRdB(/dev/dvb/adapter0/frontend0) Error: Poll giving up
DVBSH(/dev/dvb/adapter0/frontend0) Error: Device error detected
DVBRec(7:/dev/dvb/adapter0/frontend0) Error: Stream handler died 
unexpectedly.



Can anyone give me any pointers that might help?  I've searched and 
searched and all I can see if people saying that it won't work since the 
DVB-S2 code was integrated into the kernel tree, but I've not seen 
anyone try to figure out _why_ it won't work.


Thanks.

--

 - Steve

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html