New issue
Advanced search Search tips

Issue 895707 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

guado: video_VideoSeek causes random kernel crashes

Project Member Reported by tfiga@chromium.org, Oct 16

Issue description

Board: guado (with kepler)
Build: 11159.0.0
Logs: https://stainless.corp.google.com/browse/chromeos-autotest-results/248545902-chromeos-test/chromeos4-row3-rack7-host2/

The test logs ends with a garbage. console_ramoops seems to indicate some problems with the go2001 (kepler) driver:

[  249.002835] vb2: __vb2_wait_for_done_vb: nonblocking and no buffers to dequeue, will not wait
[  249.002857] vb2: vb2_internal_dqbuf: dqbuf of buffer 2, with state 0
[  249.002890] vb2: __vb2_wait_for_done_vb: nonblocking and no buffers to dequeue, will not wait
[  249.002945] vb2: vb2_internal_qbuf: qbuf of buffer 6 succeeded
[  249.002993] vb2: __vb2_wait_for_done_vb: nonblocking and no buffers to dequeue, will not wait
[  249.003016] vb2: __vb2_wait_for_done_vb: nonblocking and no buffers to dequeue, will not wait
[  249.003523] vb2: __vb2_wait_for_done_vb: nonblocking and no buffers to dequeue, will not wait
[  249.003551] vb2: __vb2_wait_for_done_vb: nonblocking and no buffers to dequeue, will not wait
[  249.007165] ------------[ cut here ]------------
[  249.007200] WARNING: CPU: 1 PID: 5976 at ../../../../../tmp/portage/sys-kernel/chromeos-kernel-3_14-3.14-r2075/work/chromeos-kernel-3_14-3.14/drivers/media/pci/go2001/go2001_driver.c:564 go2001_stop_streaming+0x185/0x187()
[  249.007240] Modules linked in: i2c_dev rfcomm cmac uinput zram btusb btbcm btintel bluetooth memc_x86 x86_pkg_temp_thermal snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi r8169 snd_soc_sst_acpi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep fuse ip6table_filter ip6_tables snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device iwlmvm smsc95xx usbnet mii iwlwifi iwl7000_mac80211 cfg80211
[  249.007421] CPU: 1 PID: 5976 Comm: V4L2DecoderThre Not tainted 3.14.0 #1
[  249.007437] Hardware name: GOOGLE Guado, BIOS Google_Guado.6301.108.4 04/01/2015
[  249.007454]  0000000000000000 000000005aadb7e7 ffff880163717c18 ffffffff8b8cc211
[  249.007479]  0000000000000000 ffff880163717c50 ffffffff8b34ccb6 ffffffff8b73467f
[  249.007502]  ffff88015e456000 ffff88015e4566e8 0000000000000282 ffff88015e456470
[  249.007526] Call Trace:
[  249.007545]  [<ffffffff8b8cc211>] dump_stack+0x4d/0x6f
[  249.007564]  [<ffffffff8b34ccb6>] warn_slowpath_common+0x7f/0x98
[  249.007583]  [<ffffffff8b73467f>] ? go2001_stop_streaming+0x185/0x187
[  249.007602]  [<ffffffff8b34cce9>] warn_slowpath_null+0x1a/0x1c
[  249.007620]  [<ffffffff8b73467f>] go2001_stop_streaming+0x185/0x187
[  249.007640]  [<ffffffff8b72e482>] __vb2_queue_cancel+0x30/0x20e
[  249.007659]  [<ffffffff8b72e694>] vb2_internal_streamoff+0x34/0x60
[  249.007679]  [<ffffffff8b72e6fe>] vb2_streamoff+0x3e/0x45
[  249.007695]  [<ffffffff8b737e4b>] go2001_streamoff+0x68/0x6f
[  249.007714]  [<ffffffff8b71f7ed>] v4l_streamoff+0x20/0x22
[  249.007730]  [<ffffffff8b7235a0>] __video_do_ioctl+0x1b9/0x2ab
[  249.007748]  [<ffffffff8b723126>] video_usercopy+0x256/0x500
[  249.007764]  [<ffffffff8b7233e7>] ? video_ioctl2+0x17/0x17
[  249.007785]  [<ffffffff8b289714>] ? selinux_file_ioctl+0x20e/0x253
[  249.007802]  [<ffffffff8b7233d0>] ? video_usercopy+0x500/0x500
[  249.007819]  [<ffffffff8b7233e5>] video_ioctl2+0x15/0x17
[  249.007836]  [<ffffffff8b71e76d>] v4l2_ioctl+0x80/0x111
[  249.007853]  [<ffffffff8b256bad>] SyS_ioctl+0x449/0x48e
[  249.007871]  [<ffffffff8b200e1d>] ? syscall_trace_enter+0x6a/0x192
[  249.007891]  [<ffffffff8b8d20a0>] tracesys+0xe7/0xec
[  249.007905] ---[ end trace 4252c38622a00e5c ]---
[  249.011634] general protection fault: 0000 [#1] PREEMPT SMP 
[  249.014047] gsmi: Log Shutdown Reason 0x03
[  249.014062] Modules linked in: i2c_dev rfcomm cmac uinput zram btusb btbcm btintel bluetooth memc_x86 x86_pkg_temp_thermal snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi r8169 snd_soc_sst_acpi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep fuse ip6table_filter ip6_tables snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device iwlmvm smsc95xx usbnet mii iwlwifi iwl7000_mac80211 cfg80211
[  249.014257] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W    3.14.0 #1
[  249.014277] Hardware name: GOOGLE Guado, BIOS Google_Guado.6301.108.4 04/01/2015
[  249.014298] task: ffff88017a1be1a0 ti: ffff88017a24e000 task.ti: ffff88017a24e000
[  249.014319] RIP: 0010:[<ffffffff8b737806>]  [<ffffffff8b737806>] go2001_irq+0xb9a/0xbdc
[  249.014351] RSP: 0018:ffff88017ec83e78  EFLAGS: 00010093
[  249.014368] RAX: dead000000100100 RBX: ffff88017a320028 RCX: 0000000000000000
[  249.014388] RDX: dead000000200200 RSI: 0000000000000005 RDI: ffff88016ff02800
[  249.014407] RBP: ffff88017ec83ee8 R08: 0000000000000000 R09: dead000000200200
[  249.014425] R10: 0000000000000001 R11: 00000000000008ba R12: ffff88015e456000
[  249.014444] R13: ffff88015e4566e8 R14: ffff88016ff02800 R15: dead000000100100
[  249.014465] FS:  0000000000000000(0000) GS:ffff88017ec80000(0000) knlGS:0000000000000000
[  249.014487] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  249.014505] CR2: 0000701479b4abf0 CR3: 000000000be0c000 CR4: 00000000003607e0
[  249.014523] Stack:
[  249.014532]  ffff88017a1be1a0 ffff88017a3209c0 ffffffff00000000 0000000000000046
[  249.014562]  ffff88017a320a00 0000000000000001 0000000000000093 ffff88017a3209a8
[  249.014590]  ffff8801005a4400 0000000000000001 000000000000003e ffff88017a32af00
[  249.014620] Call Trace:
[  249.014631]  <IRQ> 
[  249.014642]  [<ffffffff8b21adc7>] handle_irq_event+0x9b/0x1db
[  249.014682]  [<ffffffff8b21b617>] handle_edge_irq+0xaa/0xc3
[  249.014703]  [<ffffffff8b2006aa>] handle_irq+0x11c/0x124
[  249.014726]  [<ffffffff8b8d47bd>] do_IRQ+0x4d/0xc2
[  249.014749]  [<ffffffff8b8d2980>] common_interrupt+0x80/0x80
[  249.014765]  <EOI> 
[  249.014775]  [<ffffffff8b2c606e>] ? cpuidle_idle_call+0x15d/0x25e
[  249.014811]  [<ffffffff8b200d9e>] arch_cpu_idle+0xe/0x23
[  249.014832]  [<ffffffff8b21ac52>] cpu_startup_entry+0x15c/0x1ba
[  249.014858]  [<ffffffff8b31a4f1>] start_secondary+0x21c/0x235
[  249.014876] Code: ff be 06 00 00 00 4d 8b be 48 03 00 00 49 8b 96 50 03 00 00 48 b8 00 01 10 00 00 00 ad de 49 b9 00 02 20 00 00 00 ad de 4c 89 f7 <49> 89 57 08 4c 89 3a 49 89 86 48 03 00 00 4d 89 8e 50 03 00 00 
[  249.015116] RIP  [<ffffffff8b737806>] go2001_irq+0xb9a/0xbdc
[  249.015142]  RSP <ffff88017ec83e78>
[  249.015157] ---[ end trace 4252c38622a00e5d ]---
[  249.033862] Kernel panic - not syncing: Fatal exception in interrupt
[  249.033895] Kernel Offset: 0xa200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  249.034054] gsmi: Log Shutdown Reason 0x02
[  249.044218] ACPI MEMORY or I/O RESET_REG.

The final kernel crash seems to be inside the IRQ handler of the go2001 driver.
 
Cc: keiichiw@chromium.org
Labels: cros-media-sheriff
Labels: media-kernel-fbuergisser

Sign in to add a comment