Return-path: Received: from vserver.eikelenboom.it ([84.200.39.61]:58014 "EHLO smtp.eikelenboom.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755424AbaDMUp7 (ORCPT ); Sun, 13 Apr 2014 16:45:59 -0400 Date: Sun, 13 Apr 2014 22:45:53 +0200 From: Sander Eikelenboom Message-ID: <438386739.20140413224553@eikelenboom.it> To: Hans Verkuil CC: Dan Williams , linux-media@vger.kernel.org, Mauro Carvalho Chehab , Subject: stk1160 / ehci-pci 0000:00:0a.0: DMA-API: device driver maps memory fromstack [addr=ffff88003d0b56bf] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hi, I'm hitting this warning on boot with a syntek usb video grabber, it's not clear to me if it's a driver issue of the stk1160 or a generic ehci issue. This is with a 3.15-mergewindow kernel (pull of Linus his tree of today). -- Sander [ 5.587759] ------------[ cut here ]------------ [ 5.591210] WARNING: CPU: 0 PID: 1376 at lib/dma-debug.c:1153 check_for_stack+0xa0/0x100() [ 5.596612] ehci-pci 0000:00:0a.0: DMA-API: device driver maps memory fromstack [addr=ffff88003d0b56bf] [ 5.602548] Modules linked in: [ 5.605380] CPU: 0 PID: 1376 Comm: khubd Not tainted 3.14.0-security-20140413-v4lall+ #1 [ 5.611042] Hardware name: Xen HVM domU, BIOS 4.5-unstable 04/10/2014 [ 5.615314] 0000000000000009 ffff88003d0b5348 ffffffff81c516fe ffff88003d0b5390 [ 5.622147] ffff88003d0b5380 ffffffff810e4aa3 ffff88003ceae898 ffff88003cf14070 [ 5.628926] ffff88003d0b56bf ffff88003ceae898 ffffffff8241ab40 ffff88003d0b53e0 [ 5.635536] Call Trace: [ 5.638001] [] dump_stack+0x45/0x56 [ 5.641633] [] warn_slowpath_common+0x73/0x90 [ 5.645688] [] warn_slowpath_fmt+0x47/0x50 [ 5.649843] [] check_for_stack+0xa0/0x100 [ 5.652420] systemd-udevd[2143]: starting version 204 [ 5.657709] [] debug_dma_map_page+0xfc/0x150 [ 5.661836] [] usb_hcd_map_urb_for_dma+0x5fc/0x710 [ 5.666132] [] usb_hcd_submit_urb+0x315/0xa30 [ 5.670247] [] ? del_timer_sync+0x4a/0x60 [ 5.674072] [] ? schedule_timeout+0x14d/0x1f0 [ 5.678083] [] ? migrate_timer_list+0x60/0x60 [ 5.682167] [] usb_submit_urb+0x30c/0x580 [ 5.685989] [] ? wait_for_common+0x16b/0x240 [ 5.689919] [] usb_start_wait_urb+0x5a/0xe0 [ 5.693830] [] ? mpol_rebind_policy+0x30/0xa0 [ 5.697638] [] usb_control_msg+0xb8/0x100 [ 5.701468] [] stk1160_read_reg+0x52/0x80 [ 5.705358] [] stk1160_i2c_busy_wait+0x6c/0x90 [ 5.709656] [] stk1160_i2c_xfer+0x1cb/0x440 [ 5.713647] [] ? irq_to_desc+0x12/0x20 [ 5.717515] [] ? irq_get_irq_data+0x9/0x10 [ 5.721432] [] __i2c_transfer+0x5c/0x80 [ 5.725783] [] i2c_transfer+0x5b/0x90 [ 5.730187] [] i2c_smbus_xfer_emulated+0x116/0x570 [ 5.735194] [] ? wake_up_process+0x1e/0x40 [ 5.739631] [] ? wait_for_common+0x16b/0x240 [ 5.744338] [] ? __wake_up+0x3f/0x50 [ 5.748997] [] i2c_smbus_xfer+0xf2/0x140 [ 5.753538] [] i2c_default_probe+0xc3/0x100 [ 5.758173] [] ? i2c_check_addr_busy+0x36/0x60 [ 5.763227] [] i2c_new_probed_device+0x92/0xe0 [ 5.768736] [] ? i2c_smbus_xfer+0x140/0x140 [ 5.774035] [] v4l2_i2c_new_subdev_board+0x4f/0x100 [ 5.779495] [] v4l2_i2c_new_subdev+0x58/0x70 [ 5.784638] [] stk1160_probe+0x3df/0x4e0 [ 5.789553] [] usb_probe_interface+0xca/0x1d0 [ 5.794659] [] really_probe+0x56/0x1e0 [ 5.799231] [] ? really_probe+0x1e0/0x1e0 [ 5.804225] [] __device_attach+0x48/0x50 [ 5.809514] [] bus_for_each_drv+0x53/0x90 [ 5.814602] [] device_attach+0x88/0xa0 [ 5.819487] [] bus_probe_device+0x98/0xc0 [ 5.824337] [] device_add+0x4bc/0x5c0 [ 5.829267] [] usb_set_configuration+0x495/0x7a0 [ 5.834590] [] generic_probe+0x29/0xa0 [ 5.839419] [] usb_probe_device+0x15/0x20 [ 5.844594] [] really_probe+0x56/0x1e0 [ 5.849538] [] ? really_probe+0x1e0/0x1e0 [ 5.854444] [] __device_attach+0x48/0x50 [ 5.859393] [] bus_for_each_drv+0x53/0x90 [ 5.864390] [] device_attach+0x88/0xa0 [ 5.869408] [] bus_probe_device+0x98/0xc0 [ 5.874652] [] device_add+0x4bc/0x5c0 [ 5.879185] [] usb_new_device+0x228/0x390 [ 5.884283] [] hub_thread+0xdb0/0x14e0 [ 5.888638] [] ? try_to_wake_up+0x100/0x2c0 [ 5.892802] [] ? abort_exclusive_wait+0xa0/0xa0 [ 5.896554] [] ? usb_reset_device+0x180/0x180 [ 5.900309] [] kthread+0xcd/0xf0 [ 5.903619] [] ? kthread_create_on_node+0x170/0x170 [ 5.908064] [] ret_from_fork+0x7c/0xb0 [ 5.912017] [] ? kthread_create_on_node+0x170/0x170 [ 5.916654] ---[ end trace 18f58175dc2f3152 ]---