[linux-dvb] lockups with a TwinhanDTV Alpha/MagicBox II

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

A friend of mine got himself a "EuroMini 100" USB stick from www.dnt.de which 
actually happens to be a "TwinhanDTV Alpha/MagicBox II" using the vp7045 
kernel module. It is announced as linux compatible by dnt which of course 
don't mean nothing...

We tested the stick under win2k first and it resonably worked fine getting 
about 24 TV channels in the south of Berlin. Lots of them with weak signals, 
though.

Switching to the linux side, he is running Suse 10.0, we first attempted to 
use the native Suse compiled kernel modules which resulted in a complete lock 
up of the machine after providing it the correct firmware file 
into /usr/lib/hotplug/firmware (dvb-usb-vp7045-01.fw). 

Check out the output from /var/log/messages:

----------------
Jan  5 21:13:13 leoni kernel: usb 5-2: new high speed USB device using 
ehci_hcd
and address 3
Jan  5 21:13:14 leoni kernel: dvb_usb: module not supported by Novell, setting 
U
 taint flag.
Jan  5 21:13:14 leoni kernel: dvb_usb_vp7045: module not supported by Novell, 
se
tting U taint flag.
Jan  5 21:13:14 leoni kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver 
(T
winhanDTV Alpha/MagicBox II)' in cold state, will try to load a firmware
Jan  5 21:13:14 leoni kernel: dvb-usb: downloading firmware from file 
'dvb-usb-v                                                            
p7045-01.fw' to the 'Cypress FX2'
Jan  5 21:13:14 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV                                                             
Alpha/MagicBox II) successfully initialized and connected.
Jan  5 21:13:14 leoni kernel: usbcore: registered new driver dvb_usb_vp7045
Jan  5 21:13:14 leoni kernel: usb 5-2: USB disconnect, address 3
Jan  5 21:13:14 leoni kernel: dvb-usb: generic DVB-USB module successfully 
deini                                                            tialized 
and disconnected.
Jan  5 21:13:16 leoni kernel: usb 5-2: new high speed USB device using 
ehci_hcd                                                             and 
address 4
Jan  5 21:13:16 leoni kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver 
(T                                                            winhanDTV 
Alpha/MagicBox II)' in warm state.
Jan  5 21:13:16 leoni kernel: dvb-usb: will pass the complete MPEG2 transport 
st                                                            ream to 
the software demuxer.
Jan  5 21:13:16 leoni kernel: DVB: registering new adapter (Twinhan USB2.0 
DVB-T                                                             receiver 
(TwinhanDTV Alpha/MagicBox II)).
Jan  5 21:13:16 leoni kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
Jan  5 21:13:16 leoni kernel: DVB: registering frontend 0 (Twinhan VP7045/46 
USB                                                             DVB-T)...
Jan  5 21:13:16 leoni kernel: dvb-usb: schedule remote query interval to 400 
mse                                                            cs.
Jan  5 21:13:16 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV                                                             
Alpha/MagicBox II) successfully initialized and connected.
Jan  5 21:14:24 leoni su: (to root) helmerj on /dev/pts/4
Jan  5 21:14:24 leoni su: (to root) helmerj on /dev/pts/4
Jan  5 21:15:52 leoni kernel: usb 5-2: USB disconnect, address 4
Jan  5 21:15:52 leoni kernel: vp7045: USB control message 'in' went wrong.
Jan  5 21:15:52 leoni kernel: vp7045: USB control message 'out' went wrong.
Jan  5 21:15:52 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV Alpha/MagicBox II) successfully deinitialized and disconnected.
Jan  5 21:15:52 leoni kernel: Unable to handle kernel paging request at 
virtual address 616c632f
Jan  5 21:15:52 leoni kernel:  printing eip:
Jan  5 21:15:52 leoni kernel: f93f572c
Jan  5 21:15:52 leoni kernel: *pde = 00000000
Jan  5 21:15:52 leoni kernel: Oops: 0000 [#1]
Jan  5 21:15:52 leoni kernel: Modules linked in: dvb_usb_vp7045 dvb_usb 
dvb_core firmware_class dvb_pll capidrv isdn slhc fcpci hfsplus ipt_pkttype 
ipt_LOG ipt_limit subfs nvidia speedstep_lib freq_table snd_pcm_oss 
snd_mixer_oss snd_seq_midi snd_seq_midi_event snd_opl3_synth snd_seq_instr 
snd_seq_midi_emul snd_ainstr_fm snd_seq joydev button battery ac edd capi 
capifs usbhid ohci1394 ieee1394 kernelcapi snd_es1938 crc_ccitt ehci_hcd 
gameport snd_pcm snd_page_alloc snd_opl3_lib snd_timer snd_hwdep sis900 
snd_mpu401_uart mii snd_rawmidi uhci_hcd generic ohci_hcd snd_seq_device 
usbcore snd soundcore i2c_sis96x i2c_sis630 i2c_core sis_agp agpgart shpchp 
pci_hotplug parport_pc lp parport ip6t_REJECT ipt_REJECT ipt_state 
iptable_mangle iptable_nat iptable_filter ip6table_mangle ip_conntrack 
ip_tables ip6table_filter ip6_tables ipv6 nls_iso8859_1 nls_cp437 vfat fat 
dm_mod reiserfs fan thermal processor sis5513 ide_disk ide_core
Jan  5 21:15:52 leoni kernel: CPU:    0
Jan  5 21:15:52 leoni kernel: EIP:    0060:[<f93f572c>]    Tainted: P     U 
VLI
Jan  5 21:15:52 leoni kernel: EFLAGS: 00010246   (2.6.13-15-default)
Jan  5 21:15:52 leoni kernel: EIP is at dvb_frontend_ioctl+0x28c/0x5b0 
[dvb_core]
Jan  5 21:15:52 leoni kernel: eax: 00000000   ebx: efb0b000   ecx: 0000002a   
edx: ebcba2a0
Jan  5 21:15:52 leoni kernel: esi: 616c632f   edi: df24ac40   ebp: df24ac40   
esp: f750be70
Jan  5 21:15:52 leoni kernel: ds: 007b   es: 007b   ss: 0068
Jan  5 21:15:52 leoni kernel: Process kaffeine (pid: 16742, 
threadinfo=f750a000 task=c1930a80)
Jan  5 21:15:52 leoni kernel: Stack: ebcba2a0 efb0b18c 00000000 00800100 
f750bed4 f93f4dc0 c0101369 00000000
Jan  5 21:15:52 leoni kernel:        00000000 00000000 f93f4dc0 00000000 
ebcba2a0 00000000 80a86f3d fffffff4
Jan  5 21:15:52 leoni kernel:        000000a8 df24ac40 f93ee607 df24ac40 
ee8b44c0 ded21788 00000002 df24ac40
Jan  5 21:15:52 leoni kernel: Call Trace:
Jan  5 21:15:52 leoni kernel:  [<f93f4dc0>] dvb_frontend_thread+0x0/0x450 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<c0101369>] kernel_thread+0x69/0x80
Jan  5 21:15:52 leoni kernel:  [<f93f4dc0>] dvb_frontend_thread+0x0/0x450 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<f93ee607>] dvb_usercopy+0xa7/0x13b [dvb_core]
Jan  5 21:15:52 leoni kernel:  [<f93f5451>] dvb_frontend_start+0xa1/0xf0 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<f93f5b37>] dvb_frontend_open+0x47/0x90 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<f93ee0c9>] dvb_device_open+0x69/0xf0 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<c0160f9e>] chrdev_open+0x6e/0x130
Jan  5 21:15:52 leoni kernel:  [<c0158753>] dentry_open+0x153/0x1d0
Jan  5 21:15:52 leoni kernel:  [<f93ee1ff>] dvb_generic_ioctl+0x2f/0x40 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<f93f54a0>] dvb_frontend_ioctl+0x0/0x5b0 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<f93ee1d0>] dvb_generic_ioctl+0x0/0x40 
[dvb_core]
Jan  5 21:15:52 leoni kernel:  [<c016995e>] do_ioctl+0x4e/0x60
Jan  5 21:15:52 leoni kernel:  [<c0169a6f>] vfs_ioctl+0x4f/0x1c0
Jan  5 21:15:52 leoni kernel:  [<c0169c17>] sys_ioctl+0x37/0x70
Jan  5 21:15:52 leoni kernel:  [<c0102d1b>] sysenter_past_esp+0x54/0x79
Jan  5 21:15:52 leoni kernel: Code: e9 aa fe ff ff 81 fe 4e 6f 28 80 0f 84 1d 
02 00 00 81 fe 3d 6f a8 80 0f 85 f7 fe ff ff 8b 14 24 b9 2a 00 00 00 8b 
7c 24 4c 8b 32 <f3> a5 8b 4c 24 4c 31 d2 8b a9 a4 00 00 00 83 cd 01 89 a9 a4 
00
Jan  5 21:15:53 leoni kernel:  <6>usb 5-2: new high speed USB device using 
ehci_hcd and address 5
Jan  5 21:15:53 leoni kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV Alpha/MagicBox II)' in warm state.
Jan  5 21:15:53 leoni kernel: dvb-usb: will pass the complete MPEG2 transport 
stream to the software demuxer.
Jan  5 21:15:53 leoni kernel: DVB: registering new adapter (Twinhan USB2.0 
DVB-T receiver (TwinhanDTV Alpha/MagicBox II)).
Jan  5 21:15:53 leoni kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
Jan  5 21:15:53 leoni kernel: DVB: registering frontend 0 (Twinhan VP7045/46 
USB DVB-T)...
Jan  5 21:15:53 leoni kernel: dvb-usb: schedule remote query interval to 400 
msecs.
Jan  5 21:15:53 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV Alpha/MagicBox II) successfully initialized and connected.

----------------

We then checked out the latest dvb-kernel tree from cvs and did compile our 
own custom kernel. Connecting and trying to use the device (attempting to use 
klear from www.klear.org) resulted in this error:

------------------
Jan  5 19:41:54 leoni kernel: dvb-usb: generic DVB-USB module successfully 
deini
tialized and disconnected.
Jan  5 19:41:56 leoni kernel: usb 5-2: new high speed USB device using 
ehci_hcd
and address 4
Jan  5 19:41:56 leoni kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver 
(T
winhanDTV Alpha/MagicBox II)' in warm state.
Jan  5 19:41:56 leoni kernel: dvb-usb: will pass the complete MPEG2 transport 
st
ream to the software demuxer.
Jan  5 19:41:56 leoni kernel: DVB: registering new adapter (Twinhan USB2.0 
DVB-T
 receiver (TwinhanDTV Alpha/MagicBox II)).
Jan  5 19:41:56 leoni kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
Jan  5 19:41:56 leoni kernel: DVB: registering frontend 0 (Twinhan VP7045/46 
USB
 DVB-T)...
Jan  5 19:41:56 leoni kernel: dvb-usb: schedule remote query interval to 400 
mse
cs.
Jan  5 19:41:56 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV
 Alpha/MagicBox II) successfully initialized and connected.
Jan  5 19:42:55 leoni su: (to root) helmerj on /dev/pts/2
Jan  5 19:43:25 leoni kernel: usb 5-2: USB disconnect, address 4
Jan  5 19:43:25 leoni kernel: vp7045: USB control message 'in' went wrong.
Jan  5 19:43:25 leoni kernel: vp7045: USB control message 'out' went wrong.
Jan  5 19:43:25 leoni kernel: vp7045: USB control message 'out' went wrong.
Jan  5 19:43:25 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV
 Alpha/MagicBox II) successfully deinitialized and disconnected.
Jan  5 19:43:25 leoni kernel: usb 5-2: new high speed USB device using 
ehci_hcd
and address 5
Jan  5 19:43:25 leoni kernel: dvb-usb: found a 'Twinhan USB2.0 DVB-T receiver 
(T
winhanDTV Alpha/MagicBox II)' in warm state.
Jan  5 19:43:25 leoni kernel: dvb-usb: will pass the complete MPEG2 transport 
st
ream to the software demuxer.
Jan  5 19:43:25 leoni kernel: vp7045: USB control message 'out' went wrong.
Jan  5 19:43:25 leoni kernel: DVB: registering new adapter (Twinhan USB2.0 
DVB-T
 receiver (TwinhanDTV Alpha/MagicBox II)).
Jan  5 19:43:25 leoni kernel: dvb-usb: MAC address: 08:ff:ff:ff:ff:ff
Jan  5 19:43:25 leoni kernel: DVB: registering frontend 0 (Twinhan VP7045/46 
USB
 DVB-T)...
Jan  5 19:43:25 leoni kernel: dvb-usb: schedule remote query interval to 400 
mse
cs.
Jan  5 19:43:26 leoni kernel: dvb-usb: Twinhan USB2.0 DVB-T receiver 
(TwinhanDTV
 Alpha/MagicBox II) successfully initialized and connected.
Jan  5 19:43:26 leoni kernel: vp7045: USB control message 'out' went wrong.
Jan  5 19:43:26 leoni kernel: Unable to handle kernel paging request at 
virtual
address 01c00057
Jan  5 19:43:26 leoni kernel:  printing eip:
Jan  5 19:43:26 leoni kernel: f989b78f
Jan  5 19:43:26 leoni kernel: *pde = 00000000
Jan  5 19:43:26 leoni kernel: Oops: 0000 [#1]
Jan  5 19:43:26 leoni kernel: Modules linked in: dvb_usb_vp7045 dvb_usb 
dvb_core
 firmware_class dvb_pll nvidia ipt_pkttype ipt_LOG ipt_limit hfsplus subfs 
vmmon
 speedstep_lib freq_table snd_pcm_oss snd_mixer_oss snd_seq_midi 
snd_seq_midi_ev
ent snd_opl3_synth snd_seq_instr snd_seq_midi_emul snd_ainstr_fm snd_seq 
button
battery ac capidrv fcpci capi capifs joydev edd usbhid ehci_hcd ohci1394 
ieee139
4 ip6t_REJECT kernelcapi ipt_REJECT ipt_state crc_ccitt isdn slhc snd_es1938 
gam
eport snd_pcm snd_page_alloc snd_opl3_lib generic snd_timer snd_hwdep 
snd_mpu401
_uart snd_rawmidi snd_seq_device snd soundcore iptable_mangle uhci_hcd sis900 
oh
ci_hcd iptable_nat usbcore mii iptable_filter i2c_sis630 i2c_sis96x i2c_core 
sis
_agp agpgart shpchp pci_hotplug ip6table_mangle ip_conntrack ip_tables 
ip6table_
filter ip6_tables ipv6 parport_pc lp parport nls_iso8859_1 nls_cp437 vfat fat 
dm
_mod reiserfs fan thermal processor sis5513 ide_disk ide_core
Jan  5 19:43:26 leoni kernel: CPU:    0
Jan  5 19:43:26 leoni kernel: EIP:    0060:[<f989b78f>]    Tainted: P     U 
VLI
Jan  5 19:43:26 leoni kernel: EFLAGS: 00010212   (2.6.13-15.7-default)
Jan  5 19:43:26 leoni kernel: EIP is at usb_submit_urb+0x5f/0x220 [usbcore]
Jan  5 19:43:26 leoni kernel: eax: ffffff8f   ebx: f77c5b60   ecx: 01c01495   
ed
x: 01c00033
Jan  5 19:43:26 leoni kernel: esi: 00000010   edi: 000007d0   ebp: c1947ea4   
es
p: c1947e48
Jan  5 19:43:26 leoni kernel: ds: 007b   es: 007b   ss: 0068
Jan  5 19:43:26 leoni kernel: Process events/0 (pid: 3, threadinfo=c1946000 
task
=c18eb020)
Jan  5 19:43:26 leoni kernel: Stack: 00000286 efe2cc00 f989b690 f77c5b60 
f77c5b6
0 000007d0 c1947ea4 f989bb14
Jan  5 19:43:26 leoni kernel:        00000000 00200200 fffff4af 4b87ad6e 
f989bac
0 f77c5b60 c04109e0 00000000
Jan  5 19:43:26 leoni kernel:        c1947e88 c1947e88 f77c5b60 efe2cc00 
84003d0
0 e2dc1640 f989bc24 e2dc1640
Jan  5 19:43:26 leoni kernel: Call Trace:
Jan  5 19:43:26 leoni kernel:  [<f989b690>] urb_destroy+0x0/0x10 [usbcore]
Jan  5 19:43:26 leoni kernel:  [<f989bb14>] usb_start_wait_urb+0x44/0x100 
[usbco
re]
Jan  5 19:43:26 leoni kernel:  [<f989bac0>] timeout_kill+0x0/0x10 [usbcore]
Jan  5 19:43:26 leoni kernel:  [<f989bc24>] usb_internal_control_msg+0x54/0x70 
[                                   usbcore]
Jan  5 19:43:26 leoni kernel:  [<f989bcc3>] usb_control_msg+0x83/0xa0 
[usbcore]
Jan  5 19:43:26 leoni kernel:  [<f92f40dd>] vp7045_usb_op+0xdd/0x1d0 
[dvb_usb_vp                                   7045]
Jan  5 19:43:26 leoni kernel:  [<f92f424e>] vp7045_rc_query+0x1e/0x70 
[dvb_usb_v                                   p7045]
Jan  5 19:43:26 leoni kernel:  [<f931b7be>] 
dvb_usb_read_remote_control+0x1e/0xc                                   0 
[dvb_usb]
Jan  5 19:43:26 leoni kernel:  [<c012a5e9>] worker_thread+0x169/0x200
Jan  5 19:43:26 leoni kernel:  [<f931b7a0>] 
dvb_usb_read_remote_control+0x0/0xc0                                    
[dvb_usb]
Jan  5 19:43:26 leoni kernel:  [<c01195c7>] __wake_up_common+0x37/0x60
Jan  5 19:43:26 leoni kernel:  [<c0119580>] default_wake_function+0x0/0x10
Jan  5 19:43:26 leoni kernel:  [<c012a480>] worker_thread+0x0/0x200
Jan  5 19:43:26 leoni kernel:  [<c012dc35>] kthread+0x85/0x90
Jan  5 19:43:26 leoni kernel:  [<c012dbb0>] kthread+0x0/0x90
Jan  5 19:43:26 leoni kernel:  [<c01012f1>] kernel_thread_helper+0x5/0x14
Jan  5 19:43:26 leoni kernel: Code: 04 85 c0 75 07 b8 ed ff ff ff eb d4 8b 48 
14                                    83 f9 02 76 f1 8b 50 40 85 d2 74 ea 8b 
00 85 c0 7e e4 b8 8f ff ff ff 83 f9 06 7                                   4 
b5 <8b> 52 24 89 54 24 08 85 d2 74 cf 8b 42 04 85 c0 74 c8 8b 43 20

-------------

Despite these failures, not all is bad. Sometimes (2 in 10 I'd say) it works 
like a charm and we can make it work using apps like klear, xine and 
kaffeine. Is it possible that the board is not providing enough power to the 
stick? Or is the support for this device in it's initial steps? We would 
appreciate some advice on how to make this work.

Thanks in advance
Juergen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060106/f1614e3a/attachment-0001.pgp

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux