Hello, everyone
    I am now having a great trouble with my usb tv stick.
    The USB device is a composite device with 1 ATV interface, 1 DTV interface, 
2 audio about interfaces.
    I write my Linux driver and when I insmod my module, my ubuntu just
works well. But when I remove the tv stick from my PC, ubuntu just give
me this uncomfortable message:  
>>>>>>>>>>>>>>>>>>>>>>  
[ 1344.510836] BUG: unable to handle kernel paging request at virtual address 
3260d68c
[ 1344.510845]  printing eip:
[ 1344.510848] e0dec7e6
[ 1344.510852] *pde = 00000000
[ 1344.510857] Oops: 0000 [#1]
[ 1344.510860] SMP 
[ 1344.510865] Modules linked in: snd_usb_audio snd_usb_lib snd_hwdep
au8502 dvb_usb_stk1150 lgh06xf lgdt330x dvb_usb_cxusb dvb_usb dvb_core
dvb_pll binfmt_misc rfcomm l2cap bluetooth ppdev acpi_cpufreq
cpufreq_stats cpufreq_powersave cpufreq_userspace cpufreq_ondemand
freq_table cpufreq_conservative dev_acpi pcc_acpi sony_acpi tc1100_wmi
dock asus_acpi container sbs i2c_ec ac button backlight video battery
ipv6 nls_utf8 ntfs af_packet lp fuse snd_hda_intel snd_hda_codec
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer nvidia(P)
parport_pc parport agpgart sky2 snd_seq_device iTCO_wdt
iTCO_vendor_support pcspkr psmouse snd soundcore snd_page_alloc
i2c_core serio_raw shpchp pci_hotplug tsdev evdev ext3 jbd mbcache sg
sd_mod generic ahci ata_generic ehci_hcd uhci_hcd usbcore ata_piix
libata scsi_mod thermal processor fan fbcon tileblit font bitblit
softcursor vesafb capability commoncap
[ 1344.511041] CPU:    0
[ 1344.511044] EIP:    0060:[<e0dec7e6>]    Tainted: P      VLI
[ 1344.511047] EFLAGS: 00010292   (2.6.20-15-generic #2)
[ 1344.511063] EIP is at usb_free_stream_buffers+0x16/0x40 [dvb_usb]
[ 1344.511070] eax: d8bf4abf   ebx: cf63ab3c   ecx: cf63a86c   edx: d8bf48c0
[ 1344.511078] esi: cf63ab3c   edi: cf63a000   ebp: 00000001   esp: dfbcfe80
[ 1344.511084] ds: 007b   es: 007b   ss: 0068
[ 1344.511090] Process khubd (pid: 2049, ti=dfbce000 task=dfc9f030 
task.ti=dfbce000)
[ 1344.511096] Stack: cf63abf0 cf63abf0 e0decbee cf63abf0 cf63a000 e0deb39e 
e0c7a75a cf8eec18 
[ 1344.511113]        e0c7b3e0 ffffffed e0deb430 cf8eec18 e0c7b3e0 cf8eec00 
e08d4d20 d97a7c00 
[ 1344.511129]        cf8eec18 e0c7b410 cf8eec90 d97a7c58 c02578a8 cf8eec18 
cf8eec18 c0257dd3 
[ 1344.511147] Call Trace:
[ 1344.511163]  [<e0decbee>] usb_urb_exit+0x3e/0x50 [dvb_usb]
[ 1344.511185]  [<e0deb39e>] dvb_usb_exit+0x3e/0xa0 [dvb_usb]
[ 1344.511216]  [<e0deb430>] dvb_usb_device_exit+0x30/0x50 [dvb_usb]
[ 1344.511241]  [<e08d4d20>] usb_unbind_interface+0x50/0xa0 [usbcore]
[ 1344.511285]  [<c02578a8>] __device_release_driver+0x68/0xa0
[ 1344.511306]  [<c0257dd3>] device_release_driver+0x23/0x40
[ 1344.511321]  [<c025721c>] bus_remove_device+0x5c/0x90
[ 1344.511338]  [<c0255672>] device_del+0x152/0x1b0
[ 1344.511366]  [<e08d21ee>] usb_disable_device+0x7e/0xe0 [usbcore]
[ 1344.511421]  [<e08ce597>] usb_disconnect+0x97/0x130 [usbcore]
[ 1344.511512]  [<e08cf2ff>] hub_thread+0x26f/0xc20 [usbcore]
[ 1344.511645]  [<c013adf0>] autoremove_wake_function+0x0/0x50
[ 1344.511690]  [<e08cf090>] hub_thread+0x0/0xc20 [usbcore]
[ 1344.511714]  [<c013ac3a>] kthread+0xba/0xf0
[ 1344.511729]  [<c013ab80>] kthread+0x0/0xf0
[ 1344.511747]  [<c01044c7>] kernel_thread_helper+0x7/0x10
[ 1344.511783]  =======================
[ 1344.511787] Code: df e9 72 ff ff ff 8b 4c 24 08 89 8b 40 10 00 00 eb
90 90 90 90 53 89 c3 83 ec 04 f6 40 1c 01 75 1f eb 24 66 90 83 e8 01 8b
53 50 <8b> 4c 83 54 89 43 4c 8b 44 83 7c 89 04 24 8b 03 e8 55 fa
ad ff 
[ 1344.511879] EIP: [<e0dec7e6>] usb_free_stream_buffers+0x16/0x40 [dvb_usb] 
SS:ESP 0068:dfbcfe80
[ 1344.511897]
<<<<<<<<<<<<<<<<<<<<
    It seems that the problem lies in the snd_usb_audio module. But
why snd_usb_audio driver is registered when I insmod my driver? Is it
for the 2 audio about interface?

    Thank you for your help.   
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to