NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/42681: NetBSD/i386 fails to find PCI devices under qemu

>Number:         42681
>Category:       port-i386
>Synopsis:       NetBSD/i386 fails to find PCI devices under qemu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 27 18:20:00 +0000 2010
>Originator:     Andreas Gustafsson
>Release:        NetBSD 5.0.1
System: NetBSD 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 
01:39:11 UTC 2009
Architecture: i386
Machine: i386

Booting NetBSD/i386 (e.g., version 5.0.1) under qemu (e.g., version
0.11.1) using qemu's and NetBSD's default ACPI settings will result in
the booted NetBSD not finding the emulated PCI bus nor any PCI

This particular bug can be worked around using qemu's -no-acpi option,
but then you will run into other bugs instead.  Fixing the default
case (ACPI enabled) would be the preferred fix.  See
for some related discussion.

It can probably be debated whether this should be fixed in qemu or in
NetBSD.  My take is that it should be fixed in both, because fixing it
in NetBSD will allow new versions of NetBSD to run under old versions
of qemu, and fixing it in qemu will allow new versions of qemu to run
old versions of NetBSD. I'm initially filing this as a NetBSD bug, but
feel free to also reporting it as a qemu bug.


Install qemu from pkgsrc and run the following commands:
  qemu -nographic -serial stdio -cdrom boot-com.iso

See that no PCI buses or PCI devices appear in the kernel boot messages.


Home | Main Index | Thread Index | Old Index