From: Hans-Christian Armingeon Subject: kernel oops with driver domains: usb ohci Fatal DMA error! Please use 'swiotlb=force' Date: Fri, 28 Apr 2006 16:40:27 +0200 Message-ID: <200604281640.27893.mog.johnny@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I am havong trouble exporting a pci device to a domU. The kernel oopses quite early at boot. How can I fix this? Many thanks in advance, Johnny [509110.561082] PCI: Enabling device 0000:03:00.0 (0000 -> 0002) [509110.577818] ohci_hcd 0000:03:00.0: OHCI Host Controller [509110.578090] ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 1 [509110.578105] ohci_hcd 0000:03:00.0: irq 20, io mem 0xfeafc000 [509110.634919] usb usb1: configuration #1 chosen from 1 choice [509110.634947] hub 1-0:1.0: USB hub found [509110.634985] hub 1-0:1.0: 3 ports detected [509110.736386] PCI: Enabling device 0000:03:00.1 (0000 -> 0002) [509110.744485] ohci_hcd 0000:03:00.1: OHCI Host Controller [509110.744530] ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 2 [509110.744540] ohci_hcd 0000:03:00.1: irq 20, io mem 0xfeafd000 [509110.794899] usb usb2: configuration #1 chosen from 1 choice [509110.794920] hub 2-0:1.0: USB hub found [509110.794945] hub 2-0:1.0: 3 ports detected [509111.024323] usb 1-2: new full speed USB device using ohci_hcd and address 2 [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 [509111.024353] invalid opcode: 0000 [1] [509111.024357] CPU 0 [509111.024359] Modules linked in: ohci_hcd usbcore unix 8250 serial_core [509111.024367] Pid: 1422, comm: khubd Tainted: GF 2.6.16-xen-20060428.5-xen0 #1 [509111.024371] RIP: e030:[] {dma_map_single+347} [509111.024382] RSP: e02b:ffff88001eb17bc8 EFLAGS: 00010296 [509111.024386] RAX: 000000000000003f RBX: ffff88001fa35240 RCX: 0000000000001c3b [509111.024391] RDX: ffffffffff578000 RSI: 0000000000001c3b RDI: ffffffff803b2840 [509111.024395] RBP: 000000018b59f240 R08: 0000000000000000 R09: 0000000000001988 [509111.024399] R10: 000000000000003d R11: 0000000000000005 R12: 0000000000000008 [509111.024403] R13: ffff880001a10870 R14: ffff88001ee4dad4 R15: 0000000000000010 [509111.024410] FS: 00002ad34d8996d0(0000) GS:ffffffff804eb000(0000) knlGS:0000000000000000 [509111.024414] CS: e033 DS: 0000 ES: 0000 [509111.024418] Process khubd (pid: 1422, threadinfo ffff88001eb16000, task ffff88001ee36800) [509111.024422] Stack: ffff88001ee4dac0 ffff88001ee4dac0 0000000000000000 ffff88001fe1e800 [509111.024429] ffff88001fe1e048 ffffffff8801cabe ffffffffffffe404 ffffffff801247d5 [509111.024437] 0000000000001bfc 0000000000001bfc [509111.024441] Call Trace: {:usbcore:hcd_submit_urb+1613} [509111.024463] {__call_console_drivers+65} {release_console_sem+311} [509111.024475] {vprintk+583} {:usbcore:timeout_kill+0} [509111.024492] {:usbcore:usb_start_wait_urb+70} {printk+78} [509111.024510] {:usbcore:usb_control_msg+193} {:usbcore:hub_port_init+556} [509111.024535] {:usbcore:hub_thread+1561} {autoremove_wake_function+0} [509111.024554] {keventd_create_kthread+0} {:usbcore:hub_thread+0} [509111.024569] {keventd_create_kthread+0} {kthread+205} [509111.024578] {child_rip+8} {keventd_create_kthread+0} [509111.024587] {kthread+0} {child_rip+0} [509111.024595] [509111.024595] Code: 0f 0b 68 8a f4 35 80 c2 35 01 5a 5b 48 89 e8 5d 41 5c 41 5d [509111.024609] RIP {dma_map_single+347} RSP [509111.024617] <7>pnp: the driver 'parport_pc' has been registered