All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Nadolski, Ed" <Ed.Nadolski@lsi.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: HVM hangs during boot with VTd passthru of QLogic FC HBA
Date: Tue, 16 Mar 2010 13:38:49 -0400	[thread overview]
Message-ID: <20100316173849.GA1029@phenom.dumpdata.com> (raw)
In-Reply-To: <8115AF16522A3D4383C1FF753036713F9B3226B0@cosmail01.lsi.com>

> (XEN) HVM2: PCI device 1033:014f not found at index 0

Which second device is that?
> 
> Any thoughts on what this might mean?  Maybe some kind of mapping issue?

.. snip..
> (XEN) domctl.c:991:d0 memory_map:add: gfn=f3000 mfn=dfc00 nr_mfns=40
Here the BIOS is loaded...
> (XEN) HVM2: Loading PCI Option ROM ...
> (XEN) HVM2:  - Manufacturer: QLogic
> (XEN) HVM2:  - Product name:
> (XEN) domctl.c:1001:d0 memory_map:remove: gfn=f3000 mfn=dfc00 nr_mfns=40
Unloaded..
> (XEN) domctl.c:991:d0 memory_map:add: gfn=f3040 mfn=dc000 nr_mfns=40

Then something at a lower location (DC00) gets loaded
> (XEN) domctl.c:1001:d0 memory_map:remove: gfn=f3040 mfn=dc000 nr_mfns=40

unloaded..
> (XEN) domctl.c:991:d0 memory_map:add: gfn=f3080 mfn=dfa00 nr_mfns=40
> (XEN) domctl.c:1001:d0 memory_map:remove: gfn=f3080 mfn=dfa00 nr_mfns=40
> (XEN) domctl.c:991:d0 memory_map:add: gfn=f30c0 mfn=dc100 nr_mfns=40
> (XEN) domctl.c:1001:d0 memory_map:remove: gfn=f30c0 mfn=dc100 nr_mfns=40

That looks to me that it actually unloaded the QLogic BIOS?

I would suggest you instrument QEMU/Bochs BIOS (or turn the debugging
way up)to see how it loads the BIOS. It could be that it cannot find
space for a 256kB BIOS and tries its best.

> (XEN) HVM2: Loading ACPI ...
> (XEN) HVM2:  - Lo data: 000ea020-000ea04f
> (XEN) HVM2:  - Hi data: fc002c00-fc012d1f
> (XEN) HVM2: vm86 TSS at fc013000
> (XEN) HVM2: BIOS map:
> (XEN) HVM2:  c0000-c8fff: VGA BIOS
> (XEN) HVM2:  c9000-d47ff: PCI Option ROMs
> (XEN) HVM2:  eb000-eb148: SMBIOS tables
> (XEN) HVM2:  f0000-fffff: Main BIOS
> (XEN) HVM2: Invoking ROMBIOS ...
> (XEN) HVM2: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
> (XEN) stdvga.c:147:d2 entering stdvga and caching modes
> (XEN) HVM2: VGABios $Id: vgabios.c,v 1.67 2008/01/27 09:44:12 vruppert Exp $
> (XEN) HVM2: Bochs BIOS - build: 06/23/99
> (XEN) HVM2: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
> (XEN) HVM2: Options: apmbios pcibios eltorito PMM
> (XEN) HVM2:
> (XEN) HVM2: ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
> (XEN) HVM2: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (20480 MBytes)
> (XEN) HVM2: IDE time out
> (XEN) HVM2:
> (XEN) HVM2: PCI device 1077:2432 not found at index 4
> (XEN) HVM2: PCI device 1033:014f not found at index 0

      reply	other threads:[~2010-03-16 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 16:55 HVM hangs during boot with VTd passthru of QLogic FC HBA Nadolski, Ed
2010-03-16 17:38 ` Konrad Rzeszutek Wilk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100316173849.GA1029@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Ed.Nadolski@lsi.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.