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-users

RE: [Xen-users] passthrough PCI SCSI device

On Mon, 2010-04-26 at 17:18 +0200, Matej Zary wrote:
> If i got the question right
> 
> xm start nameofvm -c
> 
> 
> Regards 
> 
> Matej

Thanks, that helped a lot. Now, anyone have any suggestions for this?
Where would I use swiotlb=force?

SCSI subsystem initialized
Fusion MPT base driver 3.04.07_suse
Copyright (c) 1999-2008 LSI Corporation
Fusion MPT SPI Host driver 3.04.07_suse
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
mptbase: ioc0: Initiating bringup
ioc0: LSI53C1030 C0: Capabilities={Initiator,Target}
scsi0 : ioc0: LSI53C1030 C0, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=30
Fatal DMA error! Please use 'swiotlb=force'
------------[ cut here ]------------
kernel BUG at arch/i386/kernel/pci-dma-xen.c:106!
invalid opcode: 0000 [#1]
SMP 
last sysfs file: /class/net/eth2/type
Modules linked in: mptspi mptscsih mptbase scsi_transport_spi joydev scsi_mod 
ext3 jbd xennet dm_mirror dm_snapshot dm_mod processor xenblk
CPU:    0
EIP:    0061:[<c010c197>]    Not tainted VLI
EFLAGS: 00210092   (2.6.16.60-0.54.5-xenpae #1) 
EIP is at dma_map_sg+0x207/0x230
eax: 0000002f   ebx: ffffffff   ecx: 00000000   edx: 00000001
esi: 89a623c0   edi: 00000003   ebp: ed232600   esp: ecee9a58
ds: 007b   es: 007b   ss: 0069
Process modprobe (pid: 1239, threadinfo=ecee8000 task=c1aca330)
Stack: <0>c0330f04 ee3a2aa6 ed232600 ed30046c 00000001 ed232600 ed639848 
00000000 
       00000000 00000002 ed639848 ed509000 ecf0cd00 ee394728 00000002 ed5d79a4 
       ecdae01c 00000010 ed5de980 00000000 00000001 00000001 00000001 00000006 
Call Trace:
 [<ee3a2aa6>] mpt_get_msg_frame+0xc6/0x100 [mptbase]
 [<ee394728>] mptscsih_qcmd+0x278/0x8d0 [mptscsih]
 [<ee2baf5f>] scsi_prep_fn+0x20f/0x4b0 [scsi_mod]
 [<c012ed90>] lock_timer_base+0x20/0x50
 [<c012ed90>] lock_timer_base+0x20/0x50
 [<c012eed9>] __mod_timer+0x99/0xc0
 [<ee2b4aba>] scsi_dispatch_cmd+0x16a/0x2b0 [scsi_mod]
 [<ee2bab42>] scsi_request_fn+0x222/0x430 [scsi_mod]
 [<c01f0cc6>] __generic_unplug_device+0x26/0x30
 [<c01f0ee5>] generic_unplug_device+0x15/0x50
 [<c01f0ffa>] blk_execute_rq+0x7a/0xf0
 [<c01f0200>] blk_end_sync_rq+0x0/0x20
 [<c01848ee>] bio_add_pc_page+0x2e/0x40
 [<c01849bb>] bio_map_kern+0xbb/0x100
 [<ee2ba3a2>] scsi_execute+0xd2/0x100 [scsi_mod]
 [<ee2ba44e>] scsi_execute_req+0x7e/0x100 [scsi_mod]
 [<ee2bbbe0>] scsi_probe_and_add_lun+0x230/0xb90 [scsi_mod]
 [<ee2bcb4e>] __scsi_scan_target+0xde/0x6d0 [scsi_mod]
 [<c01feb31>] idr_get_new_above_int+0xe1/0x280
 [<c01fecda>] idr_get_new+0xa/0x30
 [<ee2bd1b7>] scsi_scan_channel+0x77/0x90 [scsi_mod]
 [<ee2bd24d>] scsi_scan_host_selected+0x7d/0x130 [scsi_mod]
 [<ee2b577c>] scsi_add_host+0x19c/0x1c0 [scsi_mod]
 [<ee2bd321>] scsi_scan_host+0x21/0x30 [scsi_mod]
 [<ee3851ba>] mptspi_probe+0x39a/0x460 [mptspi]
 [<c020e56b>] pci_device_probe+0x5b/0x80
 [<c026f2a2>] driver_probe_device+0x52/0xc0
 [<c026f41e>] __driver_attach+0x8e/0x90
 [<c026ec1a>] bus_for_each_dev+0x3a/0x60
 [<c026f1c6>] driver_attach+0x16/0x20
 [<c026f390>] __driver_attach+0x0/0x90
 [<c026e8bc>] bus_add_driver+0x8c/0x140
 [<c020e726>] __pci_register_driver+0x66/0xa0
 [<ee2550a5>] mptspi_init+0xa5/0xc3 [mptspi]
 [<c0142270>] sys_init_module+0x110/0x1c48
 [<c03186d8>] mutex_lock+0x8/0x20
 [<c0105aad>] syscall_call+0x7/0xb
Code: e8 8f 8f 01 00 0f 0b 6d 00 e4 0e 33 c0 e9 d6 fe ff ff 0f 0b 65 00 e4 0e 
33 c0 e9 f4 fe ff ff c7 04 24 04 0f 33 c0 e8 69 8f 01 00 <0f> 0b 6a 00 e4 0e 33 
c0 e9 82 fe ff ff 0f 0b 22 00 4c 07 33 c0 

Thanks,
James


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