Mailing List Archive

Out sw-iommu space problem
We have dom0 Squeeze with official kernel (2.6.32-35squeeze2) and xen
4.0.2-rc3 from git testing on DELL poweredge T310 with raid controller H200
(all with latest firmware).
Some domus linux pv and some windows with gplpv.
We randomly running into this error during xendomains stop command (with
save of all domus):

Sep 14 16:18:40 heliMN02WV kernel: [ 912.336945] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:18:40 heliMN02WV kernel: [ 912.336951] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:18:41 heliMN02WV kernel: [ 912.400331] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:18:41 heliMN02WV kernel: [ 912.400336] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:18:45 heliMN02WV kernel: [ 917.187524] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:18:45 heliMN02WV kernel: [ 917.187533] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:18:51 heliMN02WV kernel: [ 922.454599] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:18:51 heliMN02WV kernel: [ 922.454608] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:18:51 heliMN02WV kernel: [ 922.454694] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:18:51 heliMN02WV kernel: [ 922.454697] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:11 heliMN02WV kernel: [ 942.850048] frontend_changed:
backend/vbd/4/768: prepare for reconnect
Sep 14 16:19:11 heliMN02WV kernel: [ 942.869244] eth0: port 5(vif4.0)
entering disabled state
Sep 14 16:19:11 heliMN02WV kernel: [ 942.889192] eth0: port 5(vif4.0)
entering disabled state
Sep 14 16:19:11 heliMN02WV kernel: [ 943.188048] frontend_changed:
backend/vif/4/0: prepare for reconnect
Sep 14 16:19:22 heliMN02WV kernel: [ 954.246090] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:22 heliMN02WV kernel: [ 954.246095] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:22 heliMN02WV kernel: [ 954.305068] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:22 heliMN02WV kernel: [ 954.305074] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:34 heliMN02WV kernel: [ 966.112058] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:34 heliMN02WV kernel: [ 966.112064] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:34 heliMN02WV kernel: [ 966.112251] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:34 heliMN02WV kernel: [ 966.112255] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:34 heliMN02WV kernel: [ 966.112440] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:34 heliMN02WV kernel: [ 966.112443] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:34 heliMN02WV kernel: [ 966.205690] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:34 heliMN02WV kernel: [ 966.205693] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:40 heliMN02WV kernel: [ 971.728913] eth0: port 6(vif5.0)
entering disabled state
Sep 14 16:19:40 heliMN02WV kernel: [ 971.752683] eth0: port 6(vif5.0)
entering disabled state
Sep 14 16:19:45 heliMN02WV kernel: [ 976.984329] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:19:45 heliMN02WV kernel: [ 976.984333] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:19:49 heliMN02WV kernel: [ 981.288632] eth0: port 7(vif6.0)
entering disabled state
Sep 14 16:19:49 heliMN02WV kernel: [ 981.304521] eth0: port 7(vif6.0)
entering disabled state
Sep 14 16:19:50 heliMN02WV kernel: [ 982.329740] frontend_changed:
backend/vbd/7/768: prepare for reconnect
Sep 14 16:19:50 heliMN02WV kernel: [ 982.372593] eth0: port 8(vif7.0)
entering disabled state
Sep 14 16:19:51 heliMN02WV kernel: [ 982.416506] eth0: port 8(vif7.0)
entering disabled state
Sep 14 16:19:51 heliMN02WV kernel: [ 982.744206] frontend_changed:
backend/vif/7/0: prepare for reconnect
Sep 14 16:20:00 heliMN02WV kernel: [ 991.520780] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:20:00 heliMN02WV kernel: [ 991.520787] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:20:00 heliMN02WV kernel: [ 991.524695] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:20:00 heliMN02WV kernel: [ 991.524698] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:20:00 heliMN02WV kernel: [ 991.525040] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:20:00 heliMN02WV kernel: [ 991.525042] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:20:00 heliMN02WV kernel: [ 991.525371] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:20:00 heliMN02WV kernel: [ 991.525374] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:20:00 heliMN02WV kernel: [ 991.527766] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:20:00 heliMN02WV kernel: [ 991.527769] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:20:01 heliMN02WV kernel: [ 992.493163] mpt2sas 0000:03:00.0: DMA:
Out of SW-IOMMU space for 65536 bytes.
Sep 14 16:20:01 heliMN02WV kernel: [ 992.493167] sd 0:1:0:0: pci_map_sg
failed: request for 524288 bytes!
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.938378] tapdisk2[7617]: segfault
at 7fff92fb6ff8 ip 0000000000408296 sp 00007fff92fb7000 error 6 in
tapdisk2[400000+39000]
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959533] BUG: unable to handle
kernel NULL pointer dereference at 0000000000000048
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959681] IP: [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959773] PGD 3dc5f067 PUD 3db57067
PMD 0
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959914] Oops: 0000 [#1] SMP
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.960026] last sysfs file:
/sys/devices/virtual/blktap2/blktap11/remove
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.960084] CPU 5
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.960161] Modules linked in:
xt_tcpudp tun xt_physdev iptable_filter ip_tables x_tables bridge stp
ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
libiscsi_tcp libiscsi scsi_transport_iscsi ext2 sha256_generic aes_x86_64
aes_generic cbc blktap xen_evtchn xenfs loop dm_crypt dcdbas snd_pcm
snd_timer snd joydev evdev soundcore snd_page_alloc pcspkr power_meter
button processor acpi_processor ext4 mbcache jbd2 crc16 dm_mod sd_mod
crc_t10dif sg usbhid hid sr_mod cdrom usb_storage ata_generic ehci_hcd
ata_piix mpt2sas bnx2 scsi_transport_sas libata usbcore nls_base scsi_mod
thermal thermal_sys [last unloaded: scsi_wait_scan]
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962493] Pid: 7617, comm: tapdisk2
Not tainted 2.6.32-5-xen-amd64 #1 PowerEdge T310
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962566] RIP:
e030:[<ffffffff810ce79e>] [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962671] RSP: e02b:ffff88003dfc9b58
EFLAGS: 00010202
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962726] RAX: 0000000000000880 RBX:
ffff88003d8ad000 RCX: ffff88003d8ae000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962783] RDX: 0000000000000000 RSI:
ffff88003d8ad000 RDI: 0000000000000000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962840] RBP: ffff88003eff2dd0 R08:
0000000000000000 R09: ffff88003f96c180
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962898] R10: 0000000000000002 R11:
0000000000000000 R12: 0000000000000000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962955] R13: ffff88003eff2dd0 R14:
ffff88003e149000 R15: 0000000000000000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963014] FS:
00007f6d3c738740(0000) GS:ffff880003782000(0000) knlGS:0000000000000000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963088] CS: e033 DS: 0000 ES:
0000 CR0: 000000008005003b
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963143] CR2: 0000000000000048 CR3:
000000003f0dc000 CR4: 0000000000002660
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963201] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963258] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963316] Process tapdisk2 (pid:
7617, threadinfo ffff88003dfc8000, task ffff880036a88e20)
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963389] Stack:
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963437] 0000000000000000
ffff88003ea87b40 0000000000000000 0000000000000000
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963583] <0> ffffffffa02f1ee8
0000000000000000 ffffffff8100ece2 ffff880002155480
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963802] <0> ffff88003d8ae000
0000000000000000 0000000000000000 ffff880002155480
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964066] Call Trace:
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964119] [<ffffffffa02f1ee8>] ?
blktap_umap_uaddr_fn+0x0/0x59 [blktap]
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964179] [<ffffffff8100ece2>] ?
check_events+0x12/0x20
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964236] [<ffffffffa02f32a5>] ?
blktap_device_end_request+0xbd/0x145 [blktap]
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964310] [<ffffffffa02f1743>] ?
blktap_ring_vm_close+0x60/0xd1 [blktap]
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964368] [<ffffffff810d13f8>] ?
remove_vma+0x2c/0x72
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964423] [<ffffffff810d1567>] ?
exit_mmap+0x129/0x148
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964479] [<ffffffff8104cc5d>] ?
mmput+0x3c/0xdf
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964534] [<ffffffff81050862>] ?
exit_mm+0x102/0x10d
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964592] [<ffffffff8130d0d2>] ?
_spin_lock_irq+0x7/0x22
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964648] [<ffffffff81052287>] ?
do_exit+0x1f8/0x6c6
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964703] [<ffffffff8105d5a1>] ?
__dequeue_signal+0xfb/0x124
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964760] [<ffffffff8100eccf>] ?
xen_restore_fl_direct_end+0x0/0x1
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964817] [<ffffffff810e7f35>] ?
kmem_cache_free+0x72/0xa3
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964874] [<ffffffff810527cb>] ?
do_group_exit+0x76/0x9d
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964930] [<ffffffff8105f0b7>] ?
get_signal_to_deliver+0x310/0x339
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964987] [<ffffffff8101104f>] ?
do_notify_resume+0x87/0x73f
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965044] [<ffffffff810d15e1>] ?
expand_downwards+0x5b/0x169
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965101] [<ffffffff8130f589>] ?
do_page_fault+0x1f3/0x2f2
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965157] [<ffffffff810125dc>] ?
retint_signal+0x48/0x8c
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965211] Code: 48 89 4c 24 20 4c 89
44 24 18 48 89 54 24 40 72 04 0f 0b eb fe 48 8b 54 24 28 48 89 f0 48 8b 4c
24 40 48 c1 e8 24 25 f8 0f 00 00 <48> 8b 52 48 48 ff c9 48 89 0c 24 48 01 d0
48 89 44 24 30 48 b8
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967243] RIP [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967336] RSP <ffff88003dfc9b58>
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967388] CR2: 0000000000000048
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967440] ---[ end trace
78b5f16c10850a91 ]---
Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967495] Fixing recursive fault but
reboot is needed!


Rebooting the systems doesn't resolve this problem.
We have also try to add swiotlb=128 on vmlinuz line but the systems always
loops with "out sw-iommu space" message (probably also bug in swiotlb switch
on kernel).
Can someone help us to solve this problem please?


--
View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4803078.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Out sw-iommu space problem [ In reply to ]
On Wed, Sep 14, 2011 at 07:44:14AM -0700, Fantu wrote:
> We have dom0 Squeeze with official kernel (2.6.32-35squeeze2) and xen
> 4.0.2-rc3 from git testing on DELL poweredge T310 with raid controller H200
> (all with latest firmware).
> Some domus linux pv and some windows with gplpv.
> We randomly running into this error during xendomains stop command (with
> save of all domus):

Whoa. that is impressive. Try booting your dom0 with swiotlb=128768

or some other large number.
>
> Sep 14 16:18:40 heliMN02WV kernel: [ 912.336945] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:18:40 heliMN02WV kernel: [ 912.336951] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:18:41 heliMN02WV kernel: [ 912.400331] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:18:41 heliMN02WV kernel: [ 912.400336] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:18:45 heliMN02WV kernel: [ 917.187524] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:18:45 heliMN02WV kernel: [ 917.187533] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:18:51 heliMN02WV kernel: [ 922.454599] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:18:51 heliMN02WV kernel: [ 922.454608] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:18:51 heliMN02WV kernel: [ 922.454694] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:18:51 heliMN02WV kernel: [ 922.454697] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:11 heliMN02WV kernel: [ 942.850048] frontend_changed:
> backend/vbd/4/768: prepare for reconnect
> Sep 14 16:19:11 heliMN02WV kernel: [ 942.869244] eth0: port 5(vif4.0)
> entering disabled state
> Sep 14 16:19:11 heliMN02WV kernel: [ 942.889192] eth0: port 5(vif4.0)
> entering disabled state
> Sep 14 16:19:11 heliMN02WV kernel: [ 943.188048] frontend_changed:
> backend/vif/4/0: prepare for reconnect
> Sep 14 16:19:22 heliMN02WV kernel: [ 954.246090] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:22 heliMN02WV kernel: [ 954.246095] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:22 heliMN02WV kernel: [ 954.305068] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:22 heliMN02WV kernel: [ 954.305074] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.112058] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.112064] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.112251] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.112255] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.112440] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.112443] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.205690] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:34 heliMN02WV kernel: [ 966.205693] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:40 heliMN02WV kernel: [ 971.728913] eth0: port 6(vif5.0)
> entering disabled state
> Sep 14 16:19:40 heliMN02WV kernel: [ 971.752683] eth0: port 6(vif5.0)
> entering disabled state
> Sep 14 16:19:45 heliMN02WV kernel: [ 976.984329] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:19:45 heliMN02WV kernel: [ 976.984333] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:19:49 heliMN02WV kernel: [ 981.288632] eth0: port 7(vif6.0)
> entering disabled state
> Sep 14 16:19:49 heliMN02WV kernel: [ 981.304521] eth0: port 7(vif6.0)
> entering disabled state
> Sep 14 16:19:50 heliMN02WV kernel: [ 982.329740] frontend_changed:
> backend/vbd/7/768: prepare for reconnect
> Sep 14 16:19:50 heliMN02WV kernel: [ 982.372593] eth0: port 8(vif7.0)
> entering disabled state
> Sep 14 16:19:51 heliMN02WV kernel: [ 982.416506] eth0: port 8(vif7.0)
> entering disabled state
> Sep 14 16:19:51 heliMN02WV kernel: [ 982.744206] frontend_changed:
> backend/vif/7/0: prepare for reconnect
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.520780] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.520787] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.524695] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.524698] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.525040] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.525042] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.525371] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.525374] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.527766] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:20:00 heliMN02WV kernel: [ 991.527769] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:20:01 heliMN02WV kernel: [ 992.493163] mpt2sas 0000:03:00.0: DMA:
> Out of SW-IOMMU space for 65536 bytes.
> Sep 14 16:20:01 heliMN02WV kernel: [ 992.493167] sd 0:1:0:0: pci_map_sg
> failed: request for 524288 bytes!
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.938378] tapdisk2[7617]: segfault
> at 7fff92fb6ff8 ip 0000000000408296 sp 00007fff92fb7000 error 6 in
> tapdisk2[400000+39000]
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959533] BUG: unable to handle
> kernel NULL pointer dereference at 0000000000000048
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959681] IP: [<ffffffff810ce79e>]
> apply_to_page_range+0x47/0x2f3
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959773] PGD 3dc5f067 PUD 3db57067
> PMD 0
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.959914] Oops: 0000 [#1] SMP
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.960026] last sysfs file:
> /sys/devices/virtual/blktap2/blktap11/remove
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.960084] CPU 5
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.960161] Modules linked in:
> xt_tcpudp tun xt_physdev iptable_filter ip_tables x_tables bridge stp
> ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
> libiscsi_tcp libiscsi scsi_transport_iscsi ext2 sha256_generic aes_x86_64
> aes_generic cbc blktap xen_evtchn xenfs loop dm_crypt dcdbas snd_pcm
> snd_timer snd joydev evdev soundcore snd_page_alloc pcspkr power_meter
> button processor acpi_processor ext4 mbcache jbd2 crc16 dm_mod sd_mod
> crc_t10dif sg usbhid hid sr_mod cdrom usb_storage ata_generic ehci_hcd
> ata_piix mpt2sas bnx2 scsi_transport_sas libata usbcore nls_base scsi_mod
> thermal thermal_sys [last unloaded: scsi_wait_scan]
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962493] Pid: 7617, comm: tapdisk2
> Not tainted 2.6.32-5-xen-amd64 #1 PowerEdge T310
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962566] RIP:
> e030:[<ffffffff810ce79e>] [<ffffffff810ce79e>]
> apply_to_page_range+0x47/0x2f3
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962671] RSP: e02b:ffff88003dfc9b58
> EFLAGS: 00010202
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962726] RAX: 0000000000000880 RBX:
> ffff88003d8ad000 RCX: ffff88003d8ae000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962783] RDX: 0000000000000000 RSI:
> ffff88003d8ad000 RDI: 0000000000000000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962840] RBP: ffff88003eff2dd0 R08:
> 0000000000000000 R09: ffff88003f96c180
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962898] R10: 0000000000000002 R11:
> 0000000000000000 R12: 0000000000000000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.962955] R13: ffff88003eff2dd0 R14:
> ffff88003e149000 R15: 0000000000000000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963014] FS:
> 00007f6d3c738740(0000) GS:ffff880003782000(0000) knlGS:0000000000000000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963088] CS: e033 DS: 0000 ES:
> 0000 CR0: 000000008005003b
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963143] CR2: 0000000000000048 CR3:
> 000000003f0dc000 CR4: 0000000000002660
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963201] DR0: 0000000000000000 DR1:
> 0000000000000000 DR2: 0000000000000000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963258] DR3: 0000000000000000 DR6:
> 00000000ffff0ff0 DR7: 0000000000000400
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963316] Process tapdisk2 (pid:
> 7617, threadinfo ffff88003dfc8000, task ffff880036a88e20)
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963389] Stack:
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963437] 0000000000000000
> ffff88003ea87b40 0000000000000000 0000000000000000
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963583] <0> ffffffffa02f1ee8
> 0000000000000000 ffffffff8100ece2 ffff880002155480
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.963802] <0> ffff88003d8ae000
> 0000000000000000 0000000000000000 ffff880002155480
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964066] Call Trace:
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964119] [<ffffffffa02f1ee8>] ?
> blktap_umap_uaddr_fn+0x0/0x59 [blktap]
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964179] [<ffffffff8100ece2>] ?
> check_events+0x12/0x20
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964236] [<ffffffffa02f32a5>] ?
> blktap_device_end_request+0xbd/0x145 [blktap]
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964310] [<ffffffffa02f1743>] ?
> blktap_ring_vm_close+0x60/0xd1 [blktap]
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964368] [<ffffffff810d13f8>] ?
> remove_vma+0x2c/0x72
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964423] [<ffffffff810d1567>] ?
> exit_mmap+0x129/0x148
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964479] [<ffffffff8104cc5d>] ?
> mmput+0x3c/0xdf
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964534] [<ffffffff81050862>] ?
> exit_mm+0x102/0x10d
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964592] [<ffffffff8130d0d2>] ?
> _spin_lock_irq+0x7/0x22
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964648] [<ffffffff81052287>] ?
> do_exit+0x1f8/0x6c6
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964703] [<ffffffff8105d5a1>] ?
> __dequeue_signal+0xfb/0x124
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964760] [<ffffffff8100eccf>] ?
> xen_restore_fl_direct_end+0x0/0x1
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964817] [<ffffffff810e7f35>] ?
> kmem_cache_free+0x72/0xa3
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964874] [<ffffffff810527cb>] ?
> do_group_exit+0x76/0x9d
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964930] [<ffffffff8105f0b7>] ?
> get_signal_to_deliver+0x310/0x339
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.964987] [<ffffffff8101104f>] ?
> do_notify_resume+0x87/0x73f
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965044] [<ffffffff810d15e1>] ?
> expand_downwards+0x5b/0x169
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965101] [<ffffffff8130f589>] ?
> do_page_fault+0x1f3/0x2f2
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965157] [<ffffffff810125dc>] ?
> retint_signal+0x48/0x8c
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.965211] Code: 48 89 4c 24 20 4c 89
> 44 24 18 48 89 54 24 40 72 04 0f 0b eb fe 48 8b 54 24 28 48 89 f0 48 8b 4c
> 24 40 48 c1 e8 24 25 f8 0f 00 00 <48> 8b 52 48 48 ff c9 48 89 0c 24 48 01 d0
> 48 89 44 24 30 48 b8
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967243] RIP [<ffffffff810ce79e>]
> apply_to_page_range+0x47/0x2f3
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967336] RSP <ffff88003dfc9b58>
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967388] CR2: 0000000000000048
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967440] ---[ end trace
> 78b5f16c10850a91 ]---
> Sep 14 16:20:13 heliMN02WV kernel: [ 1004.967495] Fixing recursive fault but
> reboot is needed!
>
>
> Rebooting the systems doesn't resolve this problem.
> We have also try to add swiotlb=128 on vmlinuz line but the systems always
> loops with "out sw-iommu space" message (probably also bug in swiotlb switch
> on kernel).
> Can someone help us to solve this problem please?
>
>
> --
> View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4803078.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Out sw-iommu space problem [ In reply to ]
With swiotlb=128768 from kern.log:

Sep 15 14:27:45 heliMN02WV kernel: [ 3.595733] PCI-DMA: Using software
bounce buffering for IO (SWIOTLB)
Sep 15 14:27:45 heliMN02WV kernel: [ 3.595738] DMA: Placing 251MB
software IO TLB between ffff8800048c0000 - ffff880014440000
Sep 15 14:27:45 heliMN02WV kernel: [ 3.595740] DMA: software IO TLB at
phys 0x48c0000 – 0x14440000
It seems swiotlb was assigned 251 mb


Without swiotlb= from kern.log:

Sep 15 08:16:44 heliMN02WV kernel: [ 3.400528] PCI-DMA: Using software
bounce buffering for IO (SWIOTLB)
Sep 15 08:16:44 heliMN02WV kernel: [ 3.400533] DMA: Placing 64MB software
IO TLB between ffff8800048c0000 - ffff8800088c0000
Sep 15 08:16:44 heliMN02WV kernel: [ 3.400535] DMA: software IO TLB at
phys 0x48c0000 – 0x88c0000



I have set swiotlb=65762, i have do reboot of dom0 but after always problem
on save of service xendomains shutdown, not sm iommu out of memory but:

Sep 15 15:29:15 heliMN02WV kernel: [ 641.006286] tapdisk2[6891]: segfault
at 7fff58bb7fe8 ip 00000000004082ac sp 00007fff58bb7ff0 error 6 in
tapdisk2[400000+39000]
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026060] BUG: unable to handle
kernel NULL pointer dereference at 0000000000000048
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026200] IP: [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026291] PGD 0
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026371] Oops: 0000 [#1] SMP
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026483] last sysfs file:
/sys/devices/virtual/blktap2/blktap6/remove
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026541] CPU 2
Sep 15 15:29:15 heliMN02WV kernel: [ 641.026619] Modules linked in:
xt_tcpudp tun xt_physdev iptable_filter ip_tables x_tables bridge stp
ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
libiscsi_tcp libiscsi scsi_transport_iscsi ext2 sha256_generic aes_x86_64
aes_generic cbc blktap xen_evtchn xenfs loop dm_crypt snd_pcm snd_timer snd
soundcore snd_page_alloc evdev joydev dcdbas pcspkr power_meter button
processor acpi_processor ext4 mbcache jbd2 crc16 dm_mod sd_mod crc_t10dif sg
sr_mod cdrom usbhid hid ata_generic ehci_hcd ata_piix usbcore libata
nls_base bnx2 mpt2sas scsi_transport_sas scsi_mod thermal thermal_sys [last
unloaded: scsi_wait_scan]
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029000] Pid: 6891, comm: tapdisk2
Not tainted 2.6.32-5-xen-amd64 #1 PowerEdge T310
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029082] RIP:
e030:[<ffffffff810ce79e>] [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029191] RSP: e02b:ffff88003dda3b58
EFLAGS: 00010202
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029246] RAX: 0000000000000880 RBX:
ffff88003ebc1000 RCX: ffff88003ebc2000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029313] RDX: 0000000000000000 RSI:
ffff88003ebc1000 RDI: 0000000000000000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029372] RBP: ffff88003e7383d0 R08:
0000000000000000 R09: ffff88003c4d4780
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029431] R10: 0000000000000002 R11:
0000000000000000 R12: 0000000000000000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029491] R13: ffff88003e7383d0 R14:
ffff88003deb7800 R15: 0000000000000000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029555] FS:
00007f185cd15740(0000) GS:ffff880003728000(0000) knlGS:0000000000000000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029630] CS: e033 DS: 0000 ES:
0000 CR0: 000000008005003b
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029686] CR2: 0000000000000048 CR3:
0000000001001000 CR4: 0000000000002660
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029744] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029802] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029861] Process tapdisk2 (pid:
6891, threadinfo ffff88003dda2000, task ffff8800027ae9f0)
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029936] Stack:
Sep 15 15:29:15 heliMN02WV kernel: [ 641.029984] 0000000000000000
ffff880001d03b40 0000000000000000 0000000000000000
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030134] <0> ffffffffa02dcee8
0000000000000000 ffffffff8100ece2 ffff8800023c9cc0
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030359] <0> ffff88003ebc2000
0000000000000000 0000000000000000 ffff8800023c9cc0
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030635] Call Trace:
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030699] [<ffffffffa02dcee8>] ?
blktap_umap_uaddr_fn+0x0/0x59 [blktap]
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030764] [<ffffffff8100ece2>] ?
check_events+0x12/0x20
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030831] [<ffffffffa02de2a5>] ?
blktap_device_end_request+0xbd/0x145 [blktap]
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030917] [<ffffffffa02dc743>] ?
blktap_ring_vm_close+0x60/0xd1 [blktap]
Sep 15 15:29:15 heliMN02WV kernel: [ 641.030977] [<ffffffff810d13f8>] ?
remove_vma+0x2c/0x72
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031040] [<ffffffff810d1567>] ?
exit_mmap+0x129/0x148
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031097] [<ffffffff8104cc5d>] ?
mmput+0x3c/0xdf
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031153] [<ffffffff81050862>] ?
exit_mm+0x102/0x10d
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031212] [<ffffffff8130d0d2>] ?
_spin_lock_irq+0x7/0x22
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031274] [<ffffffff81052287>] ?
do_exit+0x1f8/0x6c6
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031340] [<ffffffff8105d5a1>] ?
__dequeue_signal+0xfb/0x124
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031399] [<ffffffff8100eccf>] ?
xen_restore_fl_direct_end+0x0/0x1
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031458] [<ffffffff810e7f35>] ?
kmem_cache_free+0x72/0xa3
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031514] [<ffffffff810527cb>] ?
do_group_exit+0x76/0x9d
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031570] [<ffffffff8105f0b7>] ?
get_signal_to_deliver+0x310/0x339
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031627] [<ffffffff8101104f>] ?
do_notify_resume+0x87/0x73f
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031684] [<ffffffff810d15e1>] ?
expand_downwards+0x5b/0x169
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031742] [<ffffffff8130f589>] ?
do_page_fault+0x1f3/0x2f2
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031798] [<ffffffff810125dc>] ?
retint_signal+0x48/0x8c
Sep 15 15:29:15 heliMN02WV kernel: [ 641.031853] Code: 48 89 4c 24 20 4c 89
44 24 18 48 89 54 24 40 72 04 0f 0b eb fe 48 8b 54 24 28 48 89 f0 48 8b 4c
24 40 48 c1 e8 24 25 f8 0f 00 00 <48> 8b 52 48 48 ff c9 48 89 0c 24 48 01 d0
48 89 44 24 30 48 b8
Sep 15 15:29:15 heliMN02WV kernel: [ 641.033878] RIP [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 15 15:29:15 heliMN02WV kernel: [ 641.033965] RSP <ffff88003dda3b58>
Sep 15 15:29:15 heliMN02WV kernel: [ 641.034015] CR2: 0000000000000048
Sep 15 15:29:15 heliMN02WV kernel: [ 641.034067] ---[ end trace
162efc545a37e94b ]---
Sep 15 15:29:15 heliMN02WV kernel: [ 641.034120] Fixing recursive fault but
reboot is needed!



I have do other reboot of dom0, shutdown of domu how have give error, reboot
of dom0 and other service xendomains stop but same error:

Sep 15 15:55:32 heliMN02WV kernel: [ 441.038016] tapdisk2[4787]: segfault
at 7ffff3d44ff8 ip 0000000000408296 sp 00007ffff3d45000 error 6 in
tapdisk2[400000+39000]
Sep 15 15:55:32 heliMN02WV kernel: [ 441.057462] BUG: unable to handle
kernel NULL pointer dereference at 0000000000000048
Sep 15 15:55:32 heliMN02WV kernel: [ 441.057601] IP: [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 15 15:55:32 heliMN02WV kernel: [ 441.057691] PGD 0
Sep 15 15:55:32 heliMN02WV kernel: [ 441.057770] Oops: 0000 [#1] SMP
Sep 15 15:55:32 heliMN02WV kernel: [ 441.057880] last sysfs file:
/sys/devices/virtual/blktap2/blktap1/remove
Sep 15 15:55:32 heliMN02WV kernel: [ 441.057938] CPU 2
Sep 15 15:55:32 heliMN02WV kernel: [ 441.058015] Modules linked in:
xt_tcpudp xt_physdev iptable_filter ip_tables x_tables tun bridge stp
ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
libiscsi_tcp libiscsi scsi_transport_iscsi ext2 sha256_generic aes_x86_64
aes_generic cbc blktap xen_evtchn xenfs loop dm_crypt snd_pcm snd_timer snd
soundcore snd_page_alloc joydev pcspkr evdev dcdbas button power_meter
processor acpi_processor ext4 mbcache jbd2 crc16 dm_mod sd_mod crc_t10dif sg
sr_mod cdrom usbhid hid ata_generic ata_piix ehci_hcd mpt2sas usbcore libata
nls_base bnx2 scsi_transport_sas scsi_mod thermal thermal_sys [last
unloaded: scsi_wait_scan]
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060309] Pid: 4787, comm: tapdisk2
Not tainted 2.6.32-5-xen-amd64 #1 PowerEdge T310
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060382] RIP:
e030:[<ffffffff810ce79e>] [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060487] RSP: e02b:ffff88003dd15b58
EFLAGS: 00010202
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060542] RAX: 0000000000000880 RBX:
ffff880003337000 RCX: ffff880003338000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060599] RDX: 0000000000000000 RSI:
ffff880003337000 RDI: 0000000000000000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060657] RBP: ffff880001ef50f0 R08:
0000000000000000 R09: ffff88003d161900
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060714] R10: 0000000000000002 R11:
0000000000000000 R12: 0000000000000000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060771] R13: ffff880001ef50f0 R14:
ffff88003981e000 R15: 0000000000000000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060831] FS:
00007f7e8720a740(0000) GS:ffff880003728000(0000) knlGS:0000000000000000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060905] CS: e033 DS: 0000 ES:
0000 CR0: 000000008005003b
Sep 15 15:55:32 heliMN02WV kernel: [ 441.060960] CR2: 0000000000000048 CR3:
0000000001001000 CR4: 0000000000002660
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061018] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061076] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061133] Process tapdisk2 (pid:
4787, threadinfo ffff88003dd14000, task ffff880035dbf810)
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061207] Stack:
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061255] 0000000000000000
ffff880035dc59c0 0000000000000000 0000000000000000
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061403] <0> ffffffffa02dcee8
0000000000000000 ffffffff8100ece2 ffff88003d499540
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061623] <0> ffff880003338000
0000000000000000 0000000000000000 ffff88003d499540
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061886] Call Trace:
Sep 15 15:55:32 heliMN02WV kernel: [ 441.061939] [<ffffffffa02dcee8>] ?
blktap_umap_uaddr_fn+0x0/0x59 [blktap]
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062000] [<ffffffff8100ece2>] ?
check_events+0x12/0x20
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062056] [<ffffffffa02de2a5>] ?
blktap_device_end_request+0xbd/0x145 [blktap]
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062130] [<ffffffffa02dc743>] ?
blktap_ring_vm_close+0x60/0xd1 [blktap]
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062189] [<ffffffff810d13f8>] ?
remove_vma+0x2c/0x72
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062244] [<ffffffff810d1567>] ?
exit_mmap+0x129/0x148
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062300] [<ffffffff8104cc5d>] ?
mmput+0x3c/0xdf
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062355] [<ffffffff81050862>] ?
exit_mm+0x102/0x10d
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062412] [<ffffffff8130d0d2>] ?
_spin_lock_irq+0x7/0x22
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062468] [<ffffffff81052287>] ?
do_exit+0x1f8/0x6c6
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062529] [<ffffffff8105d5a1>] ?
__dequeue_signal+0xfb/0x124
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062590] [<ffffffff8100eccf>] ?
xen_restore_fl_direct_end+0x0/0x1
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062647] [<ffffffff810e7f35>] ?
kmem_cache_free+0x72/0xa3
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062703] [<ffffffff810527cb>] ?
do_group_exit+0x76/0x9d
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062759] [<ffffffff8105f0b7>] ?
get_signal_to_deliver+0x310/0x339
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062816] [<ffffffff8101104f>] ?
do_notify_resume+0x87/0x73f
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062874] [<ffffffff810d15e1>] ?
expand_downwards+0x5b/0x169
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062930] [<ffffffff8130f589>] ?
do_page_fault+0x1f3/0x2f2
Sep 15 15:55:32 heliMN02WV kernel: [ 441.062986] [<ffffffff810125dc>] ?
retint_signal+0x48/0x8c
Sep 15 15:55:32 heliMN02WV kernel: [ 441.063041] Code: 48 89 4c 24 20 4c 89
44 24 18 48 89 54 24 40 72 04 0f 0b eb fe 48 8b 54 24 28 48 89 f0 48 8b 4c
24 40 48 c1 e8 24 25 f8 0f 00 00 <48> 8b 52 48 48 ff c9 48 89 0c 24 48 01 d0
48 89 44 24 30 48 b8
Sep 15 15:55:32 heliMN02WV kernel: [ 441.065075] RIP [<ffffffff810ce79e>]
apply_to_page_range+0x47/0x2f3
Sep 15 15:55:32 heliMN02WV kernel: [ 441.065164] RSP <ffff88003dd15b58>
Sep 15 15:55:32 heliMN02WV kernel: [ 441.065216] CR2: 0000000000000048
Sep 15 15:55:32 heliMN02WV kernel: [ 441.065270] ---[ end trace
f19d313c82859143 ]---
Sep 15 15:55:32 heliMN02WV kernel: [ 441.065324] Fixing recursive fault but
reboot is needed!


Can you help me to solve this problem please?


I try search on xen-unstable.hg "tapdisk2" revs and i found
http://xenbits.xen.org/hg/staging/xen-unstable.hg/rev/a5a0817d9210 with some
strange characters "Â", there isn't on 4.0 testing and isn't this problem
but can be a bug on unstable.

--
View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4807062.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Re: Out sw-iommu space problem [ In reply to ]
>
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.006286] tapdisk2[6891]: segfault
> at 7fff58bb7fe8 ip 00000000004082ac sp 00007fff58bb7ff0 error 6 in
> tapdisk2[400000+39000]
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026060] BUG: unable to handle
> kernel NULL pointer dereference at 0000000000000048
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026200] IP: [<ffffffff810ce79e>]
> apply_to_page_range+0x47/0x2f3
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026291] PGD 0
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026371] Oops: 0000 [#1] SMP
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026483] last sysfs file:
> /sys/devices/virtual/blktap2/blktap6/remove
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026541] CPU 2
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.026619] Modules linked in:
> xt_tcpudp tun xt_physdev iptable_filter ip_tables x_tables bridge stp
> ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
> libiscsi_tcp libiscsi scsi_transport_iscsi ext2 sha256_generic aes_x86_64
> aes_generic cbc blktap xen_evtchn xenfs loop dm_crypt snd_pcm snd_timer snd
> soundcore snd_page_alloc evdev joydev dcdbas pcspkr power_meter button
> processor acpi_processor ext4 mbcache jbd2 crc16 dm_mod sd_mod crc_t10dif sg
> sr_mod cdrom usbhid hid ata_generic ehci_hcd ata_piix usbcore libata
> nls_base bnx2 mpt2sas scsi_transport_sas scsi_mod thermal thermal_sys [last
> unloaded: scsi_wait_scan]
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029000] Pid: 6891, comm: tapdisk2
> Not tainted 2.6.32-5-xen-amd64 #1 PowerEdge T310
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029082] RIP:
> e030:[<ffffffff810ce79e>] [<ffffffff810ce79e>]
> apply_to_page_range+0x47/0x2f3
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029191] RSP: e02b:ffff88003dda3b58
> EFLAGS: 00010202
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029246] RAX: 0000000000000880 RBX:
> ffff88003ebc1000 RCX: ffff88003ebc2000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029313] RDX: 0000000000000000 RSI:
> ffff88003ebc1000 RDI: 0000000000000000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029372] RBP: ffff88003e7383d0 R08:
> 0000000000000000 R09: ffff88003c4d4780
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029431] R10: 0000000000000002 R11:
> 0000000000000000 R12: 0000000000000000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029491] R13: ffff88003e7383d0 R14:
> ffff88003deb7800 R15: 0000000000000000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029555] FS:
> 00007f185cd15740(0000) GS:ffff880003728000(0000) knlGS:0000000000000000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029630] CS: e033 DS: 0000 ES:
> 0000 CR0: 000000008005003b
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029686] CR2: 0000000000000048 CR3:
> 0000000001001000 CR4: 0000000000002660
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029744] DR0: 0000000000000000 DR1:
> 0000000000000000 DR2: 0000000000000000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029802] DR3: 0000000000000000 DR6:
> 00000000ffff0ff0 DR7: 0000000000000400
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029861] Process tapdisk2 (pid:
> 6891, threadinfo ffff88003dda2000, task ffff8800027ae9f0)
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029936] Stack:
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.029984] 0000000000000000
> ffff880001d03b40 0000000000000000 0000000000000000
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030134] <0> ffffffffa02dcee8
> 0000000000000000 ffffffff8100ece2 ffff8800023c9cc0
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030359] <0> ffff88003ebc2000
> 0000000000000000 0000000000000000 ffff8800023c9cc0
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030635] Call Trace:
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030699] [<ffffffffa02dcee8>] ?
> blktap_umap_uaddr_fn+0x0/0x59 [blktap]
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030764] [<ffffffff8100ece2>] ?
> check_events+0x12/0x20
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030831] [<ffffffffa02de2a5>] ?
> blktap_device_end_request+0xbd/0x145 [blktap]
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030917] [<ffffffffa02dc743>] ?
> blktap_ring_vm_close+0x60/0xd1 [blktap]
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.030977] [<ffffffff810d13f8>] ?
> remove_vma+0x2c/0x72
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031040] [<ffffffff810d1567>] ?
> exit_mmap+0x129/0x148
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031097] [<ffffffff8104cc5d>] ?
> mmput+0x3c/0xdf
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031153] [<ffffffff81050862>] ?
> exit_mm+0x102/0x10d
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031212] [<ffffffff8130d0d2>] ?
> _spin_lock_irq+0x7/0x22
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031274] [<ffffffff81052287>] ?
> do_exit+0x1f8/0x6c6
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031340] [<ffffffff8105d5a1>] ?
> __dequeue_signal+0xfb/0x124
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031399] [<ffffffff8100eccf>] ?
> xen_restore_fl_direct_end+0x0/0x1
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031458] [<ffffffff810e7f35>] ?
> kmem_cache_free+0x72/0xa3
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031514] [<ffffffff810527cb>] ?
> do_group_exit+0x76/0x9d
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031570] [<ffffffff8105f0b7>] ?
> get_signal_to_deliver+0x310/0x339
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031627] [<ffffffff8101104f>] ?
> do_notify_resume+0x87/0x73f
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031684] [<ffffffff810d15e1>] ?
> expand_downwards+0x5b/0x169
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031742] [<ffffffff8130f589>] ?
> do_page_fault+0x1f3/0x2f2
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031798] [<ffffffff810125dc>] ?
> retint_signal+0x48/0x8c
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.031853] Code: 48 89 4c 24 20 4c 89
> 44 24 18 48 89 54 24 40 72 04 0f 0b eb fe 48 8b 54 24 28 48 89 f0 48 8b 4c
> 24 40 48 c1 e8 24 25 f8 0f 00 00 <48> 8b 52 48 48 ff c9 48 89 0c 24 48 01 d0
> 48 89 44 24 30 48 b8
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.033878] RIP [<ffffffff810ce79e>]
> apply_to_page_range+0x47/0x2f3
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.033965] RSP <ffff88003dda3b58>
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.034015] CR2: 0000000000000048
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.034067] ---[ end trace
> 162efc545a37e94b ]---
> Sep 15 15:29:15 heliMN02WV kernel: [ 641.034120] Fixing recursive fault but
> reboot is needed!
>
>

Hm, there was another thread aobut it, and the analysis looks like it is:

xen: x86_32: do not enable iterrupts when returning from

which is getting backported in 2.6.32.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Out sw-iommu space problem [ In reply to ]
Thanks, someone know if this fix is included in next debian kernel build? (
http://packages.qa.debian.org/l/linux-2.6/news/20110913T200325Z.html )
kernel.org is down and i can't see the changelog, for example
http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/ChangeLog-2.6.32.46

--
View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4807540.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Out sw-iommu space problem [ In reply to ]
I have rebuild last debian kernel
linux-image-2.6.32-5-xen-amd64_2.6.32-36_amd64 with patch take here:
http://www.gossamer-threads.com/lists/xen/devel/216753
Installed, reboot the dom0, retry service xendomains stop (with save of all
domus) but problem persist:

Sep 16 15:58:42 heliMN02WV kernel: [ 1091.311783] tapdisk2[7567]: segfault
at 7fffcb57cff8 ip 000000000040844f sp 00007fffcb57d000 error 6 in
tapdisk2[400000+39000]
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.331392] BUG: unable to handle
kernel NULL pointer dereference at 0000000000000048
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.331532] IP: [<ffffffff810ce9c1>]
apply_to_page_range+0x47/0x2f3
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.331623] PGD 2d158067 PUD 2c03e067
PMD 0
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.331766] Oops: 0000 [#1] SMP
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.331878] last sysfs file:
/sys/devices/virtual/blktap2/blktap6/remove
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.331936] CPU 0
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.332016] Modules linked in:
xt_tcpudp tun xt_physdev iptable_filter ip_tables x_tables bridge stp
ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
libiscsi_tcp libiscsi scsi_transport_iscsi ext2 sha256_generic aes_x86_64
aes_generic cbc blktap xen_evtchn xenfs loop dm_crypt snd_pcm snd_timer snd
soundcore snd_page_alloc joydev pcspkr evdev processor dcdbas button
power_meter acpi_processor ext4 mbcache jbd2 crc16 dm_mod sd_mod crc_t10dif
sg sr_mod cdrom usbhid hid ata_generic ata_piix libata mpt2sas ehci_hcd
scsi_transport_sas bnx2 usbcore nls_base scsi_mod thermal thermal_sys [last
unloaded: scsi_wait_scan]
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334357] Pid: 7567, comm: tapdisk2
Not tainted 2.6.32-5-xen-amd64 #1 PowerEdge T310
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334431] RIP:
e030:[<ffffffff810ce9c1>] [<ffffffff810ce9c1>]
apply_to_page_range+0x47/0x2f3
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334539] RSP: e02b:ffff88002c777b58
EFLAGS: 00010202
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334594] RAX: 0000000000000880 RBX:
ffff88003e7ac000 RCX: ffff88003e7ad000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334652] RDX: 0000000000000000 RSI:
ffff88003e7ac000 RDI: 0000000000000000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334710] RBP: ffff88003f100c90 R08:
0000000000000000 R09: ffff88003c635000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334768] R10: 0000000000000002 R11:
0000000000000000 R12: 0000000000000000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334826] R13: ffff88003f100c90 R14:
ffff880003355000 R15: 0000000000000000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334887] FS:
00007fde823cc740(0000) GS:ffff8800036f1000(0000) knlGS:0000000000000000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.334961] CS: e033 DS: 0000 ES:
0000 CR0: 000000008005003b
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335017] CR2: 0000000000000048 CR3:
000000002ca26000 CR4: 0000000000002660
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335075] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335133] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335191] Process tapdisk2 (pid:
7567, threadinfo ffff88002c776000, task ffff8800031cc6a0)
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335266] Stack:
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335314] 0000000000000000
ffff88003e8add80 0000000000000000 0000000000000000
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335464] <0> ffffffffa02dcee8
0000000000000000 ffffffff8100ecf2 ffff8800370616c0
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335689] <0> ffff88003e7ad000
0000000000000000 0000000000000000 ffff8800370616c0
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.335970] Call Trace:
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336026] [<ffffffffa02dcee8>] ?
blktap_umap_uaddr_fn+0x0/0x59 [blktap]
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336089] [<ffffffff8100ecf2>] ?
check_events+0x12/0x20
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336147] [<ffffffffa02de2a5>] ?
blktap_device_end_request+0xbd/0x145 [blktap]
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336229] [<ffffffffa02dc743>] ?
blktap_ring_vm_close+0x60/0xd1 [blktap]
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336292] [<ffffffff810d161c>] ?
remove_vma+0x2c/0x72
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336355] [<ffffffff810d178b>] ?
exit_mmap+0x129/0x148
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336419] [<ffffffff8104ccf9>] ?
mmput+0x3c/0xdf
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336476] [<ffffffff810508f2>] ?
exit_mm+0x102/0x10d
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336536] [<ffffffff8130d652>] ?
_spin_lock_irq+0x7/0x22
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336595] [<ffffffff81052317>] ?
do_exit+0x1f8/0x6c6
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336652] [<ffffffff8105d631>] ?
__dequeue_signal+0xfb/0x124
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336713] [<ffffffff8100ecdf>] ?
xen_restore_fl_direct_end+0x0/0x1
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336776] [<ffffffff810e816d>] ?
kmem_cache_free+0x72/0xa3
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336839] [<ffffffff8105285b>] ?
do_group_exit+0x76/0x9d
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336901] [<ffffffff8105f147>] ?
get_signal_to_deliver+0x310/0x339
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.336965] [<ffffffff81011037>] ?
do_notify_resume+0x87/0x73f
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.337030] [<ffffffff810d1805>] ?
expand_downwards+0x5b/0x169
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.337087] [<ffffffff8130fb0b>] ?
do_page_fault+0x1f5/0x2fc
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.337144] [<ffffffff810125dc>] ?
retint_signal+0x48/0x8c
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.337200] Code: 48 89 4c 24 20 4c 89
44 24 18 48 89 54 24 40 72 04 0f 0b eb fe 48 8b 54 24 28 48 89 f0 48 8b 4c
24 40 48 c1 e8 24 25 f8 0f 00 00 <48> 8b 52 48 48 ff c9 48 89 0c 24 48 01 d0
48 89 44 24 30 48 b8
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.339270] RIP [<ffffffff810ce9c1>]
apply_to_page_range+0x47/0x2f3
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.339358] RSP <ffff88002c777b58>
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.339409] CR2: 0000000000000048
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.339461] ---[ end trace
d3d83b6017665ae2 ]---
Sep 16 15:58:42 heliMN02WV kernel: [ 1091.339514] Fixing recursive fault but
reboot is needed!



--
View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4810847.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Re: Out sw-iommu space problem [ In reply to ]
On Thu, 2011-09-15 at 12:56 -0400, Fantu wrote:
> Thanks, someone know if this fix is included in next debian kernel build? (
> http://packages.qa.debian.org/l/linux-2.6/news/20110913T200325Z.html )

It will most likely get into the next Debian Squeeze kernel by virtue of
being in the next upstream longterm release but I'll keep and eye on
things and try to make sure it gets in regardless..

Ian.


> kernel.org is down and i can't see the changelog, for example
> http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/ChangeLog-2.6.32.46
>
> --
> View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4807540.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Out sw-iommu space problem [ In reply to ]
After setting swiotlb=65762 on vmlinuz (from 64 mb to 128 mb) problem solved.
Is swiotlb set on vmlinux bugged? At this time on 2.6.32 pv_ops, in order to
set size in MB requires this calculation: swiotlb=N where N/1024*2=MB

--
View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4921154.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Re: Out sw-iommu space problem [ In reply to ]
On Thu, Oct 20, 2011 at 04:28:49AM -0700, Fantu wrote:
> After setting swiotlb=65762 on vmlinuz (from 64 mb to 128 mb) problem solved.

OK. I am not sure why your driver is using that much space, but that is
the purpose of the argument.

> Is swiotlb set on vmlinux bugged? At this time on 2.6.32 pv_ops, in order to
> set size in MB requires this calculation: swiotlb=N where N/1024*2=MB

That is correct. It is correct for any kernel since 2.6.18 I believe. Unless
the swiotlb in the Xen old-style was doing something different.

>
> --
> View this message in context: http://xen.1045712.n5.nabble.com/Out-sw-iommu-space-problem-tp4803078p4921154.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel