Skip to contentSkip to conversation

Unknown PCI Bridge

Qemu-devel Chris Bagwell 5 participants 10 messages May 4, 2006 – May 6, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,

I upgraded to current CVS (0.8.1 plus a couple of patches like acpi). Last time I upgraded was about 1 week ago.

When I ran this version with a win98 guest, windows detected a new device called "PCI Bridge". It was unable to find a driver for this on the win98 CD and placed it as not working in the "other devices" section of device manager.

Doesn't seem to harm anything. I was guessing it had something to do with the acpi patches but haven't verified. Any ideas?

Chris

#1 lore raw
Quoted 7 lines · Chris Bagwell

Hi all,

I upgraded to current CVS (0.8.1 plus a couple of patches like acpi). Last time I upgraded was about 1 week ago.

When I ran this version with a win98 guest, windows detected a new device called "PCI Bridge". It was unable to find a driver for this on the win98 CD and placed it as not working in the "other devices" section of device manager.

Doesn't seem to harm anything. I was guessing it had something to do with the acpi patches but haven't verified. Any ideas?

Yes, ACPI adds a new PCI device so it is normal. I am interested by any regression found using the current CVS with ACPI...

Fabrice.

#2 lore raw
Quoted 2 lines

Yes, ACPI adds a new PCI device so it is normal. I am interested by any regression found using the current CVS with ACPI...

I think, this answer is fairly useless for the OP.
So perhaps the OP wanted to ask: how do i tell my Win2k to properly use the new PCI device?

I'm especially interested in this question: is qemu's current ACPI PCI device so normal, that it would be recognized and properly used by a newly installed Win2k?

qemu's ACPI PCI device doesn't seem to be _that_ normal/known. At least a recent Knoppix lists it as "Bridge: Intel Corp.: Inknown device 7013".

BTW: how can i test ACPI with Linux?
At least "cat /proc/acpi/info" works fine and shows:
version: 20050309

Greetings
Sven

#8 lore raw
In reply to Fabrice Bellard
Quoted 11 lines · Fabrice Bellard
Quoted 10 lines · Chris Bagwell

Hi all,

I upgraded to current CVS (0.8.1 plus a couple of patches like acpi). Last time I upgraded was about 1 week ago.

When I ran this version with a win98 guest, windows detected a new device called "PCI Bridge". It was unable to find a driver for this on the win98 CD and placed it as not working in the "other devices" section of device manager.

Quoted 5 lines
Quoted 2 lines

Doesn't seem to harm anything. I was guessing it had something to do with the acpi patches but haven't verified. Any ideas?

Yes, ACPI adds a new PCI device so it is normal. I am interested by any regression found using the current CVS with ACPI...

Win2k and Linux 2.6 (w/o kqemu) seem to work fine.

with -kernel-kqemu and 2.6.15, I get:

Uncompressing Linux... Ok, booting the kernel. BIOS bug, local APIC #0 not detected! IOAPIC[0]: Invalid reference to IRQ 0 IOAPIC[0]: Invalid reference to IRQ 0
PCI PIIX3: Enabling Passive Release on 0000:00:01.0 ALERT! /dev/hda1 does not exist. Dropping to a shell!

Regards,

Anthony Liguori

Quoted 1 line

Fabrice.

#3 lore raw
In reply to Sven Köhler
Quoted 7 lines · Sven K?hler
Quoted 2 lines

Yes, ACPI adds a new PCI device so it is normal. I am interested by any regression found using the current CVS with ACPI...

I think, this answer is fairly useless for the OP.
So perhaps the OP wanted to ask: how do i tell my Win2k to properly use the new PCI device?

Quoted 8 lines

I'm especially interested in this question: is qemu's current ACPI PCI device so normal, that it would be recognized and properly used by a newly installed Win2k?

qemu's ACPI PCI device doesn't seem to be _that_ normal/known. At least a recent Knoppix lists it as "Bridge: Intel Corp.: Inknown device 7013".

Wrong device id, should be 0x7113.

--
mailto:[email protected]

Index: hw/acpi.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/acpi.c,v
retrieving revision 1.1

acpi.c +1 -1
diff -u -r1.1 acpi.c
@@ -234,7 +234,7 @@
     pci_conf[0x00] = 0x86;
     pci_conf[0x01] = 0x80;
     pci_conf[0x02] = 0x13;
-    pci_conf[0x03] = 0x70;
+    pci_conf[0x03] = 0x71;
     pci_conf[0x08] = 0x00; // revision number
     pci_conf[0x09] = 0x00;
     pci_conf[0x0a] = 0x80; // other bridge device
#4 lore raw
Quoted 4 lines
Quoted 2 lines

qemu's ACPI PCI device doesn't seem to be _that_ normal/known. At least a recent Knoppix lists it as "Bridge: Intel Corp.: Inknown device 7013".

Wrong device id, should be 0x7113.

Hmmm, i looked it up, and i think i know why the author "preferred" 7013 instead of 7113.

7113 is 82371AB/EB/MB PIIX4 ACPI, but all the other qemu-hardware is only PIIX3 - afaik.

So using 7113 would mean, that the PIIX4 stuff gets mixed with PIIX3 stuff. I don't know, how odd that might seem to some OS.

Beside that, a PIIX3-ACPI-device doesn't seem to exist in the pciid-database.

#5 lore raw
Quoted 10 lines · Sven K?hler
Quoted 4 lines
Quoted 2 lines

qemu's ACPI PCI device doesn't seem to be _that_ normal/known. At least a recent Knoppix lists it as "Bridge: Intel Corp.: Inknown device 7013".

Wrong device id, should be 0x7113.

Hmmm, i looked it up, and i think i know why the author "preferred" 7013 instead of 7113.

7113 is 82371AB/EB/MB PIIX4 ACPI, but all the other qemu-hardware is only PIIX3 - afaik.

It makes zero difference, 7013 is something that does not exist at all and 7113 makes OSes dance a happy dance.

Quoted 3 lines

So using 7113 would mean, that the PIIX4 stuff gets mixed with PIIX3 stuff. I don't know, how odd that might seem to some OS.

It's irrelevant to any OS that i know of.

Quoted 3 lines

Beside that, a PIIX3-ACPI-device doesn't seem to exist in the pciid-database.

Huh?

Signature · 1 line
mailto:[email protected]
#6 lore raw
Quoted 4 lines
Quoted 2 lines

So using 7113 would mean, that the PIIX4 stuff gets mixed with PIIX3 stuff. I don't know, how odd that might seem to some OS.

It's irrelevant to any OS that i know of.

;-)

Quoted 4 lines
Quoted 2 lines

Beside that, a PIIX3-ACPI-device doesn't seem to exist in the pciid-database.

Huh?

# cat /usr/share/misc/pci.ids|grep -i PIIX3
        7000  82371SB PIIX3 ISA [Natoma/Triton II]
        7010  82371SB PIIX3 IDE [Natoma/Triton II]
        7020  82371SB PIIX3 USB [Natoma/Triton II]
# cat /usr/share/misc/pci.ids|grep -i PIIX4
        7110  82371AB/EB/MB PIIX4 ISA
        7111  82371AB/EB/MB PIIX4 IDE
        7112  82371AB/EB/MB PIIX4 USB
        7113  82371AB/EB/MB PIIX4 ACPI

See? No PIIX3 ACPI device. That's all i tried to say.

#7 lore raw
Quoted 23 lines · Sven K?hler
Quoted 4 lines
Quoted 2 lines

So using 7113 would mean, that the PIIX4 stuff gets mixed with PIIX3 stuff. I don't know, how odd that might seem to some OS.

It's irrelevant to any OS that i know of.

;-)

Quoted 4 lines
Quoted 2 lines

Beside that, a PIIX3-ACPI-device doesn't seem to exist in the pciid-database.

Huh?

# cat /usr/share/misc/pci.ids|grep -i PIIX3
       7000  82371SB PIIX3 ISA [Natoma/Triton II]
       7010  82371SB PIIX3 IDE [Natoma/Triton II]
       7020  82371SB PIIX3 USB [Natoma/Triton II]
# cat /usr/share/misc/pci.ids|grep -i PIIX4
       7110  82371AB/EB/MB PIIX4 ISA
       7111  82371AB/EB/MB PIIX4 IDE
       7112  82371AB/EB/MB PIIX4 USB
       7113  82371AB/EB/MB PIIX4 ACPI
Quoted 1 line

See? No PIIX3 ACPI device. That's all i tried to say.

Ok.

More to the point, no machines i have in my vicinity has a PCI device dedicated to the ACPI. QEMU(old chipsets?) needed it to simplify delivery of SCI (which must support sharing and be level sensetive) having PCI device simplifies this somewhat (even though i believe QEMU does it wrong currently)

There is zero functionality in 7113 or whatnot, it is/was simply a convenience feature.

--
mailto:[email protected]

#9 lore raw
In reply to Anthony Liguori
Quoted 1 line

Win2k and Linux 2.6 (w/o kqemu) seem to work fine.

have you reinstalled Win2k?

Or did you somehow manage, to turn an already installed Win2k from a "Standard PC" into a "ACPI PC" (as the hardware-manager calls it)?