[linux-dvb] kernel reboot needed after unplugging dvb-t usb in use.

Alan Chandler alan at chandlerfamily.org.uk
Sat Sep 9 17:13:58 CEST 2006


On Saturday 09 September 2006 08:22, Alan Chandler wrote:
...
> Now that everything is more stable, I have been able to experience this
> problem in more controlled conditions and it appears to be related to some
> form of race condition where the /dev/dvb/adapterN disappears whilst it is
> being used.  At least the action that caused the problem was unplugging the
> usb connector on the tuner whilst tzap was using it.  This caused the crash
> below.

Its now happened spontaneously, without unplugging anything.  It may be that 
the dvb-usb module de-initiallised itself.

I have left tzap running for about 3 or 4 hours on in two separate sessions 
with the two tuners, tuned to different channels.

One of the channels seems to maintain lock perfectly, the other one seems to 
come in and out (the led on the front of the stick is flashing green about 
every half a second rather than the steady green of the other one).  Anyway 
sometime later I noticed it has stopped, and that some form of oops was on 
the console.  Syslog had the following it it.

Something (repeated bulk message fails? - just before the 10 shown here, there 
where 150 above, before being interrupted by another task logging something) 
seems to have caused dvb-usb to de-initialise itself, which threw it into the 
same sort of failure sequence as before.

Sep  9 14:08:42 roo kernel: dvb-usb: recv bulk message failed: -75
Sep  9 14:08:42 roo last message repeated 10 times
Sep  9 14:08:46 roo kernel: usb 1-4: USB disconnect, address 2
Sep  9 14:08:46 roo kernel: usb 1-4.1: USB disconnect, address 6
Sep  9 14:08:46 roo kernel: dvb-usb: bulk message failed: -22 (1/-675764912)
Sep  9 14:08:46 roo kernel: dvb-usb: WideView WT-220U PenType Receiver 
(Typhoon/Freecom) successfully deinitialized and disconnec
ted.
Sep  9 14:08:46 roo kernel: usb 1-4.4: USB disconnect, address 8
Sep  9 14:08:46 roo kernel: dvb-usb: bulk message failed: -22 (1/-675764912)
Sep  9 14:08:46 roo kernel: dvb-usb: WideView WT-220U PenType Receiver 
(Typhoon/Freecom) successfully deinitialized and disconnec
ted.
Sep  9 14:08:46 roo kernel: usb 1-4: new high speed USB device using ehci_hcd 
and address 9
Sep  9 14:08:46 roo kernel: Unable to handle kernel paging request at virtual 
address 32303a30
Sep  9 14:08:46 roo kernel:  printing eip:
Sep  9 14:08:46 roo kernel: 32303a30
Sep  9 14:08:46 roo kernel: *pde = 00000000
Sep  9 14:08:46 roo kernel: Oops: 0000 [#1]
Sep  9 14:08:46 roo kernel: Modules linked in: ppdev lp ipv6 ipt_TOS 
ipt_MASQUERADE xt_state ipt_LOG xt_tcpudp iptable_mangle ipt
able_nat ip_nat ip_conntrack nfnetlink iptable_filter ip_tables x_tables 
reiserfs ext2 mbcache ide_cd cdrom rtc evdev pcspkr inte
l_agp agpgart shpchp pci_hotplug dvb_usb_dtt200u dvb_usb dvb_core 
firmware_class dvb_pll psmouse i2c_core serio_raw floppy parpor
t_pc parport jfs dm_mirror dm_snapshot dm_mod raid5 xor raid1 raid0 md_mod 
ide_generic usbhid ide_disk ohci_hcd ehci_hcd usbcore
piix generic ide_core 3c59x mii thermal processor fan
Sep  9 14:08:46 roo kernel: CPU:    0
Sep  9 14:08:46 roo kernel: EIP:    0060:[<32303a30>]    Not tainted VLI
Sep  9 14:08:46 roo kernel: EFLAGS: 00010246   (2.6.16-2-686 #1)
Sep  9 14:08:46 roo kernel: EIP is at 0x32303a30
Sep  9 14:08:46 roo kernel: eax: 00000000   ebx: 00000004   ecx: 00000000   
edx: af9fe000
Sep  9 14:08:46 roo kernel: esi: 80046f45   edi: 00000003   ebp: cfeefeb0   
esp: cfeefe94
Sep  9 14:08:46 roo kernel: ds: 007b   es: 007b   ss: 0068
Sep  9 14:08:46 roo kernel: Process tzap (pid: 10338, threadinfo=cfeee000 
task=c7bc4550)
Sep  9 14:08:46 roo kernel: Stack: <0>d8c56158 ce29f09c c04dc2c0 80046f45 
cfeefeb0 00000002 00000000 0000001f
Sep  9 14:08:46 roo kernel:        c4fd13c0 c17b2550 c27effb4 b025e9ab 
cfeeff08 b02a44bc b0126035 cfeeff58
Sep  9 14:08:46 roo kernel:        00000000 e89fdd00 003d3c93 c7bc4678 
c17b2550 e89fdd00 003d3c93 00000246
Sep  9 14:08:46 roo kernel: Call Trace:
Sep  9 14:08:46 roo kernel:  [<d8c56158>] dvb_usercopy+0xb0/0x10b [dvb_core]
Sep  9 14:08:46 roo kernel:  [<b025e9ab>] schedule+0x454/0x4c1
Sep  9 14:08:46 roo kernel:  [<b0126035>] enqueue_hrtimer+0x58/0x86
Sep  9 14:08:46 roo kernel:  [<b012624f>] hrtimer_cancel+0xb/0x12
Sep  9 14:08:46 roo kernel:  [<b025f0ae>] schedule_hrtimer+0x2e/0x6c
Sep  9 14:08:46 roo kernel:  [<d8c561df>] dvb_generic_ioctl+0x2c/0x30 
[dvb_core]
Sep  9 14:08:46 roo kernel:  [<b0154889>] do_ioctl+0x3d/0x4e
Sep  9 14:08:46 roo kernel:  [<b0154a8a>] vfs_ioctl+0x1f0/0x202
Sep  9 14:08:46 roo kernel:  [<b0154ae2>] sys_ioctl+0x46/0x60
Sep  9 14:08:46 roo kernel:  [<b0102915>] syscall_call+0x7/0xb
Sep  9 14:08:46 roo kernel: Code:  Bad EIP value.
Sep  9 14:08:46 roo kernel:  <1>Unable to handle kernel paging request at 
virtual address 2e36320e
Sep  9 14:08:46 roo kernel:  printing eip:
Sep  9 14:08:46 roo kernel: d8c5ae45
Sep  9 14:08:46 roo kernel: *pde = 00000000
Sep  9 14:08:46 roo kernel: Oops: 0000 [#2]
Sep  9 14:08:46 roo kernel: Modules linked in: ppdev lp ipv6 ipt_TOS 
ipt_MASQUERADE xt_state ipt_LOG xt_tcpudp iptable_mangle ipt
able_nat ip_nat ip_conntrack nfnetlink iptable_filter ip_tables x_tables 
reiserfs ext2 mbcache ide_cd cdrom rtc evdev pcspkr inte
l_agp agpgart shpchp pci_hotplug dvb_usb_dtt200u dvb_usb dvb_core 
firmware_class dvb_pll psmouse i2c_core serio_raw floppy parpor
t_pc parport jfs dm_mirror dm_snapshot dm_mod raid5 xor raid1 raid0 md_mod 
ide_generic usbhid ide_disk ohci_hcd ehci_hcd usbcore
piix generic ide_core 3c59x mii thermal processor fan
Sep  9 14:08:46 roo kernel: CPU:    0
Sep  9 14:08:46 roo kernel: EIP:    0060:[<d8c5ae45>]    Not tainted VLI
Sep  9 14:08:46 roo kernel: EFLAGS: 00010246   (2.6.16-2-686 #1)
Sep  9 14:08:46 roo kernel: EIP is at dvb_frontend_release+0x18/0x52 
[dvb_core]
Sep  9 14:08:46 roo kernel: eax: 2e36303a   ebx: c04dc2c0   ecx: c04dc2c0   
edx: d681c81c
Sep  9 14:08:46 roo kernel: esi: c04dc2c0   edi: ce29f09c   ebp: d6d4a394   
esp: cfeefd5c
Sep  9 14:08:46 roo kernel: ds: 007b   es: 007b   ss: 0068
Sep  9 14:08:46 roo kernel: Process tzap (pid: 10338, threadinfo=cfeee000 
task=c7bc4550)
Sep  9 14:08:46 roo kernel: Stack: <0>00000008 c04dc2c0 ce29f09c b014740e 
ce29f09c c04dc2c0 d7fe3140 c04dc2c0
Sep  9 14:08:46 roo kernel:        00000000 ba8fdc80 ba78b640 b0145196 
c04dc2c0 ba8fdc80 c04dc2c0 ba8fdc80
Sep  9 14:08:46 roo kernel:        ba8fdc80 0000000c 00000007 b0116de6 
c04dc2c0 ba8fdc80 00000001 00000000
Sep  9 14:08:46 roo kernel: Call Trace:
Sep  9 14:08:46 roo kernel:  [<b014740e>] __fput+0x80/0x11a
Sep  9 14:08:46 roo kernel:  [<b0145196>] filp_close+0x4e/0x57
Sep  9 14:08:46 roo kernel:  [<b0116de6>] put_files_struct+0x66/0xa3
Sep  9 14:08:46 roo kernel:  [<b0117ab7>] do_exit+0x17e/0x5f8
Sep  9 14:08:46 roo kernel:  [<b0103d94>] do_simd_coprocessor_error+0x0/0x163
Sep  9 14:08:46 roo kernel:  [<b0111f3e>] do_page_fault+0x37b/0x4a4
Sep  9 14:08:46 roo kernel:  [<b0111bc3>] do_page_fault+0x0/0x4a4
Sep  9 14:08:46 roo kernel:  [<b0103447>] error_code+0x4f/0x54
Sep  9 14:08:46 roo kernel:  [<d8c56158>] dvb_usercopy+0xb0/0x10b [dvb_core]
Sep  9 14:08:46 roo kernel:  [<b025e9ab>] schedule+0x454/0x4c1
Sep  9 14:08:46 roo kernel:  [<b0126035>] enqueue_hrtimer+0x58/0x86
Sep  9 14:08:46 roo kernel:  [<b012624f>] hrtimer_cancel+0xb/0x12
Sep  9 14:08:46 roo kernel:  [<b025f0ae>] schedule_hrtimer+0x2e/0x6c
Sep  9 14:08:46 roo kernel:  [<d8c561df>] dvb_generic_ioctl+0x2c/0x30 
[dvb_core]
Sep  9 14:08:46 roo kernel:  [<b0154889>] do_ioctl+0x3d/0x4e
Sep  9 14:08:46 roo kernel:  [<b0154a8a>] vfs_ioctl+0x1f0/0x202
Sep  9 14:08:46 roo kernel:  [<b0154ae2>] sys_ioctl+0x46/0x60
Sep  9 14:08:46 roo kernel:  [<b0102915>] syscall_call+0x7/0xb
Sep  9 14:08:46 roo kernel: Code: 00 39 93 68 01 00 00 ba 00 00 00 00 5b 5e 0f 
44 c2 5f c3 57 56 53 8b 5c 24 14 83 3d 58 6f c6 d8
 00 8b 7c 24 10 8b 43 74 8b 40 28 <8b> b0 d4 01 00 00 74 11 68 34 e5 c5 d8 68 
98 f7 c5 d8 e8 d4 b9
Sep  9 14:08:46 roo kernel:  <1>Fixing recursive fault but reboot is needed!
Sep  9 14:08:46 roo kernel: usb 1-4: configuration #1 chosen from 1 choice
Sep  9 14:08:46 roo kernel: hub 1-4:1.0: USB hub found
Sep  9 14:08:46 roo kernel: hub 1-4:1.0: 4 ports detected
Sep  9 14:08:47 roo kernel: hub 1-4:1.0: cannot reset port 1 (err = -71)
Sep  9 14:08:47 roo kernel: usb 1-4.1: new high speed USB device using 
ehci_hcd and address 10
Sep  9 14:08:47 roo kernel: usb 1-4.1: configuration #1 chosen from 1 choice
Sep  9 14:08:47 roo kernel: dvb-usb: found a 'WideView WT-220U PenType 
Receiver (Typhoon/Freecom)' in warm state.
Sep  9 14:08:47 roo kernel: dvb-usb: will use the device's hardware PID filter 
(table count: 15).
Sep  9 14:08:47 roo kernel: DVB: registering new adapter (WideView WT-220U 
PenType Receiver (Typhoon/Freecom)).
Sep  9 14:08:47 roo kernel: DVB: registering frontend 0 (WideView USB 
DVB-T)...
Sep  9 14:08:47 roo kernel: input: IR-receiver inside an USB DVB receiver 
as /class/input/input10
Sep  9 14:08:47 roo kernel: dvb-usb: schedule remote query interval to 300 
msecs.
Sep  9 14:08:47 roo kernel: dvb-usb: WideView WT-220U PenType Receiver 
(Typhoon/Freecom) successfully initialized and connected.
Sep  9 14:08:47 roo kernel: Unable to handle kernel NULL pointer dereference 
at virtual address 000000f9
Sep  9 14:08:47 roo kernel:  printing eip:
Sep  9 14:08:47 roo kernel: 000000f9
Sep  9 14:08:47 roo kernel: *pde = 00000000
Sep  9 14:08:47 roo kernel: Oops: 0000 [#3]
Sep  9 14:08:47 roo kernel: Modules linked in: ppdev lp ipv6 ipt_TOS 
ipt_MASQUERADE xt_state ipt_LOG xt_tcpudp iptable_mangle ipt
able_nat ip_nat ip_conntrack nfnetlink iptable_filter ip_tables x_tables 
reiserfs ext2 mbcache ide_cd cdrom rtc evdev pcspkr inte
l_agp agpgart shpchp pci_hotplug dvb_usb_dtt200u dvb_usb dvb_core 
firmware_class dvb_pll psmouse i2c_core serio_raw floppy parpor
t_pc parport jfs dm_mirror dm_snapshot dm_mod raid5 xor raid1 raid0 md_mod 
ide_generic usbhid ide_disk ohci_hcd ehci_hcd usbcore
piix generic ide_core 3c59x mii thermal processor fan
Sep  9 14:08:47 roo kernel: CPU:    0
Sep  9 14:08:47 roo kernel: EIP:    0060:[<000000f9>]    Not tainted VLI
Sep  9 14:08:47 roo kernel: EFLAGS: 00010246   (2.6.16-2-686 #1)
Sep  9 14:08:47 roo kernel: EIP is at 0xf9
Sep  9 14:08:47 roo kernel: eax: 00000000   ebx: 00000004   ecx: 00000000   
edx: afa4e310
Sep  9 14:08:47 roo kernel: esi: 80046f45   edi: 00000003   ebp: b58cdeb0   
esp: b58cde94
Sep  9 14:08:47 roo kernel: ds: 007b   es: 007b   ss: 0068
Sep  9 14:08:47 roo kernel: Process tzap (pid: 10307, threadinfo=b58cc000 
task=cae9ba70)
Sep  9 14:08:47 roo kernel: Stack: <0>d8c56158 c4edfac4 ba4a4480 80046f45 
b58cdeb0 00000002 00000000 0000001f
Sep  9 14:08:47 roo kernel:        cac003c0 c79f8550 c7ac3eb8 b025e9ab 
b58cdf08 b02a44bc b0126035 b58cdf58
Sep  9 14:08:47 roo kernel:        00000000 950d1864 000033da cae9bb98 
c79f8550 1fb2fc00 003d3c94 00000246
Sep  9 14:08:47 roo kernel: Call Trace:
Sep  9 14:08:47 roo kernel:  [<d8c56158>] dvb_usercopy+0xb0/0x10b [dvb_core]
Sep  9 14:08:47 roo kernel:  [<b025e9ab>] schedule+0x454/0x4c1
Sep  9 14:08:47 roo kernel:  [<b0126035>] enqueue_hrtimer+0x58/0x86
Sep  9 14:08:47 roo kernel:  [<b012624f>] hrtimer_cancel+0xb/0x12
Sep  9 14:08:47 roo kernel:  [<b025f0ae>] schedule_hrtimer+0x2e/0x6c
Sep  9 14:08:47 roo kernel:  [<d8c561df>] dvb_generic_ioctl+0x2c/0x30 
[dvb_core]
Sep  9 14:08:47 roo kernel:  [<b0154889>] do_ioctl+0x3d/0x4e
Sep  9 14:08:47 roo kernel:  [<b0154a8a>] vfs_ioctl+0x1f0/0x202
Sep  9 14:08:47 roo kernel:  [<b0154ae2>] sys_ioctl+0x46/0x60
Sep  9 14:08:47 roo kernel:  [<b0102915>] syscall_call+0x7/0xb
Sep  9 14:08:47 roo kernel: Code:  Bad EIP value.
Sep  9 14:08:47 roo kernel:  <1>Unable to handle kernel paging request at 
virtual address 0021dcf0
Sep  9 14:08:47 roo kernel:  printing eip:
Sep  9 14:08:47 roo kernel: d8c5ae45
Sep  9 14:08:47 roo kernel: *pde = 00000000
Sep  9 14:08:47 roo kernel: Oops: 0000 [#4]
Sep  9 14:08:47 roo kernel: Modules linked in: ppdev lp ipv6 ipt_TOS 
ipt_MASQUERADE xt_state ipt_LOG xt_tcpudp iptable_mangle ipt
able_nat ip_nat ip_conntrack nfnetlink iptable_filter ip_tables x_tables 
reiserfs ext2 mbcache ide_cd cdrom rtc evdev pcspkr inte
l_agp agpgart shpchp pci_hotplug dvb_usb_dtt200u dvb_usb dvb_core 
firmware_class dvb_pll psmouse i2c_core serio_raw floppy parpor
t_pc parport jfs dm_mirror dm_snapshot dm_mod raid5 xor raid1 raid0 md_mod 
ide_generic usbhid ide_disk ohci_hcd ehci_hcd usbcore
piix generic ide_core 3c59x mii thermal processor fan
Sep  9 14:08:47 roo kernel: CPU:    0
Sep  9 14:08:47 roo kernel: EIP:    0060:[<d8c5ae45>]    Not tainted VLI
Sep  9 14:08:47 roo kernel: EFLAGS: 00010246   (2.6.16-2-686 #1)
Sep  9 14:08:47 roo kernel: EIP is at dvb_frontend_release+0x18/0x52 
[dvb_core]
Sep  9 14:08:47 roo kernel: eax: 0021db1c   ebx: ba4a4480   ecx: ba4a4480   
edx: c4edf22c
Sep  9 14:08:47 roo kernel: esi: ba4a4480   edi: c4edfac4   ebp: c643d594   
esp: b58cdd5c
Sep  9 14:08:47 roo kernel: ds: 007b   es: 007b   ss: 0068
Sep  9 14:08:47 roo kernel: Process tzap (pid: 10307, threadinfo=b58cc000 
task=cae9ba70)
Sep  9 14:08:47 roo kernel: Stack: <0>00000008 ba4a4480 c4edfac4 b014740e 
c4edfac4 ba4a4480 d7fe3140 ba4a4480
Sep  9 14:08:47 roo kernel:        00000000 ba8fd740 b48b5680 b0145196 
ba4a4480 ba8fd740 ba4a4480 ba8fd740
Sep  9 14:08:47 roo kernel:        ba8fd740 0000000c 00000007 b0116de6 
ba4a4480 ba8fd740 00000001 00000000
Sep  9 14:08:47 roo kernel: Call Trace:
Sep  9 14:08:47 roo kernel:  [<b014740e>] __fput+0x80/0x11a
Sep  9 14:08:47 roo kernel:  [<b0145196>] filp_close+0x4e/0x57
Sep  9 14:08:47 roo kernel:  [<b0116de6>] put_files_struct+0x66/0xa3
Sep  9 14:08:47 roo kernel:  [<b0117ab7>] do_exit+0x17e/0x5f8
Sep  9 14:08:47 roo kernel:  [<b0103d94>] do_simd_coprocessor_error+0x0/0x163
Sep  9 14:08:47 roo kernel:  [<b0111f3e>] do_page_fault+0x37b/0x4a4
Sep  9 14:08:47 roo kernel:  [<b0111bc3>] do_page_fault+0x0/0x4a4
Sep  9 14:08:47 roo kernel:  [<b0103447>] error_code+0x4f/0x54
Sep  9 14:08:47 roo kernel:  [<d8c56158>] dvb_usercopy+0xb0/0x10b [dvb_core]
Sep  9 14:08:47 roo kernel:  [<b025e9ab>] schedule+0x454/0x4c1
Sep  9 14:08:47 roo kernel:  [<b0126035>] enqueue_hrtimer+0x58/0x86
Sep  9 14:08:47 roo kernel:  [<b012624f>] hrtimer_cancel+0xb/0x12
Sep  9 14:08:47 roo kernel:  [<b025f0ae>] schedule_hrtimer+0x2e/0x6c
Sep  9 14:08:47 roo kernel:  [<d8c561df>] dvb_generic_ioctl+0x2c/0x30 
[dvb_core]
Sep  9 14:08:47 roo kernel:  [<b0154889>] do_ioctl+0x3d/0x4e
Sep  9 14:08:47 roo kernel:  [<b0154a8a>] vfs_ioctl+0x1f0/0x202
Sep  9 14:08:47 roo kernel:  [<b0154ae2>] sys_ioctl+0x46/0x60
Sep  9 14:08:47 roo kernel:  [<b0102915>] syscall_call+0x7/0xb
Sep  9 14:08:47 roo kernel: Code: 00 39 93 68 01 00 00 ba 00 00 00 00 5b 5e 0f 
44 c2 5f c3 57 56 53 8b 5c 24 14 83 3d 58 6f c6 d8
 00 8b 7c 24 10 8b 43 74 8b 40 28 <8b> b0 d4 01 00 00 74 11 68 34 e5 c5 d8 68 
98 f7 c5 d8 e8 d4 b9
Sep  9 14:08:47 roo kernel:  <1>Fixing recursive fault but reboot is needed!
Sep  9 14:08:49 roo kernel: dvb-usb: recv bulk message failed: -110
Sep  9 14:08:51 roo udevd-event[10799]: wait_for_sysfs: waiting 
for '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:06.3/usb1/1-4/1
-4.1/1-4.1:1.1/bus' failed
Sep  9 14:08:57 roo kernel: drivers/usb/input/hid-core.c: timeout initializing 
reports
Sep  9 14:08:57 roo kernel: input: Digital TV Receiver Digital TV Receiver 
as /class/input/input11
Sep  9 14:08:57 roo kernel: input: USB HID v1.10 Keyboard [Digital TV Receiver 
Digital TV Receiver] on usb-0000:02:06.3-4.1
Sep  9 14:08:57 roo kernel: usb 1-4.4: new high speed USB device using 
ehci_hcd and address 11
Sep  9 14:08:57 roo kernel: usb 1-4.4: configuration #1 chosen from 1 choice
Sep  9 14:08:57 roo kernel: dvb-usb: found a 'WideView WT-220U PenType 
Receiver (Typhoon/Freecom)' in warm state.
Sep  9 14:08:57 roo kernel: dvb-usb: will use the device's hardware PID filter 
(table count: 15).
Sep  9 14:08:57 roo kernel: DVB: registering new adapter (WideView WT-220U 
PenType Receiver (Typhoon/Freecom)).
Sep  9 14:08:57 roo kernel: DVB: registering frontend 1 (WideView USB 
DVB-T)...
Sep  9 14:08:57 roo kernel: input: IR-receiver inside an USB DVB receiver 
as /class/input/input12
Sep  9 14:08:57 roo kernel: dvb-usb: schedule remote query interval to 300 
msecs.
Sep  9 14:08:57 roo kernel: dvb-usb: WideView WT-220U PenType Receiver 
(Typhoon/Freecom) successfully initialized and connected.
Sep  9 14:08:59 roo kernel: dvb-usb: recv bulk message failed: -110



-- 
Alan Chandler
http://www.chandlerfamily.org.uk



More information about the linux-dvb mailing list