Hi, I few weeks ago, my USB DVB device oopsed when I unplugged it:
Apr 14 14:47:53 volcano kernel: usb 4-6: new high speed USB device using ehci_hcd and address 3 Apr 14 14:47:53 volcano kernel: usb 4-6: configuration #1 chosen from 1 choice Apr 14 14:47:53 volcano kernel: dvb-usb: found a 'Hauppauge WinTV-NOVA-T usb2' in cold state, will try to load a firmware Apr 14 14:47:54 volcano kernel: firmware_loading_store: unexpected value (0) Apr 14 14:47:54 volcano kernel: dvb-usb: downloading firmware from file 'dvb-usb-nova-t-usb2-01.fw' Apr 14 14:47:54 volcano kernel: usbcore: registered new driver dvb_usb_nova_t_usb2 Apr 14 14:47:54 volcano kernel: usb 4-6: USB disconnect, address 3 Apr 14 14:47:54 volcano kernel: dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. Apr 14 14:47:55 volcano kernel: usb 4-6: new high speed USB device using ehci_hcd and address 4 Apr 14 14:47:56 volcano kernel: usb 4-6: configuration #1 chosen from 1 choice Apr 14 14:47:56 volcano kernel: dvb-usb: found a 'Hauppauge WinTV-NOVA-T usb2' in warm state. Apr 14 14:47:56 volcano kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. Apr 14 14:47:56 volcano kernel: DVB: registering new adapter (Hauppauge WinTV-NOVA-T usb2). Apr 14 14:47:56 volcano kernel: dvb-usb: MAC address: 00:0d:fe:03:77:33 Apr 14 14:47:56 volcano kernel: i2c_adapter i2c-1: SMBus Quick command not supported, can't probe for chips Apr 14 14:47:56 volcano kernel: dib3000: Found a DiBcom 3000P. Apr 14 14:47:56 volcano kernel: DVB: registering frontend 0 (DiBcom 3000P/M-C DVB-T)... Apr 14 14:47:56 volcano kernel: input: IR-receiver inside an USB DVB receiver as /class/input/input3 Apr 14 14:47:56 volcano kernel: dvb-usb: schedule remote query interval to 100 msecs. Apr 14 14:47:56 volcano kernel: dvb-usb: Hauppauge WinTV-NOVA-T usb2 successfully initialized and connected. Apr 14 15:20:03 volcano kernel: dvb-usb: bulk message failed: -71 (2/0) Apr 14 15:20:03 volcano kernel: usb 4-6: USB disconnect, address 4 Apr 14 15:20:03 volcano kernel: dvb-usb: bulk message failed: -22 (2/-402727064) Apr 14 15:20:03 volcano kernel: dvb-usb: Hauppauge WinTV-NOVA-T usb2 successfully deinitialized and disconnected. Apr 14 15:20:03 volcano kernel: Unable to handle kernel paging request at virtual address 313a3030 Apr 14 15:20:03 volcano kernel: printing eip: Apr 14 15:20:03 volcano kernel: 313a3030 Apr 14 15:20:03 volcano kernel: *pde = 00000000 Apr 14 15:20:03 volcano kernel: Oops: 0000 [#1] Apr 14 15:20:03 volcano kernel: PREEMPT SMP Apr 14 15:20:03 volcano kernel: Modules linked in: dvb_usb_nova_t_usb2 dvb_usb_dibusb_common dib3000mc dib3000_common dvb_usb dvb_core crc32 firmware_class dvb_pll sha512 crypto_null des loop sg scsi_mod pegasus mii i2c_dev ah6 esp6 ipcomp ah4 esp4 msr cpuid snd_rtctimer snd_seq_midi radeon drm pwc eeprom pcspkr p4_clockmod speedstep_lib nfsd exportfs ipv6 ppdev autofs4 nfs lockd sunrpc af_packet binfmt_misc video thermal processor fan button ac lp parport_pc parport nvram eth1394 video1394 raw1394 compat_ioctl32 videodev snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_usb_audio snd_usb_lib ohci1394 ieee1394 snd_intel8x0 snd_seq_dummy snd_emu10k1 snd_seq_oss snd_seq_midi_event snd_seq ehci_hcd snd_rawmidi snd_ac97_codec snd_ac97_bus snd_seq_device e1000 uhci_hcd snd_util_mem snd_hwdep i2c_i801 snd_pcm_oss snd_mixer_oss serio_raw psmouse i2c_core e7xxx_edac edac_mc snd_pcm ide_cd snd_timer snd soundcore snd_page_alloc intel_agp agpgart cdrom usbcore ext3 jbd Apr 14 15:20:03 volcano kernel: CPU: 2 Apr 14 15:20:03 volcano kernel: EIP: 0060:[<313a3030>] Not tainted VLI Apr 14 15:20:03 volcano kernel: EFLAGS: 00210246 (2.6.16.2 #1) Apr 14 15:20:03 volcano kernel: EIP is at 0x313a3030 Apr 14 15:20:03 volcano kernel: eax: d2b8b000 ebx: d2b8bb18 ecx: e7fedf40 edx: e7fedf44 Apr 14 15:20:03 volcano kernel: esi: d2b8b000 edi: eff2f8c0 ebp: 00200213 esp: e7fedf3c Apr 14 15:20:03 volcano kernel: ds: 007b es: 007b ss: 0068 Apr 14 15:20:03 volcano kernel: Process events/2 (pid: 16, threadinfo=e7fed000 task=eff3b030) Apr 14 15:20:03 volcano kernel: Stack: <0>f0f9366f d2b8bb1c b0126090 d2b8bb18 d2b8bb1c b0125b49 f0f93652 d2b8b000 Apr 14 15:20:03 volcano kernel: eff2f8d0 eff2f8c0 eff2f8d8 b0126090 b0126176 00000000 00000000 00000000 Apr 14 15:20:04 volcano kernel: 00000000 00000000 e7f01030 b02892c0 b18070e0 00000001 00000000 00000000 Apr 14 15:20:04 volcano kernel: Call Trace: Apr 14 15:20:04 volcano kernel: [<f0f9366f>] dvb_usb_read_remote_control+0x1d/0xba [dvb_usb] Apr 14 15:20:04 volcano kernel: [<b0126090>] worker_thread+0x0/0x118 Apr 14 15:20:04 volcano kernel: [<b0125b49>] run_workqueue+0x7f/0xba Apr 14 15:20:04 volcano kernel: [<f0f93652>] dvb_usb_read_remote_control+0x0/0xba [dvb_usb] Apr 14 15:20:04 volcano kernel: [<b0126090>] worker_thread+0x0/0x118 Apr 14 15:20:04 volcano kernel: [<b0126176>] worker_thread+0xe6/0x118 Apr 14 15:20:04 volcano kernel: [<b0113765>] default_wake_function+0x0/0xc Apr 14 15:20:04 volcano kernel: [<b0128744>] kthread+0x9f/0xcb Apr 14 15:20:04 volcano kernel: [<b01286a5>] kthread+0x0/0xcb Apr 14 15:20:04 volcano kernel: [<b0100c05>] kernel_thread_helper+0x5/0xb Apr 14 15:20:04 volcano kernel: Code: Bad EIP value. After examining the dvb_usb_remote_exit() and dvb_usb_read_remote_control() functions, I was wondering whether the problem is that dvb_usb_remote_exit() function calls cancel_delayed_work() instead of cancel_rearming_delayed_work(): if (d->state & DVB_USB_STATE_REMOTE) { cancel_delayed_work(&d->rc_query_work); flush_scheduled_work(); input_unregister_device(d->rc_input_dev); } given that the dvb_usb_read_remote_control() function has this line at the end: schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc_interval)); Cheers, Chris ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel