[linux-dvb] Re: m920x crash

Michael Krufky mkrufky at linuxtv.org
Thu Sep 28 21:15:35 CEST 2006


Martin Schwier wrote:
> Hi!

Martin, I hope you dont mind that I added cc to the linux-dvb list.

I pushed up a few patches about an hour ago, tip changeset is:

c0f7293d1ac6 - m920x: move qt1010_tuner_attach function into qt1010.h

if you do, 'hg heads', is this the revision that you're using?  If not,
please update and try again.

> 
> I'm not a developer but I just tried out your driver
> (http://linuxtv.org/hg/~mkrufky/m920x) with my MSI Megasky 580 on linux
> 2.6.18 and i got this:

Aapo, I just pushed up some more cleanup patches... Is the problem
described below my fault?  Can you test the current tree on your device
and reproduce this error?

Patrick has given his Ack on the new dvb-usb module... I was just about
to email you asking to test the tree before I request a merge to Mauro,
but then I got this email from Martin.  Since I don't have this device,
myself, I dont have any way to test it.

Can you look into this, Aapo?

> 
> usb 1-4: new high speed USB device using ehci_hcd and address 5
> usb 1-4: configuration #1 chosen from 1 choice
> dvb-usb: found a 'MSI Mega Sky 580 DVB-T USB2.0' in cold state, will try
> to load  a firmware
> dvb-usb: downloading firmware from file 'dvb-usb-megasky-02.fw'
> dvb_usb_m920x: probe of 1-4:1.0 failed with error 64
> usbcore: registered new driver dvb_usb_m920x
> usb 1-4: USB disconnect, address 5
> usb 1-4: new high speed USB device using ehci_hcd and address 6
> usb 1-4: configuration #1 chosen from 1 choice
> dvb-usb: found a 'MSI Mega Sky 580 DVB-T USB2.0' in warm state.
> dvb-usb: will pass the complete MPEG2 transport stream to the software
> demuxer.
> DVB: registering new adapter (MSI Mega Sky 580 DVB-T USB2.0).
> BUG: unable to handle kernel NULL pointer dereference at virtual address
> 0000000 0
>  printing eip:
> f8b11222
> *pde = 00000000
> Oops: 0000 [#1]
> SMP
> Modules linked in: dvb_usb_m920x mt352 dvb_usb dvb_core dvb_pll i2c_core
> snd_pcm _oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq
> snd_seq_device ieee802 11_crypt_wep hci_usb ipw3945 ieee80211
> ieee80211_crypt sdhci snd_hda_intel snd_h da_codec snd_pcm snd_timer snd
> soundcore snd_page_alloc psmouse sbp2 ohci1394 ie ee1394
> CPU:    0
> EIP:    0060:[<f8b11222>]    Tainted: GF     VLI
> EFLAGS: 00010292   (2.6.18-gentoo #6)
> EIP is at i2c_transfer+0x22/0x60 [i2c_core]
> eax: 00000000   ebx: ffffffda   ecx: 00000002   edx: dfee3d78
> esi: f8a7a6d4   edi: f708c55c   ebp: 00000002   esp: dfee3d4c
> ds: 007b   es: 007b   ss: 0068
> Process khubd (pid: 168, ti=dfee2000 task=dfed5a90 task.ti=dfee2000)
> Stack: dfee3d78 f7cfb200 f8a7a6d4 f7cfb3f4 f708c000 f8ac308e f8b74350
> 00000000
>        f8b74381 00000000 7f08c850 0000001e f7080001 dfee3d93 0001001e
> 00000001
>        dfee3d92 7f00a6c0 f7cfb200 f8ac3a80 f708c7f4 00000000 00000000
> f8a787b1
> Call Trace:
>  [<f8ac308e>] mt352_read_register+0x5e/0xa0 [mt352]
>  [<f8ac3a80>] mt352_attach+0x40/0x88 [mt352]
>  [<f8a787b1>] megasky_frontend_attach+0x21/0x40 [dvb_usb_m920x]
>  [<f8b5b2b3>] dvb_usb_adapter_frontend_init+0x13/0xf0 [dvb_usb]
>  [<f8b5a926>] dvb_usb_device_init+0x406/0x630 [dvb_usb]
>  [<f8a7829e>] m920x_probe+0x1e/0x160 [dvb_usb_m920x]
>  [<c030eb04>] usb_match_dynamic_id+0x14/0x60
>  [<c030eaa9>] usb_match_id+0x39/0x50
>  [<c030eef8>] usb_probe_interface+0x68/0xa0
>  [<c02acb94>] driver_probe_device+0x44/0xc0
>  [<c03b174a>] klist_next+0x3a/0x60
>  [<c02ac3f4>] bus_for_each_drv+0x44/0x70
>  [<c02acc88>] device_attach+0x68/0x70
>  [<c02acc10>] __device_attach+0x0/0x10
>  [<c02ac0ab>] bus_attach_device+0x1b/0x40
>  [<c02ab204>] device_add+0x254/0x2f0
>  [<c030dd1c>] usb_set_configuration+0x32c/0x490
>  [<c030922e>] usb_new_device+0x1ce/0x300
>  [<c030a52a>] hub_thread+0x74a/0xc00
>  [<c0138e20>] autoremove_wake_function+0x0/0x50
>  [<c0309de0>] hub_thread+0x0/0xc00
>  [<c0138c67>] kthread+0xf7/0x100
>  [<c0138b70>] kthread+0x0/0x100
>  [<c0101005>] kernel_thread_helper+0x5/0x10
> Code: be 60 c7 8d b6 00 00 00 00 83 ec 14 89 5c 24 04 bb da ff ff ff 89
> 7c 24 0c  89 c7 89 6c 24 10 89 cd 89 74 24 08 89 14 24 8b 40 0c <8b> 08
> 85 c9 74 1f 8d 77  1c 89 f0 e8 3e 1a 8a c7 8b 5f 0c 89 e9
> EIP: [<f8b11222>] i2c_transfer+0x22/0x60 [i2c_core] SS:ESP 0068:dfee3d4c
> 
> 
> I used the most recent version of your driver (at time of writing this
> email). Maybe it helps you.
> 
> regards,
> Martin Schwier


-- 
Michael Krufky




More information about the linux-dvb mailing list