From: "Данила Жукоцкий" <optimusgd@gmail.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: rjw@sisk.pl, linux-kernel@vger.kernel.org,
kernel-testers@vger.kernel.org, grundler@google.com
Subject: Re: [Bug #13001] PCI-DMA: Out of IOMMU space
Date: Mon, 4 May 2009 10:27:11 +0500 [thread overview]
Message-ID: <db2b43030905032227u73a41ec3wa511efcef6a22169@mail.gmail.com> (raw)
In-Reply-To: <20090428184431Z.fujita.tomonori@lab.ntt.co.jp>
2009/4/28 FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>:
> On Tue, 28 Apr 2009 14:18:57 +0500
> **UNKNOWN CHARSET** <optimusgd@gmail.com> wrote:
>
>> No, it is regression. I can reproduce that without allowdac and any
>> other unnecessary boot options.
>
> Hmm, in the bug repport, you said that you can't reproduce the problem:
>
> http://bugzilla.kernel.org/show_bug.cgi?id=13001#c15
>
> I can't find your comment like, "I can reproduce that without
> allowdac".
I was under a misapprehension. Later discussion was been in linux-pci
mailing list
http://markmail.org/message/pbng73ojpllln5fl
>
>> In later discussion Grant Grundler ask
>> me apply patch that show 32 bit dma devices in my system. Results I
>> attached to bugreport. Looks like only one 32 bit dma device in my
>> system is ata controller, sata-nv.
>
> Hmm, looks like http://bugzilla.kernel.org/attachment.cgi?id=20895
> said that pata_amd and sata_nv use 32bit dma mask.
>
>
>> I can stable reproduce IOMMU out of space when I write data to sata
>> drive.
>
> Ok, let's figure out what's wrong.
>
> First, can you test v2.6.30-rc3 with the following patch?
>
> http://www.kernel.org/pub/linux/kernel/people/tomo/misc/gart-debug.diff
>
>
> Note that please enable CONFIG_DMA_API_DEBUG, CONFIG_IOMMU_DEBUG, and
> CONFIG_IOMMU_LEAK and see if you can reproduce the problem (of course,
> don't use any kernel option).
>
> When the kernel is out of IOMMU space, it prints some useful
> information.
>
I can't reproduce bug in 2.6.30-rc3. I read and wrote ~ 100gb data
from and to sata drive. Dmesg has two warnings during boot,
------------[ cut here ]------------
WARNING: at lib/dma-debug.c:607 check_unmap+0x542/0x610()
Hardware name: HP xw9400 Workstation
3w-9xxx 0001:45:00.0: DMA-API: device driver tries to free DMA memory
it has not allocated [device address=0x0000000000000000] [size=36
bytes]
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.30-rc3-git7 #1
Call Trace:
<IRQ> [<ffffffff8023ce2a>] ? warn_slowpath+0xea/0x160
[<ffffffff802589ae>] ? sched_clock_cpu+0x6e/0x240
[<ffffffff802370a2>] ? scheduler_tick+0xc2/0x220
[<ffffffff80259f4b>] ? getnstimeofday+0x5b/0xe0
[<ffffffff80256b30>] ? ktime_get_ts+0x30/0x60
[<ffffffff80256b6c>] ? ktime_get+0xc/0x50
[<ffffffff8021d828>] ? lapic_next_event+0x18/0x20
[<ffffffff8025e1d6>] ? tick_dev_program_event+0x36/0xb0
[<ffffffff8021e29c>] ? smp_apic_timer_interrupt+0x6c/0xa0
[<ffffffff8020bf83>] ? apic_timer_interrupt+0x13/0x20
[<ffffffff8023db13>] ? vprintk+0x2d3/0x420
[<ffffffff803f0b12>] ? check_unmap+0x542/0x610
[<ffffffff803f0d0e>] ? debug_dma_unmap_sg+0xde/0x180
[<ffffffff8046c0fb>] ? scsi_dma_unmap+0x6b/0xa0
[<ffffffff80472559>] ? twa_interrupt+0x3e9/0x6a0
[<ffffffff80256f2d>] ? __hrtimer_start_range_ns+0x12d/0x2b0
[<ffffffff8026b3b9>] ? handle_IRQ_event+0x59/0x130
[<ffffffff8026d4e1>] ? handle_edge_irq+0xc1/0x160
[<ffffffff8020e377>] ? handle_irq+0x17/0x20
[<ffffffff8020dae5>] ? do_IRQ+0x65/0xf0
[<ffffffff8020be13>] ? ret_from_intr+0x0/0xa
<EOI> [<ffffffff80213182>] ? default_idle+0x42/0x50
[<ffffffff802131c4>] ? c1e_idle+0x34/0x100
[<ffffffff802581d9>] ? __atomic_notifier_call_chain+0x19/0x50
[<ffffffff8020a09a>] ? cpu_idle+0x5a/0xc0
---[ end trace eedd91b655a6fdac ]---
and
------------[ cut here ]------------
WARNING: at fs/namei.c:1251 lookup_one_len+0xe9/0x100()
Hardware name: HP xw9400 Workstation
Modules linked in: fuse nfs auth_rpcgss lockd sunrpc scsi_wait_scan
usbhid ohci_hcd usb_storage usb_libusual ehci_hcd usbcore
Pid: 2807, comm: mount Tainted: G W 2.6.30-rc3-git7 #1
Call Trace:
[<ffffffff8023ce2a>] ? warn_slowpath+0xea/0x160
[<ffffffff80564ac6>] ? printk+0x4e/0x58
[<ffffffff8032d8ba>] ? prepare_error_buf+0x51a/0x610
[<ffffffff802a0afe>] ? new_slab+0x1ee/0x330
[<ffffffff8032da91>] ? reiserfs_info+0x71/0xa0
[<ffffffff802b3bb9>] ? lookup_one_len+0xe9/0x100
[<ffffffff8033e8bd>] ? reiserfs_xattr_init+0x3d/0xb0
[<ffffffff8032c2b3>] ? reiserfs_fill_super+0x663/0xb50
[<ffffffff803dfad2>] ? kobject_get+0x12/0x20
[<ffffffff80457864>] ? get_device+0x14/0x20
[<ffffffff805676b2>] ? __down_write_nested+0xb2/0xc0
[<ffffffff802a37e5>] ? kmem_cache_alloc+0x65/0xa0
[<ffffffff802ac922>] ? sget+0x3c2/0x410
[<ffffffff802acc94>] ? get_sb_bdev+0x174/0x1a0
[<ffffffff8032bc50>] ? reiserfs_fill_super+0x0/0xb50
[<ffffffff802ab726>] ? vfs_kern_mount+0x56/0xd0
[<ffffffff802ab803>] ? do_kern_mount+0x53/0x120
[<ffffffff802c450a>] ? do_mount+0x2ba/0x8c0
[<ffffffff80568f88>] ? bad_gs+0xc34/0x1e0c
[<ffffffff802c4bdd>] ? sys_mount+0xcd/0x100
[<ffffffff8020b4eb>] ? system_call_fastpath+0x16/0x1b
---[ end trace eedd91b655a6fdae ]---
So I hope that bug is gone.
--
С уважением Данила Жукоцкий, системный администратор ЗАО "Роснефтегазмаш"
next prev parent reply other threads:[~2009-05-04 5:27 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-26 9:42 2.6.30-rc3-git1: Reported regressions 2.6.28 -> 2.6.29 Rafael J. Wysocki
2009-04-26 9:42 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc Rafael J. Wysocki
2009-04-26 20:15 ` Nico Schottelius
2009-04-26 23:18 ` Rafael J. Wysocki
2009-04-30 8:00 ` Nico Schottelius
2009-04-26 9:46 ` [Bug #12681] s2ram: fails to wake up on Acer Extensa 4220 (SMP disabled) Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12499] Problem with using bluetooth adaper connected to usb port Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12947] r128: system hangs when X is started with DRI enabled Rafael J. Wysocki
2009-04-26 15:07 ` Angel
2009-04-26 17:43 ` Rafael J. Wysocki
2009-04-27 18:12 ` Jos van der Ende
2009-04-28 21:49 ` Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12909] boot/kernel init duration regression from 2.6.28 Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12899] Crash in i915.ko: i915_driver_irq_handler Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12861] Xorg fails to start "Failed to allocate space for kernel memory manager" Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12765] i915 VT switch with AIGLX causes X lock up Rafael J. Wysocki
2009-04-27 16:46 ` Jesse Barnes
2009-04-27 22:07 ` Sitsofe Wheeler
2009-04-26 9:46 ` [Bug #12836] 2.6.29-rc breaks STD using Intel 945 Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12971] "tg3 transmit timed out" when transmitting at high bitrate Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12980] lockup in X.org Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #12961] Kernel panics in early boot: IO-APIC + timer doesn't work Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-04-28 8:28 ` FUJITA Tomonori
2009-04-28 9:18 ` Данила Жукоцкий
2009-04-28 9:43 ` FUJITA Tomonori
2009-05-04 5:27 ` Данила Жукоцкий [this message]
2009-05-05 1:58 ` Grant Grundler
2009-05-05 4:31 ` adam radford
2009-05-05 5:46 ` Данила Жукоцкий
2009-05-06 4:39 ` FUJITA Tomonori
2009-05-06 10:39 ` FUJITA Tomonori
2009-04-26 9:46 ` [Bug #13025] After upgrading to kernel 2.6.29, pulseaudio stopped with some strange error Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13003] [2.6.29 regression] ivtv driver causes strange oops'es, disrupts software suspend Rafael J. Wysocki
2009-04-27 6:46 ` Hans Verkuil
2009-04-28 21:53 ` Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13032] 2.6.29 regression: network interfaces drop after suspend/resume Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13040] DRM radeon Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13074] gspca_stv06xx doesn't work with Logitech QuickCam Express (046d:0840) Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13072] forcedeth seems to switch off eth on shutdown Rafael J. Wysocki
2009-04-26 20:52 ` Daniel Bierstedt
[not found] ` <1240778558.4995.4.camel@laptop.workgroup>
2009-04-26 23:20 ` Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13112] Oops in drain_array Rafael J. Wysocki
2009-04-26 20:19 ` David Rientjes
2009-04-27 8:52 ` Pekka Enberg
2009-04-27 14:04 ` Christoph Lameter
2009-04-27 16:58 ` Bart
2009-04-27 17:39 ` Christoph Lameter
2009-04-28 13:05 ` Bart
2009-04-27 20:36 ` David Rientjes
2009-04-28 6:47 ` Jens Axboe
2009-04-28 8:11 ` FUJITA Tomonori
2009-04-28 12:43 ` Bart
2009-04-28 14:44 ` FUJITA Tomonori
2009-04-28 18:22 ` Jens Axboe
2009-04-26 9:46 ` [Bug #13100] can't anymore even do a s2ram-s2disk-s2ram cycle on acer aspire 5720G Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13172] Spontaneous reboots since 2.6.29-rc* Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13144] resume from suspend fails using video card i915 Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13175] sata_nv incompatible with async scsi scan Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13184] Left audio channel broken after resume from suspend with Intel HDA Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13183] forcedeth: no link during initialization Rafael J. Wysocki
2009-04-26 9:46 ` [Bug #13178] Booting very slow Rafael J. Wysocki
2009-04-27 7:18 ` Martin Knoblauch
2009-04-26 9:46 ` [Bug #13186] cpufreq timer teardown problem Rafael J. Wysocki
2009-04-26 16:28 ` Mathieu Desnoyers
2009-04-26 17:45 ` Rafael J. Wysocki
2009-04-26 18:32 ` Mathieu Desnoyers
2009-04-26 12:47 ` 2.6.30-rc3-git1: Reported regressions 2.6.28 -> 2.6.29 Matthew Wilcox
-- strict thread matches above, loose matches on Subject: below --
2009-06-07 10:02 2.6.30-rc8-git4: " Rafael J. Wysocki
2009-06-07 10:06 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-05-30 19:50 2.6.30-rc7-git4: Reported regressions 2.6.28 -> 2.6.29 Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-05-24 19:27 2.6.30-rc7: Reported regressions 2.6.28 -> 2.6.29 Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-05-16 19:58 2.6.30-rc6: Reported regressions 2.6.28 -> 2.6.29 Rafael J. Wysocki
2009-05-16 20:05 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-04-06 18:54 2.6.29-git13: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-04-06 19:05 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
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=db2b43030905032227u73a41ec3wa511efcef6a22169@mail.gmail.com \
--to=optimusgd@gmail.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=grundler@google.com \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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;
as well as URLs for NNTP newsgroup(s).