Derived1964,
You test the kernel and initrd together.
The kernel provides drivers for the hardware and the initrd will use them to access the underlying devices.
8086:7000 is a Intel 82371SB PIIX3 ISA [Natoma/Triton II chipset, as faked by QEMU
8086:1237 is a Intel 440FX - 82441FX PMC [Natoma]
8086:7113 is a Intel 82371AB/EB/MB PIIX4 ACPI, using the piix4_smbus kernel driver.
8086:100e is an intel network card using the e1000 kernel driver.
8086:7010 is a Intel PIIX/ICH chipset. In its day it was an IDE chipset. You need its driver to see any (emulated) HDD attached to it.
1234:1111 is a qemu stdvga device.
That's the hardware QEMU is exposing to the guest. The alternative is Virtio. From one of my guests.
Code: Select all
$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0]
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
00:01.0 VGA compatible controller [0300]: Red Hat, Inc. QXL paravirtual graphic card [1b36:0100] (rev 05)
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
00:02.0 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:02.1 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:02.2 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:02.3 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:02.5 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:02.6 PCI bridge [0604]: Red Hat, Inc. QEMU PCIe Root port [1b36:000c]
Subsystem: Red Hat, Inc. QEMU PCIe Root port [1b36:0000]
Kernel driver in use: pcieport
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IB (ICH9) LPC Interface Controller [8086:2918] (rev 02)
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
00:1f.2 SATA controller [0106]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] [8086:2922] (rev 02)
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
01:00.0 Ethernet controller [0200]: Red Hat, Inc. Virtio 1.0 network device [1af4:1041] (rev 01)
Subsystem: Red Hat, Inc. Virtio 1.0 network device [1af4:1100]
Kernel driver in use: virtio-pci
02:00.0 USB controller [0c03]: Red Hat, Inc. QEMU XHCI Host Controller [1b36:000d] (rev 01)
Subsystem: Red Hat, Inc. QEMU XHCI Host Controller [1af4:1100]
03:00.0 Communication controller [0780]: Red Hat, Inc. Virtio 1.0 console [1af4:1043] (rev 01)
Subsystem: Red Hat, Inc. Virtio 1.0 console [1af4:1100]
Kernel driver in use: virtio-pci
04:00.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio 1.0 block device [1af4:1042] (rev 01)
Subsystem: Red Hat, Inc. Virtio 1.0 block device [1af4:1100]
Kernel driver in use: virtio-pci
05:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio 1.0 memory balloon [1af4:1045] (rev 01)
Subsystem: Red Hat, Inc. Virtio 1.0 memory balloon [1af4:1100]
Kernel driver in use: virtio-pci
06:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio 1.0 RNG [1af4:1044] (rev 01)
Subsystem: Red Hat, Inc. Virtio 1.0 RNG [1af4:1100]
Kernel driver in use: virtio-pci
Going back to your Intel PIIX/ICH chipset. it requires either
Code: Select all
# CONFIG_ATA_PIIX is not set
# CONFIG_PATA_OLDPIIX is not set
Setting both to yes is harmless.
It does not need
That's for even older PIO mode only chipsets.
You don't have emulated SATA disks. They will be IDE but they will have /dev/sd... names.
Your initrd init script sould catch failures and drop you to a shell, so you can investigate, it should never allow the kernel to panic.
Please post your init script.