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

[Xen-devel] kernel oops with driver domains: usb ohci Fatal DMA error! P

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] kernel oops with driver domains: usb ohci Fatal DMA error! Please use 'swiotlb=force'
From: Hans-Christian Armingeon <mog.johnny@xxxxxxx>
Date: Fri, 28 Apr 2006 16:40:27 +0200
Delivery-date: Mon, 01 May 2006 02:49:47 -0700
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
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:[<ffffffff8010f680>] 
<ffffffff8010f680>{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: <ffffffff8801cabe>{:usbcore:hcd_submit_urb+1613}
[509111.024463]        <ffffffff801247d5>{__call_console_drivers+65} 
<ffffffff80124a4b>{release_console_sem+311}
[509111.024475]        <ffffffff8012546a>{vprintk+583} 
<ffffffff8801d038>{:usbcore:timeout_kill+0}
[509111.024492]        <ffffffff8801d57c>{:usbcore:usb_start_wait_urb+70} 
<ffffffff801254ee>{printk+78}
[509111.024510]        <ffffffff8801d81f>{:usbcore:usb_control_msg+193} 
<ffffffff88018e41>{:usbcore:hub_port_init+556}
[509111.024535]        <ffffffff8801a93b>{:usbcore:hub_thread+1561} 
<ffffffff80135850>{autoremove_wake_function+0}
[509111.024554]        <ffffffff801354ac>{keventd_create_kthread+0} 
<ffffffff8801a322>{:usbcore:hub_thread+0}
[509111.024569]        <ffffffff801354ac>{keventd_create_kthread+0} 
<ffffffff801355fe>{kthread+205}
[509111.024578]        <ffffffff8010af2e>{child_rip+8} 
<ffffffff801354ac>{keventd_create_kthread+0}
[509111.024587]        <ffffffff80135531>{kthread+0} 
<ffffffff8010af26>{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 <ffffffff8010f680>{dma_map_single+347} RSP 
<ffff88001eb17bc8>
[509111.024617]  <7>pnp: the driver 'parport_pc' has been registered

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

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