cx25840: probe crashes for cx25837 chip on 2.6.37
Hello together! I was eager to test my patch for cx25840 that was included in 2.6.37, so I've updated my system and plugged in my Grabster AV400. But this resulted in a kernel bug printed to dmesg: dmesg begin usb 1-5: new high speed USB device using ehci_hcd and address 6 Linux video capture interface: v2.00 pvrusb2: Hardware description: Terratec Grabster AV400 pvrusb2: ** pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is experimental. pvrusb2: Important functionality might not be entirely working. pvrusb2: Please consider contacting the driver author to help with further stabilization of the driver. pvrusb2: ** usb 1-5: USB disconnect, address 6 usbcore: registered new interface driver pvrusb2 pvrusb2: 20110116 (from www.isely.net):Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) pvrusb2: Failed to submit write-control URB status=-19 pvrusb2: Device being rendered inoperable pvrusb2: ***WARNING*** pvrusb2 device hardware appears to be jammed and I can't clear it. pvrusb2: You might need to power cycle the pvrusb2 device in order to recover. usb 1-5: new high speed USB device using ehci_hcd and address 7 pvrusb2: Hardware description: Terratec Grabster AV400 pvrusb2: ** pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is experimental. pvrusb2: Important functionality might not be entirely working. pvrusb2: Please consider contacting the driver author to help with further stabilization of the driver. pvrusb2: ** cx25840 6-0044: cx25837-3 found @ 0x88 (pvrusb2_a) [ cut here ] kernel BUG at drivers/media/video/v4l2-ctrls.c:1143! invalid opcode: [#1] PREEMPT SMP last sysfs file: /sys/devices/pci:00/:00:02.2/usb1/1-5/i2c-6/6-0044/uevent CPU 1 Modules linked in: cx25840 pvrusb2 dvb_core cx2341x v4l2_common videodev v4l1_compat v4l2_compat_ioctl32 tveeprom ipv6 xfs exportfs ext2 radeon snd_emu10k1 snd_intel8x0 ohci_hcd snd_rawmidi snd_ac97_codec ttm drm_kms_helper ac97_bus snd_seq_dummy skge ehci_hcd snd_seq_oss snd_seq_midi_event snd_seq snd_util_mem snd_seq_device snd_pcm_oss snd_hwdep snd_mixer_oss snd_pcm snd_timer emu10k1_gp drm i2c_algo_bit shpchp snd i2c_nforce2 soundcore usbcore processor pci_hotplug i2c_core parport_pc snd_page_alloc floppy serio_raw button psmouse ns558 edac_core ppdev k8temp edac_mce_amd evdev sg analog lp gameport pcspkr parport ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom sata_nv pata_acpi sata_sil24 pata_amd libata scsi_mod raid1 md_mod Pid: 2184, comm: pvrusb2-context Not tainted 2.6.37-ARCH #1 nForce/ RIP: 0010:[a020b352] [a020b352] v4l2_ctrl_cluster+0x32/0x40 [videodev] RSP: 0018:880033c61a30 EFLAGS: 00010246 RAX: 0001 RBX: 880038065800 RCX: 0001 RDX: RSI: 880039de1ee0 RDI: 0002 RBP: 880033c61a30 R08: R09: R10: R11: R12: 880039de1e78 R13: 8373 R14: 880039de1e00 R15: 00ed FS: 7f05b98a8700() GS:88003fd0() knlGS: CS: 0010 DS: ES: CR0: 8005003b CR2: 7fff6c8c5fe0 CR3: 3c89b000 CR4: 06e0 DR0: DR1: DR2: DR3: DR6: 0ff0 DR7: 0400 Process pvrusb2-context (pid: 2184, threadinfo 880033c6, task 88003f8ada30) Stack: 880033c61aa0 a0310b99 8800 88003c99e3fc 880033c61ab0 0200 880039de1e08 880033c61ac0 880038065828 a0318590 a0318540 Call Trace: [a0310b99] cx25840_probe+0x479/0x840 [cx25840] [a0308694] i2c_device_probe+0x94/0xd0 [i2c_core] [812b0f0a] ? driver_sysfs_add+0x7a/0xb0 [812b11e6] driver_probe_device+0x96/0x1c0 [812b13b0] ? __device_attach+0x0/0x60 [812b13fb] __device_attach+0x4b/0x60 [812afdd4] bus_for_each_drv+0x64/0x90 [812b107f] device_attach+0x8f/0xb0 [812b0805] bus_probe_device+0x25/0x40 [812ae574] device_add+0x4e4/0x5c0 [812ba941] ? pm_runtime_init+0xd1/0xe0 [812ae669] device_register+0x19/0x20 [a03091d5] i2c_new_device+0x145/0x250 [i2c_core] [a00b77b6] v4l2_i2c_new_subdev_board+0x96/0x240 [v4l2_common] [a00b79e3] v4l2_i2c_new_subdev_cfg+0x83/0xb0 [v4l2_common] [a0363760] ? pvr2_context_notify+0x0/0x10 [pvrusb2] [a0363760] ? pvr2_context_notify+0x0/0x10 [pvrusb2] [a035b606] pvr2_hdw_initialize+0x346/0x1060 [pvrusb2] [a036394b] pvr2_context_thread_func+0x9b/0x320 [pvrusb2] [a03638b0] ? pvr2_context_thread_func+0x0/0x320 [pvrusb2] [81077db0] ? autoremove_wake_function+0x0/0x40 [813a6dc2] ? _raw_spin_unlock_irqrestore+0x32/0x40 [a03638b0] ?
Re: cx25840: probe crashes for cx25837 chip on 2.6.37
On Sat, 2011-02-05 at 16:45 +0100, Sven Barth wrote: Hello together! I was eager to test my patch for cx25840 that was included in 2.6.37, so I've updated my system and plugged in my Grabster AV400. But this resulted in a kernel bug printed to dmesg: dmesg begin usb 1-5: new high speed USB device using ehci_hcd and address 6 Linux video capture interface: v2.00 pvrusb2: Hardware description: Terratec Grabster AV400 pvrusb2: ** pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is experimental. pvrusb2: Important functionality might not be entirely working. pvrusb2: Please consider contacting the driver author to help with further stabilization of the driver. pvrusb2: ** usb 1-5: USB disconnect, address 6 usbcore: registered new interface driver pvrusb2 pvrusb2: 20110116 (from www.isely.net):Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) pvrusb2: Failed to submit write-control URB status=-19 pvrusb2: Device being rendered inoperable pvrusb2: ***WARNING*** pvrusb2 device hardware appears to be jammed and I can't clear it. pvrusb2: You might need to power cycle the pvrusb2 device in order to recover. usb 1-5: new high speed USB device using ehci_hcd and address 7 pvrusb2: Hardware description: Terratec Grabster AV400 pvrusb2: ** pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is experimental. pvrusb2: Important functionality might not be entirely working. pvrusb2: Please consider contacting the driver author to help with further stabilization of the driver. pvrusb2: ** cx25840 6-0044: cx25837-3 found @ 0x88 (pvrusb2_a) [ cut here ] kernel BUG at drivers/media/video/v4l2-ctrls.c:1143! invalid opcode: [#1] PREEMPT SMP last sysfs file: /sys/devices/pci:00/:00:02.2/usb1/1-5/i2c-6/6-0044/uevent CPU 1 Modules linked in: cx25840 pvrusb2 dvb_core cx2341x v4l2_common videodev v4l1_compat v4l2_compat_ioctl32 tveeprom ipv6 xfs exportfs ext2 radeon snd_emu10k1 snd_intel8x0 ohci_hcd snd_rawmidi snd_ac97_codec ttm drm_kms_helper ac97_bus snd_seq_dummy skge ehci_hcd snd_seq_oss snd_seq_midi_event snd_seq snd_util_mem snd_seq_device snd_pcm_oss snd_hwdep snd_mixer_oss snd_pcm snd_timer emu10k1_gp drm i2c_algo_bit shpchp snd i2c_nforce2 soundcore usbcore processor pci_hotplug i2c_core parport_pc snd_page_alloc floppy serio_raw button psmouse ns558 edac_core ppdev k8temp edac_mce_amd evdev sg analog lp gameport pcspkr parport ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom sata_nv pata_acpi sata_sil24 pata_amd libata scsi_mod raid1 md_mod Pid: 2184, comm: pvrusb2-context Not tainted 2.6.37-ARCH #1 nForce/ RIP: 0010:[a020b352] [a020b352] v4l2_ctrl_cluster+0x32/0x40 [videodev] RSP: 0018:880033c61a30 EFLAGS: 00010246 RAX: 0001 RBX: 880038065800 RCX: 0001 RDX: RSI: 880039de1ee0 RDI: 0002 RBP: 880033c61a30 R08: R09: R10: R11: R12: 880039de1e78 R13: 8373 R14: 880039de1e00 R15: 00ed FS: 7f05b98a8700() GS:88003fd0() knlGS: CS: 0010 DS: ES: CR0: 8005003b CR2: 7fff6c8c5fe0 CR3: 3c89b000 CR4: 06e0 DR0: DR1: DR2: DR3: DR6: 0ff0 DR7: 0400 Process pvrusb2-context (pid: 2184, threadinfo 880033c6, task 88003f8ada30) Stack: 880033c61aa0 a0310b99 8800 88003c99e3fc 880033c61ab0 0200 880039de1e08 880033c61ac0 880038065828 a0318590 a0318540 Call Trace: [a0310b99] cx25840_probe+0x479/0x840 [cx25840] [a0308694] i2c_device_probe+0x94/0xd0 [i2c_core] [812b0f0a] ? driver_sysfs_add+0x7a/0xb0 [812b11e6] driver_probe_device+0x96/0x1c0 [812b13b0] ? __device_attach+0x0/0x60 [812b13fb] __device_attach+0x4b/0x60 [812afdd4] bus_for_each_drv+0x64/0x90 [812b107f] device_attach+0x8f/0xb0 [812b0805] bus_probe_device+0x25/0x40 [812ae574] device_add+0x4e4/0x5c0 [812ba941] ? pm_runtime_init+0xd1/0xe0 [812ae669] device_register+0x19/0x20 [a03091d5] i2c_new_device+0x145/0x250 [i2c_core] [a00b77b6] v4l2_i2c_new_subdev_board+0x96/0x240 [v4l2_common] [a00b79e3] v4l2_i2c_new_subdev_cfg+0x83/0xb0 [v4l2_common] [a0363760] ? pvr2_context_notify+0x0/0x10 [pvrusb2] [a0363760] ? pvr2_context_notify+0x0/0x10 [pvrusb2] [a035b606] pvr2_hdw_initialize+0x346/0x1060 [pvrusb2] [a036394b] pvr2_context_thread_func+0x9b/0x320 [pvrusb2] [a03638b0] ?
Re: cx25840: probe crashes for cx25837 chip on 2.6.37
On 05.02.2011 22:25, Andy Walls wrote: On Sat, 2011-02-05 at 16:45 +0100, Sven Barth wrote: Hello together! I was eager to test my patch for cx25840 that was included in 2.6.37, so I've updated my system and plugged in my Grabster AV400. But this resulted in a kernel bug printed to dmesg: dmesg begin usb 1-5: new high speed USB device using ehci_hcd and address 6 Linux video capture interface: v2.00 pvrusb2: Hardware description: Terratec Grabster AV400 pvrusb2: ** pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is experimental. pvrusb2: Important functionality might not be entirely working. pvrusb2: Please consider contacting the driver author to help with further stabilization of the driver. pvrusb2: ** usb 1-5: USB disconnect, address 6 usbcore: registered new interface driver pvrusb2 pvrusb2: 20110116 (from www.isely.net):Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) pvrusb2: Failed to submit write-control URB status=-19 pvrusb2: Device being rendered inoperable pvrusb2: ***WARNING*** pvrusb2 device hardware appears to be jammed and I can't clear it. pvrusb2: You might need to power cycle the pvrusb2 device in order to recover. usb 1-5: new high speed USB device using ehci_hcd and address 7 pvrusb2: Hardware description: Terratec Grabster AV400 pvrusb2: ** pvrusb2: WARNING: Support for this device (Terratec Grabster AV400) is experimental. pvrusb2: Important functionality might not be entirely working. pvrusb2: Please consider contacting the driver author to help with further stabilization of the driver. pvrusb2: ** cx25840 6-0044: cx25837-3 found @ 0x88 (pvrusb2_a) [ cut here ] kernel BUG at drivers/media/video/v4l2-ctrls.c:1143! invalid opcode: [#1] PREEMPT SMP last sysfs file: /sys/devices/pci:00/:00:02.2/usb1/1-5/i2c-6/6-0044/uevent CPU 1 Modules linked in: cx25840 pvrusb2 dvb_core cx2341x v4l2_common videodev v4l1_compat v4l2_compat_ioctl32 tveeprom ipv6 xfs exportfs ext2 radeon snd_emu10k1 snd_intel8x0 ohci_hcd snd_rawmidi snd_ac97_codec ttm drm_kms_helper ac97_bus snd_seq_dummy skge ehci_hcd snd_seq_oss snd_seq_midi_event snd_seq snd_util_mem snd_seq_device snd_pcm_oss snd_hwdep snd_mixer_oss snd_pcm snd_timer emu10k1_gp drm i2c_algo_bit shpchp snd i2c_nforce2 soundcore usbcore processor pci_hotplug i2c_core parport_pc snd_page_alloc floppy serio_raw button psmouse ns558 edac_core ppdev k8temp edac_mce_amd evdev sg analog lp gameport pcspkr parport ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom sata_nv pata_acpi sata_sil24 pata_amd libata scsi_mod raid1 md_mod Pid: 2184, comm: pvrusb2-context Not tainted 2.6.37-ARCH #1 nForce/ RIP: 0010:[a020b352] [a020b352] v4l2_ctrl_cluster+0x32/0x40 [videodev] RSP: 0018:880033c61a30 EFLAGS: 00010246 RAX: 0001 RBX: 880038065800 RCX: 0001 RDX: RSI: 880039de1ee0 RDI: 0002 RBP: 880033c61a30 R08: R09: R10: R11: R12: 880039de1e78 R13: 8373 R14: 880039de1e00 R15: 00ed FS: 7f05b98a8700() GS:88003fd0() knlGS: CS: 0010 DS: ES: CR0: 8005003b CR2: 7fff6c8c5fe0 CR3: 3c89b000 CR4: 06e0 DR0: DR1: DR2: DR3: DR6: 0ff0 DR7: 0400 Process pvrusb2-context (pid: 2184, threadinfo 880033c6, task 88003f8ada30) Stack: 880033c61aa0 a0310b99 8800 88003c99e3fc 880033c61ab0 0200 880039de1e08 880033c61ac0 880038065828 a0318590 a0318540 Call Trace: [a0310b99] cx25840_probe+0x479/0x840 [cx25840] [a0308694] i2c_device_probe+0x94/0xd0 [i2c_core] [812b0f0a] ? driver_sysfs_add+0x7a/0xb0 [812b11e6] driver_probe_device+0x96/0x1c0 [812b13b0] ? __device_attach+0x0/0x60 [812b13fb] __device_attach+0x4b/0x60 [812afdd4] bus_for_each_drv+0x64/0x90 [812b107f] device_attach+0x8f/0xb0 [812b0805] bus_probe_device+0x25/0x40 [812ae574] device_add+0x4e4/0x5c0 [812ba941] ? pm_runtime_init+0xd1/0xe0 [812ae669] device_register+0x19/0x20 [a03091d5] i2c_new_device+0x145/0x250 [i2c_core] [a00b77b6] v4l2_i2c_new_subdev_board+0x96/0x240 [v4l2_common] [a00b79e3] v4l2_i2c_new_subdev_cfg+0x83/0xb0 [v4l2_common] [a0363760] ? pvr2_context_notify+0x0/0x10 [pvrusb2] [a0363760] ? pvr2_context_notify+0x0/0x10 [pvrusb2] [a035b606] pvr2_hdw_initialize+0x346/0x1060 [pvrusb2] [a036394b] pvr2_context_thread_func+0x9b/0x320 [pvrusb2]