All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: LSI SAS2008 Option Rom Failure
@ 2012-07-18 21:02 ivo
  2012-07-18 23:52 ` David Erickson
  0 siblings, 1 reply; 49+ messages in thread
From: ivo @ 2012-07-18 21:02 UTC (permalink / raw)
  To: xen-devel, halcyon1981


[-- Attachment #1.1: Type: text/plain, Size: 391 bytes --]

I should also mention I've seen the following messages that probably aren't
good when using the xen-qemu device model and pass-thru.  On startup:

libxl: error: libxl_qmp.c:288:qmp_handle_error_response: received an error
message from QMP server: Parameter 'driver' expects a driver name

I solved this by using the latest version of qemu-devel git:


http://wiki.xen.org/wiki/QEMU_Upstream

[-- Attachment #1.2: Type: text/html, Size: 1471 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 49+ messages in thread
* LSI SAS2008 Option Rom Failure
@ 2012-07-18  9:47 David Erickson
  2012-07-18  9:59 ` Ian Campbell
  0 siblings, 1 reply; 49+ messages in thread
From: David Erickson @ 2012-07-18  9:47 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

Hi-
I am trying to pass an LSI SAS2008-based HBA (IBM M1015) through to an
HVM Solaris VM, using Xen 4.2 unstable and the qemu-traditional device
model.  On boot I see the following error:

MPT BIOS Fault 09h encountered at adapter PCI(00h,05h,00h)

A list search yielded
(http://comments.gmane.org/gmane.comp.emulators.xen.devel/128172),
however there was no solution for an HVM VM.  I've attached the log
file for booting.  The expansion/option ROM gets installed at
0xf7a00000 and is first accessed and mapped with the line:

pt_iomem_map: e_phys=f3000001 maddr=f7a00000 type=8 len=524288 index=6
first_map=1

However the following log line seems to immediately map the same
address space to a strange e_phys location:

pt_iomem_map: e_phys=ffffffff maddr=f7a00000 type=8 len=524288 index=6
first_map=0

Any help or suggestions would be appreciated.  I have tested the same
card using PCI pass-through on ESXi and it functioned properly there.

Thanks!
David

[-- Attachment #2: qemu-dm-solaris.log --]
[-- Type: application/octet-stream, Size: 3589 bytes --]

domid: 21
-videoram option does not work with cirrus vga device model. Videoram set to 4M.
Strip off blktap sub-type prefix to /mnt/solarisdisk (drv 'aio')
Using file /mnt/solarisdisk in read-write mode
Strip off blktap sub-type prefix to /home/derickso/sol-11-1111-live-x86.iso (drv 'aio')
Using file /home/derickso/sol-11-1111-live-x86.iso in read-only mode
Watching /local/domain/0/device-model/21/logdirty/cmd
Watching /local/domain/0/device-model/21/command
Watching /local/domain/21/cpu
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = f56665e9-bb6f-4492-9f5c-bb82328a7dbb
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error
xen be: qdisk-768: xen be: qdisk-768: xc_gnttab_set_max_grants failed: Invalid argument
xc_gnttab_set_max_grants failed: Invalid argument
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error
xen be: qdisk-5632: xen be: qdisk-5632: xc_gnttab_set_max_grants failed: Invalid argument
xc_gnttab_set_max_grants failed: Invalid argument
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/21/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error. /vm/f56665e9-bb6f-4492-9f5c-bb82328a7dbb/vncpasswd.
medium change watch on `hdc' (index: 1): aio:/home/derickso/sol-11-1111-live-x86.iso
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
vcpu-set: watch node error.
xs_read(/local/domain/21/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/21/log-throttling'
medium change watch on `/local/domain/21/log-throttling' - unknown device, ignored
dm-command: hot insert pass-through pci dev 
register_real_device: Assigning real physical device 02:00.0 ...
register_real_device: Enable MSI translation via per device option
register_real_device: Enable power management
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x2:0x0.0x0
pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000d001)
pt_register_regions: IO region registered (size=0x00004000 base_addr=0xf7ac0004)
pt_register_regions: IO region registered (size=0x00040000 base_addr=0xf7a80004)
pt_register_regions: Expansion ROM registered (size=0x00080000 base_addr=0xf7a00000)
pt_msix_init: get MSI-X table bar base f7ac0000
pt_msix_init: table_off = 2000, total_entries = 15
pt_msix_init: mapping physical MSI-X table to 7f6ec18ed000
pt_msi_setup: msi mapped with pirq 37
pci_intx: intx=1
register_real_device: Real physical device 02:00.0 registered successfuly!
IRQ type = MSI-INTx
cirrus vga map change while on lfb mode
pt_iomem_map: e_phys=f3080000 maddr=f7a80000 type=0 len=262144 index=3 first_map=1
pt_iomem_map: e_phys=f30c0000 maddr=f7ac0000 type=0 len=16384 index=1 first_map=1
pt_ioport_map: e_phys=c200 pio_base=d000 len=256 index=0 first_map=1
pt_iomem_map: e_phys=f3000001 maddr=f7a00000 type=8 len=524288 index=6 first_map=1
pt_iomem_map: e_phys=ffffffff maddr=f7a00000 type=8 len=524288 index=6 first_map=0
mapping vram to f0000000 - f0400000
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2012-08-06 10:23 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18 21:02 LSI SAS2008 Option Rom Failure ivo
2012-07-18 23:52 ` David Erickson
2012-07-19  0:18   ` David Erickson
2012-07-19  0:24     ` ivo
2012-07-19  0:56       ` David Erickson
2012-07-19  1:02         ` David Erickson
     [not found]           ` <CAHyyzzTMX4wcg+DNEL91dWmo0R-6oGJLNH5O50bSUeHkmTWAwQ@mail.gmail.com>
2012-07-19  3:56             ` David Erickson
2012-07-19  7:22               ` Ian Campbell
2012-07-19 10:57                 ` Anthony PERARD
2012-07-19 11:07                   ` Ian Campbell
2012-07-19 11:31                     ` Anthony PERARD
2012-07-19 11:38                       ` Ian Campbell
2012-07-19 11:44                         ` Anthony PERARD
2012-07-19 11:48                           ` Ian Campbell
2012-07-19 11:48                         ` Stefano Stabellini
2012-07-19 11:59                           ` Ian Campbell
2012-07-19 12:00                 ` Stefano Stabellini
2012-07-19 15:27                   ` David Erickson
2012-07-31  7:35                     ` David Erickson
2012-07-31  9:04                       ` Ian Campbell
2012-07-31  9:35                         ` Jan Beulich
2012-07-31  9:41                           ` Ian Campbell
2012-07-31  9:47                             ` Jan Beulich
2012-07-31 10:08                               ` Anthony PERARD
2012-07-31 15:32                             ` David Erickson
2012-07-31 10:16                           ` Stefano Stabellini
2012-07-31 15:28                         ` David Erickson
2012-07-31 15:35                           ` Ian Campbell
2012-07-31 16:12                             ` David Erickson
2012-07-31 11:39                       ` Stefano Stabellini
2012-07-31 16:05                         ` David Erickson
2012-08-01 11:13                           ` Stefano Stabellini
2012-08-01 17:52                             ` David Erickson
2012-08-02  7:45                               ` Ian Campbell
2012-08-02 16:24                                 ` David Erickson
2012-08-02 16:45                                   ` Ian Campbell
2012-08-02 17:10                                     ` David Erickson
2012-08-02 17:12                                       ` David Erickson
2012-08-02 18:39                                         ` Ian Campbell
2012-08-02 17:38                               ` David Erickson
2012-08-03 16:50                                 ` David Erickson
2012-08-06 10:23                                   ` Stefano Stabellini
2012-07-19  0:18   ` ivo
  -- strict thread matches above, loose matches on Subject: below --
2012-07-18  9:47 David Erickson
2012-07-18  9:59 ` Ian Campbell
2012-07-18 17:55   ` David Erickson
2012-07-18 18:19     ` David Erickson
2012-07-18 19:14       ` David Erickson
2012-07-18 20:13         ` James Regan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.