Public bug reported:

I've got a pci USB hub exported to a domU (to have cups drive it). As you can 
see below, it doesn't work very well. 
It's an single CPU amd64 machine with linux-image 2.6.24-21.42.
Although the kernel is Ubuntu, the rest of this domU is debian testing (the 
combination worked very well when the USB was not exported to the domU).

Dom0 is linux-image 2.6.24-21.42smb2 (from Stefan Baders PPA to work around 
that iov_iter_advance bug).
xen is 3.3 from Ubuntu.

[   46.804468] Fatal DMA error! Please use 'swiotlb=force'
[   46.804534] ------------[ cut here ]------------
[   46.804543] kernel BUG at 
/build/buildd/linux-2.6.24/debian/build/custom-source-xen/arch/x86/kernel/pci-dma_32-xen.c:372!
[   46.804554] invalid opcode: 0000 [1] SMP 
[   46.804574] CPU 0 
[   46.804589] Modules linked in: nfsd auth_rpcgss exportfs ipv6 ppdev 
parport_pc lp parport nfs lockd nfs_acl sunrpc af_packet dm_snapshot dm_mirror 
dm_mod evdev usblp ext3 jbd mbcache uhci_hcd usbcore
[   46.804751] Pid: 3490, comm: usb Not tainted 2.6.24-21-xen #1
[   46.804755] RIP: e030:[<ffffffff8021439e>]  [<ffffffff8021439e>] 
dma_map_single+0x18e/0x210
[   46.804769] RSP: e02b:ffff8800255ebd88  EFLAGS: 00010292
[   46.804772] RAX: 000000000000003e RBX: ffff880002388040 RCX: 0000000000000001
[   46.804776] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   46.804779] RBP: ffff8800257b8000 R08: 0000000269945ac9 R09: 0000000000000000
[   46.804782] R10: ffff8800018e3fe0 R11: 0000000000000001 R12: 0000000000002000
[   46.804786] R13: ffff880023c2a070 R14: 0000000000000000 R15: 0000000000000000
[   46.804795] FS:  00007fcd8df7a6e0(0000) GS:ffffffff805c7000(0000) 
knlGS:0000000000000000
[   46.804798] CS:  e033 DS: 0000 ES: 0000
[   46.804802] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   46.804805] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   46.804809] Process usb (pid: 3490, threadinfo ffff8800255ea000, task 
ffff880024551040)
[   46.804812] Stack:  0000000000000000 ffff880024b95a80 00000000000000d0 
ffff880023a43400
[   46.804820]  ffff880024b95a90 ffffffff8800807b 0000000000000010 
0000000000000010
[   46.804826]  00000000000000d0 ffffffff80299c0c ffff880025404940 
00000000257b8000
[   46.804832] Call Trace:
[   46.804869]  [<ffffffff8800807b>] :usbcore:usb_hcd_submit_urb+0x1bb/0x8f0
[   46.804875]  [<ffffffff80299c0c>] kmem_cache_alloc+0xfc/0x120
[   46.804884]  [<ffffffff80299cbe>] cache_alloc_refill+0x8e/0x5f0
[   46.804900]  [<ffffffff88008d0e>] :usbcore:usb_get_urb+0xe/0x20
[   46.804908]  [<ffffffff88070026>] :usblp:usblp_write+0x196/0x370
[   46.804915]  [<ffffffff8029e16d>] vfs_write+0xed/0x190
[   46.804920]  [<ffffffff8029e873>] sys_write+0x53/0x90
[   46.804925]  [<ffffffff8020c698>] system_call+0x68/0x6d
[   46.804929]  [<ffffffff8020c630>] system_call+0x0/0x6d
[   46.804933] 
[   46.804934] 
[   46.804935] Code: 0f 0b eb fe 48 ba 00 00 00 00 ff ff ff ff e9 74 ff ff ff 
48 
[   46.804953] RIP  [<ffffffff8021439e>] dma_map_single+0x18e/0x210
[   46.804958]  RSP <ffff8800255ebd88>
[   46.804991] ---[ end trace b9c6a7ee117b3b51 ]---

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
kernel BUG when using USB in domU (xen)
https://bugs.launchpad.net/bugs/273616
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to