Bug 908550 - [atl1c] WARNING: at lib/dma-debug.c:933 check_unmap+0x47b/0x950()
Summary: [atl1c] WARNING: at lib/dma-debug.c:933 check_unmap+0x47b/0x950()
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:610cf4538e6bef2a4da5dcd72f3...
Depends On:
TreeView+ depends on / blocked
Reported: 2013-02-07 01:32 UTC by satellitgo
Modified: 2013-04-23 17:27 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-04-23 17:27:32 UTC
Type: ---

Attachments (Terms of Use)
File: dmesg (76.15 KB, text/plain)
2013-02-07 01:32 UTC, satellitgo
no flags Details

Description satellitgo 2013-02-07 01:32:18 UTC
Description of problem:
update f19 rawhide xfce-live Nightly 201340 hd install and reboot

Additional info:
WARNING: at lib/dma-debug.c:933 check_unmap+0x47b/0x950()
Hardware name: AO532h          
atl1c 0000:01:00.0: DMA-API: device driver failed to check map error[device address=0x0000000065f48040] [size=1522 bytes] [mapped as single]
Modules linked in: ip6table_filter ip6_tables iTCO_wdt iTCO_vendor_support acer_wmi sparse_keymap coretemp uvcvideo videobuf2_vmalloc microcode videobuf2_memops videobuf2_core joydev videodev media arc4 snd_hda_codec_realtek snd_hda_intel ath9k snd_hda_codec ath9k_common snd_hwdep ath9k_hw snd_seq ath snd_seq_device mac80211 snd_pcm cfg80211 snd_page_alloc snd_timer snd rfkill soundcore lpc_ich i2c_i801 mfd_core uinput i915 usb_storage i2c_algo_bit drm_kms_helper drm atl1c i2c_core video wmi sunrpc
Pid: 745, comm: NetworkManager Not tainted 3.8.0-0.rc6.git2.1.fc19.x86_64 #1
Call Trace:
 [<ffffffff81065ee0>] warn_slowpath_common+0x70/0xa0
 [<ffffffff81065f5c>] warn_slowpath_fmt+0x4c/0x50
 [<ffffffff81365ceb>] check_unmap+0x47b/0x950
 [<ffffffff81078b1f>] ? try_to_del_timer_sync+0x4f/0x70
 [<ffffffff8136621f>] debug_dma_unmap_page+0x5f/0x70
 [<ffffffffa00701ab>] atl1c_clean_rx_ring+0xbb/0x210 [atl1c]
 [<ffffffffa0070329>] atl1c_reset_dma_ring+0x29/0x30 [atl1c]
 [<ffffffffa0070ee2>] atl1c_check_link_status+0xb2/0x340 [atl1c]
 [<ffffffff8111341e>] ? request_threaded_irq+0xee/0x1a0
 [<ffffffffa007125e>] atl1c_up+0xee/0x1e0 [atl1c]
 [<ffffffffa007190a>] atl1c_open+0x26a/0x330 [atl1c]
 [<ffffffff815a129f>] __dev_open+0x8f/0xf0
 [<ffffffff815a1532>] __dev_change_flags+0x92/0x170
 [<ffffffff815a16ad>] dev_change_flags+0x1d/0x60
 [<ffffffff815b0678>] do_setlink+0x388/0xa40
 [<ffffffff810d3f9d>] ? __lock_acquire+0x2bd/0x1910
 [<ffffffff81364b52>] ? nla_parse+0x32/0xe0
 [<ffffffff815b26e4>] rtnl_newlink+0x394/0x5e0
 [<ffffffff812e1dde>] ? selinux_capable+0x2e/0x40
 [<ffffffff815aec13>] rtnetlink_rcv_msg+0x113/0x310
 [<ffffffff816d88bf>] ? mutex_lock_nested+0x2af/0x380
 [<ffffffff815aeadb>] ? rtnetlink_rcv+0x1b/0x40
 [<ffffffff815aeb00>] ? rtnetlink_rcv+0x40/0x40
 [<ffffffff815ce059>] netlink_rcv_skb+0xa9/0xc0
 [<ffffffff815aeaea>] rtnetlink_rcv+0x2a/0x40
 [<ffffffff815cda20>] netlink_unicast+0x180/0x230
 [<ffffffff815cdddf>] netlink_sendmsg+0x30f/0x3d0
 [<ffffffff8158154a>] sock_sendmsg+0xaa/0xe0
 [<ffffffff81591916>] ? verify_iovec+0x56/0xd0
 [<ffffffff8158279e>] __sys_sendmsg+0x39e/0x3b0
 [<ffffffff810d182c>] ? __lock_is_held+0x4c/0x70
 [<ffffffff811ec276>] ? fget_light+0xf6/0x520
 [<ffffffff811ec1bc>] ? fget_light+0x3c/0x520
 [<ffffffff81584332>] sys_sendmsg+0x42/0x80
 [<ffffffff816e4b59>] system_call_fastpath+0x16/0x1b

Comment 1 satellitgo 2013-02-07 01:32:24 UTC
Created attachment 694198 [details]
File: dmesg

Comment 2 Josh Boyer 2013-02-11 13:09:43 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:


Comment 3 Josh Boyer 2013-02-12 12:40:41 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.


Comment 4 Fedora End Of Life 2013-04-03 19:29:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:

Comment 5 Justin M. Forbes 2013-04-05 15:56:52 UTC
Is that patch working for you?

Comment 6 Justin M. Forbes 2013-04-23 17:27:32 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a
response in 2 weeks.  If you are still experiencing this issue,
please reopen and attach the relevant data from the latest kernel you are
running and any data that might have been requested previously.

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