* Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
@ 2015-02-22 13:17 Gert-Jan van der Stroom
2015-02-22 21:35 ` Antti Palosaari
0 siblings, 1 reply; 7+ messages in thread
From: Gert-Jan van der Stroom @ 2015-02-22 13:17 UTC (permalink / raw)
To: linux-media
Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
(kernel 3.13.0-45) using media_build.
I succeed doing a build of the media_build, the drivers also load when I
attach the Mygica, but when I try to use it (tvheadend) it crashes:
[ 61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[ 61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[ 61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[ 61.847369] i2c i2c-7: Added multiplexed i2c bus 8
[ 61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
[ 61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
successfully attached
[ 61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
Si2168)...
[ 61.857488] input: IR-receiver inside an USB DVB receiver as
/devices/pci0000:00/0000:00:1a.7/usb1/1-5/input/input11
[ 61.857541] dvb-usb: schedule remote query interval to 100 msecs.
[ 61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
connected.
[ 61.857773] usbcore: registered new interface driver dvb_usb_cxusb
Tvheadend start:
[ 314.356162] BUG: unable to handle kernel NULL pointer dereference at
0000000000000010
[ 314.356202] IP: [<ffffffffa02ef74c>]
media_entity_pipeline_start+0x1c/0x390 [media]
[ 314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
[ 314.356260] Oops: 0000 [#1] SMP
[ 314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
e1000e floppy ptp pps_core pata_acpi
[ 314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: G W OX
3.13.0-45-generic #74-Ubuntu
What is wrong, or do I miss something ?
I also added the firmware described at:
http://www.linuxtv.org/wiki/index.php/Geniatech_T230
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
2015-02-22 13:17 Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build Gert-Jan van der Stroom
@ 2015-02-22 21:35 ` Antti Palosaari
2015-02-22 21:55 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 7+ messages in thread
From: Antti Palosaari @ 2015-02-22 21:35 UTC (permalink / raw)
To: Gert-Jan van der Stroom, linux-media, Mauro Carvalho Chehab
Mauro,
could you fix your media controller stuff ASAP as I think almost all DVB
devices are currently broken. I have got multiple bug reports....
On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:
> Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
> (kernel 3.13.0-45) using media_build.
> I succeed doing a build of the media_build, the drivers also load when I
> attach the Mygica, but when I try to use it (tvheadend) it crashes:
>
> [ 61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
> [ 61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
> software demuxer.
> [ 61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
> [ 61.847369] i2c i2c-7: Added multiplexed i2c bus 8
> [ 61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
> [ 61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
> successfully attached
> [ 61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
> Si2168)...
> [ 61.857488] input: IR-receiver inside an USB DVB receiver as
> /devices/pci0000:00/0000:00:1a.7/usb1/1-5/input/input11
> [ 61.857541] dvb-usb: schedule remote query interval to 100 msecs.
> [ 61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
> connected.
> [ 61.857773] usbcore: registered new interface driver dvb_usb_cxusb
>
> Tvheadend start:
> [ 314.356162] BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000010
> [ 314.356202] IP: [<ffffffffa02ef74c>]
> media_entity_pipeline_start+0x1c/0x390 [media]
^^^^^^^^^^^^ problem is that I think
> [ 314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
> [ 314.356260] Oops: 0000 [#1] SMP
> [ 314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
> dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
> snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
> serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
> snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
> mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
> e1000e floppy ptp pps_core pata_acpi
> [ 314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: G W OX
> 3.13.0-45-generic #74-Ubuntu
>
> What is wrong, or do I miss something ?
> I also added the firmware described at:
> http://www.linuxtv.org/wiki/index.php/Geniatech_T230
regards
Antti
--
http://palosaari.fi/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
2015-02-22 21:35 ` Antti Palosaari
@ 2015-02-22 21:55 ` Mauro Carvalho Chehab
2015-02-22 22:11 ` Antti Palosaari
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2015-02-22 21:55 UTC (permalink / raw)
To: Antti Palosaari; +Cc: Gert-Jan van der Stroom, linux-media
Em Sun, 22 Feb 2015 23:35:52 +0200
Antti Palosaari <crope@iki.fi> escreveu:
> Mauro,
> could you fix your media controller stuff ASAP as I think almost all DVB
> devices are currently broken. I have got multiple bug reports....
That looks weird... I think the patch adding media controller support
for the dvb-usb was not merged yet.
>
> On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:
> > Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
> > (kernel 3.13.0-45) using media_build.
> > I succeed doing a build of the media_build, the drivers also load when I
> > attach the Mygica, but when I try to use it (tvheadend) it crashes:
> >
> > [ 61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
> > [ 61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
> > software demuxer.
> > [ 61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
> > [ 61.847369] i2c i2c-7: Added multiplexed i2c bus 8
> > [ 61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
> > [ 61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
> > successfully attached
> > [ 61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
> > Si2168)...
> > [ 61.857488] input: IR-receiver inside an USB DVB receiver as
> > /devices/pci0000:00/0000:00:1a.7/usb1/1-5/input/input11
> > [ 61.857541] dvb-usb: schedule remote query interval to 100 msecs.
> > [ 61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
> > connected.
> > [ 61.857773] usbcore: registered new interface driver dvb_usb_cxusb
> >
> > Tvheadend start:
> > [ 314.356162] BUG: unable to handle kernel NULL pointer dereference at
> > 0000000000000010
> > [ 314.356202] IP: [<ffffffffa02ef74c>]
> > media_entity_pipeline_start+0x1c/0x390 [media]
>
>
> ^^^^^^^^^^^^ problem is that I think
>
>
> > [ 314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
> > [ 314.356260] Oops: 0000 [#1] SMP
> > [ 314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
> > dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
> > snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
> > serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
> > snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
> > mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
> > e1000e floppy ptp pps_core pata_acpi
> > [ 314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: G W OX
> > 3.13.0-45-generic #74-Ubuntu
Gert-Jan,
Could you please post the stack dump? It would help to know what's calling
media_entity_pipeline_start.
Regards,
Mauro
> >
> > What is wrong, or do I miss something ?
> > I also added the firmware described at:
> > http://www.linuxtv.org/wiki/index.php/Geniatech_T230
>
> regards
> Antti
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
2015-02-22 21:55 ` Mauro Carvalho Chehab
@ 2015-02-22 22:11 ` Antti Palosaari
2015-02-23 9:01 ` Vincent McIntyre
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Antti Palosaari @ 2015-02-22 22:11 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: Gert-Jan van der Stroom, linux-media
On 02/22/2015 11:55 PM, Mauro Carvalho Chehab wrote:
> Em Sun, 22 Feb 2015 23:35:52 +0200
> Antti Palosaari <crope@iki.fi> escreveu:
>
>> Mauro,
>> could you fix your media controller stuff ASAP as I think almost all DVB
>> devices are currently broken. I have got multiple bug reports....
>
> That looks weird... I think the patch adding media controller support
> for the dvb-usb was not merged yet.
hmm, OK. But I have got at least one such report for rtl28xxu driver on
my mail and there is another report on my blog, which is likely same,
though there was no log, only report saying it crash when latest media
build used.
>> On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:
>>> Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
>>> (kernel 3.13.0-45) using media_build.
>>> I succeed doing a build of the media_build, the drivers also load when I
>>> attach the Mygica, but when I try to use it (tvheadend) it crashes:
>>>
>>> [ 61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
>>> [ 61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
>>> software demuxer.
>>> [ 61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
>>> [ 61.847369] i2c i2c-7: Added multiplexed i2c bus 8
>>> [ 61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
>>> [ 61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
>>> successfully attached
>>> [ 61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
>>> Si2168)...
>>> [ 61.857488] input: IR-receiver inside an USB DVB receiver as
>>> /devices/pci0000:00/0000:00:1a.7/usb1/1-5/input/input11
>>> [ 61.857541] dvb-usb: schedule remote query interval to 100 msecs.
>>> [ 61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
>>> connected.
>>> [ 61.857773] usbcore: registered new interface driver dvb_usb_cxusb
>>>
>>> Tvheadend start:
>>> [ 314.356162] BUG: unable to handle kernel NULL pointer dereference at
>>> 0000000000000010
>>> [ 314.356202] IP: [<ffffffffa02ef74c>]
>>> media_entity_pipeline_start+0x1c/0x390 [media]
>>
>>
>> ^^^^^^^^^^^^ problem is that I think
>>
>>
>>> [ 314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
>>> [ 314.356260] Oops: 0000 [#1] SMP
>>> [ 314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
>>> dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
>>> snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
>>> serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
>>> snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
>>> mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
>>> e1000e floppy ptp pps_core pata_acpi
>>> [ 314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: G W OX
>>> 3.13.0-45-generic #74-Ubuntu
>
> Gert-Jan,
>
> Could you please post the stack dump? It would help to know what's calling
> media_entity_pipeline_start.
>
> Regards,
> Mauro
>
>>>
>>> What is wrong, or do I miss something ?
>>> I also added the firmware described at:
>>> http://www.linuxtv.org/wiki/index.php/Geniatech_T230
>>
>> regards
>> Antti
>>
--
http://palosaari.fi/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
2015-02-22 21:55 ` Mauro Carvalho Chehab
2015-02-22 22:11 ` Antti Palosaari
@ 2015-02-23 9:01 ` Vincent McIntyre
[not found] ` <1278760656379117910@unknownmsgid>
[not found] ` <002e01d04f87$c09c1c60$41d45520$@gmail.com>
3 siblings, 0 replies; 7+ messages in thread
From: Vincent McIntyre @ 2015-02-23 9:01 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Antti Palosaari, Gert-Jan van der Stroom, linux-media
I saw this too, while working with Antti on adding support for
another rtl2832-based DVB card.
The kernel version
[ 0.000000] Linux version 3.13.0-45-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #74-Ubuntu SMP Tue Jan 13 19:37:48 UTC 2015 (Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13)
This is what dmesg contained:
[ 247.897962] BUG: unable to handle kernel NULL pointer dereference at 00000008
[ 247.897971] IP: [<f84f62f4>] media_entity_pipeline_start+0x24/0x350 [media]
[ 247.897982] *pdpt = 000000001c70f001 *pde = 0000000000000000
[ 247.897988] Oops: 0000 [#1] SMP
[ 247.897992] Modules linked in: gpio_ich nvidia(POX) snd_hda_codec_hdmi bnep ir_lirc_codec(OX) rfcomm ir_xmp_decoder(OX) lirc_dev(OX) ir_sony_decoder(OX) ir_sharp_decoder(OX) ir_sanyo_decoder(OX) ir_rc6_decoder(OX) ir_rc5_decoder(OX) ir_nec_decoder(OX) ir_mce_kbd_decoder(OX) ir_jvc_decoder(OX) bluetooth rtl2832_sdr(OX) videobuf2_vmalloc(OX) snd_hda_intel videobuf2_memops(OX) snd_intel8x0 snd_ac97_codec snd_hda_codec videobuf2_core(OX) ac97_bus snd_hwdep v4l2_common(OX) snd_pcm videodev(OX) snd_page_alloc fc0013(OX) snd_seq_midi snd_seq_midi_event rtl2832(OX) snd_rawmidi i2c_mux snd_seq dvb_usb_rtl28xxu(OX) dvb_usb_v2(OX) dvb_core(OX) rc_core(OX) snd_seq_device media(OX) snd_timer dcdbas snd serio_raw drm soundcore lpc_ich shpchp ppdev parport_pc lp mac_hid parport hid_generic tg3 usbhid psmouse ptp e1000 pps_core pata_acpi floppy hid
[ 247.898043] CPU: 0 PID: 2967 Comm: kdvb-ad-0-fe-0 Tainted: POX 3.13.0-45-generic #74-Ubuntu
[ 247.898046] Hardware name: Dell Inc. OptiPlex GX280/0DG476, BIOS A07 11/29/2005
[ 247.898049] task: e5e9db00 ti: dbb80000 task.ti: dbb80000
[ 247.898052] EIP: 0060:[<f84f62f4>] EFLAGS: 00010286 CPU: 0
[ 247.898058] EIP is at media_entity_pipeline_start+0x24/0x350 [media]
[ 247.898061] EAX: 00000000 EBX: e0b26280 ECX: f7b8a580 EDX: f6aac614
[ 247.898063] ESI: f6aac400 EDI: 00000000 EBP: dbb81f08 ESP: dbb81e30
[ 247.898066] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 247.898069] CR0: 8005003b CR2: 00000008 CR3: 1c70e000 CR4: 000007f0
[ 247.898072] Stack:
[ 247.898074] f7b8a5c8 00000001 00000006 00000000 b7de1fcc 00000039 00000000 00000001
[ 247.898081] 00000000 f7b8a5c8 00000001 00000000 dbb81eb4 c1089ef6 dbb81eb8 c108c7c9
[ 247.898086] 00000000 f7b8a580 f7b8a5c8 f7b8a580 f261ea00 e5e9db00 dbb81eac c108a44a
[ 247.898093] Call Trace:
[ 247.898102] [<c1089ef6>] ? dequeue_task_fair+0x416/0x7c0
[ 247.898106] [<c108c7c9>] ? enqueue_task_fair+0x5d9/0x7e0
[ 247.898110] [<c108a44a>] ? check_preempt_wakeup+0x1aa/0x250
[ 247.898115] [<c1087b21>] ? set_next_entity+0xb1/0xe0
[ 247.898120] [<c100ed20>] ? __switch_to+0xb0/0x340
[ 247.898126] [<c1658fc8>] ? __schedule+0x358/0x770
[ 247.898130] [<c1082c60>] ? try_to_wake_up+0x150/0x240
[ 247.898143] [<f8763121>] dvb_frontend_thread+0x331/0x9a0 [dvb_core]
[ 247.898154] [<f8763121>] ? dvb_frontend_thread+0x331/0x9a0 [dvb_core]
[ 247.898158] [<c1082dc0>] ? default_wake_function+0x10/0x20
[ 247.898162] [<c1090f57>] ? __wake_up_common+0x47/0x70
[ 247.898166] [<c1090f9f>] ? __wake_up_locked+0x1f/0x30
[ 247.898177] [<f8762df0>] ? dvb_frontend_ioctl_legacy.isra.8+0xc20/0xc20 [dvb_core]
[ 247.898182] [<c10751d1>] kthread+0xa1/0xc0
[ 247.898187] [<c1663b37>] ret_from_kernel_thread+0x1b/0x28
[ 247.898191] [<c1075130>] ? kthread_create_on_node+0x140/0x140
[ 247.898193] Code: 90 90 90 90 90 90 90 57 8d 7c 24 08 83 e4 f8 ff 77 fc 55 89 e5 57 56 53 81 ec cc 00 00 00 3e 8d 74 26 00 89 c7 89 85 48 ff ff ff <8b> 40 08 89 95 50 ff ff ff 89 85 60 ff ff ff 05 44 02 00
00 89
[ 247.898229] EIP: [<f84f62f4>] media_entity_pipeline_start+0x24/0x350 [media] SS:ESP 0068:dbb81e30
[ 247.898236] CR2: 0000000000000008
[ 247.898241] ---[ end trace 800df23615d3c02a ]---
The git commit for the media_build tree at the time I compiled
everything was
commit c40e87b410c9ed170e2ae6ca2aeef06a44621b20
Add writel_relaxed supportHEADmaster
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
HTH
Vince
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
[not found] ` <1278760656379117910@unknownmsgid>
@ 2015-02-23 9:07 ` Vincent McIntyre
0 siblings, 0 replies; 7+ messages in thread
From: Vincent McIntyre @ 2015-02-23 9:07 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Antti Palosaari, Gert-Jan van der Stroom, linux-media
On 2/23/15, Vincent McIntyre <vincent.mcintyre@gmail.com> wrote:
> I saw this too, while working with Antti on adding support for
> another rtl* device.
>
I should add how I triggered this
- build --main-git, make install, halt
- cold-boot, check modules loaded ok, check /dev/dvb/adapter* exist
- try to tune with dvb-apps 'scan' and adapter0/tuner0. This is where
the oops occurred.
Vince
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build
[not found] ` <002e01d04f87$c09c1c60$41d45520$@gmail.com>
@ 2015-02-26 23:03 ` Gert-Jan van der Stroom
0 siblings, 0 replies; 7+ messages in thread
From: Gert-Jan van der Stroom @ 2015-02-26 23:03 UTC (permalink / raw)
To: linux-media
> -----Original Message-----
> From: Gert-Jan van der Stroom [mailto:gjstroom@gmail.com]
> Sent: maandag 23 februari 2015 17:43
> To: linux-media-owner@vger.kernel.org
> Cc: 'Mauro Carvalho Chehab'
> Subject: RE: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using
> media_build
>
> > -----Original Message-----
> > From: Mauro Carvalho Chehab [mailto:mchehab@osg.samsung.com]
> > Sent: zondag 22 februari 2015 22:55
> > To: Antti Palosaari
> > Cc: Gert-Jan van der Stroom; linux-media@vger.kernel.org
> > Subject: Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45)
> > using media_build
> >
> > Em Sun, 22 Feb 2015 23:35:52 +0200
> > Antti Palosaari <crope@iki.fi> escreveu:
> >
> > > Mauro,
> > > could you fix your media controller stuff ASAP as I think almost all
> > > DVB devices are currently broken. I have got multiple bug reports....
> >
> > That looks weird... I think the patch adding media controller support
> > for
> the
> > dvb-usb was not merged yet.
> >
> > >
> > > On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:
> > > > Can someone help me to get a Mygica T230 DVB-T/T2/C working on
> > > > Ubuntu 14.04 (kernel 3.13.0-45) using media_build.
> > > > I succeed doing a build of the media_build, the drivers also load
> > > > when I attach the Mygica, but when I try to use it (tvheadend) it
> crashes:
> > > >
> > > > [ 61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm
> state.
> > > > [ 61.828138] dvb-usb: will pass the complete MPEG2 transport
stream
> to
> > the
> > > > software demuxer.
> > > > [ 61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
> > > > [ 61.847369] i2c i2c-7: Added multiplexed i2c bus 8
> > > > [ 61.847372] si2168 7-0064: Silicon Labs Si2168 successfully
> attached
> > > > [ 61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
> > > > successfully attached
> > > > [ 61.857034] usb 1-5: DVB: registering adapter 0 frontend 0
(Silicon
> Labs
> > > > Si2168)...
> > > > [ 61.857488] input: IR-receiver inside an USB DVB receiver as
> > > > /devices/pci0000:00/0000:00:1a.7/usb1/1-5/input/input11
> > > > [ 61.857541] dvb-usb: schedule remote query interval to 100 msecs.
> > > > [ 61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully
> initialized
> > and
> > > > connected.
> > > > [ 61.857773] usbcore: registered new interface driver
dvb_usb_cxusb
> > > >
> > > > Tvheadend start:
> > > > [ 314.356162] BUG: unable to handle kernel NULL pointer
> > > > dereference at
> > > > 0000000000000010
> > > > [ 314.356202] IP: [<ffffffffa02ef74c>]
> > > > media_entity_pipeline_start+0x1c/0x390 [media]
> > >
> > >
> > > ^^^^^^^^^^^^ problem is that I think
> > >
> > >
> > > > [ 314.356236] PGD 76c6c067 PUD 766b0067 PMD 0 [ 314.356260]
> Oops:
> > > > 0000 [#1] SMP [ 314.356279] Modules linked in: si2157(OX)
> > > > si2168(OX) i2c_mux
> > > > dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX)
> > > > media(OX) snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap
> > > > coretemp kvm_intel kvm serio_raw snd_hda_intel i915 lpc_ich
> > > > snd_hda_codec shpchp drm_kms_helper snd_hwdep snd_pcm
> > snd_page_alloc
> > > > snd_timer pl2303 video wmi tpm_infineon drm mac_hid mei_me snd
> > > > soundcore i2c_algo_bit usbserial mei lp parport psmouse e1000e
> > > > floppy
> > ptp pps_core pata_acpi
> > > > [ 314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: G
> W
> > OX
> > > > 3.13.0-45-generic #74-Ubuntu
> >
> > Gert-Jan,
> >
> > Could you please post the stack dump? It would help to know what's
> > calling media_entity_pipeline_start.
> >
> > Regards,
> > Mauro
> >
> [Gert-Jan van der Stroom]
>
> Here's the complete dmesg:
>
> [ 61.356038] usb 1-5: new high-speed USB device number 5 using ehci-pci
> [ 61.488897] usb 1-5: New USB device found, idVendor=0572,
> idProduct=c688
> [ 61.488901] usb 1-5: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 61.488904] usb 1-5: Product: USB Stick
> [ 61.488906] usb 1-5: Manufacturer: Max
> [ 61.488908] usb 1-5: SerialNumber: 080116
> [ 61.541984] media: module verification failed: signature and/or
required
> key missing - tainting kernel
> [ 61.542468] media: Linux media interface: v0.10
> [ 61.546376] WARNING: You are using an experimental version of the
> media
> stack.
> [ 61.546376] As the driver is backported to an older kernel, it doesn't
> offer
> [ 61.546376] enough quality for its usage in production.
> [ 61.546376] Use it with care.
> [ 61.546376] Latest git patches (needed if you report a bug to
> linux-media@vger.kernel.org):
> [ 61.546376] 135f9be9194cf7778eb73594aa55791b229cf27c [media]
> dvb_frontend: start media pipeline while thread is running
> [ 61.546376] 0f0fa90bd035fa15106799b813d4f0315d99f47e [media]
> cx231xx:
> enable tuner->decoder link at videobuf start
> [ 61.546376] 9239effd53d47e3cd9c653830c8465c0a3a427dc [media]
> dvb-frontend: enable tuner link when the FE thread starts
> [ 61.564631] WARNING: You are using an experimental version of the
> media
> stack.
> [ 61.564631] As the driver is backported to an older kernel, it doesn't
> offer
> [ 61.564631] enough quality for its usage in production.
> [ 61.564631] Use it with care.
> [ 61.564631] Latest git patches (needed if you report a bug to
> linux-media@vger.kernel.org):
> [ 61.564631] 135f9be9194cf7778eb73594aa55791b229cf27c [media]
> dvb_frontend: start media pipeline while thread is running
> [ 61.564631] 0f0fa90bd035fa15106799b813d4f0315d99f47e [media]
> cx231xx:
> enable tuner->decoder link at videobuf start
> [ 61.564631] 9239effd53d47e3cd9c653830c8465c0a3a427dc [media]
> dvb-frontend: enable tuner link when the FE thread starts
> [ 61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
> [ 61.828138] dvb-usb: will pass the complete MPEG2 transport stream to
> the
> software demuxer.
> [ 61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
> [ 61.847369] i2c i2c-7: Added multiplexed i2c bus 8
> [ 61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
> [ 61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
> successfully attached
> [ 61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon
Labs
> Si2168)...
> [ 61.857488] input: IR-receiver inside an USB DVB receiver as
> /devices/pci0000:00/0000:00:1a.7/usb1/1-5/input/input11
> [ 61.857541] dvb-usb: schedule remote query interval to 100 msecs.
> [ 61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized
and
> connected.
> [ 61.857773] usbcore: registered new interface driver dvb_usb_cxusb
> [ 314.356162] BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000010
> [ 314.356202] IP: [<ffffffffa02ef74c>]
> media_entity_pipeline_start+0x1c/0x390 [media] [ 314.356236] PGD
> 76c6c067 PUD 766b0067 PMD 0 [ 314.356260] Oops: 0000 [#1] SMP [
> 314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
> dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX)
> media(OX) snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap
> coretemp kvm_intel kvm serio_raw snd_hda_intel i915 lpc_ich
> snd_hda_codec shpchp drm_kms_helper snd_hwdep snd_pcm
> snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm mac_hid
> mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
> e1000e floppy ptp pps_core pata_acpi
> [ 314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: G W
OX
> 3.13.0-45-generic #74-Ubuntu
> [ 314.356574] Hardware name: Hewlett-Packard HP Compaq dc7900 Ultra-
> Slim Desktop/3033h, BIOS 786G1 v01.26 07/12/2011 [ 314.356609] task:
> ffff880036cd4800 ti: ffff880075f7a000 task.ti:
> ffff880075f7a000
> [ 314.356635] RIP: 0010:[<ffffffffa02ef74c>] [<ffffffffa02ef74c>]
> media_entity_pipeline_start+0x1c/0x390 [media] [ 314.356673] RSP:
> 0018:ffff880075f7bcd0 EFLAGS: 00010282 [ 314.356693] RAX:
> 0000000000000000 RBX: 0000000000000000 RCX:
> 0000000000000000
> [ 314.356717] RDX: 0000000000000000 RSI: ffff88007495a264 RDI:
> 0000000000000000
> [ 314.356743] RBP: ffff880075f7be40 R08: ffff880075f7a000 R09:
> ffff88007495a000
> [ 314.356767] R10: 00000000000001d1 R11: 0000000000000204 R12:
> ffff880076736830
> [ 314.356792] R13: ffff880076736830 R14: 0000000000000000 R15:
> ffff88007495a000
> [ 314.356817] FS: 0000000000000000(0000) GS:ffff88007b680000(0000)
> knlGS:0000000000000000
> [ 314.356845] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [
> 314.356866] CR2: 0000000000000010 CR3: 000000007672f000 CR4:
> 00000000000407e0
> [ 314.356891] Stack:
> [ 314.356901] ffff880075e14800 ffff88007b613540 ffff880075e14800
> ffff880075f7bcf8
> [ 314.356936] ffffffff8109edc8 ffff880075f7bd40 ffffffff810a515d
> ffff880075f7bd18
> [ 314.356971] ffffffff8101bc23 ffff880075e14800 ffff88007b613540
> ffff88007b6134c0
> [ 314.357006] Call Trace:
> [ 314.357021] [<ffffffff8109edc8>] ? __enqueue_entity+0x78/0x80 [
> 314.357043] [<ffffffff810a515d>] ? enqueue_entity+0x2ad/0xbb0 [
> 314.357066] [<ffffffff8101bc23>] ? native_sched_clock+0x13/0x80 [
> 314.358166] [<ffffffff810a2f54>] ? update_curr+0xe4/0x180 [ 314.359255]
> [<ffffffff810a3442>] ? dequeue_entity+0x142/0x5c0 [ 314.360146]
> [<ffffffff810981c5>] ? check_preempt_curr+0x75/0xa0 [ 314.360146]
> [<ffffffff8101bc23>] ? native_sched_clock+0x13/0x80 [ 314.360146]
> [<ffffffff810a3d0e>] ? dequeue_task_fair+0x44e/0x660 [ 314.360146]
> [<ffffffff8109d4e8>] ? sched_clock_cpu+0xa8/0x100 [ 314.360146]
> [<ffffffff810125c6>] ? __switch_to+0x126/0x4c0 [ 314.360146]
> [<ffffffffa037649b>] dvb_frontend_thread+0x33b/0x970 [dvb_core] [
> 314.360146] [<ffffffff81724e61>] ? __schedule+0x381/0x7d0 [ 314.360146]
> [<ffffffffa0376160>] ?
> dvb_frontend_ioctl_legacy.isra.8+0xce0/0xce0 [dvb_core] [ 314.360146]
> [<ffffffff8108b572>] kthread+0xd2/0xf0 [ 314.360146]
[<ffffffff8108b4a0>]
> ? kthread_create_on_node+0x1c0/0x1c0
> [ 314.360146] [<ffffffff817318bc>] ret_from_fork+0x7c/0xb0 [
> 314.360146] [<ffffffff8108b4a0>] ? kthread_create_on_node+0x1c0/0x1c0
> [ 314.360146] Code: cb 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66
> 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 89 fb 48 81 ec 48 01 00 00
> <48> 8b 47 10 48 89 bd a0 fe ff ff 48 89 b5 b0 fe ff ff 48 89 85 [
314.360146]
> RIP [<ffffffffa02ef74c>]
> media_entity_pipeline_start+0x1c/0x390 [media] [ 314.360146] RSP
> <ffff880075f7bcd0> [ 314.360146] CR2: 0000000000000010 [ 314.360146] -
> --[ end trace 4afaa17fd66e17b4 ]---
>
> I hope you can solve it, I also get the same problem when I build the
drivers
> with media_build mips cross compiled for VU+ Solo2 which also runs kernel
> 3.13.
>
> Thanks, Gert-Jan
>
> > > >
> > > > What is wrong, or do I miss something ?
> > > > I also added the firmware described at:
> > > > http://www.linuxtv.org/wiki/index.php/Geniatech_T230
> > >
> > > regards
> > > Antti
> > >
It's working now:
[ 1460.848020] usb 2-4: new high-speed USB device number 2 using ehci-pci
[ 1460.980871] usb 2-4: New USB device found, idVendor=0572, idProduct=c688
[ 1460.980875] usb 2-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1460.980878] usb 2-4: Product: USB Stick
[ 1460.980881] usb 2-4: Manufacturer: Max
[ 1460.980883] usb 2-4: SerialNumber: 080116
[ 1461.036963] media: module verification failed: signature and/or required
key missing - tainting kernel
[ 1461.037383] media: Linux media interface: v0.10
[ 1461.053284] WARNING: You are using an experimental version of the media
stack.
[ 1461.053284] As the driver is backported to an older kernel, it doesn't
offer
[ 1461.053284] enough quality for its usage in production.
[ 1461.053284] Use it with care.
[ 1461.053284] Latest git patches (needed if you report a bug to
linux-media@vger.kernel.org):
[ 1461.053284] 8a26a258bdb82db241cdc35f332f88dd67bdb9c9 [media] dvb core:
only start media entity if not NULL
[ 1461.053284] 99a85b901eb54f62ff0c3fd6eb56e60b7b9f15c8 Merge tag
'v4.0-rc1' into patchwork
[ 1461.053284] c517d838eb7d07bbe9507871fab3931deccff539 Linux 4.0-rc1
[ 1461.075904] WARNING: You are using an experimental version of the media
stack.
[ 1461.075904] As the driver is backported to an older kernel, it doesn't
offer
[ 1461.075904] enough quality for its usage in production.
[ 1461.075904] Use it with care.
[ 1461.075904] Latest git patches (needed if you report a bug to
linux-media@vger.kernel.org):
[ 1461.075904] 8a26a258bdb82db241cdc35f332f88dd67bdb9c9 [media] dvb core:
only start media entity if not NULL
[ 1461.075904] 99a85b901eb54f62ff0c3fd6eb56e60b7b9f15c8 Merge tag
'v4.0-rc1' into patchwork
[ 1461.075904] c517d838eb7d07bbe9507871fab3931deccff539 Linux 4.0-rc1
[ 1461.124021] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[ 1461.360058] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[ 1461.360349] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[ 1461.398223] i2c i2c-5: Added multiplexed i2c bus 6
[ 1461.398227] si2168 5-0064: Silicon Labs Si2168 successfully attached
[ 1461.409245] si2157 6-0060: Silicon Labs Si2147/2148/2157/2158
successfully attached
[ 1461.409255] usb 2-4: DVB: registering adapter 0 frontend 0 (Silicon Labs
Si2168)...
[ 1461.409527] input: IR-receiver inside an USB DVB receiver as
/devices/pci0000:00/0000:00:1d.7/usb2/2-4/input/input13
[ 1461.410733] dvb-usb: schedule remote query interval to 100 msecs.
[ 1461.410918] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
connected.
[ 1461.410933] usbcore: registered new interface driver dvb_usb_cxusb
[ 1492.358127] si2168 5-0064: found a 'Silicon Labs Si2168-B40'
[ 1492.374658] si2168 5-0064: downloading firmware from file
'dvb-demod-si2168-b40-01.fw'
[ 1492.919874] si2168 5-0064: firmware version: 4.0.4
[ 1492.931124] si2157 6-0060: found a 'Silicon Labs Si2148-A20'
[ 1492.955098] si2157 6-0060: downloading firmware from file
'dvb-tuner-si2158-a20-01.fw'
[ 1494.008500] si2157 6-0060: firmware version: 2.1.6
[ 1494.008515] usb 2-4: DVB: adapter 0 frontend 0 frequency 0 out of range
(110000000..862000000)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-02-26 23:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-22 13:17 Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build Gert-Jan van der Stroom
2015-02-22 21:35 ` Antti Palosaari
2015-02-22 21:55 ` Mauro Carvalho Chehab
2015-02-22 22:11 ` Antti Palosaari
2015-02-23 9:01 ` Vincent McIntyre
[not found] ` <1278760656379117910@unknownmsgid>
2015-02-23 9:07 ` Vincent McIntyre
[not found] ` <002e01d04f87$c09c1c60$41d45520$@gmail.com>
2015-02-26 23:03 ` Gert-Jan van der Stroom
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.