Bug 92032 - NV34: WARNING: CPU: 0 PID: 290 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
Summary: NV34: WARNING: CPU: 0 PID: 290 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 18:34 UTC by poma
Modified: 2015-12-16 10:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
4.4.0-0.rc5.git0.1.fc24.i686+debug nouveau sync DMA memory not allocated (2.84 KB, text/plain)
2015-12-16 10:59 UTC, poma
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description poma 2015-09-17 18:34:24 UTC
Chipset: NV34 (NV34)
Family : NV30


- 4.2.0-301.fc23.i686+debug:

[   37.496517] ------------[ cut here ]------------
[   37.496556] WARNING: CPU: 0 PID: 290 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
[   37.496576] nouveau 0000:01:00.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x00000000c0bf59a8] [size=4096 bytes]
[   37.496601] Modules linked in: nouveau(+) mxm_wmi wmi ... video i2c_algo_bit ... ttm ... drm_kms_helper ... drm ...
[   37.496722] CPU: 0 PID: 290 Comm: systemd-udevd Not tainted 4.2.0-301.fc23.i686+debug #1
...
[   37.496841] Call Trace:
[   37.496856]  [<c0b91ed7>] dump_stack+0x48/0x60
[   37.496872]  [<c0463d77>] warn_slowpath_common+0x87/0xc0
[   37.496887]  [<c07b93a9>] ? check_sync+0x169/0x6e0
[   37.496901]  [<c07b93a9>] ? check_sync+0x169/0x6e0
[   37.496914]  [<c0463dee>] warn_slowpath_fmt+0x3e/0x60
[   37.496928]  [<c07b93a9>] check_sync+0x169/0x6e0
[   37.496945]  [<c049a949>] ? sched_clock_local+0x49/0x180
[   37.496961]  [<c07b9a2d>] debug_dma_sync_single_for_device+0x7d/0x90
[   37.496989]  [<f7e22298>] ? ttm_bo_del_sub_from_lru+0x18/0x50 [ttm]
[   37.497006]  [<c040b650>] ? text_poke_bp+0xd0/0xd0
[   37.497144]  [<f85ba340>] nouveau_bo_sync_for_device+0x80/0xc0 [nouveau]
[   37.497228]  [<f85ba474>] nouveau_bo_validate+0x34/0x40 [nouveau]
[   37.497310]  [<f85ba608>] nouveau_bo_pin+0x188/0x290 [nouveau]
[   37.497391]  [<f85b8b60>] ? nv10_bo_put_tile_region+0x80/0x80 [nouveau]
[   37.497413]  [<f85cd830>] nouveau_channel_prep+0x140/0x330 [nouveau]
[   37.497413]  [<f85cda92>] nouveau_channel_new+0x72/0x770 [nouveau]
[   37.497413]  [<f85baa27>] ? nouveau_bo_wr32+0x37/0x60 [nouveau]
[   37.497413]  [<f85b56e7>] nouveau_accel_init+0x157/0x4e0 [nouveau]
[   37.497413]  [<c05dda14>] ? kmem_cache_alloc_trace+0x364/0x3e0
[   37.497413]  [<f85b7431>] ? nouveau_hwmon_init+0x41/0x1d0 [nouveau]
[   37.497413]  [<f85b6140>] nouveau_drm_load+0x3f0/0x5e0 [nouveau]
[   37.497413]  [<f7e45066>] drm_dev_register+0x96/0xe0 [drm]
[   37.497413]  [<f7e47b89>] drm_get_pci_dev+0x79/0x1c0 [drm]
[   37.497413]  [<c07d9c1e>] ? pcibios_set_master+0x4e/0xa0
[   37.497413]  [<f85b654e>] nouveau_drm_probe+0x21e/0x260 [nouveau]
[   37.497413]  [<c07dc24f>] pci_device_probe+0x6f/0xd0
[   37.497413]  [<c0674b35>] ? sysfs_create_link+0x25/0x50
[   37.497413]  [<c08c288d>] driver_probe_device+0x1cd/0x460
[   37.497413]  [<c08c2b6c>] ? __driver_attach+0x4c/0x90
[   37.497413]  [<c07dc182>] ? pci_match_device+0xd2/0x100
[   37.497413]  [<c08c2ba1>] __driver_attach+0x81/0x90
[   37.497413]  [<c08c2b20>] ? driver_probe_device+0x460/0x460
[   37.497413]  [<c08c06b7>] bus_for_each_dev+0x57/0xa0
[   37.497413]  [<c08c20ce>] driver_attach+0x1e/0x20
[   37.497413]  [<c08c2b20>] ? driver_probe_device+0x460/0x460
[   37.497413]  [<c08c1c6f>] bus_add_driver+0x1ef/0x290
[   37.497413]  [<c08c39cd>] driver_register+0x5d/0xf0
[   37.497413]  [<c07dabfa>] __pci_register_driver+0x4a/0x50
[   37.497413]  [<f7e47dad>] drm_pci_init+0xdd/0x100 [drm]
[   37.497413]  [<f7ee01f9>] nouveau_drm_init+0x1f9/0x1000 [nouveau]
[   37.497413]  [<f7ee0000>] ? 0xf7ee0000
[   37.497413]  [<c040047a>] do_one_initcall+0xaa/0x200
[   37.497413]  [<f7ee0000>] ? 0xf7ee0000
[   37.497413]  [<c0b94aeb>] ? preempt_schedule_common+0x1b/0x40
[   37.497413]  [<c05dda14>] ? kmem_cache_alloc_trace+0x364/0x3e0
[   37.497413]  [<c0b91445>] ? do_init_module+0x21/0x1b7
[   37.497413]  [<c0b91445>] ? do_init_module+0x21/0x1b7
[   37.497413]  [<c0b91474>] do_init_module+0x50/0x1b7
[   37.497413]  [<c050909c>] load_module+0x1ebc/0x2550
[   37.497413]  [<c049ad43>] ? local_clock+0x13/0x20
[   37.497413]  [<c0509877>] SyS_init_module+0x147/0x1a0
[   37.497413]  [<c04be63c>] ? trace_hardirqs_on_caller+0x12c/0x1d0
[   37.497413]  [<c052711c>] ? __audit_syscall_entry+0x8c/0xe0
[   37.497413]  [<c0b9ad2f>] sysenter_do_call+0x12/0x12
[   37.497413] ---[ end trace 5b24249d32c8d739 ]---


- 4.3.0-0.rc1.git2.1.fc24.i686:

[   38.655947] ------------[ cut here ]------------
[   38.655986] WARNING: CPU: 0 PID: 284 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
[   38.656006] nouveau 0000:01:00.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x00000000c0bf34a8] [size=4096 bytes]
[   38.656031] Modules linked in: nouveau(+) mxm_wmi ...wmi ... video ... i2c_algo_bit ttm drm_kms_helper ... drm ...
[   38.656036] CPU: 0 PID: 284 Comm: systemd-udevd Not tainted 4.3.0-0.rc1.git2.1.fc24.i686 #1
...
[   38.656036] Call Trace:
[   38.656036]  [<c0787c8f>] dump_stack+0x48/0x69
[   38.656036]  [<c0461f47>] warn_slowpath_common+0x87/0xc0
[   38.656036]  [<c07b6909>] ? check_sync+0x169/0x6e0
[   38.656036]  [<c07b6909>] ? check_sync+0x169/0x6e0
[   38.656036]  [<c0461fbe>] warn_slowpath_fmt+0x3e/0x60
[   38.656036]  [<c07b6909>] check_sync+0x169/0x6e0
[   38.656036]  [<c0497909>] ? sched_clock_local+0x49/0x180
[   38.656036]  [<c07b6f8d>] debug_dma_sync_single_for_device+0x7d/0x90
[   38.656036]  [<f7ec0298>] ? ttm_bo_del_sub_from_lru+0x18/0x50 [ttm]
[   38.656036]  [<c040bfa0>] ? text_poke_bp+0xd0/0xd0
[   38.656036]  [<f85d666b>] nouveau_bo_sync_for_device+0x8b/0xa0 [nouveau]
[   38.656036]  [<f85d6754>] nouveau_bo_validate+0x34/0x40 [nouveau]
[   38.656036]  [<f85d68e8>] nouveau_bo_pin+0x188/0x290 [nouveau]
[   38.656036]  [<f85d4f70>] ? nv10_bo_put_tile_region+0x80/0x80 [nouveau]
[   38.656036]  [<f85e96ad>] nouveau_channel_prep+0xfd/0x2c0 [nouveau]
[   38.656036]  [<f85e98c7>] nouveau_channel_new+0x57/0x7a0 [nouveau]
[   38.656036]  [<c05da0fc>] ? kfree+0xdc/0x280
[   38.656036]  [<f853d082>] ? nvif_object_sclass_put+0x12/0x20 [nouveau]
[   38.656036]  [<f85d25f6>] nouveau_drm_load+0x596/0x8d0 [nouveau]
[   38.656036]  [<c04bbfac>] ? trace_hardirqs_on_caller+0x12c/0x1d0
[   38.656036]  [<f7e7df79>] ? drm_minor_register+0x89/0x120 [drm]
[   38.656036]  [<f7e7e0a6>] drm_dev_register+0x96/0xa0 [drm]
[   38.656036]  [<f7e80c79>] drm_get_pci_dev+0x79/0x1c0 [drm]
[   38.656036]  [<c07d70be>] ? pcibios_set_master+0x4e/0xa0
[   38.656036]  [<f85d2b1e>] nouveau_drm_probe+0x1ee/0x220 [nouveau]
[   38.656036]  [<c07d98bb>] pci_device_probe+0x7b/0xf0
[   38.656036]  [<c08bcbc6>] ? devices_kset_move_last+0x56/0xa0
[   38.656036]  [<c08c0644>] driver_probe_device+0x204/0x490
[   38.656036]  [<c08c091c>] ? __driver_attach+0x4c/0x90
[   38.656036]  [<c07d9582>] ? pci_match_device+0xd2/0x100
[   38.656036]  [<c08c0951>] __driver_attach+0x81/0x90
[   38.656036]  [<c08c08d0>] ? driver_probe_device+0x490/0x490
[   38.656036]  [<c08be3f7>] bus_for_each_dev+0x57/0xa0
[   38.656036]  [<c08bfe2e>] driver_attach+0x1e/0x20
[   38.656036]  [<c08c08d0>] ? driver_probe_device+0x490/0x490
[   38.656036]  [<c08bf9af>] bus_add_driver+0x1ef/0x290
[   38.656036]  [<c08c143d>] driver_register+0x5d/0xf0
[   38.656036]  [<c07d809a>] __pci_register_driver+0x4a/0x50
[   38.656036]  [<f7e80e9d>] drm_pci_init+0xdd/0x100 [drm]
[   38.656036]  [<f7ef01f9>] nouveau_drm_init+0x1f9/0x1000 [nouveau]
[   38.656036]  [<f7ef0000>] ? 0xf7ef0000
[   38.656036]  [<c040047a>] do_one_initcall+0xaa/0x200
[   38.656036]  [<f7ef0000>] ? 0xf7ef0000
[   38.656036]  [<c04dadc2>] ? rcu_read_lock_sched_held+0x42/0x80
[   38.656036]  [<c05daa8d>] ? kmem_cache_alloc_trace+0x23d/0x310
[   38.656036]  [<c0582bc1>] ? do_init_module+0x21/0x1b7
[   38.656036]  [<c0582bc1>] ? do_init_module+0x21/0x1b7
[   38.656036]  [<c0582bf0>] do_init_module+0x50/0x1b7
[   38.656036]  [<c050370c>] load_module+0x1ebc/0x2550
[   38.656036]  [<c0497d03>] ? local_clock+0x13/0x20
[   38.656036]  [<c0503ee7>] SyS_init_module+0x147/0x1a0
[   38.656036]  [<c04012c4>] ? do_audit_syscall_entry.isra.9+0x44/0x50
[   38.656036]  [<c0401627>] ? syscall_trace_enter_phase1+0x107/0x130
[   38.656036]  [<c0b96cc5>] syscall_call+0x7/0x7
[   38.656036] ---[ end trace d37eab05b9013f5b ]---
Comment 1 Ilia Mirkin 2015-09-17 18:46:37 UTC
Is this AGP, PCI, or PCIe?
Comment 2 poma 2015-09-18 06:29:50 UTC
(In reply to Ilia Mirkin from comment #1)
> Is this AGP, PCI, or PCIe?

-- AGP info --
Status: 	Enabled
Rate: 		8X
AGP rates: 	4X 8X 
Fast Writes: 	Enabled
SBA: 		Enabled
Comment 3 poma 2015-09-18 09:29:27 UTC
BTW it is the same device:
"NV30: Xfwm4 use_compositing - garbled display"
https://bugs.freedesktop.org/show_bug.cgi?id=90871
Comment 4 poma 2015-11-12 19:12:02 UTC
------------[ cut here ]------------
WARNING: CPU: 0 PID: 313 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
nouveau 0000:01:00.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x00000000c0bf6468] [size=4096 bytes]
Modules linked in: nouveau(+) ...
CPU: 0 PID: 313 Comm: systemd-udevd Not tainted 4.3.0-3.fc22.i686+debug #1
...
Call Trace:
 [<c078a28f>] dump_stack+0x48/0x69
 [<c0461fc7>] warn_slowpath_common+0x87/0xc0
 [<c07b9029>] ? check_sync+0x169/0x6e0
 [<c07b9029>] ? check_sync+0x169/0x6e0
 [<c046203e>] warn_slowpath_fmt+0x3e/0x60
 [<c07b9029>] check_sync+0x169/0x6e0
 [<c07b96ad>] debug_dma_sync_single_for_device+0x7d/0x90
 [<f7ece298>] ? ttm_bo_del_sub_from_lru+0x18/0x50 [ttm]
 [<c040bef0>] ? text_poke_bp+0xd0/0xd0
 [<f85d96db>] nouveau_bo_sync_for_device+0x8b/0xa0 [nouveau]
 [<f85d97c4>] nouveau_bo_validate+0x34/0x40 [nouveau]
 [<f85d9958>] nouveau_bo_pin+0x188/0x290 [nouveau]
 [<f85d7fe0>] ? nv10_bo_put_tile_region+0x80/0x80 [nouveau]
 [<f85ec7fd>] nouveau_channel_prep+0xfd/0x2c0 [nouveau]
 [<f85eca17>] nouveau_channel_new+0x57/0x7a0 [nouveau]
 [<c05da57c>] ? kfree+0xdc/0x280
 [<f8540082>] ? nvif_object_sclass_put+0x12/0x20 [nouveau]
 [<f85d5666>] nouveau_drm_load+0x596/0x8d0 [nouveau]
 [<c04bc14c>] ? trace_hardirqs_on_caller+0x12c/0x1d0
 [<f7e8bfe9>] ? drm_minor_register+0x89/0x120 [drm]
 [<f7e8c116>] drm_dev_register+0x96/0xa0 [drm]
 [<f7e8ece9>] drm_get_pci_dev+0x79/0x1c0 [drm]
 [<c07d973e>] ? pcibios_set_master+0x4e/0xa0
 [<f85d5b8e>] nouveau_drm_probe+0x1ee/0x220 [nouveau]
 [<c07dbf3b>] pci_device_probe+0x7b/0xf0
 [<c08bf366>] ? devices_kset_move_last+0x56/0xa0
 [<c08c2de4>] driver_probe_device+0x204/0x490
 [<c08c30bc>] ? __driver_attach+0x4c/0x90
 [<c07dbc02>] ? pci_match_device+0xd2/0x100
 [<c08c30f1>] __driver_attach+0x81/0x90
 [<c08c3070>] ? driver_probe_device+0x490/0x490
 [<c08c0b97>] bus_for_each_dev+0x57/0xa0
 [<c08c25ce>] driver_attach+0x1e/0x20
 [<c08c3070>] ? driver_probe_device+0x490/0x490
 [<c08c214f>] bus_add_driver+0x1ef/0x290
 [<c08c3bdd>] driver_register+0x5d/0xf0
 [<c07da71a>] __pci_register_driver+0x4a/0x50
 [<f7e8ef0d>] drm_pci_init+0xdd/0x100 [drm]
 [<f7f211f9>] nouveau_drm_init+0x1f9/0x1000 [nouveau]
 [<f7f21000>] ? 0xf7f21000
 [<c040047a>] do_one_initcall+0xaa/0x200
 [<f7f21000>] ? 0xf7f21000
 [<c04dae42>] ? rcu_read_lock_sched_held+0x42/0x80
 [<c05daf0d>] ? kmem_cache_alloc_trace+0x23d/0x310
 [<c0582dd1>] ? do_init_module+0x21/0x1b7
 [<c0582dd1>] ? do_init_module+0x21/0x1b7
 [<c0582e00>] do_init_module+0x50/0x1b7
 [<c05036ec>] load_module+0x1ebc/0x2550
 [<c0b993d7>] ? _raw_spin_unlock_irq+0x27/0x40
 [<c048e6aa>] ? finish_task_switch+0x8a/0x1d0
 [<c0503ec7>] SyS_init_module+0x147/0x1a0
 [<c04012c4>] ? do_audit_syscall_entry.isra.9+0x44/0x50
 [<c0401627>] ? syscall_trace_enter_phase1+0x107/0x130
 [<c0b99f05>] syscall_call+0x7/0x7
---[ end trace d3c14159641a1388 ]---
Comment 5 poma 2015-11-12 19:15:09 UTC
Unfortunately cannot be tested on kernel 4.4.x
https://bugzilla.redhat.com/show_bug.cgi?id=1280430
Comment 6 poma 2015-12-16 10:59:15 UTC
Created attachment 120544 [details]
4.4.0-0.rc5.git0.1.fc24.i686+debug nouveau sync DMA memory not allocated


WARNING: CPU: 0 PID: 340 at lib/dma-debug.c:1205 check_sync+0x16b/0x7d0()
nouveau 0000:01:00.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x00000000c0c09508] [size=4096 bytes]
Modules linked in: nouveau(+) mxm_wmi wmi video i2c_algo_bit ttm drm_kms_helper drm ...
CPU: 0 PID: 340 Comm: systemd-udevd Not tainted 4.4.0-0.rc5.git0.1.fc24.i686+debug #1


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.