Bug 489325 - tg3: kernel failure at lib/dma-debug.c:539 on 2.6.29-0.207.rc7.fc11.i686.PAE and later
Summary: tg3: kernel failure at lib/dma-debug.c:539 on 2.6.29-0.207.rc7.fc11.i686.PAE ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 11
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-09 14:27 UTC by Mihai Harpau
Modified: 2009-11-05 22:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-05 22:52:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
F11 - Kernel failure message (4.80 KB, text/plain)
2009-03-12 01:31 UTC, Flóki Pálsson
no flags Details

Description Mihai Harpau 2009-03-09 14:27:42 UTC
Description of problem:

Kernel failure message 1:
------------[ cut here ]------------
WARNING: at lib/dma-debug.c:539 check_sync+0x119/0x39b() (Not tainted)
Hardware name: HP Compaq nc6120 (PR125UA#ABA)
tg3 0000:02:0e.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x0000000000000000] [size=60 bytes]
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat bridge stp llc bnep sco l2cap bluetooth sunrpc nf_conntrack_ftp nf_conntrack_netbios_ns ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq kqemu dm_multipath uinput ppdev snd_intel8x0 snd_intel8x0m snd_ac97_codec snd_seq_dummy ac97_bus snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss pcspkr joydev snd_pcm iTCO_wdt serio_raw snd_timer iTCO_vendor_support snd sdhci_pci soundcore sdhci snd_page_alloc firewire_ohci mmc_core firewire_core tifm_7xx1 tg3 ipw2200 tifm_core libipw crc_itu_t yenta_socket rsrc_nonstatic lib80211 wmi irda parport_pc crc_ccitt video parport output ata_generic pata_acpi ext4 jbd2 crc16 i915 drm i2c_algo_bit i2c_core [last unloaded: microcode]
Pid: 2751, comm: Xorg Not tainted 2.6.29-0.215.rc7.fc11.i686.PAE #1
Call Trace:
[<c0437abf>] warn_slowpath+0x7c/0xa7
[<c05517e6>] ? debug_check_no_obj_freed+0x6b/0x153
[<c0458fc8>] ? print_lock_contention_bug+0x11/0xb2
[<c05517e6>] ? debug_check_no_obj_freed+0x6b/0x153
[<c0554800>] ? check_for_stack+0x1e/0x7d
[<c0458fc8>] ? print_lock_contention_bug+0x11/0xb2
[<c0554885>] ? get_hash_bucket+0x26/0x2f
[<c05549a7>] check_sync+0x119/0x39b
[<c04ac6e0>] ? check_valid_pointer+0x21/0x4f
[<c0457d02>] ? trace_hardirqs_on_caller+0x18/0x145
[<c0554dd0>] debug_dma_sync_single_for_cpu+0x27/0x32
[<c0554dd0>] ? debug_dma_sync_single_for_cpu+0x27/0x32
[<f8259235>] T.1327+0x3e/0x4d [tg3]
[<f825974e>] tg3_poll+0x50a/0x7b3 [tg3]
[<c067bea8>] net_rx_action+0x9d/0x1bb
[<c043ca49>] __do_softirq+0x99/0x154
[<c043c9b0>] ? __do_softirq+0x0/0x154
<IRQ>  [<c047a6ce>] ? handle_fasteoi_irq+0x0/0xb7
[<c043c6f0>] ? irq_exit+0x49/0x77
[<c040b222>] ? do_IRQ+0xf4/0x10a
[<c04bcf7a>] ? putname+0x2a/0x33
[<c0409cac>] ? common_interrupt+0x2c/0x34
[<c04bcf7a>] ? putname+0x2a/0x33
[<c0457e3a>] ? trace_hardirqs_on+0xb/0xd
[<c04af17a>] ? kmem_cache_free+0xd0/0xe5
[<c045007b>] ? task_handoff_unregister+0x11/0x16
[<c04b007b>] ? mem_cgroup_charge_statistics+0x1f/0x7c
[<c04af17f>] ? kmem_cache_free+0xd5/0xe5
[<c04bcf7a>] ? putname+0x2a/0x33
[<c04bcf7a>] ? putname+0x2a/0x33
[<c04b2579>] ? do_sys_open+0xb2/0xbc
[<c04b25cf>] ? sys_open+0x23/0x2b
[<c040956b>] ? sysenter_do_call+0x12/0x3f
---[ end trace f3d9b8cd492addb6 ]---


Kernel failure message 2:
------------[ cut here ]------------
WARNING: at lib/dma-debug.c:539 check_sync+0x119/0x39b() (Not tainted)
Hardware name: HP Compaq nc6120 (PR125UA#ABA)
tg3 0000:02:0e.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x0000000000000000] [size=60 bytes]
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat bridge stp llc bnep sco l2cap bluetooth sunrpc nf_conntrack_ftp nf_conntrack_netbios_ns ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq kqemu dm_multipath uinput ppdev snd_intel8x0 snd_intel8x0m snd_ac97_codec snd_seq_dummy ac97_bus snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss pcspkr joydev snd_pcm iTCO_wdt serio_raw snd_timer iTCO_vendor_support snd sdhci_pci soundcore sdhci snd_page_alloc firewire_ohci mmc_core firewire_core tifm_7xx1 tg3 ipw2200 tifm_core libipw crc_itu_t yenta_socket rsrc_nonstatic lib80211 wmi irda parport_pc crc_ccitt video parport output ata_generic pata_acpi ext4 jbd2 crc16 i915 drm i2c_algo_bit i2c_core [last unloaded: microcode]
Pid: 2751, comm: Xorg Not tainted 2.6.29-0.215.rc7.fc11.i686.PAE #1
Call Trace:
 [<c0437abf>] warn_slowpath+0x7c/0xa7
 [<c05517e6>] ? debug_check_no_obj_freed+0x6b/0x153
 [<c0458fc8>] ? print_lock_contention_bug+0x11/0xb2
 [<c05517e6>] ? debug_check_no_obj_freed+0x6b/0x153
 [<c0554800>] ? check_for_stack+0x1e/0x7d
 [<c0458fc8>] ? print_lock_contention_bug+0x11/0xb2
 [<c0554885>] ? get_hash_bucket+0x26/0x2f
 [<c05549a7>] check_sync+0x119/0x39b
 [<c04ac6e0>] ? check_valid_pointer+0x21/0x4f
 [<c0457d02>] ? trace_hardirqs_on_caller+0x18/0x145
 [<c0554dd0>] debug_dma_sync_single_for_cpu+0x27/0x32
 [<c0554dd0>] ? debug_dma_sync_single_for_cpu+0x27/0x32
 [<f8259235>] T.1327+0x3e/0x4d [tg3]
 [<f825974e>] tg3_poll+0x50a/0x7b3 [tg3]
 [<c067bea8>] net_rx_action+0x9d/0x1bb
 [<c043ca49>] __do_softirq+0x99/0x154
 [<c043c9b0>] ? __do_softirq+0x0/0x154
 <IRQ>  [<c047a6ce>] ? handle_fasteoi_irq+0x0/0xb7
 [<c043c6f0>] ? irq_exit+0x49/0x77
 [<c040b222>] ? do_IRQ+0xf4/0x10a
 [<c04bcf7a>] ? putname+0x2a/0x33
 [<c0409cac>] ? common_interrupt+0x2c/0x34
 [<c04bcf7a>] ? putname+0x2a/0x33
 [<c0457e3a>] ? trace_hardirqs_on+0xb/0xd
 [<c04af17a>] ? kmem_cache_free+0xd0/0xe5
 [<c045007b>] ? task_handoff_unregister+0x11/0x16
 [<c04b007b>] ? mem_cgroup_charge_statistics+0x1f/0x7c
 [<c04af17f>] ? kmem_cache_free+0xd5/0xe5
 [<c04bcf7a>] ? putname+0x2a/0x33
 [<c04bcf7a>] ? putname+0x2a/0x33
 [<c04b2579>] ? do_sys_open+0xb2/0xbc
 [<c04b25cf>] ? sys_open+0x23/0x2b
 [<c040956b>] ? sysenter_do_call+0x12/0x3f
---[ end trace f3d9b8cd492addb6 ]---



Version-Release number of selected component (if applicable):
Rawhide up-to-date
kernel-2.6.29-0.207.rc7.fc11.i686.PAE, kernel-2.6.29-0.215.rc7.fc11.i686.PAE


Additional info:
I see also this 

Mar  9 14:36:58 localhost kernel: =======================================================
Mar  9 14:36:58 localhost kernel: [ INFO: possible circular locking dependency detected ]
Mar  9 14:36:58 localhost kernel: 2.6.29-0.215.rc7.fc11.i686.PAE #1
Mar  9 14:36:58 localhost kernel: -------------------------------------------------------
Mar  9 14:36:58 localhost kernel: Xorg/2751 is trying to acquire lock:
Mar  9 14:36:58 localhost kernel: (&mm->mmap_sem){----}, at: [<c04997fe>] might_fault+0x48/0x85
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: but task is already holding lock:
Mar  9 14:36:58 localhost kernel: (&dev->struct_mutex){--..}, at: [<f82fcab8>] i915_gem_execbuffer+0xd7/0xa1e [i915]
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: which lock already depends on the new lock.
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: the existing dependency chain (in reverse order) is:
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: -> #1 (&dev->struct_mutex){--..}:
Mar  9 14:36:58 localhost kernel:       [<c0458db0>] __lock_acquire+0x96a/0xac8
Mar  9 14:36:58 localhost kernel:       [<c0458f69>] lock_acquire+0x5b/0x81
Mar  9 14:36:58 localhost kernel:       [<c07008a4>] __mutex_lock_common+0xdd/0x338
Mar  9 14:36:58 localhost kernel:       [<c0700ba6>] mutex_lock_nested+0x33/0x3b
Mar  9 14:36:58 localhost kernel:       [<f81866c5>] drm_gem_mmap+0x36/0xfe [drm]
Mar  9 14:36:58 localhost kernel:       [<c04a0af6>] mmap_region+0x269/0x3fb
Mar  9 14:36:58 localhost kernel:       [<c04a0edd>] do_mmap_pgoff+0x255/0x2a5
Mar  9 14:36:58 localhost kernel:       [<c040c804>] sys_mmap2+0x5f/0x80
Mar  9 14:36:58 localhost kernel:       [<c040956b>] sysenter_do_call+0x12/0x3f
Mar  9 14:36:58 localhost kernel:       [<ffffffff>] 0xffffffff
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: -> #0 (&mm->mmap_sem){----}:
Mar  9 14:36:58 localhost kernel:       [<c0458c7d>] __lock_acquire+0x837/0xac8
Mar  9 14:36:58 localhost kernel:       [<c0458f69>] lock_acquire+0x5b/0x81
Mar  9 14:36:58 localhost kernel:       [<c049981b>] might_fault+0x65/0x85
Mar  9 14:36:58 localhost kernel:       [<c054dda3>] copy_from_user+0x32/0x119
Mar  9 14:36:58 localhost kernel:       [<f82fcc0a>] i915_gem_execbuffer+0x229/0xa1e [i915]
Mar  9 14:36:58 localhost kernel:       [<f818581c>] drm_ioctl+0x1b7/0x236 [drm]
Mar  9 14:36:58 localhost kernel:       [<c04be50e>] vfs_ioctl+0x5c/0x76
Mar  9 14:36:58 localhost kernel:       [<c04beac2>] do_vfs_ioctl+0x48b/0x4c9
Mar  9 14:36:58 localhost kernel:       [<c04beb46>] sys_ioctl+0x46/0x66
Mar  9 14:36:58 localhost kernel:       [<c040956b>] sysenter_do_call+0x12/0x3f
Mar  9 14:36:58 localhost kernel:       [<ffffffff>] 0xffffffff
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: other info that might help us debug this:
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: 1 lock held by Xorg/2751:
Mar  9 14:36:58 localhost kernel: #0:  (&dev->struct_mutex){--..}, at: [<f82fcab8>] i915_gem_execbuffer+0xd7/0xa1e [i915]
Mar  9 14:36:58 localhost kernel:
Mar  9 14:36:58 localhost kernel: stack backtrace:
Mar  9 14:36:58 localhost kernel: Pid: 2751, comm: Xorg Not tainted 2.6.29-0.215.rc7.fc11.i686.PAE #1
Mar  9 14:36:58 localhost kernel: Call Trace:
Mar  9 14:36:58 localhost kernel: [<c06ff719>] ? printk+0x14/0x1b
Mar  9 14:36:58 localhost kernel: [<c0458231>] print_circular_bug_tail+0x5d/0x68
Mar  9 14:36:58 localhost kernel: [<c0458c7d>] __lock_acquire+0x837/0xac8
Mar  9 14:36:58 localhost kernel: [<c0458f69>] lock_acquire+0x5b/0x81
Mar  9 14:36:58 localhost kernel: [<c04997fe>] ? might_fault+0x48/0x85
Mar  9 14:36:58 localhost kernel: [<c049981b>] might_fault+0x65/0x85
Mar  9 14:36:58 localhost kernel: [<c04997fe>] ? might_fault+0x48/0x85
Mar  9 14:36:58 localhost kernel: [<c054dda3>] copy_from_user+0x32/0x119
Mar  9 14:36:58 localhost kernel: [<f82fcc0a>] i915_gem_execbuffer+0x229/0xa1e [i915]
Mar  9 14:36:58 localhost kernel: [<c045679a>] ? lock_release_holdtime+0x2b/0x123
Mar  9 14:36:58 localhost kernel: [<c0499839>] ? might_fault+0x83/0x85
Mar  9 14:36:58 localhost kernel: [<c054dda3>] ? copy_from_user+0x32/0x119
Mar  9 14:36:58 localhost kernel: [<f818581c>] drm_ioctl+0x1b7/0x236 [drm]
Mar  9 14:36:58 localhost kernel: [<f82fc9e1>] ? i915_gem_execbuffer+0x0/0xa1e [i915]
Mar  9 14:36:58 localhost kernel: [<c04be50e>] vfs_ioctl+0x5c/0x76
Mar  9 14:36:58 localhost kernel: [<c04beac2>] do_vfs_ioctl+0x48b/0x4c9
Mar  9 14:36:58 localhost kernel: [<c052130b>] ? file_has_perm+0x81/0x8a
Mar  9 14:36:58 localhost kernel: [<c04beb46>] sys_ioctl+0x46/0x66
Mar  9 14:36:58 localhost kernel: [<c04beb46>] ? sys_ioctl+0x46/0x66
Mar  9 14:36:58 localhost kernel: [<c040956b>] sysenter_do_call+0x12/0x3f

Comment 1 Flóki Pálsson 2009-03-12 01:31:22 UTC
Created attachment 334881 [details]
F11 - Kernel failure message

On F11 almost updated then after every boot then there is kernel warning.

Additional info:
Install F11 from Fedora-11-Alpha-x86_64-DVD.iso.  
Update rpm then update with yumex.

Comment 2 Bug Zapper 2009-06-09 12:02:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Vedran Miletić 2009-10-26 11:43:51 UTC
Reporter, can you retest this in Fedora 12 Beta and see if this issue still exists?

Comment 4 Vedran Miletić 2009-11-05 22:52:35 UTC
I'm closing this bug as well as all other open kernel bugs reported in rc kernel versions. It's normal for rc kernels to carry bugs which get fixed in the process. If this bug is reproducible in current kernel in Fedora 12 Beta or newer, please reopen it.


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