kernel bug while playing video Totem

Bug #106734 reported by Charles
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I'm using the following drivers:
* NVIDIA 9631
* ipw3945

While I try to play a video (14042007001.mp4: ISO Media, MPEG v4 system, version 2) using Totem, the systems locks halfly and the following message is dumped to console:

[183162.728000] NVRM: Xid (0001:00): 8, Channel 00000000
[183170.728000] NVRM: Xid (0001:00): 8, Channel 00000000
[183178.740000] ipw3945: Microcode SW error detected. Restarting.
[183178.740000] ipw3945: request scan called when driver not ready.
[183179.260000] ipw3945: Error sending ADD_STA: time out after 500ms.
[183179.260000] ipw3945: Can't stop Rx DMA.
[183179.272000] ------------[ cut here ]------------
[183179.272000] kernel BUG at kernel/workqueue.c:323!
[183179.272000] invalid opcode: 0000 [#1]
[183179.272000] SMP
[183179.272000] Modules linked in: battery ac thermal fan button ipw3945 ieee80211 tg3 michael_mic arc4 ecb ieee80211_crypt_tkip binfmt_misc rfcomm l2cap ipv6 ppdev acpi_cpufreq cpufreq_powersave cpufreq_userspace cpufreq_ondemand cpufreq_conservative cpufreq_stats freq_table sony_acpi pcc_acpi dev_acpi tc1100_wmi sbs i2c_ec video container asus_acpi backlight dock iptable_raw xt_policy xt_multiport ipt_ULOG ipt_TTL ipt_ttl ipt_TOS ipt_tos ipt_TCPMSS ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent ipt_owner ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_iprange ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype xt_tcpmss xt_pkttype xt_physdev xt_NFQUEUE xt_MARK xt_mark xt_mac xt_limit xt_length xt_helper xt_dccp xt_conntrack xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables ext2 nls_iso8859_1 nls_cp437 vfat fat fuse parport_pc lp parport snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss joydev nvidia(P) ieee80211_crypt i2c_core snd_pcm snd_timer pcmcia hci_usb bluetooth snd intel_agp agpgart serio_raw psmouse soundcore af_packet yenta_socket rsrc_nonstatic pcmcia_core snd_page_alloc iTCO_wdt iTCO_vendor_support shpchp pci_hotplug tsdev evdev ext3 jbd mbcache sg sd_mod sr_mod cdrom generic ata_generic ehci_hcd ata_piix libata scsi_mod uhci_hcd usbcore processor capability commoncap aes_i586 sha256 cbc blkcipher dm_crypt dm_mod vesafb fbcon tileblit font bitblit softcursor
[183179.272000] CPU: 0
[183179.272000] EIP: 0060:[<c013735e>] Tainted: P VLI
[183179.272000] EFLAGS: 00010292 (2.6.20-14-generic #2)
[183179.272000] EIP is at run_workqueue+0xee/0x140
[183179.272000] eax: 0003aee8 ebx: f690194c ecx: 00000246 edx: 00000000
[183179.272000] esi: f6901940 edi: f6901948 ebp: 00000246 esp: d9d6df58
[183179.272000] ds: 007b es: 007b ss: 0068
[183179.272000] Process ipw3945/0 (pid: 11497, ti=d9d6c000 task=e73a7a90 task.ti=d9d6c000)
[183179.272000] Stack: 00000000 f6901954 d9d6df9c 00000296 f690194b f6901960 00000001 f6901940
[183179.272000] f690194c f6901954 d9d6df9c c0137d87 00000001 00000000 c200c840 00010000
[183179.272000] 00000000 00000000 e73a7a90 c0120b40 00100100 00200200 ffffffff ffffffff
[183179.272000] Call Trace:
[183179.272000] [<c0137d87>] worker_thread+0x147/0x170
[183179.272000] [<c0120b40>] default_wake_function+0x0/0x10
[183179.272000] [<c0137c40>] worker_thread+0x0/0x170
[183179.272000] [<c013ac3a>] kthread+0xba/0xf0
[183179.272000] [<c013ab80>] kthread+0x0/0xf0
[183179.272000] [<c01044c7>] kernel_thread_helper+0x7/0x10
[183179.272000] =======================
[183179.272000] Code: 24 00 00 00 00 e8 03 73 fe ff 8b 44 24 10 3b 46 0c 0f 85 78 ff ff ff 83 6e 34 01 89 ea 83 c4 1c 89 f0 5b 5e 5f 5d e9 f2 74 1b 00 <0f> 0b eb fe 65 a1 08 00 00 00 8b 90 a4 00 00 00 05 94 01 00 00
[183179.272000] EIP: [<c013735e>] run_workqueue+0xee/0x140 SS:ESP 0068:d9d6df58
[183179.272000] <6>ADDRCONF(NETDEV_UP): eth1: link is not ready

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. With which version of the kernel did you notice this issue? Thanks in advance.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Charles:
In addition to the above, could you also indicate where you obtained the NVIDIA 9631 drivers from? There's a NVRM: Xid in this bug which ties this to the NVIDIA binary driver...

Revision history for this message
Charles (charles-bovy) wrote :

I'm using the following:

linux-image-2.6.20-14-generic 2.6.20.14.12
nvidia 1:1.0.9631+2.6.20.5-14.18

I do see that there is a new kernel and new nvidia available today via Software Update. Does an upgrade help?

With regards,

Charles

Revision history for this message
Brian Murray (brian-murray) wrote :

Not necessarily but the kernel team only works on bugs with the current version of the kernel.

Revision history for this message
Charles (charles-bovy) wrote :

I've upgraded to

linux-image-2.6.20-15-generic 2.6.20.15.14
nvidia 1.0.9631+2.6.20.5-15.20

and the kernel-dump disappeared. Wireless keeps working (ipw3945).

But I still have a very slow responding system during playback. No video and bad audio.
The following is a output from mplayer:

mplayer 14042007001.mp4
MPlayer 2:1.0~rc1-0ubuntu9 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 14042007001.mp4.
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
VIDEO: [mp4v] 352x288 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 32000 Hz, 2 ch, s16le, 48.0 kbit/4.69% (ratio: 6006->128000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [xv] 352x288 => 352x288 Planar YV12
A: 22.3 V: 22.8 A-V: -0.528 ct: 0.014 302/302 1% 0% 51.0% 4 0

Exiting... (End of file)

Revision history for this message
Charles (charles-bovy) wrote :
Download full text (3.7 KiB)

Too early with my conclusion. This kernel also has problem with video playback. I tried a video playback using the totem-plugin in Mozilla.
The following message appeared on the console and I lost wireless connectivity:

[57994.808000] NVRM: Xid (0001:00): 8, Channel 00000000
[57998.808000] ipw3945: Microcode SW error detected. Restarting.
[57998.808000] ipw3945: request scan called when driver not ready.
[57999.344000] ipw3945: Error sending ADD_STA: time out after 500ms.
[58000.336000] ipw3945: Can't stop Rx DMA.
[58000.944000] ipw3945: Error sending LEDS_CMD: time out after 500ms.
[58000.944000] ------------[ cut here ]------------
[58000.944000] kernel BUG at kernel/workqueue.c:323!
[58000.944000] invalid opcode: 0000 [#1]
[58000.944000] SMP
[58000.944000] Modules linked in: ieee80211_crypt_ccmp binfmt_misc rfcomm l2cap ipv6 ppdev acpi_cpufreq cpufreq_powersave cpufreq_userspace cpufreq_ondemand cpufreq_conservative cpufreq_stats freq_table sony_acpi pcc_acpi dev_acpi tc1100_wmi sbs i2c_ec battery video container asus_acpi backlight ac dock button iptable_raw xt_policy xt_multiport ipt_ULOG ipt_TTL ipt_ttl ipt_TOS ipt_tos ipt_TCPMSS ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent ipt_owner ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_iprange ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype xt_tcpmss xt_pkttype xt_physdev xt_NFQUEUE xt_MARK xt_mark xt_mac xt_limit xt_length xt_helper xt_dccp xt_conntrack xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables ext2 nls_iso8859_1 nls_cp437 vfat fat fuse parport_pc lp parport joydev snd_hda_intel snd_hda_codec af_packet snd_pcm_oss snd_mixer_oss ipw3945 nvidia(P) snd_pcm pcmcia snd_timer i2c_core ieee80211 ieee80211_crypt hci_usb snd bluetooth yenta_socket rsrc_nonstatic pcmcia_core serio_raw iTCO_wdt iTCO_vendor_support soundcore psmouse intel_agp agpgart snd_page_alloc shpchp pci_hotplug tsdev evdev ext3 jbd mbcache sg sr_mod cdrom sd_mod generic ata_generic tg3 ehci_hcd ata_piix libata scsi_mod uhci_hcd usbcore thermal processor fan capability commoncap aes_i586 sha256 cbc blkcipher dm_crypt dm_mod vesafb fbcon tileblit font bitblit softcursor
[58000.944000] CPU: 1
[58000.944000] EIP: 0060:[<c013735e>] Tainted: P VLI
[58000.944000] EFLAGS: 00010296 (2.6.20-15-generic #2)
[58000.944000] EIP is at run_workqueue+0xee/0x140
[58000.944000] eax: 0001ee2c ebx: f799b34c ecx: 00000246 edx: 00000000
[58000.944000] esi: f799b340 edi: f799b348 ebp: 00000246 esp: f7a45f58
[58000.944000] ds: 007b es: 007b ss: 0068
[58000.944000] Process ipw3945/1 (pid: 4031, ti=f7a44000 task=f7b3ba90 task.ti=f7a44000)
[58000.944000] Stack: 00000000 f799007b ffff007b c02e00d8 f799b34b f799b360 00000001 f799b340
[58000.944000] f799b34c f799b354 f7a45f9c c0137d87 00000001 00000000 c200c840 00010000
[58000.944000] 00000000 00000000 f7b3ba90 c0120b40 00100100 00200200 ffffffff ffffffff
[58000.944000] Call Trace:
[58000.944000] [<c02e00d8>] xfrm_state_add+0x18/0x1f0
[58000.944000] [<c0137d87>] worker_thread+0x147/0x170
[58000.944000] [<c0120b40>] default_wake_function+0x0/0x10
[58000.9440...

Read more...

Revision history for this message
Charles (charles-bovy) wrote :

Hi,

I did a manual installation of nvidia-glx-new (1.0.9755+2.6.20.5-15.20) and had to remove nvidia-glx. Now everything runs fine. Totem and mplayer do run fine, no intermittent sound anymore, video is displayed ok.
I'll keep an eye on it the coming days.

Regards, Charles

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Charles:
Since you've gone with a manual install of the nvidia drivers if there are any issues arising from using them could those issues can no longer be usefully reported here (as this part of launchpad is for reporting problems with Ubuntu repository provided software). Your best bet would be to report any new problems on the NVIDIA forums over at http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 .

Closing this bug as the Charles has found a working 3rd party workaround.

Changed in linux-source-2.6.20:
status: Confirmed → Rejected
Revision history for this message
Charles (charles-bovy) wrote : Re: [Bug 106734] Re: kernel bug while playing video Totem

Hi Sitsofe,

I think you misunderstood. I did a manual installation of nvidia-glx-new
using Synaptic. This package was not installed using the software updater.

I did not do a full manual installation of the drivers from the
nvidia.comwebsite. I'm using the Ubuntu repository packages.

With regards,

Charles

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.