WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [Patch] fix warnings while rebooting

On Fri, 2006-12-08 at 10:50 +0900, Akio Takebe wrote:
> Hi, Alex
> 
> >   Unfortunately I've found a problem with this patch since committing
> >it.  My system has a 2 port e1000 card that shows up as PCI devices
> >0000:01:02.0 and 0000:01:02.1.  I hide function 1 from dom0 using
> >pciback.hide=(0000:01:02.1).  Without trying to start up any guest
> >domains, on reboot dom0 dies with the NaT consumption fault shown below.
> This is curious. free_irq_vector() is called at shutdown handler.
> But this notifier_call_chain is called before shutdown handler.
> Hmmm... I'll investigate it.

   It looked perhaps like the problem started on bootup.  I saw that
free_irq_vector() was called for the vector assigned to the second
function, right after e1000 claimed the first function on the device.
The network using the first function on the device was actually a little
flaky while dom0 was running too.

> Could you send me the result of "lspci -vv" on your system?

   Yep, see below.

> >I've disabled the Xen call to free_irq_vector() until we can figure out
> >what's going wrong.  Thanks,
> >
> Thanks.
> Isn't this issue occurred by using your patch?

   No, it only occurs if Xen calls free_irq_vector(), so I suspect the
NaT is just the result of something bad happening much earlier.  Vector
54 in the below output is the one that gets freed.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


00:01.0 Class ff00: Hewlett-Packard Company Unknown device 1303
        Subsystem: Hewlett-Packard Company Unknown device 1303
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (250ns max), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 0
        Capabilities: [e8] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 
Enable-
                Address: 0000000000000000  Data: 0000

00:01.1 Communication controller: Hewlett-Packard Company Unknown device 1302
        Subsystem: Hewlett-Packard Company Unknown device 1302
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (250ns max), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 0
        Region 1: Memory at 84054000 (64-bit, non-prefetchable) [size=4K]
        Region 3: Memory at 84020000 (64-bit, prefetchable) [size=128K]
        Capabilities: [e8] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 
Enable-
                Address: 0000000000000000  Data: 0000

00:01.2 Serial controller: Hewlett-Packard Company Diva Serial [GSP] Multiport 
UART (prog-if 02 [16550])
        Subsystem: Hewlett-Packard Company Diva RMP3
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (250ns max), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 0
        Region 1: Memory at 84053000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [e8] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 
Enable-
                Address: 0000000000000000  Data: 0000

00:02.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
        Subsystem: Unknown device 03f0:0226
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (250ns min, 10500ns max), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 56
        Region 0: Memory at 84052000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
        Subsystem: Unknown device 03f0:0226
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (250ns min, 10500ns max), Cache Line Size: 128 bytes
        Interrupt: pin B routed to IRQ 57
        Region 0: Memory at 84051000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Unknown device 03f0:0326
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (4000ns min, 8500ns max), Cache Line Size: 128 bytes
        Interrupt: pin C routed to IRQ 55
        Region 0: Memory at 84050000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 
7000/VE] (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company Unknown device 1292
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping+ SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (2000ns min), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 50
        Region 0: Memory at 80000000 (32-bit, prefetchable) [size=64M]
        Region 1: I/O ports at 1000 [size=256]
        Region 2: Memory at 84040000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at 84000000 [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:02.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet 
Controller (rev 03)
        Subsystem: Hewlett-Packard Company HP Core Dual Port 1000Base-T [AB352A]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (63750ns min), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 53
        Region 0: Memory at 90120000 (64-bit, non-prefetchable) [size=128K]
        Region 2: Memory at 900c0000 (64-bit, non-prefetchable) [size=256K]
        Region 4: I/O ports at 2040 [size=64]
        Expansion ROM at 90080000 [disabled] [size=256K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [e4] PCI-X non-bridge device
                Command: DPERE- ERO+ RBC=4096 OST=4
                Status: Dev=01:02.0 64bit+ 133MHz+ SCD- USC- DC=simple 
DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz-
        Capabilities: [f0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-
                Address: 0000000000000000  Data: 0000

01:02.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet 
Controller (rev 03)
        Subsystem: Hewlett-Packard Company HP Core Dual Port 1000Base-T [AB352A]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin B routed to IRQ 54
        Region 0: Memory at 90100000 (64-bit, non-prefetchable) [disabled] 
[size=128K]
        Region 2: Memory at 90040000 (64-bit, non-prefetchable) [disabled] 
[size=256K]
        Region 4: I/O ports at 2000 [disabled] [size=64]
        Expansion ROM at 90000000 [disabled] [size=256K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [e4] PCI-X non-bridge device
                Command: DPERE- ERO+ RBC=4096 OST=4
                Status: Dev=01:02.1 64bit+ 133MHz+ SCD- USC- DC=simple 
DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz-
        Capabilities: [f0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-
                Address: 0000000000000000  Data: 0000

14:01.0 RAID bus controller: Hewlett-Packard Company Hewlett-Packard Smart 
Array P600
        Subsystem: Hewlett-Packard Company Unknown device 3225
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 51
        Region 0: Memory at c0102000 (64-bit, non-prefetchable) [size=8K]
        Region 2: I/O ports at 8100 [size=256]
        Region 3: Memory at c00c0000 (64-bit, non-prefetchable) [size=256K]
        Expansion ROM at c0080000 [disabled] [size=256K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [dc] PCI-X non-bridge device
                Command: DPERE- ERO+ RBC=4096 OST=4
                Status: Dev=14:01.0 64bit+ 133MHz+ SCD- USC- DC=simple 
DMMRBC=2048 DMOST=4 DMCRS=32 RSCEM- 266MHz+ 533MHz-
        Capabilities: [48] Vital Product Data

14:02.0 RAID bus controller: Hewlett-Packard Company Hewlett-Packard Smart 
Array P600
        Subsystem: Hewlett-Packard Company Unknown device 3225
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 52
        Region 0: Memory at c0100000 (64-bit, non-prefetchable) [size=8K]
        Region 2: I/O ports at 8000 [size=256]
        Region 3: Memory at c0040000 (64-bit, non-prefetchable) [size=256K]
        Expansion ROM at c0000000 [disabled] [size=256K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [dc] PCI-X non-bridge device
                Command: DPERE- ERO+ RBC=4096 OST=4
                Status: Dev=14:02.0 64bit+ 133MHz+ SCD- USC- DC=simple 
DMMRBC=2048 DMOST=4 DMCRS=32 RSCEM- 266MHz+ 533MHz-
        Capabilities: [48] Vital Product Data



_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel