Illumos boot

Matt Churchyard matt.churchyard at userve.net
Thu Oct 15 17:25:49 UTC 2015



>> -s 0,hostbridge

> Things should work if you leave out the hostbridge. The PCIe
> capability that is tacked on to this will make Illumos use MSI/MSIx for
> the virtio adapter which apparently hits a bug in the driver. Without
> it, the virtio driver will fall back to legacy interrupts. This also
> means that the virtio adapter will be confined to slots 3/4/5/6.

> [root at smartos ~]# echo ::interrupts | mdb -k
> IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s)
> 1    0x40 5   ISA    Edg Fixed  0   1     0x0/0x1   i8042_intr
> 3    0xb1 12  ISA    Edg Fixed  0   1     0x0/0x3   asyintr
> 4    0xb0 12  ISA    Edg Fixed  0   1     0x0/0x4   asyintr
> 9    0x81 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x41 5   ISA    Edg Fixed  1   1     0x0/0xc   i8042_intr
> 16   0x42 5   PCI    Lvl Fixed  1   1     0x0/0x10  ahci_intr
> 17   0x43 5   PCI    Lvl Fixed  0   1     0x0/0x11  ahci_intr
> 18   0x60 6   PCI    Lvl Fixed  1   1     0x0/0x12  virtio_intx_dispatch
> 160  0xa0 0          Edg IPI    all 0     -         poke_cpu
> 208  0xd0 14         Edg IPI    all 1     -         kcpc_hw_overflow_intr
> 209  0xd1 14         Edg IPI    all 1     -         cbe_fire
> 210  0xd3 14         Edg IPI    all 1     -         cbe_fire
> 240  0xe0 15         Edg IPI    all 1     -         xc_serv
> 241  0xe1 15         Edg IPI    all 1     -         apic_error_intr


>   (I believe Andriy Gapon (cc'd) has a fix for this in Illumos)

> later,

> Peter.

Thanks Peter. I can't believe how many times I checked you Illumos instructions making sure there were no obvious differences, and didn't notice the hostbridge was missing. I think I just had it in my mind that the hostbridge was a basic required device.

Regards
Matt


More information about the freebsd-virtualization mailing list