[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] rombios unable to loaded MPT BIOS


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Joe Jin <joe.jin@xxxxxxxxxx>
  • Date: Mon, 04 Feb 2013 15:19:14 +0800
  • Delivery-date: Mon, 04 Feb 2013 07:20:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

After debugged PMM I found it caused MPT(LSI controller) BIOS, MPT BIOS
overwrote pmm header and lead PMM unable to allocate memory.

Thanks,
Joe

On 01/16/13 21:07, Joe Jin wrote:
> Hi All,
> 
> When tried to pass through 2 mpt2sas HBA to hvm guest, hvmloader
> paused with below:
> 
> MPT BIOS Fault 09h encountered at adapter PCI(00h,04h,00h)
> Press any key to continue...
> 
> Checked related codes and mostly like it caused by rombios did not
> loaded MPT BIOS properly, and lead MPT BIOS failed to bootup.
> 
> config-file of the guest as below:
> ----------------------------------
> # cat vm.cfg
> kernel = '/usr/lib/xen/boot/hvmloader'
> builder = 'hvm'
> device_model = '/usr/lib64/xen/bin/qemu-dm'
> vnc=1
> vncunused=1
> vnclisten="0.0.0.0"
> apic=1
> acpi=1
> pae=1
> serial='pty'
> vif = 
> ['type=netfront,bridge=priv1','type=netfront,bridge=net1','type=netfront,bridge=net2']
> #memory = '32768'
> memory = '4096'
> name = 'pci-passthrough-dom1'
> on_crash = 'destroy'
> on_reboot = 'restart'
> timer_mode = 0
> vcpus=8
> pci=['0d:00.0','1f:00.0']
> disk = 
> ['file:/OVS/Repositories/oakDom1/System.img,xvda,w','file:/OVS/Repositories/oakDom1/u01.img,xvdb,w','file:/OVS/Repositories/oakDom1/swap.img,xvdc,w']
> 
> Device pci info:
> ----------------
> # lspci -nvv -s 0f:00.0
> 0d:00.0 0107: 1000:0072 (rev 03)
>     Subsystem: 1000:3050
>     Physical Slot: 3
>     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>     Latency: 0, Cache Line Size: 256 bytes
>     Interrupt: pin A routed to IRQ 24
>     Region 0: I/O ports at 9000 [size=256]
>     Region 1: Memory at df03c000 (64-bit, non-prefetchable) [size=16K]
>     Region 3: Memory at df040000 (64-bit, non-prefetchable) [size=256K]
>     Expansion ROM at df080000 [disabled] [size=512K]
>     Capabilities: [50] Power Management version 3
>         Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>         Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>     Capabilities: [68] Express (v2) Endpoint, MSI 00
>         DevCap:    MaxPayload 4096 bytes, PhantFunc 0, Latency L0s <64ns, L1 
> <1us
>             ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
>         DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
>             RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
>             MaxPayload 128 bytes, MaxReadReq 512 bytes
>         DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
>         LnkCap:    Port #0, Speed 5GT/s, Width x8, ASPM L0s, Latency L0 
> <64ns, L1 <1us
>             ClockPM- Surprise- LLActRep- BwNot-
>         LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>             ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>         LnkSta:    Speed 5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- 
> BWMgmt- ABWMgmt-
>         DevCap2: Completion Timeout: Range BC, TimeoutDis+
>         DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
>         LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, 
> Selectable De-emphasis: -6dB
>              Transmit Margin: Normal Operating Range, 
> EnterModifiedCompliance-ComplianceSOS-
>              Compliance De-emphasis: -6dB
>         LnkSta2: Current De-emphasis Level: -6dB
>     Capabilities: [d0] Vital Product Data
>         Product Name: SGX-SAS6-INT-Z, Sun StorageTek 6Gb/s SAS PCIe HBA, 
> Internal
>         Read-only fields:
>             [PN] Part number: 375-3640-02
>             [EC] Engineering changes: 01
>             [MN] Manufacture ID: 53 75 6e 20 4d 69 63 72 6f 73 79 73 74 65 6d 
> 73 2c 20 49 6e 63 2e
>             [SN] Serial number: SP14344072
>             [RV] Reserved: checksum good, 0 byte(s) reserved
>         End
>     Capabilities: [a8] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Address: 00000000fee00738  Data: 0000
>     Capabilities: [c0] MSI-X: Enable- Count=15 Masked-
>         Vector table: BAR=1 offset=00002000
>         PBA: BAR=1 offset=00003800
>     Capabilities: [100 v1] Advanced Error Reporting
>         UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
> MalfTLP- ECRC- UnsupReq- ACSViol-
>         UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
> MalfTLP- ECRC- UnsupReq- ACSViol-
>         UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ 
> MalfTLP+ ECRC- UnsupReq- ACSViol-
>         CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
>         CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
>         AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
>     Capabilities: [138 v1] Power Budgeting <?>
>     Kernel driver in use: pciback
>     Kernel modules: mpt2sas
> 
> # lspci -nvv -s 1f:00.0
> 1f:00.0 0107: 1000:0072 (rev 03)
>     Subsystem: 1000:3050
>     Physical Slot: 4
>     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>     Latency: 0, Cache Line Size: 256 bytes
>     Interrupt: pin A routed to IRQ 32
>     Region 0: I/O ports at d000 [size=256]
>     Region 1: Memory at df63c000 (64-bit, non-prefetchable) [size=16K]
>     Region 3: Memory at df640000 (64-bit, non-prefetchable) [size=256K]
>     Expansion ROM at df680000 [disabled] [size=512K]
>     Capabilities: [50] Power Management version 3
>         Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>         Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>     Capabilities: [68] Express (v2) Endpoint, MSI 00
>         DevCap:    MaxPayload 4096 bytes, PhantFunc 0, Latency L0s <64ns, L1 
> <1us
>             ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
>         DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported- 
>             RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
>             MaxPayload 128 bytes, MaxReadReq 512 bytes
>         DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
>         LnkCap:    Port #0, Speed 5GT/s, Width x8, ASPM L0s, Latency L0 
> <64ns, L1 <1us
>             ClockPM- Surprise- LLActRep- BwNot-
>         LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>             ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>         LnkSta:    Speed 5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- 
> BWMgmt- ABWMgmt-
>         DevCap2: Completion Timeout: Range BC, TimeoutDis+
>         DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
>         LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, 
> Selectable De-emphasis: -6dB
>              Transmit Margin: Normal Operating Range, 
> EnterModifiedCompliance-ComplianceSOS-
>              Compliance De-emphasis: -6dB
>         LnkSta2: Current De-emphasis Level: -6dB
>     Capabilities: [d0] Vital Product Data
>         Product Name: SGX-SAS6-INT-Z, Sun StorageTek 6Gb/s SAS PCIe HBA, 
> Internal
>         Read-only fields:
>             [PN] Part number: 375-3640-02
>             [EC] Engineering changes: 01
>             [MN] Manufacture ID: 53 75 6e 20 4d 69 63 72 6f 73 79 73 74 65 6d 
> 73 2c 20 49 6e 63 2e
>             [SN] Serial number: SP14035588
>             [RV] Reserved: checksum good, 0 byte(s) reserved
>         End
>     Capabilities: [a8] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Address: 00000000fee00758  Data: 0000
>     Capabilities: [c0] MSI-X: Enable- Count=15 Masked-
>         Vector table: BAR=1 offset=00002000
>         PBA: BAR=1 offset=00003800
>     Capabilities: [100 v1] Advanced Error Reporting
>         UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
> MalfTLP- ECRC- UnsupReq- ACSViol-
>         UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
> MalfTLP- ECRC- UnsupReq- ACSViol-
>         UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ 
> MalfTLP+ ECRC- UnsupReq- ACSViol-
>         CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
>         CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
>         AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
>     Capabilities: [138 v1] Power Budgeting <?>
>     Kernel driver in use: pciback
>     Kernel modules: mpt2sas
> 
> 
> 
> Debug info when xm-create the guest:
> -------------------------------------
> (XEN) HVM4: HVM Loader
> (XEN) HVM4: Detected Xen v4.1.2-OVM
> (XEN) HVM4: CPU speed is 3060 MHz
> (XEN) HVM4: Xenbus rings @0xfeffc000, event channel 9
> (XEN) irq.c:264: Dom4 PCI link 0 changed 0 -> 5
> (XEN) HVM4: PCI-ISA link 0 routed to IRQ5
> (XEN) irq.c:264: Dom4 PCI link 1 changed 0 -> 10
> (XEN) HVM4: PCI-ISA link 1 routed to IRQ10
> (XEN) irq.c:264: Dom4 PCI link 2 changed 0 -> 11
> (XEN) HVM4: PCI-ISA link 2 routed to IRQ11
> (XEN) irq.c:264: Dom4 PCI link 3 changed 0 -> 5
> (XEN) HVM4: PCI-ISA link 3 routed to IRQ5
> (XEN) HVM4: pci dev 01:3 INTA->IRQ10
> (XEN) HVM4: pci dev 03:0 INTA->IRQ5
> (XEN) HVM4: pci dev 04:0 INTA->IRQ5
> (XEN) HVM4: pci dev 05:0 INTA->IRQ10
> (XEN) HVM4: pci dev 02:0 bar 10 size 02000000: f0000008
> (XEN) HVM4: pci dev 03:0 bar 14 size 01000000: f2000008
> (XEN) HVM4: pci dev 04:0 bar 30 size 00080000: f3000000
> (XEN) HVM4: pci dev 05:0 bar 30 size 00080000: f3080000
> (XEN) domctl.c:985:d0 memory_map:add: gfn=f3100 mfn=df040 nr_mfns=40
> (XEN) HVM4: pci dev 04:0 bar 1c size 00040000: f3100004
> (XEN) domctl.c:985:d0 memory_map:add: gfn=f3140 mfn=df640 nr_mfns=40
> (XEN) HVM4: pci dev 05:0 bar 1c size 00040000: f3140004
> (XEN) domctl.c:985:d0 memory_map:add: gfn=f3180 mfn=df03c nr_mfns=4
> (XEN) domctl.c:995:d0 memory_map:remove: gfn=f3182 mfn=df03e nr_mfns=1
> (XEN) HVM4: pci dev 04:0 bar 14 size 00004000: f3180004
> (XEN) domctl.c:985:d0 memory_map:add: gfn=f3184 mfn=df63c nr_mfns=4
> (XEN) domctl.c:995:d0 memory_map:remove: gfn=f3186 mfn=df63e nr_mfns=1
> (XEN) HVM4: pci dev 05:0 bar 14 size 00004000: f3184004
> (XEN) HVM4: pci dev 02:0 bar 14 size 00001000: f3188000
> (XEN) HVM4: pci dev 03:0 bar 10 size 00000100: 0000c001
> (XEN) HVM4: pci dev 04:0 bar 10 size 00000100: 0000c101
> (XEN) domctl.c:1041:d0 ioport_map:add f_gport=c100 f_mport=9000 np=100
> (XEN) HVM4: pci dev 05:0 bar 10 size 00000100: 0000c201
> (XEN) domctl.c:1041:d0 ioport_map:add f_gport=c200 f_mport=d000 np=100
> (XEN) HVM4: pci dev 01:1 bar 20 size 00000010: 0000c301
> (XEN) HVM4: Multiprocessor initialisation:
> (XEN) HVM4:  - CPU0 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU1 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU2 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU3 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU4 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU5 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU6 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4:  - CPU7 ... 40-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
> done.
> (XEN) HVM4: Writing SMBIOS tables ...
> (XEN) HVM4: Loading ROMBIOS ...
> (XEN) HVM4: 10332 bytes of ROMBIOS high-memory extensions:
> (XEN) HVM4:   Relocating to 0xfc000000-0xfc00285c ... done
> (XEN) HVM4: Creating MP tables ...
> (XEN) HVM4: Loading Cirrus VGABIOS ...
> (XEN) domctl.c:985:d0 memory_map:add: gfn=f3000 mfn=df080 nr_mfns=80
> (XEN) HVM4: Loading PCI Option ROM ...
> (XEN) HVM4:  - Manufacturer: LSI Corporation
> (XEN) HVM4:  - Product name: LSI MPI Boot Support
> (XEN) domctl.c:995:d0 memory_map:remove: gfn=f3000 mfn=df080 nr_mfns=80
> (XEN) domctl.c:985:d0 memory_map:add: gfn=f3080 mfn=df680 nr_mfns=80
> (XEN) domctl.c:995:d0 memory_map:remove: gfn=f3080 mfn=df680 nr_mfns=80
> (XEN) HVM4: Loading ACPI ...
> (XEN) HVM4:  - Lo data: 000ea020-000ea04f
> (XEN) HVM4:  - Hi data: fc002c00-fc00eb0f
> (XEN) HVM4: vm86 TSS at fc00ec00
> (XEN) HVM4: BIOS map:
> (XEN) HVM4:  c0000-c8fff: VGA BIOS
> (XEN) HVM4:  c9000-d4fff: PCI Option ROMs
> (XEN) HVM4:  eb000-eb263: SMBIOS tables
> (XEN) HVM4:  f0000-fffff: Main BIOS
> (XEN) HVM4: E820 table:
> (XEN) HVM4:  [00]: 00000000:00000000 - 00000000:0009e000: RAM
> (XEN) HVM4:  [01]: 00000000:0009e000 - 00000000:0009fc00: RESERVED
> (XEN) HVM4:  [02]: 00000000:0009fc00 - 00000000:000a0000: RESERVED
> (XEN) HVM4:  HOLE: 00000000:000a0000 - 00000000:000e0000
> (XEN) HVM4:  [03]: 00000000:000e0000 - 00000000:00100000: RESERVED
> (XEN) HVM4:  [04]: 00000000:00100000 - 00000000:f0000000: RAM
> (XEN) HVM4:  HOLE: 00000000:f0000000 - 00000000:fc000000
> (XEN) HVM4:  [05]: 00000000:fc000000 - 00000001:00000000: RESERVED
> (XEN) HVM4:  [06]: 00000001:00000000 - 00000001:10000000: RAM
> (XEN) HVM4: Invoking ROMBIOS ...
> (XEN) HVM4: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
> (XEN) stdvga.c:147:d4 entering stdvga and caching modes
> (XEN) HVM4: VGABios $Id: vgabios.c,v 1.67 2008/01/27 09:44:12 vruppert Exp $
> (XEN) HVM4: Bochs BIOS - build: 06/23/99
> (XEN) HVM4: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
> (XEN) HVM4: Options: apmbios pcibios eltorito PMM 
> (XEN) HVM4: 
> (XEN) HVM4: ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
> (XEN) HVM4: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (60000 MBytes)
> (XEN) HVM4: ata0-1: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
> (XEN) HVM4: ata0  slave: QEMU HARDDISK ATA-7 Hard-Disk (  97 GBytes)
> (XEN) HVM4: ata1-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
> (XEN) HVM4: ata1 master: QEMU HARDDISK ATA-7 Hard-Disk (20000 MBytes)
> (XEN) HVM4: IDE time out
> (XEN) HVM4: 
> (XEN) HVM4: PCI device 1000:0070 not found at index 0
> (XEN) HVM4: PCI device 1000:0072 not found at index 2
> (XEN) HVM4: PCI device 1000:0074 not found at index 0
> (XEN) HVM4: PCI device 1000:0076 not found at index 0
> (XEN) HVM4: PCI device 1000:0077 not found at index 0
> (XEN) HVM4: PCI device 1000:0064 not found at index 0
> (XEN) HVM4: PCI device 1000:0065 not found at index 0
> (XEN) HVM4: PCI device 1000:0080 not found at index 0
> (XEN) HVM4: PCI device 1000:0081 not found at index 0
> (XEN) HVM4: PCI device 1000:0082 not found at index 0
> (XEN) HVM4: PCI device 1000:0083 not found at index 0
> (XEN) HVM4: PCI device 1000:0084 not found at index 0
> (XEN) HVM4: PCI device 1000:0085 not found at index 0
> (XEN) HVM4: PCI device 1000:0086 not found at index 0
> (XEN) HVM4: PCI device 1000:0087 not found at index 0
> (XEN) HVM4: 
> (XEN) HVM4: 
> (XEN) HVM4: Press F12 for boot menu.
> (XEN) HVM4: 
> (XEN) HVM4: Booting from Hard Disk...
> (XEN) HVM4: Booting from 0000:7c00
> (XEN) HVM4: int13_harddisk: function 41, unmapped device for ELDL=83
> (XEN) HVM4: int13_harddisk: function 08, unmapped device for ELDL=83
> (XEN) HVM4: *** int 15h function AX=00c0, BX=0000 not yet supported!
> (XEN) HVM4: *** int 15h function AX=ec00, BX=0002 not yet supported!
> (XEN) HVM4: KBD: unsupported int 16h function 03
> (XEN) HVM4: *** int 15h function AX=e980, BX=0000 not yet supported!
> (XEN) HVM4: int13_harddisk: function 41, unmapped device for ELDL=83
> (XEN) HVM4: int13_harddisk: function 02, unmapped device for ELDL=83
> (XEN) HVM4: int13_harddisk: function 41, unmapped device for ELDL=84
> (XEN) HVM4: int13_harddisk: function 02, unmapped device for ELDL=84
> (XEN) HVM4: int13_harddisk: function 41, unmapped device for ELDL=85
> (XEN) HVM4: int13_harddisk: function 02, unmapped device for ELDL=85
> (XEN) HVM4: int13_harddisk: function 41, unmapped device for ELDL=86
> (XEN) HVM4: int13_harddisk: function 02, unmapped device for ELDL=86
> (XEN) HVM4: int13_harddisk: function 41, unmapped device for ELDL=87
> (XEN) HVM4: int13_harddisk: function 02, unmapped device for ELDL=87
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 88
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 88
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 89
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 89
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 8a
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 8a
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 8b
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 8b
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 8c
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 8c
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 8d
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 8d
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 8e
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 8e
> (XEN) HVM4: int13_harddisk: function 41, ELDL out of range 8f
> (XEN) HVM4: int13_harddisk: function 02, ELDL out of range 8f
> (XEN) irq.c:330: Dom4 callback via changed to Direct Vector 0xe9
> (XEN) domctl.c:1065:d0 ioport_map:remove f_gport=c100 f_mport=9000 np=100
> (XEN) domctl.c:1041:d0 ioport_map:add f_gport=c100 f_mport=9000 np=100
> (XEN) domctl.c:1065:d0 ioport_map:remove f_gport=c200 f_mport=d000 np=100
> (XEN) domctl.c:1041:d0 ioport_map:add f_gport=c200 f_mport=d000 np=100
> (XEN) irq.c:264: Dom4 PCI link 0 changed 5 -> 0
> (XEN) irq.c:264: Dom4 PCI link 1 changed 10 -> 0
> (XEN) irq.c:264: Dom4 PCI link 2 changed 11 -> 0
> (XEN) irq.c:264: Dom4 PCI link 3 changed 5 -> 0
> (XEN) msi.c:867: MSI is already in use on device 0d:00.0
> (XEN) msi.c:867: MSI is already in use on device 1f:00.0
> 
> qemu log:
> ----------
> # cat /var/log/xen/qemu-dm-oakDom1.log
> domid: 4
> Using xvda for guest's hda
> Using file /OVS/Repositories/oakDom1/System.img in read-write mode
> Using xvdb for guest's hdb
> Using file /OVS/Repositories/oakDom1/u01.img in read-write mode
> Using xvdc for guest's hdc
> Using file /OVS/Repositories/oakDom1/swap.img in read-write mode
> Watching /local/domain/0/device-model/4/logdirty/cmd
> Watching /local/domain/0/device-model/4/command
> Watching /local/domain/4/cpu
> char device redirected to /dev/pts/1
> qemu_map_cache_init nr_buckets = 10000 size 4194304
> shared page at pfn feffd
> buffered io page at pfn feffb
> Guest uuid = 21f8dda2-cb14-5887-bddf-d3a45aa42311
> Time offset set 0
> populating video RAM at ff000000
> mapping video RAM from ff000000
> Register xen platform.
> Done register platform.
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw 
> state.
> xs_read(/local/domain/0/device-model/4/xen_extended_power_mgmt): read error
> xs_read(): vncpasswd get error.
> /vm/21f8dda2-cb14-5887-bddf-d3a45aa42311/vncpasswd.
> Log-dirty: no command yet.
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> vcpu-set: watch node error.
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> xs_read(/local/domain/4/log-throttling): read error
> qemu: ignoring not-understood drive `/local/domain/4/log-throttling'
> medium change watch on `/local/domain/4/log-throttling' - unknown device,
> ignored
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> dm-command: hot insert pass-through pci dev 
> register_real_device: Assigning real physical device 0d:00.0 ...
> register_real_device: Enable MSI translation via per device option
> register_real_device: Disable power management
> pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No 
> such
> file or directory: 0xd:0x0.0x0
> pt_register_regions: IO region registered (size=0x00000100
> base_addr=0x00009001)
> pt_register_regions: IO region registered (size=0x00004000
> base_addr=0xdf03c004)
> pt_register_regions: IO region registered (size=0x00040000
> base_addr=0xdf040004)
> pt_register_regions: Expansion ROM registered (size=0x00080000
> base_addr=0xdf080000)
> pt_msix_init: get MSI-X table bar base df03c000
> pt_msix_init: table_off = 2000, total_entries = 15
> pt_msix_init: errno = 2
> pt_msix_init: mapping physical MSI-X table to 7fd7738ea000
> pt_msi_setup: msi mapped with pirq 4f
> pci_intx: intx=1
> register_real_device: Real physical device 0d:00.0 registered successfuly!
> IRQ type = MSI-INTx
> dm-command: hot insert pass-through pci dev 
> register_real_device: Assigning real physical device 1f:00.0 ...
> register_real_device: Enable MSI translation via per device option
> register_real_device: Disable power management
> pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No 
> such
> file or directory: 0x1f:0x0.0x0
> pt_register_regions: IO region registered (size=0x00000100
> base_addr=0x0000d001)
> pt_register_regions: IO region registered (size=0x00004000
> base_addr=0xdf63c004)
> pt_register_regions: IO region registered (size=0x00040000
> base_addr=0xdf640004)
> pt_register_regions: Expansion ROM registered (size=0x00080000
> base_addr=0xdf680000)
> pt_msix_init: get MSI-X table bar base df63c000
> pt_msix_init: table_off = 2000, total_entries = 15
> pt_msix_init: errno = 2
> pt_msix_init: mapping physical MSI-X table to 7fd7738e9000
> pt_msi_setup: msi mapped with pirq 4e
> pci_intx: intx=1
> register_real_device: Real physical device 1f:00.0 registered successfuly!
> IRQ type = MSI-INTx
> char device redirected to /dev/pts/2
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> xen be: console-0: xen be: console-0: initialise() failed
> initialise() failed
> cirrus vga map change while on lfb mode
> pt_iomem_map: e_phys=f3100000 maddr=df040000 type=0 len=262144 index=3
> first_map=1
> pt_iomem_map: e_phys=f3140000 maddr=df640000 type=0 len=262144 index=3
> first_map=1
> pt_iomem_map: e_phys=f3180000 maddr=df03c000 type=0 len=16384 index=1
> first_map=1
> pt_iomem_map: e_phys=f3184000 maddr=df63c000 type=0 len=16384 index=1
> first_map=1
> pt_ioport_map: e_phys=c100 pio_base=9000 len=256 index=0 first_map=1
> pt_ioport_map: e_phys=c200 pio_base=d000 len=256 index=0 first_map=1
> Overlapped to device[00:05.0][Region:6][Address:f3080000h][Size:00080000h]
> pt_bar_mapping_one: Warning:
> ptdev[00:04.0][Region:6][Address:f3000001h][Size:00080000h] is overlapped.
> pt_iomem_map: e_phys=f3000001 maddr=df080000 type=8 len=524288 index=6
> first_map=1
> pt_iomem_map: e_phys=ffffffff maddr=df080000 type=8 len=524288 index=6
> first_map=0
> Overlapped to device[00:04.0][Region:3][Address:f3100000h][Size:00040000h]
> pt_bar_mapping_one: Warning:
> ptdev[00:05.0][Region:6][Address:f3080001h][Size:00080000h] is overlapped.
> pt_iomem_map: e_phys=f3080001 maddr=df680000 type=8 len=524288 index=6
> first_map=1
> pt_iomem_map: e_phys=ffffffff maddr=df680000 type=8 len=524288 index=6
> first_map=0
> mapping vram to f0000000 - f0400000
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw 
> state.
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro 
> state.
> Unknown PV product 3 loaded in guest
> PV driver build 1
> pt_ioport_map: e_phys=ffff pio_base=9000 len=256 index=0 first_map=0
> pt_ioport_map: e_phys=c100 pio_base=9000 len=256 index=0 first_map=0
> pt_ioport_map: e_phys=ffff pio_base=d000 len=256 index=0 first_map=0
> pt_ioport_map: e_phys=c200 pio_base=d000 len=256 index=0 first_map=0
> pt_msixctrl_reg_write: guest enabling MSI-X, disable MSI-INTx translation
> pci_intx: intx=1
> pt_msix_update_one: Update msix entry 0 with pirq 4d gvec 59
> pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already      
>           function.
> pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already      
>           function.
> pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already      
>           function.
> pt_msixctrl_reg_write: guest enabling MSI-X, disable MSI-INTx translation
> pci_intx: intx=1
> pt_msix_update_one: Update msix entry 0 with pirq 4c gvec 69
> pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already      
>           function.
> pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already      
>           function.
> pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already      
>           function.
> pt_msix_update_one: Update msix entry 0 with pirq 4d gvec 71
> pt_msix_update_one: Update msix entry 0 with pirq 4c gvec 79
> 
> 
> Any input will appreciate!
> Joe
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
> 


-- 
Oracle <http://www.oracle.com>
Joe Jin | Software Development Senior Manager | +8610.6106.5624
ORACLE | Linux and Virtualization
No. 24 Zhongguancun Software Park, Haidian District | 100193 Beijing 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.