All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian Herbszt" <herbszt@gmx.de>
To: Juergen Lock <nox@jelal.kn-bremen.de>, qemu-devel@nongnu.org
Cc: jan.kiszka@siemens.com, freebsd-emulation@FreeBSD.org
Subject: [Qemu-devel] Re: Thanx for the kqemu patches; some notes about NetBSD/OpenBSD guests
Date: Sun, 31 May 2009 01:06:31 +0200	[thread overview]
Message-ID: <799A5F31E2B2415DA53F558FE3E2ACE7@FSCPC> (raw)
In-Reply-To: <20090530205152.GA7702@triton.kn-bremen.de>

Juergen Lock wrote:
> 2. NetBSD doesn't seem to particularly like qemu's acpi tables, it
> apparenly doesn't find a pci bus and anything on it in that case
> (like a nic our audio card; `pcictl pci0 list' says Device not configured.)
> 
> 3. When I disable acpi either via the boot menu or via -no-acpi it still
> has trouble assigning pci irqs correctly (like, uses irq 12 instead of 11
> for the nic) - this seems to have something to do with the emulated
> io-apic that it still picks up in that case - if I disable that by
> building a new bios that has this patch reverted,
> pc-bios/bios-pq/0003_kvm-bios-generate-mptable-unconditionally.patch
> the irqs at least get assigned correctly.  (Maybe the bios should only
> pass an mptable for a single cpu when there also is acpi?)

With "-no-acpi" there is no PIIX4 PM added to the bus. If i don't mistake the
mp and acpi tables aren't affected by this.

The mptable doesn't contain a pci bus entry (just isa). The linux kernel does
complain if booted with "acpi=off"; maybe NetBSD is more picky.

> Oh, if anyone wants dmesg.s of the various with/without acpi/io-apic
> combinations I can post those too, the patched bios I just put at:
> http://people.freebsd.org/~nox/qemu/pc-bios-0.10.5-no-default-mptable/bios.bin

I would like to see the output.

> (I had to end up building it on a Linux guest, our assembler said things
> like
> rombios32start.S:56: Error: `0(%ebx)' is not a valid 16 bit base/index expression
> .)

What's your tool chain (gcc, binutils,...) ?

- Sebastian

  reply	other threads:[~2009-05-30 23:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-30 20:51 [Qemu-devel] Thanx for the kqemu patches; some notes about NetBSD/OpenBSD guests Juergen Lock
2009-05-30 23:06 ` Sebastian Herbszt [this message]
2009-05-31  0:37   ` [Qemu-devel] " Juergen Lock
2009-05-31  9:29 ` [Qemu-devel] " Andreas Färber
2009-05-31 14:41   ` Juergen Lock
2009-05-31 15:59     ` Mikolaj Kucharski
2009-05-31 17:10       ` Juergen Lock

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=799A5F31E2B2415DA53F558FE3E2ACE7@FSCPC \
    --to=herbszt@gmx.de \
    --cc=freebsd-emulation@FreeBSD.org \
    --cc=jan.kiszka@siemens.com \
    --cc=nox@jelal.kn-bremen.de \
    --cc=qemu-devel@nongnu.org \
    /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.