Bug 908436 - [abrt]: WARNING: at lib/dma-debug.c:933 check_unmap+0x47b/0x950()
Summary: [abrt]: WARNING: at lib/dma-debug.c:933 check_unmap+0x47b/0x950()
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2bc8b4af9f2e993ad27b6b3be4c...
: 910025 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 17:15 UTC by Mikko Tiihonen
Modified: 2013-03-15 15:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 15:47:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikko Tiihonen 2013-02-06 17:15:56 UTC
Additional info:
WARNING: at lib/dma-debug.c:933 check_unmap+0x47b/0x950()
Hardware name: System Product Name
atl1c 0000:03:00.0: DMA-API: device driver failed to check map error[device address=0x00000000cb8bc800] [size=90 bytes] [mapped as single]
Modules linked in: ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 it87 xt_conntrack hwmon_vid nf_conntrack snd_hda_codec_via eeepc_wmi snd_hda_codec_hdmi snd_hda_intel snd_hda_codec asus_wmi snd_hwdep snd_seq snd_seq_device snd_pcm sparse_keymap snd_page_alloc rfkill snd_timer video snd soundcore kvm_amd atl1c i2c_piix4 serio_raw k10temp kvm microcode uinput btrfs zlib_deflate libcrc32c radeon i2c_algo_bit drm_kms_helper ttm drm i2c_core wmi
Pid: 473, comm: fancontrol Not tainted 3.8.0-0.rc6.git3.1.fc19.x86_64 #1
Call Trace:
 <IRQ>  [<ffffffff81065ee0>] warn_slowpath_common+0x70/0xa0
 [<ffffffff81065f5c>] warn_slowpath_fmt+0x4c/0x50
 [<ffffffff81365ceb>] check_unmap+0x47b/0x950
 [<ffffffff8136621f>] debug_dma_unmap_page+0x5f/0x70
 [<ffffffff813622e0>] ? unmap_single+0x20/0x30
 [<ffffffffa02e599f>] atl1c_intr+0x22f/0x5b0 [atl1c]
 [<ffffffff816db426>] ? _raw_spin_unlock_irqrestore+0x36/0x70
 [<ffffffff81111486>] handle_irq_event_percpu+0x56/0x390
 [<ffffffff811117fd>] handle_irq_event+0x3d/0x60
 [<ffffffff81114287>] handle_edge_irq+0x77/0x130
 [<ffffffff8101c36f>] handle_irq+0xbf/0x150
 [<ffffffff81070770>] ? irq_enter+0x50/0xa0
 [<ffffffff816e699d>] do_IRQ+0x4d/0xc0
 [<ffffffff816dbef2>] common_interrupt+0x72/0x72
 [<ffffffff816db48c>] ? _raw_spin_unlock_irq+0x2c/0x50
 [<ffffffff81119545>] ? rcu_process_callbacks+0x5/0x7a0
 [<ffffffff810703cf>] ? __do_softirq+0xef/0x3d0
 [<ffffffff816e60fc>] call_softirq+0x1c/0x30
 [<ffffffff8101c485>] do_softirq+0x85/0xc0
 [<ffffffff81070895>] irq_exit+0xd5/0xe0
 [<ffffffff816e6a7e>] smp_apic_timer_interrupt+0x6e/0x9c
 [<ffffffff816e59b2>] apic_timer_interrupt+0x72/0x80
 <EOI>  [<ffffffff816d2e4c>] ? __slab_alloc+0x4c2/0x526
 [<ffffffff810d37bd>] ? mark_held_locks+0x9d/0x100
 [<ffffffff811ade31>] ? set_track+0x61/0x1b0
 [<ffffffff816d2e45>] ? __slab_alloc+0x4bb/0x526
 [<ffffffff811945a9>] ? anon_vma_clone+0x49/0x140
 [<ffffffff810d39bd>] ? trace_hardirqs_on+0xd/0x10
 [<ffffffff811b44a4>] kmem_cache_alloc+0x284/0x2f0
 [<ffffffff811945a9>] ? anon_vma_clone+0x49/0x140
 [<ffffffff811945a9>] anon_vma_clone+0x49/0x140
 [<ffffffff811946ce>] anon_vma_fork+0x2e/0x100
 [<ffffffff8106343e>] dup_mm+0x26e/0x660
 [<ffffffff81064e2f>] copy_process.part.22+0x15cf/0x1650
 [<ffffffff81064fa5>] do_fork+0xa5/0x450
 [<ffffffff8118451c>] ? might_fault+0x5c/0xb0
 [<ffffffff816dbf98>] ? retint_swapgs+0x13/0x1b
 [<ffffffff810653d6>] sys_clone+0x16/0x20
 [<ffffffff816e5139>] stub_clone+0x69/0x90
 [<ffffffff816e4d59>] ? system_call_fastpath+0x16/0x1b

Comment 1 Josh Boyer 2013-02-11 13:09:48 UTC
The atl1c driver isn't calling pci_dma_mapping_error to validate the pci_map_single calls it is doing.  I've emailed upstream:

http://thread.gmane.org/gmane.linux.network/258661

Comment 2 Josh Boyer 2013-02-12 12:03:23 UTC
*** Bug 910025 has been marked as a duplicate of this bug. ***

Comment 3 Josh Boyer 2013-02-12 12:40:33 UTC
Please give this scratch build a try when it completes.  It has a patch to the atl1c driver to fix the DMA API warnings and the DMA_API_DEBUG option set.

http://koji.fedoraproject.org/koji/taskinfo?taskID=4952663

Comment 4 Justin M. Forbes 2013-03-15 15:47:24 UTC
Closing insufficient data as needinfo has been set for some time with no response.


Note You need to log in before you can comment on or make changes to this bug.