All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-dvb] cx23885 crashes with TeVii S470
@ 2010-11-18 11:00 Andy Walls
  2010-11-18 21:39 ` Frank Wohlfahrt
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Walls @ 2010-11-18 11:00 UTC (permalink / raw)
  To: Hans Houwaard, linux-media, frank-info

Try reverting the change that enabled MSI in cx23885.

R,
Andy

Hans Houwaard <hans@ginder.xs4all.nl> wrote:

>My issue was that the only PCIe 1X slot shared an IRQ with the onboard Sound card and that caused all kinds of problems. Also I had to power off my machine if I ever had problems with the DVB cards. They would not function properly after a warm reboot.
>
>Good luck with the issues, my system is not entirely stable as well.
>
>Hans
>
>----- Oorspronkelijk bericht -----
>Van: "Frank Wohlfahrt" <frank-info@gmx.de>
>Aan: linux-dvb@linuxtv.org
>Verzonden: Donderdag 18 november 2010 08:33:32
>Onderwerp: [linux-dvb] cx23885 crashes with TeVii S470
>
>I have a  TeVii S470 installed on the only PCIe slot of my MSI H55M-ED55.
>
>The driver crashes about 50% already immediately after booting, but also some 
>time afterwards, working properly until then.
>
>[  190.764711] ds3000_firmware_ondemand: Waiting for firmware upload 
>(dvb-fe-ds3000.fw)...
>[  190.764722] cx23885 0000:02:00.0: firmware: requesting dvb-fe-ds3000.fw
>[  190.767173] ds3000_firmware_ondemand: Waiting for firmware upload(2)...
>[  193.151417] cx23885[0]: mpeg risc op code error
>[  193.151427] cx23885[0]: TS1 B - dma channel status dump
>[  193.151434] cx23885[0]:   cmds: init risc lo   : 0x2390e000
>[  193.151440] cx23885[0]:   cmds: init risc hi   : 0x00000000
>[  193.151446] cx23885[0]:   cmds: cdt base       : 0x00010580
>[  193.151451] cx23885[0]:   cmds: cdt size       : 0x0000000a
>[  193.151456] cx23885[0]:   cmds: iq base        : 0x00010400
>[  193.151462] cx23885[0]:   cmds: iq size        : 0x00000010
>[  193.151468] cx23885[0]:   cmds: risc pc lo     : 0x2390e1cc
>[  193.151473] cx23885[0]:   cmds: risc pc hi     : 0x00000000
>[  193.151478] cx23885[0]:   cmds: iq wr ptr      : 0x00004103
>...
>
>The related source module is (I think): cx23885-core.c
>
>Only yesterday I had the error during shutdown (preventing the system to 
>switch off):
>
>[ 5021.188012] cx23885 0000:02:00.0: PCI INT A disabled
>[ 5021.211443] saa7146: unregister extension 'dvb'.
>[ 5021.243256] BUG: unable to handle kernel NULL pointer dereference at (null)
>[ 5021.243262] IP: [<ef9824ce>] v4l2_device_unregister+0x1e/0x50 [videodev]
>[ 5021.243272] *pde = 76190067 
>[ 5021.243274] Oops: 0000 [#1] SMP 
>[ 5021.243277] last sysfs 
>file: /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/firmware/0000:02:00.0/loading
>
>I don't know if this failure has something to do with the problem above.
>
>The software I use is Ubuntu Lucid (Kernel 2.6.32-25-generic) coming with the 
>VDR distribution yavdr 0.3.
>
>The firmware for the card is from packet "linux-firmware-yavdr" Version: 
>1.1-3yavdr1 
>-rw-r--r--  1 root root    8192 2010-07-18 21:54 dvb-fe-ds3000.fw
>
>I get the same problems using the original kernel module from 2.6.32 or the 
>DKMS modules from v4l-dvb-dkms (0~20101018.15139) or s2-liplianin-dkms 
>(0~20101016.14629).
>
>I think I have a hardware problem and I just have to know wether it can be 
>fixed with maybe BIOS settings or if I have to get a different DVB-S2 card. 
>What is the reason for a "mpeg risc op code error" ?
>
>Thanks in advance !!
>
>TeVii S470:
>02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video 
>and Audio Decoder (rev 02)
>
>Rest of the system:
>Intel Core i3 530,+ Hauppauge Nexus-s 2.2 (PCI slot)
>
>cx23885               117401  6 
>cx2341x                12404  1 cx23885
>v4l2_common            16390  2 cx23885,cx2341x
>videodev               36345  3 saa7146_vv,cx23885,v4l2_common
>v4l1_compat            13251  1 videodev
>videobuf_dma_sg        10782  2 saa7146_vv,cx23885
>videobuf_dvb            5096  1 cx23885
>
>Frank Wohlfahrt
>
>_______________________________________________
>linux-dvb users mailing list
>For V4L/DVB development, please use instead linux-media@vger.kernel.org
>linux-dvb@linuxtv.org
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>--
>To unsubscribe from this list: send the line "unsubscribe linux-media" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-dvb] cx23885 crashes with TeVii S470
  2010-11-18 11:00 [linux-dvb] cx23885 crashes with TeVii S470 Andy Walls
@ 2010-11-18 21:39 ` Frank Wohlfahrt
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Wohlfahrt @ 2010-11-18 21:39 UTC (permalink / raw)
  To: linux-dvb

Hi Andy,

Can you give me a help how I can disable MSI ? Is it possible via module 
parameter in /etc/modprobe.d or do I have to change the source ? I did not 
find "MSI" inside.

I downloaded v4l-dvb with

  hg clone http://linuxtv.org/hg/v4l-dvb

and would like to generate a DKMS build.

Frank

Maybe this helps for more diagnosis:

frank@mond:~$ sudo lspci -v -s 2:0.0 
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video 
and Audio Decoder (rev 02)
	Subsystem: Device d470:9022
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at fba00000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [80] Power Management version 2
	Capabilities: [90] Vital Product Data <?>
	Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [200] Virtual Channel <?>
	Kernel driver in use: cx23885
	Kernel modules: cx23885

frank@mond:~$ cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       
  0:         47          0          0          0   IO-APIC-edge      timer
  1:          3          1          2          2   IO-APIC-edge      i8042
  4:          1          1          1          0   IO-APIC-edge    
  7:          0          0          0          0   IO-APIC-edge      parport0
  8:          0          1          0          0   IO-APIC-edge      rtc0
  9:          0          0          0          0   IO-APIC-fasteoi   acpi
 16:     366880     366692     367157     366829   IO-APIC-fasteoi   
ehci_hcd:usb1, ahci, saa7146 (0)
 17:      19653      19649      19647      19650   IO-APIC-fasteoi   
pata_jmicron
 19:      51658      51633      51139      51560   IO-APIC-fasteoi   ata_piix, 
ata_piix, cx23885[0]
 23:        159        157        154        162   IO-APIC-fasteoi   
ehci_hcd:usb2
 24:          3          0          0          0  HPET_MSI-edge      hpet2
 25:          0          0          0          0  HPET_MSI-edge      hpet3
 26:          0          0          0          0  HPET_MSI-edge      hpet4
 27:          0          0          0          0  HPET_MSI-edge      hpet5
 33:        538        548        541        534   PCI-MSI-edge      eth0
 34:          8          3          2          4   PCI-MSI-edge      i915
 35:       5782       6001       6040       5941   PCI-MSI-edge      hda_intel
NMI:          0          0          0          0   Non-maskable interrupts
LOC:     764413     802929     744313     628137   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:          0          0          0          0   Performance monitoring 
interrupts
PND:          0          0          0          0   Performance pending work
RES:       5054       6030       4884       3466   Rescheduling interrupts
CAL:         58         70         47         68   Function call interrupts
TLB:        404        469        612        542   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          5          5          5          5   Machine check polls
ERR:          3
MIS:          0

Am Donnerstag 18 November 2010 schrieben Sie:
> Try reverting the change that enabled MSI in cx23885.
>
> R,
> Andy


_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-dvb] cx23885 crashes with TeVii S470
  2010-11-18  7:33 ` Frank Wohlfahrt
@ 2010-11-18  8:23   ` Hans Houwaard
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Houwaard @ 2010-11-18  8:23 UTC (permalink / raw)
  To: linux-media, frank-info

My issue was that the only PCIe 1X slot shared an IRQ with the onboard Sound card and that caused all kinds of problems. Also I had to power off my machine if I ever had problems with the DVB cards. They would not function properly after a warm reboot.

Good luck with the issues, my system is not entirely stable as well.

Hans

----- Oorspronkelijk bericht -----
Van: "Frank Wohlfahrt" <frank-info@gmx.de>
Aan: linux-dvb@linuxtv.org
Verzonden: Donderdag 18 november 2010 08:33:32
Onderwerp: [linux-dvb] cx23885 crashes with TeVii S470

I have a  TeVii S470 installed on the only PCIe slot of my MSI H55M-ED55.

The driver crashes about 50% already immediately after booting, but also some 
time afterwards, working properly until then.

[  190.764711] ds3000_firmware_ondemand: Waiting for firmware upload 
(dvb-fe-ds3000.fw)...
[  190.764722] cx23885 0000:02:00.0: firmware: requesting dvb-fe-ds3000.fw
[  190.767173] ds3000_firmware_ondemand: Waiting for firmware upload(2)...
[  193.151417] cx23885[0]: mpeg risc op code error
[  193.151427] cx23885[0]: TS1 B - dma channel status dump
[  193.151434] cx23885[0]:   cmds: init risc lo   : 0x2390e000
[  193.151440] cx23885[0]:   cmds: init risc hi   : 0x00000000
[  193.151446] cx23885[0]:   cmds: cdt base       : 0x00010580
[  193.151451] cx23885[0]:   cmds: cdt size       : 0x0000000a
[  193.151456] cx23885[0]:   cmds: iq base        : 0x00010400
[  193.151462] cx23885[0]:   cmds: iq size        : 0x00000010
[  193.151468] cx23885[0]:   cmds: risc pc lo     : 0x2390e1cc
[  193.151473] cx23885[0]:   cmds: risc pc hi     : 0x00000000
[  193.151478] cx23885[0]:   cmds: iq wr ptr      : 0x00004103
...

The related source module is (I think): cx23885-core.c

Only yesterday I had the error during shutdown (preventing the system to 
switch off):

[ 5021.188012] cx23885 0000:02:00.0: PCI INT A disabled
[ 5021.211443] saa7146: unregister extension 'dvb'.
[ 5021.243256] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 5021.243262] IP: [<ef9824ce>] v4l2_device_unregister+0x1e/0x50 [videodev]
[ 5021.243272] *pde = 76190067 
[ 5021.243274] Oops: 0000 [#1] SMP 
[ 5021.243277] last sysfs 
file: /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/firmware/0000:02:00.0/loading

I don't know if this failure has something to do with the problem above.

The software I use is Ubuntu Lucid (Kernel 2.6.32-25-generic) coming with the 
VDR distribution yavdr 0.3.

The firmware for the card is from packet "linux-firmware-yavdr" Version: 
1.1-3yavdr1 
-rw-r--r--  1 root root    8192 2010-07-18 21:54 dvb-fe-ds3000.fw

I get the same problems using the original kernel module from 2.6.32 or the 
DKMS modules from v4l-dvb-dkms (0~20101018.15139) or s2-liplianin-dkms 
(0~20101016.14629).

I think I have a hardware problem and I just have to know wether it can be 
fixed with maybe BIOS settings or if I have to get a different DVB-S2 card. 
What is the reason for a "mpeg risc op code error" ?

Thanks in advance !!

TeVii S470:
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video 
and Audio Decoder (rev 02)

Rest of the system:
Intel Core i3 530,+ Hauppauge Nexus-s 2.2 (PCI slot)

cx23885               117401  6 
cx2341x                12404  1 cx23885
v4l2_common            16390  2 cx23885,cx2341x
videodev               36345  3 saa7146_vv,cx23885,v4l2_common
v4l1_compat            13251  1 videodev
videobuf_dma_sg        10782  2 saa7146_vv,cx23885
videobuf_dvb            5096  1 cx23885

Frank Wohlfahrt

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-dvb] cx23885 crashes with TeVii S470
       [not found] <mailman.0.1290063176.21965.linux-dvb@linuxtv.org>
@ 2010-11-18  7:33 ` Frank Wohlfahrt
  2010-11-18  8:23   ` Hans Houwaard
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Wohlfahrt @ 2010-11-18  7:33 UTC (permalink / raw)
  To: linux-dvb

I have a  TeVii S470 installed on the only PCIe slot of my MSI H55M-ED55.

The driver crashes about 50% already immediately after booting, but also some 
time afterwards, working properly until then.

[  190.764711] ds3000_firmware_ondemand: Waiting for firmware upload 
(dvb-fe-ds3000.fw)...
[  190.764722] cx23885 0000:02:00.0: firmware: requesting dvb-fe-ds3000.fw
[  190.767173] ds3000_firmware_ondemand: Waiting for firmware upload(2)...
[  193.151417] cx23885[0]: mpeg risc op code error
[  193.151427] cx23885[0]: TS1 B - dma channel status dump
[  193.151434] cx23885[0]:   cmds: init risc lo   : 0x2390e000
[  193.151440] cx23885[0]:   cmds: init risc hi   : 0x00000000
[  193.151446] cx23885[0]:   cmds: cdt base       : 0x00010580
[  193.151451] cx23885[0]:   cmds: cdt size       : 0x0000000a
[  193.151456] cx23885[0]:   cmds: iq base        : 0x00010400
[  193.151462] cx23885[0]:   cmds: iq size        : 0x00000010
[  193.151468] cx23885[0]:   cmds: risc pc lo     : 0x2390e1cc
[  193.151473] cx23885[0]:   cmds: risc pc hi     : 0x00000000
[  193.151478] cx23885[0]:   cmds: iq wr ptr      : 0x00004103
...

The related source module is (I think): cx23885-core.c

Only yesterday I had the error during shutdown (preventing the system to 
switch off):

[ 5021.188012] cx23885 0000:02:00.0: PCI INT A disabled
[ 5021.211443] saa7146: unregister extension 'dvb'.
[ 5021.243256] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 5021.243262] IP: [<ef9824ce>] v4l2_device_unregister+0x1e/0x50 [videodev]
[ 5021.243272] *pde = 76190067 
[ 5021.243274] Oops: 0000 [#1] SMP 
[ 5021.243277] last sysfs 
file: /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/firmware/0000:02:00.0/loading

I don't know if this failure has something to do with the problem above.

The software I use is Ubuntu Lucid (Kernel 2.6.32-25-generic) coming with the 
VDR distribution yavdr 0.3.

The firmware for the card is from packet "linux-firmware-yavdr" Version: 
1.1-3yavdr1 
-rw-r--r--  1 root root    8192 2010-07-18 21:54 dvb-fe-ds3000.fw

I get the same problems using the original kernel module from 2.6.32 or the 
DKMS modules from v4l-dvb-dkms (0~20101018.15139) or s2-liplianin-dkms 
(0~20101016.14629).

I think I have a hardware problem and I just have to know wether it can be 
fixed with maybe BIOS settings or if I have to get a different DVB-S2 card. 
What is the reason for a "mpeg risc op code error" ?

Thanks in advance !!

TeVii S470:
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video 
and Audio Decoder (rev 02)

Rest of the system:
Intel Core i3 530,+ Hauppauge Nexus-s 2.2 (PCI slot)

cx23885               117401  6 
cx2341x                12404  1 cx23885
v4l2_common            16390  2 cx23885,cx2341x
videodev               36345  3 saa7146_vv,cx23885,v4l2_common
v4l1_compat            13251  1 videodev
videobuf_dma_sg        10782  2 saa7146_vv,cx23885
videobuf_dvb            5096  1 cx23885

Frank Wohlfahrt

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-18 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 11:00 [linux-dvb] cx23885 crashes with TeVii S470 Andy Walls
2010-11-18 21:39 ` Frank Wohlfahrt
     [not found] <mailman.0.1290063176.21965.linux-dvb@linuxtv.org>
2010-11-18  7:33 ` Frank Wohlfahrt
2010-11-18  8:23   ` Hans Houwaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.