From: Hans-Christian Armingeon Subject: Re: kernel oops with driver domains: usb ohci Fatal DMA error! Please use 'swiotlb=force' Date: Sun, 7 May 2006 01:03:33 +0200 Message-ID: <200605070103.36815.mog.johnny@gmx.net> References: <200604281640.27893.mog.johnny@gmx.net> <20060501111253.GA3599@rhun.haifa.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060501111253.GA3599@rhun.haifa.ibm.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muli Ben-Yehuda Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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:[] {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: {pci_swiotlb_init+6} {mem_init+127} [ 406.879170] {start_kernel+321} {_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 {swiotlb_init_with_default_size+147} RSP [ 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@lists.xensource.com > http://lists.xensource.com/xen-devel >