I would be surprised if your e1000g ever worked when booting a Solaris 
dom0  The ::interrupts output you provided when it worked on metal 
indicate is uses MSI interrupts.  MSI is currently not supported by Xen 
and thus not by Solaris dom0.  See CR #6451665

[EMAIL PROTECTED] wrote:
> Hi Jurgen/Garrett/all,
> 
> This may be specific to my hardware, but I cannot get things to behave 
> reliably on my system.  For instance, I've had situations under xVM dom0 
> where snv81 can see the e1000g interface with dladm show-dev, but not 
> plumb it.  Then one boot later, I can't see it with dladm, but can plumb 
> and up it with DHCP.
> 
> All of this of course wreaks havoc on NWAM.  This doesn't bother me so 
> much, but I'd like to be able to use my network every time I boot.  :)
> 
> I get similar behavior when running straight on the hardware too. 
> 
> I've generated a whole bevy of kmdb interrupt output.  I've attached 
> it.  It does seem that the HW has quite a bit of sharing going on.  How 
> does xVM handle that?
> 
> My ideal scenario would be booting under xVM with my e1000g working well 
> enough to use NWAM.  This is, after all, a laptop.
> 
> Thanks in advance for any advice,
> 
> - Matt
> 
> p.s.: the noUSB refers to my unplugging the mouse-- something I did to 
> see if I could make the darn thing deterministic, but it didn't help
> 
> Juergen Keil wrote:
>> Matt Ingenthron wrote:
>>   
>>> Garrett D'Amore wrote:
>>>     
>>>> Matt Ingenthron wrote:
>>>>       
>>>>> I'll do a live upgrade to 82, and hopefully that'll "just work" for 
>>>>> me too.  Thanks for looking into it Garrett.
>>>>>
>>>>> If you happen to think of any modifications you've made to the BIOS 
>>>>> or anything like that, please let me know.  I assume there are none 
>>>>> and it's just bugs that have been squashed post build 79b.
>>>>>         
>>>> The one thing that I've done is change the BIOS PnP OS setting so that 
>>>> BIOS configures all devices.  That is necessary for the SDcard stuff.  
>>>> I don't think it makes a difference otherwise, but maybe its something 
>>>> that Xen^WxVM is sensitive to.
>>>>       
>>> Is that the "Device Configuration", where the choices are "Setup by OS" 
>>> or "All"?  Why can't they just call it PnP?
>>>
>>> I just changed that, and sure enough, I've booted under xVM.
>>>     
>>
>> Hmm,  is there any other driver sharing the interrupt vector with
>> the e1000g device?  Run mdb -k and have a look at the ::interrupts
>> output, when not booted under xVM and with the BIOS PnP setting
>> reverted:
>>
>>   echo ::interrupts | mdb -k
>>   echo ::interrupts -d | mdb -k
>>
>>
>> Maybe e1000g is sharing the interrupt vector with another piece of hardware,
>> and that other hardware has a pending interrupt during xVM dom0 boot.  
>> e1000g driver is the first driver that is loaded, installs it's 
>> interrupt handler, the vector is unmasked, and we immediatelly get
>> interrupts on that vector, but they are not from e1000g.  There's
>> no driver to clear the interrupt condition => the system hangs.
>>
>> My Tecra S1 had such an issue with the ehci and ipw drivers
>> 6353812 "ipw driver must disable interrupts at shutdown; tecra s1 hangs on 
>> reboot"
>>    http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6353812
>>
>>   
>>> I also 
>>> changed a Virtualization enabled/disabled setting which I did not see 
>>> before.  That would seem to be important for xVM.  :)
>>>     
>>
>> Yes, probable helps with HVM domUs...
>>
>>   
>>> The NVidia driver is working just fine as well.
>>>
>>> Let me go through the matrix to see what we can figure out.  There's 
>>> either a bug or a release note to be created here I think.
>>>     
>>
>>
>>
>>   
> 
> 
> -- 
> Matt Ingenthron - Web Infrastructure Solutions Architect
> Sun Microsystems, Inc. - Global Systems Practice
> http://blogs.sun.com/mingenthron/
> email: [EMAIL PROTECTED]             Phone: 310-242-6439
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# Driver Name(s) 
> 1    0x41 5   ISA    Edg Fixed  0   1     0x0/0x1   i8042#0
> 4    0xb0 12  ISA    Edg Fixed  1   1     0x0/0x4   asy#0
> 9    0x81 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x42 5   ISA    Edg Fixed  0   1     0x0/0xc   i8042#0
> 14   0x43 5   ISA    Edg Fixed  1   1     0x0/0xe   ata#0
> 16   0x82 9   PCIe   Lvl Fixed  1   3     0x0/0x10  pcie_pci#2, uhci#0, 
> nvidia#0
> 17   0x22 1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci#1
> 18   0x20 1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci#4, ehci#0
> 19   0x40 5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci#3, ahci#0
> 20   0x60 6   PCI    Lvl Fixed  0   1     0x0/0x14  pcic#0
> 21   0x83 9   PCI    Lvl Fixed  1   1     0x0/0x15  hci1394#0
> 22   0x84 9   PCIe   Lvl Fixed  0   1     0x0/0x16  audiohd#0
> 23   0x21 1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci#2, ehci#1
> 24   0x61 6   PCI    Edg MSI    0   1     -         e1000g#0
> 160  0xa0 0          Edg IPI    all 0     -         poke_cpu
> 192  0xc0 13         Edg IPI    all 1     -         xc_serv
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s) 
> 1    0x41 5   ISA    Edg Fixed  0   1     0x0/0x1   i8042_intr
> 4    0xb0 12  ISA    Edg Fixed  1   1     0x0/0x4   asyintr
> 9    0x81 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x42 5   ISA    Edg Fixed  0   1     0x0/0xc   i8042_intr
> 14   0x43 5   ISA    Edg Fixed  1   1     0x0/0xe   ata_intr
> 16   0x82 9   PCIe   Lvl Fixed  1   3     0x0/0x10  pepb_intx_intr, 
> uhci_intr, 
> nv_intr
> 17   0x22 1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci_intr
> 18   0x20 1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci_intr, ehci_intr
> 19   0x40 5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci_intr, ahci_intr
> 20   0x60 6   PCI    Lvl Fixed  0   1     0x0/0x14  pcic_intr
> 21   0x83 9   PCI    Lvl Fixed  1   1     0x0/0x15  hci1394_isr
> 22   0x84 9   PCIe   Lvl Fixed  0   1     0x0/0x16  audiohd_intr
> 23   0x21 1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci_intr, ehci_intr
> 24   0x61 6   PCI    Edg MSI    0   1     -         e1000g_intr_pciexpress
> 160  0xa0 0          Edg IPI    all 0     -         poke_cpu
> 192  0xc0 13         Edg IPI    all 1     -         xc_serv
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect Evtchn IPL Bus    Trg Type   CPU Share APIC/INT# Driver Name(s) 
> 1    0x28 10     5   ISA    Edg Fixed  0   1     0x0/0x1   i8042#0
> 9    0x60 5      9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x78 11     5   ISA    Edg Fixed  0   1     0x0/0xc   i8042#0
> 14   0x90 25     5   ISA    Edg Fixed  0   1     0x0/0xe   ata#0
> 16   0xa8 9      9   PCIe   Lvl Fixed  1   3     0x0/0x10  pcie_pci#2, 
> uhci#0, 
> nvidia#0
> 17   0xc0 14     1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci#1
> 18   0xb0 12     1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci#4, ehci#0
> 19   0xa0 8      5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci#3, ahci#0
> 20   0xd0 21     6   PCI    Lvl Fixed  1   1     0x0/0x14  pcic#0
> 21   0xc8 20     9   PCI    Lvl Fixed  0   1     0x0/0x15  hci1394#0
> 22   0xd8 26     9   PCIe   Lvl Fixed  1   1     0x0/0x16  audiohd#0
> 23   0xb8 13     1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci#2, ehci#1
> 256  -    I      15  -      Edg ipi    all -     -         xc_serv
> 257  -    I      13  -      Edg ipi    all -     -         xc_serv
> 258  -    I      11  -      Edg ipi    all -     -         poke_cpu
> 259  -    1      15  -      Edg virq   all -     -         xen_debug_handler
> 260  -    T      14  -      Edg virq   all -     -         cbe_fire
> 261  -    I      14  -      Edg ipi    all -     -         cbe_fire
> 262  -    D      1   xpvd   Edg device 0   -     -         evtchn#0
> 263  -    22     1   -      Edg evtchn 1   -     -         xenbus_intr
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect Evtchn IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s) 
> 1    0x28 10     5   ISA    Edg Fixed  0   1     0x0/0x1   i8042_intr
> 9    0x60 5      9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x78 11     5   ISA    Edg Fixed  0   1     0x0/0xc   i8042_intr
> 14   0x90 25     5   ISA    Edg Fixed  0   1     0x0/0xe   ata_intr
> 16   0xa8 9      9   PCIe   Lvl Fixed  1   3     0x0/0x10  pepb_intx_intr, 
> uhci_intr, nv_intr
> 17   0xc0 14     1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci_intr
> 18   0xb0 12     1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci_intr, 
> ehci_intr
> 19   0xa0 8      5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci_intr, 
> ahci_intr
> 20   0xd0 21     6   PCI    Lvl Fixed  1   1     0x0/0x14  pcic_intr
> 21   0xc8 20     9   PCI    Lvl Fixed  0   1     0x0/0x15  hci1394_isr
> 22   0xd8 26     9   PCIe   Lvl Fixed  1   1     0x0/0x16  audiohd_intr
> 23   0xb8 13     1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci_intr, 
> ehci_intr
> 256  -    I      15  -      Edg ipi    all -     -         xc_serv
> 257  -    I      13  -      Edg ipi    all -     -         xc_serv
> 258  -    I      11  -      Edg ipi    all -     -         poke_cpu
> 259  -    1      15  -      Edg virq   all -     -         xen_debug_handler
> 260  -    T      14  -      Edg virq   all -     -         cbe_fire
> 261  -    I      14  -      Edg ipi    all -     -         cbe_fire
> 262  -    D      1   xpvd   Edg device 0   -     -         
> evtchn_device_upcall
> 263  -    22     1   -      Edg evtchn 1   -     -         xenbus_intr
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# Driver Name(s) 
> 1    0x41 5   ISA    Edg Fixed  0   1     0x0/0x1   i8042#0
> 9    0x81 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x42 5   ISA    Edg Fixed  0   1     0x0/0xc   i8042#0
> 14   0x43 5   ISA    Edg Fixed  1   1     0x0/0xe   ata#0
> 16   0x82 9   PCIe   Lvl Fixed  1   3     0x0/0x10  pcie_pci#2, uhci#0, 
> nvidia#0
> 17   0x22 1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci#1
> 18   0x20 1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci#4, ehci#0
> 19   0x40 5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci#3, ahci#0
> 20   0x60 6   PCI    Lvl Fixed  0   1     0x0/0x14  pcic#0
> 21   0x83 9   PCI    Lvl Fixed  1   1     0x0/0x15  hci1394#0
> 22   0x84 9   PCIe   Lvl Fixed  0   1     0x0/0x16  audiohd#0
> 23   0x21 1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci#2, ehci#1
> 160  0xa0 0          Edg IPI    all 0     -         poke_cpu
> 192  0xc0 13         Edg IPI    all 1     -         xc_serv
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s) 
> 1    0x41 5   ISA    Edg Fixed  0   1     0x0/0x1   i8042_intr
> 9    0x81 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x42 5   ISA    Edg Fixed  0   1     0x0/0xc   i8042_intr
> 14   0x43 5   ISA    Edg Fixed  1   1     0x0/0xe   ata_intr
> 16   0x82 9   PCIe   Lvl Fixed  1   3     0x0/0x10  pepb_intx_intr, 
> uhci_intr, 
> nv_intr
> 17   0x22 1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci_intr
> 18   0x20 1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci_intr, ehci_intr
> 19   0x40 5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci_intr, ahci_intr
> 20   0x60 6   PCI    Lvl Fixed  0   1     0x0/0x14  pcic_intr
> 21   0x83 9   PCI    Lvl Fixed  1   1     0x0/0x15  hci1394_isr
> 22   0x84 9   PCIe   Lvl Fixed  0   1     0x0/0x16  audiohd_intr
> 23   0x21 1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci_intr, ehci_intr
> 160  0xa0 0          Edg IPI    all 0     -         poke_cpu
> 192  0xc0 13         Edg IPI    all 1     -         xc_serv
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect Evtchn IPL Bus    Trg Type   CPU Share APIC/INT# Driver Name(s) 
> 1    0x28 10     5   ISA    Edg Fixed  0   1     0x0/0x1   i8042#0
> 9    0x60 5      9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x78 11     5   ISA    Edg Fixed  0   1     0x0/0xc   i8042#0
> 14   0x90 26     5   ISA    Edg Fixed  0   1     0x0/0xe   ata#0
> 16   0xa8 9      9   PCIe   Lvl Fixed  1   3     0x0/0x10  pcie_pci#2, 
> uhci#0, 
> nvidia#0
> 17   0xc0 14     1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci#1
> 18   0xb0 12     1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci#4, ehci#0
> 19   0xa0 8      5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci#3, ahci#0
> 20   0xd0 21     6   PCI    Lvl Fixed  1   1     0x0/0x14  pcic#0
> 21   0xc8 20     9   PCI    Lvl Fixed  0   1     0x0/0x15  hci1394#0
> 22   0xd8 22     9   PCIe   Lvl Fixed  1   1     0x0/0x16  audiohd#0
> 23   0xb8 13     1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci#2, ehci#1
> 256  -    I      15  -      Edg ipi    all -     -         xc_serv
> 257  -    I      13  -      Edg ipi    all -     -         xc_serv
> 258  -    I      11  -      Edg ipi    all -     -         poke_cpu
> 259  -    1      15  -      Edg virq   all -     -         xen_debug_handler
> 260  -    T      14  -      Edg virq   all -     -         cbe_fire
> 261  -    I      14  -      Edg ipi    all -     -         cbe_fire
> 263  -    25     1   -      Edg evtchn 1   -     -         xenbus_intr
> 264  -    D      1   xpvd   Edg device 0   -     -         evtchn#0
> 
> 
> ------------------------------------------------------------------------
> 
> IRQ  Vect Evtchn IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s) 
> 1    0x28 10     5   ISA    Edg Fixed  0   1     0x0/0x1   i8042_intr
> 9    0x60 5      9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
> 12   0x78 11     5   ISA    Edg Fixed  0   1     0x0/0xc   i8042_intr
> 14   0x90 26     5   ISA    Edg Fixed  0   1     0x0/0xe   ata_intr
> 16   0xa8 9      9   PCIe   Lvl Fixed  1   3     0x0/0x10  pepb_intx_intr, 
> uhci_intr, nv_intr
> 17   0xc0 14     1   PCI    Lvl Fixed  0   1     0x0/0x11  uhci_intr
> 18   0xb0 12     1   PCI    Lvl Fixed  1   2     0x0/0x12  uhci_intr, 
> ehci_intr
> 19   0xa0 8      5   PCI    Lvl Fixed  0   2     0x0/0x13  uhci_intr, 
> ahci_intr
> 20   0xd0 21     6   PCI    Lvl Fixed  1   1     0x0/0x14  pcic_intr
> 21   0xc8 20     9   PCI    Lvl Fixed  0   1     0x0/0x15  hci1394_isr
> 22   0xd8 22     9   PCIe   Lvl Fixed  1   1     0x0/0x16  audiohd_intr
> 23   0xb8 13     1   PCI    Lvl Fixed  1   2     0x0/0x17  uhci_intr, 
> ehci_intr
> 256  -    I      15  -      Edg ipi    all -     -         xc_serv
> 257  -    I      13  -      Edg ipi    all -     -         xc_serv
> 258  -    I      11  -      Edg ipi    all -     -         poke_cpu
> 259  -    1      15  -      Edg virq   all -     -         xen_debug_handler
> 260  -    T      14  -      Edg virq   all -     -         cbe_fire
> 261  -    I      14  -      Edg ipi    all -     -         cbe_fire
> 263  -    25     1   -      Edg evtchn 1   -     -         xenbus_intr
> 264  -    D      1   xpvd   Edg device 0   -     -         
> evtchn_device_upcall
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xen-discuss mailing list
> [email protected]

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to