NetBSD-Bugs archive

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

kern/47116: NetBSD fails to run in KVM on Fedora Linux: "panic: pci_make_tag: bad request"



>Number:         47116
>Category:       kern
>Synopsis:       NetBSD fails to run in KVM on Fedora Linux: "panic: 
>pci_make_tag: bad request"
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 23 21:25:00 +0000 2012
>Originator:     Ken Jackson
>Release:        6.0 amd64
>Organization:
>Environment:
NetBSD guest:
(can't boot to any prompt)
Linux Host:
Linux xxxxxx 3.6.2-4.fc17.x86_64 #1 SMP Wed Oct 17 02:43:21 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux

>Description:
Trying to run NetBSD 6.0 amd64 as a guest in Fedora Linux Qemu/KVM fails:

    ...
    ioapic0 at mainbus0 apid 1
    acpi0 at mainbus0: Intel ACPICA 20110623
    panic: pci_make_tag: bad request
    fatal breakpoint trap in supervisor mode
    trap type 1 code 0 rip ffffffff80252d0d cs 8 rflags 246 cr2  0 cpl 8 rsp 
ffffffff80fcab10
    Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
    db{0}>

The host CPU is an Intel Core i7 with 8GB RAM.
>How-To-Repeat:
On the Fedora Linux host, run this command:
    qemu-kvm -boot c -cdrom amd64cd-6.0.iso &

When the NetBSD guest presents the menu (white text in the SDL window), press 
'1' to install or wait for the timeout.
The guest scrolls its the second level boot (green text) until it fails 
displaying the error text above.

Also, NetBSD 5.1.2 failed with different error text:

    ...
    warning: no /dev/console
    panic: cnopen: no console device
    fatal breakpoint trap in supervisor mode
    trap type 1 code 0 rip ffffffff80527525 cs 8 rflags 246 cr2 7f7ffde3e188 
cpl 0 rsp ffff80000a7f57f0
    Stopped in pid 2.1 (sh) at      0xffffffff80527525:     leave
    db[0}>


However, NetBSD 5.1.2 did not fail with the previous release of Fedora Linux, 
16.

This may be a bug in Fedora Linux Qemu/KVM, but other OS guests work and I sure 
would like to use NetBSD, so I hope NetBSD can be modified to accommodate KVM.

The Linux bug report has not yet yielded any results:
https://bugzilla.redhat.com/show_bug.cgi?id=830261

>Fix:
None.



Home | Main Index | Thread Index | Old Index