mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: jgarzik@pobox.com, davem@redhat.com
Subject: 8139cp WARNING: at lib/dma-debug.c:803 check_unmap+0x41a/0x650()
Date: Tue, 11 Aug 2009 15:21:08 +0200	[thread overview]
Message-ID: <c4e36d110908110621o75ff063ex6d42570ce635a243@mail.gmail.com> (raw)

Hi

I'm getting this warning message from my kvm machine (created with
this network card -net nic,model=rtl8139)

WARNING: at lib/dma-debug.c:803 check_unmap+0x41a/0x650()

Hardware name:

8139cp 0000:00:03.0: DMA-API: device driver frees DMA memory with
different size [device address=0x000000001ebda0b2] [map size=1536
bytes] [unmap size=1538 bytes]

Modules linked in: dm_crypt crypto_blkcipher crypto_algapi loop
virtio_balloon uhci_hcd ehci_hcd dm_mod psmouse i2c_piix4 8139cp evdev
virtio_pci virtio_ring serio_raw virtio mii i2c_core usbcore rtc_cmos
rtc_core rtc_lib floppy button

Pid: 0, comm: swapper Not tainted 2.6.31-rc5-00472-g3d32107 #4

Call Trace:

 <IRQ>  [<ffffffff8104c4fb>] warn_slowpath_common+0x7b/0xc0

 [<ffffffff8104c5a1>] warn_slowpath_fmt+0x41/0x50

 [<ffffffff811e881a>] check_unmap+0x41a/0x650

 [<ffffffff8107accc>] ? trace_hardirqs_on_caller+0x7c/0x1a0

 [<ffffffff811e8ca9>] debug_dma_unmap_page+0x59/0x60

 [<ffffffffa0096ce1>] cp_rx_poll+0x301/0x550 [8139cp]

 [<ffffffff812f9050>] net_rx_action+0x170/0x270

 [<ffffffff812f8fce>] ? net_rx_action+0xee/0x270

 [<ffffffff81052e7c>] __do_softirq+0xbc/0x200

 [<ffffffff8100d2dc>] call_softirq+0x1c/0x50

 [<ffffffff8100eb65>] do_softirq+0x75/0xb0

 [<ffffffff81052935>] irq_exit+0x95/0xa0

 [<ffffffff81386001>] smp_apic_timer_interrupt+0x71/0x9c

 [<ffffffff8100ccb3>] apic_timer_interrupt+0x13/0x20

 <EOI>  [<ffffffff81014513>] ? default_idle+0x53/0xe0

 [<ffffffff81014511>] ? default_idle+0x51/0xe0

 [<ffffffff8100ae80>] ? cpu_idle+0x70/0xc0

 [<ffffffff81379eea>] ? start_secondary+0x189/0x18e

---[ end trace d222049dbdb8d58c ]---

Mapped at:

 [<ffffffff811e98a6>] debug_dma_map_page+0x86/0x170

 [<ffffffffa00965d7>] cp_init_rings+0x167/0x230 [8139cp]

 [<ffffffffa009689d>] cp_open+0xdd/0x220 [8139cp]

 [<ffffffff812f81b1>] dev_open+0xa1/0x100

 [<ffffffff812f7fe6>] dev_change_flags+0x96/0x1c0

NET: Registered protocol family 10



Zdenek

             reply	other threads:[~2009-08-11 13:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-11 13:21 Zdenek Kabelac [this message]
2009-08-11 19:46 ` [PATCH] 8139cp : balance dma_map_single vs dma_unmap_single pair Francois Romieu
2009-08-13  5:19   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4e36d110908110621o75ff063ex6d42570ce635a243@mail.gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=davem@redhat.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®