WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] kernel oops with driver domains: usb ohci Fatal DMA erro

To: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Subject: Re: [Xen-devel] kernel oops with driver domains: usb ohci Fatal DMA error! Please use 'swiotlb=force'
From: Hans-Christian Armingeon <mog.johnny@xxxxxxx>
Date: Sun, 7 May 2006 01:03:33 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 May 2006 05:11:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060501111253.GA3599@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200604281640.27893.mog.johnny@xxxxxxx> <20060501111253.GA3599@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Hi,

I still have problems.

Am Montag, 1. Mai 2006 13:12 schrieb Muli Ben-Yehuda:
> On Fri, Apr 28, 2006 at 04:40:27PM +0200, Hans-Christian Armingeon wrote:
> > Hi,
> > 
> > I am havong trouble exporting a pci device to a domU.
> > The kernel oopses quite early at boot.
> > 
> > How can I fix this?
> 
> Try passing swiotlb=force on the command line.

When I add extra="swiotlb=force" to the domain configuration, I get this error.

[    0.000000] Bootdata ok (command line is  
ip=192.168.5.51:1.2.3.4:192.168.5.15:255.255.255.0::eth0:off root=/dev/sda1 ro 
swiotlb=force)
[    0.000000] Linux version 2.6.16-xen-20060428.5-xen0 (root@polydeuces) (gcc 
version 4.0.3 (Ubuntu 4.0.3-1ubuntu4)) #1 Fri Apr 28 15:07:47 CEST 2006
[  406.712143] No mptable found.
[  406.716994] Built 1 zonelists
[  406.717000] Kernel command line:  
ip=192.168.5.51:1.2.3.4:192.168.5.15:255.255.255.0::eth0:off root=/dev/sda1 ro 
swiotlb=force
[  406.718765] Initializing CPU#0
[  406.718891] PID hash table entries: 4096 (order: 12, 131072 bytes)
[  406.719014] Xen reported: 2189.786 MHz processor.
[  406.720589] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[  406.721453] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[  406.879058] ----------- [cut here ] --------- [please bite here ] ---------
[  406.879070] Kernel BUG at lib/../arch/i386/kernel/swiotlb.c:152
[  406.879075] invalid opcode: 0000 [1]
[  406.879079] CPU 0
[  406.879081] Modules linked in:
[  406.879085] Pid: 0, comm: swapper Not tainted 2.6.16-xen-20060428.5-xen0 #1
[  406.879089] RIP: e030:[<ffffffff80243e03>] 
<ffffffff80243e03>{swiotlb_init_with_default_size+147}
[  406.879101] RSP: e02b:ffffffff804fff80  EFLAGS: 00010282
[  406.879105] RAX: 00000000fffffff4 RBX: 0000000004000000 RCX: 000000000000000e
[  406.879109] RDX: ffffffffff578000 RSI: 0000000000000001 RDI: ffffffff804fff00
[  406.879113] RBP: 0000000000000000 R08: ffffffff804fff30 R09: 0000000000004000
[  406.879117] R10: 0000000000007ff0 R11: ffffffff804b4354 R12: 0000000000000000
[  406.879122] R13: ffffffff8034127b R14: 0000000000000000 R15: ffff880000000000
[  406.879129] FS:  0000000000000000(0000) GS:ffffffff804eb000(0000) 
knlGS:0000000000000000
[  406.879132] CS:  e033 DS: 0000 ES: 0000
[  406.879136] Process swapper (pid: 0, threadinfo ffffffff804fe000, task 
ffffffff803adc00)
[  406.879139] Stack: 0000000000000094 ffffffff80114112 ffff880000000000 
ffffffff8050b3ff
[  406.879147]        0000000000020000 0000000000000000 0000000000000000 
0000000000000000
[  406.879153]        0000000000000000 0000000000000000
[  406.879156] Call Trace: <ffffffff80114112>{pci_swiotlb_init+6} 
<ffffffff8050b3ff>{mem_init+127}
[  406.879170]        <ffffffff8050161a>{start_kernel+321} 
<ffffffff805010de>{_sinittext+222}
[  406.879181]
[  406.879182] Code: 0f 0b 68 17 33 37 80 c2 98 00 48 8b 3d dc 53 27 00 be 80 00
[  406.879195] RIP <ffffffff80243e03>{swiotlb_init_with_default_size+147} RSP 
<ffffffff804fff80>
[  406.879203]  <0>Kernel panic - not syncing: Attempted to kill the idle task!


I added the same Option to the dom0 kernel. Is that neccessary?

Johnny

> 
> > [509111.024333] Fatal DMA error! Please use 'swiotlb=force'
> > [509111.024344] ----------- [cut here ] --------- [please bite here ] 
> > ---------
> > [509111.024347] Kernel BUG at 
> > arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:309
> 
> Cheers,
> Muli
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 

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

<Prev in Thread] Current Thread [Next in Thread>