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-devel

[Xen-users] Linux DomU halted very early after booted with VT-d device

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Linux DomU halted very early after booted with VT-d device
From: 沈启龙 <shen.qilong@xxxxxxxxxxxx>
Date: Fri, 11 Dec 2009 17:11:55 +0800
Cc:
Delivery-date: Fri, 11 Dec 2009 01:13:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acp6Qfw9fe6bDgueQfeGj2LE38DGeg==

My windows2k3 server domU can run normally. I can sign into the system and find the vt-d

device, the device is not driverd, but the system can recognize it.

However other linux domU can't start normally, it halt very early after booted.

what i want to directly use is a netcard. the bdf is 02:00.1.

 

dom0 is slse 10 sp2 kenel version 2.6.16.60.

 

In dom0,  run command lspci

00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)

00:01.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 1 (rev 13)

00:03.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 3 (rev 13)

00:04.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 4 (rev 13)

00:05.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 5 (rev 13)

00:06.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 6 (rev 13)

00:07.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 7 (rev 13)

00:09.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 9 (rev 13)

00:14.0 PIC: Intel Corporation X58 I/O Hub System Management Registers (rev 13)

00:14.1 PIC: Intel Corporation X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)

00:14.2 PIC: Intel Corporation X58 I/O Hub Control Status and RAS Registers (rev 13)

00:16.0 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.1 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.2 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.3 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.4 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.5 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.6 System peripheral: Intel Corporation X58 Chipset QuickData Technology Device (rev 13)

00:16.7 System peripheral: Intel Corporation DMA Engine (rev 13)

00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)

00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)

00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev

02)

00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)

00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)

00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev

02)

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)

00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)

00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller (rev 02)

01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev

20)

01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev

20)

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev

20)

02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev

20)

03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)

08:03.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200eW WPCM450 (rev 0a)

 

when i start a window2k3 domU, and it running normally.halted.

the log for qemu-dm is the follow:

 

domid: 11

qemu: the number of cpus is 1

Watching /local/domain/0/device-model/11/logdirty/next-active

Watching /local/domain/0/device-model/11/command

char device redirected to /dev/ttyp1

qemu_map_cache_init nr_buckets = 10000 size 4194304

shared page at pfn feffd

buffered io page at pfn feffb

Guest uuid = 8f9c73ab-4e79-4b39-8d52-314e93dcae82

Time offset set 0

populating video RAM at ff000000

mapping video RAM from ff000000

register_real_device: Assigning real physical device 02:00.1 ...

pt_register_regions: IO region registered (size=0x02000000 base_addr=0xdc000004)

pt_msix_init: get MSI-X table bar base dc000000

pt_msix_init: mapping physical MSI-X table to 2aaaab4e6000

pt_msi_setup: msi mapped with pirq ff

register_real_device: Real physical device 02:00.1 registered successfuly!

IRQ type = MSI-INTx

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/11/xen_extended_power_mgmt): read error

xs_read(): vncpasswd get error. /vm/8f9c73ab-4e79-4b39-8d52-314e93dcae82/vncpasswd.

I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

cirrus vga map change while on lfb mode

pt_iomem_map: e_phys=f2000000 maddr=dc000000 type=0 len=33554432 index=0 first_map=1

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.

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

gpe_sts_write: addr=0x1f68, val=0x0.

gpe_sts_write: addr=0x1f69, val=0x0.

gpe_sts_write: addr=0x1f6a, val=0x0.

gpe_sts_write: addr=0x1f6b, val=0x0.

gpe_en_write: addr=0x1f6c, val=0x0.

gpe_en_write: addr=0x1f6d, val=0x0.

gpe_en_write: addr=0x1f6e, val=0x0.

gpe_en_write: addr=0x1f6f, val=0x0.

gpe_en_write: addr=0x1f6c, val=0x0.

gpe_en_write: addr=0x1f6d, val=0x0.

gpe_en_write: addr=0x1f6e, val=0x0.

gpe_en_write: addr=0x1f6f, val=0x0.

gpe_sts_write: addr=0x1f68, val=0x0.

gpe_sts_write: addr=0x1f69, val=0x0.

gpe_sts_write: addr=0x1f6a, val=0x0.

gpe_sts_write: addr=0x1f6b, val=0x0.

gpe_en_write: addr=0x1f6c, val=0x8.

gpe_en_write: addr=0x1f6d, val=0x0.

gpe_en_write: addr=0x1f6e, val=0x0.

gpe_en_write: addr=0x1f6f, val=0x0.

ACPI PCI hotplug: read addr=0x10c2, val=0x0.

ACPI PCI hotplug: read addr=0x10c3, val=0x0.

ACPI PCI hotplug: read addr=0x10c4, val=0x0.

ACPI PCI hotplug: read addr=0x10c5, val=0xf.

ACPI PCI hotplug: read addr=0x10c6, val=0x0.

ACPI PCI hotplug: read addr=0x10c7, val=0x0.

ACPI PCI hotplug: read addr=0x10c8, val=0x0.

ACPI PCI hotplug: read addr=0x10c9, val=0x0.

ACPI PCI hotplug: read addr=0x10ca, val=0x0.

then repeat the last log.

 

 

when i start a CentOS5.3 domU, and it halted very ealy.

the log for qemu-dm is the follow:

 

domid: 12

qemu: the number of cpus is 1

Watching /local/domain/0/device-model/12/logdirty/next-active

Watching /local/domain/0/device-model/12/command

char device redirected to /dev/ttyp1

qemu_map_cache_init nr_buckets = 10000 size 4194304

shared page at pfn feffd

buffered io page at pfn feffb

Guest uuid = 44b5865b-0466-d0a9-f7d8-a17c6454013a

Time offset set 0

populating video RAM at ff000000

mapping video RAM from ff000000

register_real_device: Assigning real physical device 02:00.1 ...

pt_register_regions: IO region registered (size=0x02000000 base_addr=0xdc000004)

pt_msix_init: get MSI-X table bar base dc000000

pt_msix_init: mapping physical MSI-X table to 2aaaab4e6000

pt_msi_setup: msi mapped with pirq ff

register_real_device: Real physical device 02:00.1 registered successfuly!

IRQ type = MSI-INTx

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/12/xen_extended_power_mgmt): read error

xs_read(): vncpasswd get error. /vm/44b5865b-0466-d0a9-f7d8-a17c6454013a/vncpasswd.

I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

cirrus vga map change while on lfb mode

pt_iomem_map: e_phys=f2000000 maddr=dc000000 type=0 len=33554432 index=0 first_map=1

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.

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

track_dirty_vram(f0000000, 26) failed (-1, 22)

gpe_en_write: addr=0x1f6c, val=0x0.

gpe_sts_write: addr=0x1f68, val=0xff.

gpe_en_write: addr=0x1f6d, val=0x0.

gpe_sts_write: addr=0x1f69, val=0xff.

gpe_en_write: addr=0x1f6e, val=0x0.

gpe_sts_write: addr=0x1f6a, val=0xff.

gpe_en_write: addr=0x1f6f, val=0x0.

gpe_sts_write: addr=0x1f6b, val=0xff.

gpe_en_write: addr=0x1f6c, val=0x8.

pt_iomem_map: e_phys=fe000000 maddr=dc000000 type=0 len=33554432 index=0 first_map=0

pt_iomem_map: e_phys=f2000000 maddr=dc000000 type=0 len=33554432 index=0 first_map=0

pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register.

[00:03.0][Offset:30h][Length:4]

ACPI PCI hotplug: read addr=0x10c2, val=0x0.

ACPI PCI hotplug: read addr=0x10c3, val=0x0.

ACPI PCI hotplug: read addr=0x10c4, val=0x0.

ACPI PCI hotplug: read addr=0x10c5, val=0xf.

ACPI PCI hotplug: read addr=0x10c6, val=0x0.

then repeat the last log.

 

the last part of dump message from dmesg

 

pciback 0000:02:00.1: enabling permissive mode configuration space accesses!

pciback 0000:02:00.1: permissive mode is potentially unsafe!

pciback: vpci: 0000:02:00.1: assign to virtual slot 0

(cdrom_add_media_watch() file=/root/shenql/dom4.5/nex-4.0.0/linux/drivers/xen/blkback/cdrom.c,

line=123) nodename:backend/vbd/10/768

(cdrom_is_type() file=/root/shenql/dom4.5/nex-4.0.0/linux/drivers/xen/blkback/cdrom.c,

line=108) type:0

ACPI: PCI interrupt for device 0000:02:00.1 disabled

BlkBack_DISCONNECT[10]: BEG : ref 1 inFltCnt 0 pendReqCnt 0

BlkBack_DISCONNECT[10]: END (0)

(cdrom_add_media_watch() file=/root/shenql/dom4.5/nex-4.0.0/linux/drivers/xen/blkback/cdrom.c,

line=123) nodename:backend/vbd/11/768

(cdrom_is_type() file=/root/shenql/dom4.5/nex-4.0.0/linux/drivers/xen/blkback/cdrom.c,

line=108) type:0

pciback: vpci: 0000:02:00.1: assign to virtual slot 0

ACPI: PCI interrupt for device 0000:02:00.1 disabled

BlkBack_DISCONNECT[11]: BEG : ref 1 inFltCnt 0 pendReqCnt 0

BlkBack_DISCONNECT[11]: END (0)

pciback: vpci: 0000:02:00.1: assign to virtual slot 0

(cdrom_add_media_watch() file=/root/shenql/dom4.5/nex-4.0.0/linux/drivers/xen/blkback/cdrom.c,

line=123) nodename:backend/vbd/12/768

(cdrom_is_type() file=/root/shenql/dom4.5/nex-4.0.0/linux/drivers/xen/blkback/cdrom.c,

line=108) type:0

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