Weekly benchmark results [2009ww16]
Hi,
I report a benchmark result of this week on IPF using ia64/xen-unstable and ia64/linux-2.6.18-xen.
- The following cset broke tap:aio.
863: blktap: don't access deallocated data
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/464a925d73f1
Guests hung up while booting, so we used file instead of tap:aio.
- The issue that HVM domains cannot read the contents of HDD is fixed.
TEST ENVIRONMENT
Machine : Tiger4
Kernel : 2.6.18.8-xen
Changeset : 19562:5599cc1e0a84 (ia64/xen-unstable)
863:464a925d73f1 (ia64/linux-2.6.18-xen)
136:eb97cb2936d6 (efi-vfirmware)
08251d3 (qemu-xen-unstable)
Dom0 OS : RHEL4 U2 (2P)
DomU OS : RHEL4 U2 (8P, using tap:aio)
DomVTi OS : RHEL4 U2 (8P, with PV-on-HVM drivers)
CONFIG_QEMU : ioemu-remoteTEST RESULTS
DomU: # file
unixbench4.1.0 : Pass
bonnie++-1.03 : Pass
ltp-full-20070930 : Pass
iozone3_191 : Pass
lmbench-3.0-a5 : Pass
DomVTi: # file
unixbench4.1.0 : Pass
bonnie++-1.03 : Pass
ltp-full-20070930 : Pass
iozone3_191 : Pass
lmbench-3.0-a5 : PassBest regards,
KUWAMURA Shin'ya and FUJITSU members
Hi Keir.
The xen 3.4 release is getting near. (I don't know how soon you're planning to release 3.4.0)
So can you wait for me to create a new patch or can we revert the patch for the 3.4 release?
Anyway the patch isn't a complete fix as I pointed out.
I'll look into this problem from the next Monday. But I'm not sure I can create it so soon.
thanks,
Quoted 46 lines · KUWAMURA Shin'ya
Hi,
I report a benchmark result of this week on IPF using ia64/xen-unstable and ia64/linux-2.6.18-xen.
- The following cset broke tap:aio.
863: blktap: don't access deallocated data
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/464a925d73f1
Guests hung up while booting, so we used file instead of tap:aio.- The issue that HVM domains cannot read the contents of HDD is fixed.
TEST ENVIRONMENT
Machine : Tiger4 Kernel : 2.6.18.8-xen Changeset : 19562:5599cc1e0a84 (ia64/xen-unstable) 863:464a925d73f1 (ia64/linux-2.6.18-xen) 136:eb97cb2936d6 (efi-vfirmware) 08251d3 (qemu-xen-unstable) Dom0 OS : RHEL4 U2 (2P) DomU OS : RHEL4 U2 (8P, using tap:aio) DomVTi OS : RHEL4 U2 (8P, with PV-on-HVM drivers) CONFIG_QEMU : ioemu-remoteTEST RESULTS
DomU: # fileunixbench4.1.0 : Pass bonnie++-1.03 : Pass ltp-full-20070930 : Pass iozone3_191 : Pass lmbench-3.0-a5 : Pass DomVTi: # file unixbench4.1.0 : Pass bonnie++-1.03 : Pass ltp-full-20070930 : Pass iozone3_191 : Pass lmbench-3.0-a5 : PassBest regards,
KUWAMURA Shin'ya and FUJITSU members_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 1 line
yamahata
Quoted 8 lines · Isaku Yamahata
The xen 3.4 release is getting near. (I don't know how soon you're planning to release 3.4.0)
So can you wait for me to create a new patch or can we revert the patch for the 3.4 release?
Anyway the patch isn't a complete fix as I pointed out.I'll look into this problem from the next Monday. But I'm not sure I can create it so soon.
Linux kernel isn't part of a Xen release. 3.4.0 is probably two weeks away.
-- Keir
Can you please try this patch?
linux/blktap: fix vma_close() for partial munmap.
the previous vma_close() didn't take partial
munmap into acount. This patch fixes it.
drivers/xen/blktap/blktap.c +19 -5
@@ -295,6 +295,7 @@ static inline int OFFSET_TO_SEG(int offs*/ struct tap_vma_priv {tap_blkif_t *info; +struct kref kref;struct page *map[]; };
@@ -392,19 +393,31 @@ static pte_t blktap_clear_pte(struct vm_return copy; } +static void blktap_vma_open (struct vm_area_struct *vma) +{ +struct tap_vma_priv *priv = vma->vm_private_data; +kref_get (&priv->kref); +} + + +static void blktap_vma_release (struct kref *kref) +{ +struct tap_vma_priv *priv =container_of (kref, + struct tap_vma_priv, kref); + priv->info->vma =NULL ; +kfree (priv); +} +static void blktap_vma_close (struct vm_area_struct *vma) {struct tap_vma_priv *priv = vma->vm_private_data; - -if (priv) { - priv->info->vma =NULL ; -kfree (priv); - } +kref_put (&priv->kref, blktap_vma_release); }struct vm_operations_struct blktap_vm_ops = { nopage: blktap_nopage, zap_pte: blktap_clear_pte, + open: blktap_vma_open, close: blktap_vma_close, };
@@ -707,6 +720,7 @@ static int blktap_mmap(struct file *filp goto fail; } priv->info = info; +kref_init (&priv->kref); vma->vm_private_data = priv; vma->vm_flags |=VM_FOREIGN ;
Quoted 46 lines · KUWAMURA Shin'ya
Hi,
I report a benchmark result of this week on IPF using ia64/xen-unstable and ia64/linux-2.6.18-xen.
- The following cset broke tap:aio.
863: blktap: don't access deallocated data
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/464a925d73f1
Guests hung up while booting, so we used file instead of tap:aio.- The issue that HVM domains cannot read the contents of HDD is fixed.
TEST ENVIRONMENT
Machine : Tiger4 Kernel : 2.6.18.8-xen Changeset : 19562:5599cc1e0a84 (ia64/xen-unstable) 863:464a925d73f1 (ia64/linux-2.6.18-xen) 136:eb97cb2936d6 (efi-vfirmware) 08251d3 (qemu-xen-unstable) Dom0 OS : RHEL4 U2 (2P) DomU OS : RHEL4 U2 (8P, using tap:aio) DomVTi OS : RHEL4 U2 (8P, with PV-on-HVM drivers) CONFIG_QEMU : ioemu-remoteTEST RESULTS
DomU: # fileunixbench4.1.0 : Pass bonnie++-1.03 : Pass ltp-full-20070930 : Pass iozone3_191 : Pass lmbench-3.0-a5 : Pass DomVTi: # file unixbench4.1.0 : Pass bonnie++-1.03 : Pass ltp-full-20070930 : Pass iozone3_191 : Pass lmbench-3.0-a5 : PassBest regards,
KUWAMURA Shin'ya and FUJITSU members_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 1 line
yamahata
Hi Yamahata-san,
Quoted 2 lines · Isaku Yamahata
Can you please try this patch?
NaT consumption occurred on tapdisk while PV and HVM were booting up. Please see the attachment file.
TEST ENVIRONMENT
Machine : HP rx2620
Kernel : 2.6.18.8-xen
Changeset : 19562:5599cc1e0a84 (ia64/xen-unstable)
863:464a925d73f1 (ia64/linux-2.6.18-xen)
136:eb97cb2936d6 (efi-vfirmware)
08251d3 (qemu-xen-unstable)
Dom0 OS : RHEL5.3 (2P)
DomU OS : RHEL4U2 (2P, using tap:aio)
DomVTi OS : RHEL5.2 (2P, with PV-on-HVM drivers)
CONFIG_QEMU : ioemu-remoteBest regards,
Signature · 1 line
KUWAMURA Shin'ya
tapdisk[4201]: NaT consumption 2216203124768 [1]
Modules linked in: xt_physdev ipt_MASQUERADE iptable_nat ip_nat xt_state ip_conntrack nfnetlink ipt_REJECT iptable_filter ip_tables bonding ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables x_tables ipv6 dm_mirror dm_multipath
Pid: 4201, CPU 0, comm: tapdisk
psr : 0000121008426010 ifs : 8000000000000814 ip : [<a0000001001107c1>] Tainted: GF
ip is at get_user_pages+0x2e1/0x740
unat: 0000000000000000 pfs : 4000000000000814 rsc : 0000000000000007
rnat: dfe0000000000000 bsps: 000000000000ffe5 pr : 000000000069a999
ldrs: 0000000000000000 ccv : 00000000000200d2 fpsr: 0009804c8a70033f csd : 0000000000000000 ssd : 0000000000000000
b0 : a000000100110530 b6 : a000000100245020 b7 : a00000010000ad40 f6 : 1003e0000000000000000 f7 : 1003e0000000000000001 f8 : 1003e0000000000000400 f9 : 1003efffffffffffffa01 f10 : 1003e000000000000003d f11 : 1003e0000000000000100 r1 : a000000101155540 r2 : 2000000000500000 r3 : e00000019e722140 r8 : e00000019e722138 r9 : e0000001b5e26380 r10 : e0000001b53c4890 r11 : 0000000000000000 r12 : e00000019e4c7db0 r13 : e00000019e4c0000 r14 : 0000000000004000 r15 : 0000000000000001 r16 : e00000019e722138 r17 : e00000019e722140 r18 : 2000000000500000 r19 : e00000019e722178 r20 : e0000001b53c4888 r21 : 000000000000000c r22 : 0000000000007fff r23 : e0000001b53c47a4 r24 : e0000001b53c47d8 r25 : e0000001b53c47d0 r26 : 0000000000000000 r27 : 0000000000000000 r28 : 0000000000000004 r29 : 0000000000000000 r30 : e0000001b53c47b8 r31 : 0000000000003fff
Call Trace:
[<a00000010001db00>] show_stack+0x40/0xa0
sp=e00000019e4c77d0 bsp=e00000019e4c1690
[<a00000010001e760>] show_regs+0x840/0x880
sp=e00000019e4c79a0 bsp=e00000019e4c1638
[<a000000100043440>] die+0x1c0/0x380
sp=e00000019e4c79a0 bsp=e00000019e4c15e8
[<a000000100043650>] die_if_kernel+0x50/0x80
sp=e00000019e4c79c0 bsp=e00000019e4c15b8
[<a0000001000447d0>] ia64_fault+0x1150/0x1260
sp=e00000019e4c79c0 bsp=e00000019e4c1560
[<a0000001000702a0>] xen_leave_kernel+0x0/0x3e0
sp=e00000019e4c7be0 bsp=e00000019e4c1560
[<a0000001001107c0>] get_user_pages+0x2e0/0x740
sp=e00000019e4c7db0 bsp=e00000019e4c14c0
[<a000000100199f10>] dio_get_page+0xf0/0x380
sp=e00000019e4c7db0 bsp=e00000019e4c1468
[<a00000010019ba50>] __blockdev_direct_IO+0x850/0x1aa0
sp=e00000019e4c7db0 bsp=e00000019e4c1388
[<a0000001002451f0>] ext3_direct_IO+0x1d0/0x360
sp=e00000019e4c7db0 bsp=e00000019e4c1310
[<a0000001000edfe0>] generic_file_direct_IO+0x160/0x220
sp=e00000019e4c7dc0 bsp=e00000019e4c12b8
[<a0000001000ee480>] __generic_file_aio_read+0x1a0/0x3e0
sp=e00000019e4c7dc0 bsp=e00000019e4c1260
[<a0000001000ee8b0>] generic_file_aio_read+0xb0/0xe0
sp=e00000019e4c7de0 bsp=e00000019e4c1228
[<a000000100189370>] aio_pread+0xb0/0x200
sp=e00000019e4c7df0 bsp=e00000019e4c11e0
[<a00000010018bb60>] aio_run_iocb+0x300/0x4e0
sp=e00000019e4c7df0 bsp=e00000019e4c11b0
[<a00000010018d630>] io_submit_one+0x5f0/0x7c0
sp=e00000019e4c7df0 bsp=e00000019e4c1170
[<a00000010018e580>] sys_io_submit+0x180/0x2c0
sp=e00000019e4c7df0 bsp=e00000019e4c10e8
[<a000000100014520>] ia64_ret_from_syscall+0x0/0x40
sp=e00000019e4c7e30 bsp=e00000019e4c10e8_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 9 lines · KUWAMURA Shin'ya
Hi Yamahata-san,
Quoted 2 lines · Isaku Yamahata
Can you please try this patch?
NaT consumption occurred on tapdisk while PV and HVM were booting up. Please see the attachment file.
Thank you. I haven't reproduce it yet.
Do you have any logs without the patch?
Signature · 1 line
yamahata
Hi Yamahata-san,
Quoted 7 lines · Isaku Yamahata
Quoted 5 lines · KUWAMURA Shin'ya
Hi Yamahata-san,
Quoted 1 line · Isaku Yamahata
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Can you please try this patch?
NaT consumption occurred on tapdisk while PV and HVM were booting up. Please see the attachment file.
Thank you. I haven't reproduce it yet.
Do you have any logs without the patch?
Dom0 has no error, but domUs output errors:
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
# hung up
I attach messages of both PV and HVM domain.
Best regards,
Signature · 1 line
KUWAMURA Shin'ya
Linux version 2.6.18.8-xen ([email protected]) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Thu Apr 23 09:10:17 JST 2009
EFI v1.00 by Xen/ia64: SALsystab=0x2178 ACPI 2.0=0x1000
booting generic kernel on platform xen
ACPI: RSDP (v002 XEN ) @ 0x0000000000001000
ACPI: XSDT (v001 XEN Xen/ia64 0x00000000 XEN 0x00030004) @ 0x0000000000001024
ACPI: FADT (v003 XEN Xen/ia64 0x00000000 XEN 0x00030004) @ 0x0000000000001058
ACPI: MADT (v002 XEN Xen/ia64 0x00000000 XEN 0x00030004) @ 0x0000000000001478
ACPI: DSDT (v001 XEN Xen/ia64 0x00000000 XEN 0x00030004) @ 0x0000000000000000
SAL 0.1: Xen/ia64 Xen/ia64 version 0.0
SAL: AP wakeup using external interrupt vector 0xf3
No logical to physical processor mapping available
ACPI: Local APIC address c0000000fee00000
ACPI: Error parsing MADT - no IOSAPIC entries
2 CPUs available, 2 CPUs total
Running on Xen! start_info_pfn=0xfffd nr_pages=65536 flags=0x0 Virtual mem_map starts at 0xa0007fffffc80000
On node 0 totalpages: 64264
DMA zone: 64264 pages, LIFO batch:7
SMP: Allowing 2 CPUs, 0 hotplug CPUs
Built 1 zonelists. Total pages: 64264
Kernel command line: root=/dev/hda1 ro console=tty console=xvc0
PID hash table entries: 4096 (order: 12, 32768 bytes)
CPU 0: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz
Console: colour dummy device 80x25
Memory: 1022256k/1028224k available (10879k code, 26240k reserved, 5054k data, 6 88k init)
McKinley Errata 9 workaround not needed; disabling it
Calibrating delay loop... 3185.04 BogoMIPS (lpj=15925248)
Dentry cache hash table entries: 131072 (order: 6, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 5, 524288 bytes) Mount-cache hash table entries: 1024
ACPI: Core revision 20060707
Boot processor id 0x0/0x0
Fixed BSP b0 value from CPU 1
CPU 1: synchronized ITC with CPU 0 (last diff 8 cycles, maxerr 160 cycles) CPU 1: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz Calibrating delay loop... 3165.38 BogoMIPS (lpj=15826944)
Brought up 2 CPUs
Total of 2 processors activated (6350.43 BogoMIPS). migration_cost=12234
DMI not present or invalid.
NET: Registered protocol family 16
ACPI: bus type pci registered
Brought up 2 CPUs
ACPI: SCI (ACPI GSI 0) not registered
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
suspend: event channel 9xen_mem: Initialising balloon driver.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 2, 65536 bytes)
TCP established hash table entries: 32768 (order: 5, 524288 bytes) TCP bind hash table entries: 16384 (order: 4, 262144 bytes)
TCP: Hash tables configured (established 32768 bind 16384)
TCP reno registered
perfmon: version 2.0 IRQ 238
perfmon: Montecito PMU detected, 27 PMCs, 35 PMDs, 12 counters (47 bits) PAL Information Facility v0.5
perfmon: added sampling format default_formatperfmon_default_smpl: default_format v2.0 registered
Installing knfsd (copyright (C) 1996 [email protected]).
SGI XFS with large block/inode numbers, no debug enabled Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registeredpci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (FF) [SLPF]
ACPI Exception (acpi_processor-0721): AE_NOT_FOUND, Processor Device is not pres ent [20060707]
ACPI: Getting cpuindex for acpiid 0x2
EFI Time Services Driver v0.4
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 3.6.10)
Intel(R) PRO/1000 Network Driver - version 7.1.9-k4
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
arcnet loaded.
netconsole: not configured, aborting
Linux video capture interface: v2.00
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
xen-vbd: registered block device major 3
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard as /class/input/input0
input: Xen Virtual Pointer as /class/input/input1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide
st: Version 20050830, fixed bufsize 32768, s/g segs 256
osst :I: Tape driver with OnStream support version 0.99.4
osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
Fusion MPT base driver 3.04.01
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.01
Fusion MPT SAS Host driver 3.04.01
usbmon: debugfs is not availableohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid /home/kuwa/proj/ia64/linux-2.6.18-xen.hg/drivers/usb/input/hid-core.c: v2.6:USB HID core driveri8042.c: i8042 controller self test timeout.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: [email protected] EFI Variables Facility v0.08 2004-May-17
efivars: get_next_variable: status=8000000000000003
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
no UART detected at 0x1
specify portsnd_mpu401: probe of snd_mpu401.0 failed with error -22
ALSA device list:
#0: Dummy 1
#1: Virtual MIDI Card 1
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
xen privcmd uses pseudo physical addr range [0x40000000, 0x3ffff000000] (4193264 MB)
Xen p2m: assign p2m table of [0x0000000000000000, 0x0000000040004000) Xen p2m: to [0x0000000040000000, 0x0000000044000000) (65536 KBytes)
XENBUS: Device with no driver: device/console/0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 688kB freedrequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429d
Linux version 2.6.9-22.EL ([email protected]) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 17:54:55 EDT 2005
Warning: EFI system table major version mismatch: got 2.00, expected 1.00 EFI v2.00 by TianoCore.org: ACPI 2.0=0xec000 SALsystab=0x1f15aac8 SMBIOS=0x1fc01 000
booting generic kernel on platform dig
ACPI: RSDP (v002 Xen ) @ 0x00000000000ec000
ACPI: XSDT (v001 Xen HVM 0x00000000 HVML 0x00000000) @ 0x00000000000ecac
0
ACPI: FADT (v004 Xen HVM 0x00000000 HVML 0x00000000) @ 0x00000000000ec8c
0
ACPI: MADT (v002 Xen HVM 0x00000000 HVML 0x00000000) @ 0x00000000000ec9c
0
ACPI: HPET (v001 Xen HVM 0x00000000 HVML 0x00000000) @ 0x00000000000eca8
0
ACPI: DSDT (v002 Xen HVM 0x00000000 INTL 0x20061109) @ 0x000000000000000
0
Warning: acpi_table_parse(ACPI_SRAT) returned 0!
Warning: acpi_table_parse(ACPI_SLIT) returned 0!
efi.trim_top: ignoring 4KB of memory at 0x0 due to granule hole at 0x0 efi.trim_top: ignoring 636KB of memory at 0x1000 due to granule hole at 0x0 efi.trim_bottom: ignoring 48KB of memory at 0xe0000 due to granule hole at 0x0 efi.trim_bottom: ignoring 15432KB of memory at 0xee000 due to granule hole at 0x 0
efi.trim_top: ignoring 128KB of memory at 0x1ff6e000 due to granule hole at 0x20 000000
Initial ramdisk at: 0xe00000001d156000 (1601685 bytes)
SAL 3.0: Xen/ia64 Tianocore SAL Xen/ia64 SAL version 2.0
SAL: AP wakeup using external interrupt vector 0xf3
SAL Platform features: Noneiosapic_system_init: Disabling PC-AT compatible 8259 interrupts
ACPI: Local APIC address c0000000fee00000register_intr: changing vector 47 from IO-SAPIC-edge to IO-SAPIC-levelregister_intr: changing vector 38 from IO-SAPIC-edge to IO-SAPIC-levelregister_intr: changing vector 37 from IO-SAPIC-edge to IO-SAPIC-level 8 CPUs available, 8 CPUs total
Registering legacy COM ports for serial console
MCA related initialization done
Virtual mem_map starts at 0xa0007fffffe40000
On node 0 totalpages: 30397
DMA zone: 30397 pages, LIFO batch:4
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: BOOT_IMAGE=atapi0:\efi\redhat\vmlinuz-2.6.9-22.EL root=/de v/hda2 console=tty0 console=ttyS0,9600n8r hda=noprobe hdb=noprobe roide_setup: hda=noprobeide_setup: hdb=noprobe
PID hash table entries: 1024 (order: 10, 32768 bytes)
CPU 0: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 5, 524288 bytes) Inode-cache hash table entries: 32768 (order: 4, 262144 bytes) Placing software IO TLB between 0x4a64000 - 0x8a64000
Memory: 413248k/486352k available (5611k code, 85024k reserved, 2260k data, 384k
init)
McKinley Errata 9 workaround not needed; disabling it
Calibrating delay loop... 3130.52 BogoMIPS (lpj=1527808)
Security Scaffold v1.0.0 initialized
SELinux: Initializing. SELinux: Starting in permissive mode
There is already a security framework initialized, register_security failed.selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary
Mount-cache hash table entries: 1024 (order: 0, 16384 bytes) Boot processor id 0x0/0x0
task migration cache decay timeout: 10 msecs.
CPU 1: synchronized ITC with CPU 0 (last diff 2 cycles, maxerr 307 cycles) CPU 1: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3139.76 BogoMIPS (lpj=1531904)
CPU 2: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 307 cycles) CPU 2: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3139.76 BogoMIPS (lpj=1531904)
CPU 3: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 307 cycles) CPU 3: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3113.04 BogoMIPS (lpj=1519616)
CPU 4: synchronized ITC with CPU 0 (last diff -6 cycles, maxerr 307 cycles) CPU 4: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3139.76 BogoMIPS (lpj=1531904)
CPU 5: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 307 cycles) CPU 5: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3130.52 BogoMIPS (lpj=1527808)
CPU 6: synchronized ITC with CPU 0 (last diff 2 cycles, maxerr 307 cycles) CPU 6: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3122.28 BogoMIPS (lpj=1523712)
CPU 7: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 308 cycles) CPU 7: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3130.52 BogoMIPS (lpj=1527808)
Brought up 8 CPUs
Total of 8 processors activated (25046.16 BogoMIPS).
checking if image is initramfs... it is
Freeing initrd memory: 1552kB freed
NET: Registered protocol family 16
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
GSI 20 (level, low) -> CPU 0 (0x0000) vector 48
ACPI: PCI interrupt 0000:00:01.3[A] -> GSI 20 (level, low) -> IRQ 48 GSI 28 (level, low) -> CPU 1 (0x0100) vector 49
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 28 (level, low) -> IRQ 49 GSI 32 (level, low) -> CPU 2 (0x0200) vector 50
ACPI: PCI interrupt 0000:00:04.0[A] -> GSI 32 (level, low) -> IRQ 50
perfmon: version 2.0 IRQ 238
perfmon: Generic PMU detected, 8 PMCs, 4 PMDs, 4 counters (32 bits) PAL Information Facility v0.5
perfmon: added sampling format default_formatperfmon_default_smpl: default_format v2.0 registered
audit: initializing netlink socket (disabled) audit(1240842100.314:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 453B8631FE6159D3
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
PCI: PIIX3: Enabling Passive Release on 0000:00:01.0
Activating ISA DMA hang workarounds.pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Processor [CPU0] (supports C1)
ACPI: Processor [CPU1] (supports C1)
ACPI: Processor [CPU2] (supports C1)
ACPI: Processor [CPU3] (supports C1)
EFI Time Services Driver v0.4
Linux agpgart interface v0.100 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 36
serio: i8042 KBD port at 0x60,0x64 irq 32
Serial: 8250/16550 driver $Revision: 1.90 $ 20 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 44) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller at PCI slot 0000:00:01.1
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pioProbing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
EFI Variables Facility v0.08 2004-May-17
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 128Kbytes
TCP: Hash tables configured (established 65536 bind 65536) Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 384kB freed
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 28 (level, low) -> IRQ 49
suspend: event channel 11
xen-vbd: registered block device major 3
Using cfq io scheduler
hda: hda1<6>netfront: Initialising virtual ethernet driver. hda2
divert: allocating divert_blk for eth0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.request_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429d
_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel
Thank you. I suppose I tracked it down.
Can you please try attached patches?
Quoted 373 lines · KUWAMURA Shin'ya
Hi Yamahata-san,
Quoted 7 lines · Isaku Yamahata
Quoted 5 lines · KUWAMURA Shin'ya
Hi Yamahata-san,
Quoted 1 line · Isaku Yamahata
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Can you please try this patch?
NaT consumption occurred on tapdisk while PV and HVM were booting up. Please see the attachment file.
Thank you. I haven't reproduce it yet.
Do you have any logs without the patch?Dom0 has no error, but domUs output errors:
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d
request_module: runaway loop modprobe binfmt-429d# hung upI attach messages of both PV and HVM domain.
Best regards,
Linux version 2.6.18.8-xen ([email protected]) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Thu Apr 23 09:10:17 JST 2009
EFI v1.00 by Xen/ia64: SALsystab=0x2178 ACPI 2.0=0x1000
booting generic kernel on platform xen
ACPI: RSDP (v002 XEN ) @0x0000000000001000
ACPI: XSDT (v001 XEN Xen/ia640x00000000XEN0x00030004) @0x0000000000001024
ACPI: FADT (v003 XEN Xen/ia640x00000000XEN0x00030004) @0x0000000000001058
ACPI: MADT (v002 XEN Xen/ia640x00000000XEN0x00030004) @0x0000000000001478
ACPI: DSDT (v001 XEN Xen/ia640x00000000XEN0x00030004) @0x0000000000000000
SAL 0.1: Xen/ia64 Xen/ia64 version 0.0
SAL: AP wakeup using external interrupt vector0xf3
No logical to physical processor mapping available
ACPI: Local APIC addressc0000000fee00000
ACPI: Error parsing MADT - no IOSAPIC entries
2 CPUs available, 2 CPUs total
Running on Xen! start_info_pfn=0xfffd nr_pages=65536 flags=0x0 Virtualmem_mapstarts at0xa0007fffffc80000
On node 0 totalpages: 64264
DMA zone: 64264 pages, LIFO batch:7
SMP: Allowing 2 CPUs, 0 hotplug CPUs
Built 1 zonelists. Total pages: 64264
Kernel command line: root=/dev/hda1 ro console=tty console=xvc0
PID hash table entries: 4096 (order: 12, 32768 bytes)
CPU 0: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz
Console: colour dummy device 80x25
Memory: 1022256k/1028224k available (10879k code, 26240k reserved, 5054k data, 6 88k init)
McKinley Errata 9 workaround not needed; disabling it
Calibrating delay loop... 3185.04 BogoMIPS (lpj=15925248)
Dentry cache hash table entries: 131072 (order: 6, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 5, 524288 bytes) Mount-cache hash table entries: 1024
ACPI: Core revision 20060707
Boot processor id 0x0/0x0
Fixed BSP b0 value from CPU 1
CPU 1: synchronized ITC with CPU 0 (last diff 8 cycles, maxerr 160 cycles) CPU 1: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz Calibrating delay loop... 3165.38 BogoMIPS (lpj=15826944)
Brought up 2 CPUs
Total of 2 processors activated (6350.43 BogoMIPS). migration_cost=12234
DMI not present or invalid.
NET: Registered protocol family 16
ACPI: bus type pci registered
Brought up 2 CPUs
ACPI: SCI (ACPI GSI 0) not registered
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
suspend: event channel 9xen_mem: Initialising balloon driver.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 2, 65536 bytes)
TCP established hash table entries: 32768 (order: 5, 524288 bytes) TCP bind hash table entries: 16384 (order: 4, 262144 bytes)
TCP: Hash tables configured (established 32768 bind 16384)
TCP reno registered
perfmon: version 2.0 IRQ 238
perfmon: Montecito PMU detected, 27 PMCs, 35 PMDs, 12 counters (47 bits) PAL Information Facility v0.5
perfmon: added sampling formatdefault_formatperfmon_default_smpl:default_formatv2.0 registered
Installing knfsd (copyright (C) 1996 [email protected]).
SGI XFS with large block/inode numbers, no debug enabled Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registeredpci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (FF) [SLPF]
ACPI Exception (acpi_processor-0721):AE_NOT_FOUND, Processor Device is not pres ent [20060707]
ACPI: Getting cpuindex for acpiid0x2
EFI Time Services Driver v0.4
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 3.6.10)
Intel(R) PRO/1000 Network Driver - version 7.1.9-k4
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
arcnet loaded.
netconsole: not configured, aborting
Linux video capture interface: v2.00
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
xen-vbd: registered block device major 3
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard as /class/input/input0
input: Xen Virtual Pointer as /class/input/input1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide
st: Version 20050830, fixed bufsize 32768, s/g segs 256
osst :I: Tape driver with OnStream support version 0.99.4
osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
Fusion MPT base driver 3.04.01
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.01
Fusion MPT SAS Host driver 3.04.01
usbmon: debugfs is not availableohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid/home/kuwa/proj/ia64/linux-2.6.18-xen.hg/drivers/usb/input/hid-core.c: v2.6:USB HID core driveri8042.c: i8042 controller self test timeout.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: [email protected] EFI Variables Facility v0.08 2004-May-17
efivars:get_next_variable: status=8000000000000003
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
no UART detected at0x1
specify portsnd_mpu401: probe of snd_mpu401.0 failed with error -22
ALSA device list:
#0: Dummy 1
#1: Virtual MIDI Card 1
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
xen privcmd uses pseudo physical addr range [0x40000000,0x3ffff000000] (4193264 MB)
Xen p2m: assign p2m table of [0x0000000000000000,0x0000000040004000) Xen p2m: to [0x0000000040000000,0x0000000044000000) (65536 KBytes)
XENBUS: Device with no driver: device/console/0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 688kB freedrequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429dLinux version 2.6.9-22.EL ([email protected]) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 17:54:55 EDT 2005
Warning: EFI system table major version mismatch: got 2.00, expected 1.00 EFI v2.00 by TianoCore.org: ACPI 2.0=0xec000 SALsystab=0x1f15aac8 SMBIOS=0x1fc01 000
booting generic kernel on platform dig
ACPI: RSDP (v002 Xen ) @0x00000000000ec000
ACPI: XSDT (v001 Xen HVM0x00000000HVML0x00000000) @0x00000000000ecac
0
ACPI: FADT (v004 Xen HVM0x00000000HVML0x00000000) @0x00000000000ec8c
0
ACPI: MADT (v002 Xen HVM0x00000000HVML0x00000000) @0x00000000000ec9c
0
ACPI: HPET (v001 Xen HVM0x00000000HVML0x00000000) @0x00000000000eca8
0
ACPI: DSDT (v002 Xen HVM0x00000000INTL0x20061109) @0x000000000000000
0
Warning:acpi_table_parse(ACPI_SRAT)returned 0!
Warning:acpi_table_parse(ACPI_SLIT)returned 0!
efi.trim_top: ignoring 4KB of memory at0x0due to granule hole at0x0efi.trim_top: ignoring 636KB of memory at0x1000due to granule hole at0x0efi.trim_bottom: ignoring 48KB of memory at0xe0000due to granule hole at0x0efi.trim_bottom: ignoring 15432KB of memory at0xee000due to granule hole at 0x 0
efi.trim_top: ignoring 128KB of memory at0x1ff6e000due to granule hole at0x20000000
Initial ramdisk at:0xe00000001d156000(1601685 bytes)
SAL 3.0: Xen/ia64 Tianocore SAL Xen/ia64 SAL version 2.0
SAL: AP wakeup using external interrupt vector0xf3
SAL Platform features: Noneiosapic_system_init: Disabling PC-AT compatible 8259 interrupts
ACPI: Local APIC addressc0000000fee00000register_intr: changing vector 47 from IO-SAPIC-edge to IO-SAPIC-levelregister_intr: changing vector 38 from IO-SAPIC-edge to IO-SAPIC-levelregister_intr: changing vector 37 from IO-SAPIC-edge to IO-SAPIC-level 8 CPUs available, 8 CPUs total
Registering legacy COM ports for serial console
MCA related initialization done
Virtualmem_mapstarts at0xa0007fffffe40000
On node 0 totalpages: 30397
DMA zone: 30397 pages, LIFO batch:4
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: BOOT_IMAGE=atapi0:\efi\redhat\vmlinuz-2.6.9-22.EL root=/de v/hda2 console=tty0 console=ttyS0,9600n8r hda=noprobe hdb=noprobe roide_setup: hda=noprobeide_setup: hdb=noprobe
PID hash table entries: 1024 (order: 10, 32768 bytes)
CPU 0: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 5, 524288 bytes) Inode-cache hash table entries: 32768 (order: 4, 262144 bytes) Placing software IO TLB between0x4a64000-0x8a64000
Memory: 413248k/486352k available (5611k code, 85024k reserved, 2260k data, 384k
init)
McKinley Errata 9 workaround not needed; disabling it
Calibrating delay loop... 3130.52 BogoMIPS (lpj=1527808)
Security Scaffold v1.0.0 initializedSELinux: Initializing. SELinux: Starting in permissive modeThere is already a security framework initialized,
register_securityfailed.selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary
Mount-cache hash table entries: 1024 (order: 0, 16384 bytes) Boot processor id 0x0/0x0
task migration cache decay timeout: 10 msecs.
CPU 1: synchronized ITC with CPU 0 (last diff 2 cycles, maxerr 307 cycles) CPU 1: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3139.76 BogoMIPS (lpj=1531904)
CPU 2: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 307 cycles) CPU 2: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3139.76 BogoMIPS (lpj=1531904)
CPU 3: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 307 cycles) CPU 3: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3113.04 BogoMIPS (lpj=1519616)
CPU 4: synchronized ITC with CPU 0 (last diff -6 cycles, maxerr 307 cycles) CPU 4: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3139.76 BogoMIPS (lpj=1531904)
CPU 5: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 307 cycles) CPU 5: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3130.52 BogoMIPS (lpj=1527808)
CPU 6: synchronized ITC with CPU 0 (last diff 2 cycles, maxerr 307 cycles) CPU 6: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3122.28 BogoMIPS (lpj=1523712)
CPU 7: synchronized ITC with CPU 0 (last diff -2 cycles, maxerr 308 cycles) CPU 7: base freq=199.459MHz, ITC ratio=8/4, ITC freq=398.919MHz+/--1ppm Calibrating delay loop... 3130.52 BogoMIPS (lpj=1527808)
Brought up 8 CPUs
Total of 8 processors activated (25046.16 BogoMIPS).
checking if image is initramfs... it is
Freeing initrd memory: 1552kB freed
NET: Registered protocol family 16
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
GSI 20 (level, low) -> CPU 0 (0x0000) vector 48
ACPI: PCI interrupt 0000:00:01.3[A] -> GSI 20 (level, low) -> IRQ 48 GSI 28 (level, low) -> CPU 1 (0x0100) vector 49
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 28 (level, low) -> IRQ 49 GSI 32 (level, low) -> CPU 2 (0x0200) vector 50
ACPI: PCI interrupt 0000:00:04.0[A] -> GSI 32 (level, low) -> IRQ 50
perfmon: version 2.0 IRQ 238
perfmon: Generic PMU detected, 8 PMCs, 4 PMDs, 4 counters (32 bits) PAL Information Facility v0.5
perfmon: added sampling formatdefault_formatperfmon_default_smpl:default_formatv2.0 registered
audit: initializing netlink socket (disabled) audit(1240842100.314:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 453B8631FE6159D3
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
PCI: PIIX3: Enabling Passive Release on 0000:00:01.0
Activating ISA DMA hang workarounds.pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Processor [CPU0] (supports C1)
ACPI: Processor [CPU1] (supports C1)
ACPI: Processor [CPU2] (supports C1)
ACPI: Processor [CPU3] (supports C1)
EFI Time Services Driver v0.4
Linux agpgart interface v0.100 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 36
serio: i8042 KBD port at 0x60,0x64 irq 32
Serial: 8250/16550 driver $Revision: 1.90 $ 20 ports, IRQ sharing enabled ttyS0 at I/O0x3f8(irq = 44) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocatingdivert_blkfor non-ethernet device lo Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller at PCI slot 0000:00:01.1
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs lateride0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pioProbing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhiddrivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
EFI Variables Facility v0.08 2004-May-17
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 128Kbytes
TCP: Hash tables configured (established 65536 bind 65536) Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 384kB freed
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 28 (level, low) -> IRQ 49
suspend: event channel 11
xen-vbd: registered block device major 3
Using cfq io scheduler
hda: hda1<6>netfront: Initialising virtual ethernet driver. hda2
divert: allocatingdivert_blkfor eth0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.request_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429drequest_module: runaway loop modprobe binfmt-429d_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 1 line
yamahata
blktap: add one static.
one static.
drivers/xen/blktap/blktap.c +1 -1
@@ -855,7 +855,7 @@ static unsigned int blktap_poll(struct freturn 0 ; } -void blktap_kick_user (int idx) +static void blktap_kick_user (int idx) {tap_blkif_t *info;
blktap: fix race memory refernce with ring_ok.
fix race memory refernce with ring_ok.
drivers/xen/blktap/blktap.c +5 -0
@@ -617,6 +617,9 @@ static int blktap_release(struct inode *if (!info)return 0 ; + info->ring_ok =0 ; +smp_wmb (); + info->dev_inuse =0 ;DPRINTK ("Freeing device [/dev/xen/blktap%d]\n" ,info->minor);
@@ -717,6 +720,7 @@ static int blktap_mmap(struct file *filp#endif info->vma = vma; +smp_wmb (); info->ring_ok =1 ;return 0 ; fail:
@@ -1390,6 +1394,7 @@ static void dispatch_rw_block_io(blkif_tWPRINTK ("blktap: ring not ready for requests!\n" ); goto fail_response; } +smp_rmb ();if (RING_FULL (&info->ufe_ring)) { WPRINTK("blktap: fe_ring is full, can't add "
blktap: don't use vma->vm_start to calculate offset.
struct vma can be split, we can't depend on vm_start. Instead, use tap_blkif_t::rings_vstart.
drivers/xen/blktap/blktap.c +10 -7
@@ -318,7 +318,7 @@ static pte_t blktap_clear_pte(struct vm_pte_t copy;tap_blkif_t *info;int offset, seg, usr_idx, pending_idx, mmap_idx; -unsigned long uvstart = vma->vm_start + (RING_PAGES <<PAGE_SHIFT ); +unsigned long uvstart;unsigned long kvaddr;struct tap_vma_priv *priv;struct page *pg;
@@ -330,11 +330,15 @@ static pte_t blktap_clear_pte(struct vm_* If the address is before the start of the grant mapped region or * if vm_file is NULL (meaning mmap failed and we have nothing to do) */ -if (uvaddr < uvstart || vma->vm_file ==NULL ) +if (vma->vm_file !=NULL ) { + info = vma->vm_file->private_data; + uvstart = info->rings_vstart + (RING_PAGES <<PAGE_SHIFT ); + }else + uvstart = uvaddr;/* make the following if clause true */ +if (uvaddr < uvstart)return ptep_get_and_clear_full (vma->vm_mm, uvaddr, ptep, is_fullmm); - info = vma->vm_file->private_data; priv = vma->vm_private_data;/* TODO Should these be changed to if statements? */
@@ -1210,8 +1214,7 @@ static int blktap_read_ufe_ring(tap_blki pg =pfn_to_page (__pa (kvaddr) >>PAGE_SHIFT );ClearPageReserved (pg); - offset = (uvaddr - info->vma->vm_start) - >>PAGE_SHIFT ; + offset = (uvaddr - info->rings_vstart) >>PAGE_SHIFT ; priv->map[offset] =NULL ; }fast_flush_area (pending_req, pending_idx, usr_idx, info->minor);
@@ -1501,7 +1504,7 @@ static void dispatch_rw_block_io(blkif_tset_phys_to_machine (__pa (kvaddr) >>PAGE_SHIFT ,FOREIGN_FRAME (map[i].dev_bus_addr >>PAGE_SHIFT )); - offset = (uvaddr - info->vma->vm_start) >>PAGE_SHIFT ; + offset = (uvaddr - info->rings_vstart) >>PAGE_SHIFT ; pg =pfn_to_page (__pa (kvaddr) >>PAGE_SHIFT ); priv->map[offset] = pg; }
@@ -1528,7 +1531,7 @@ static void dispatch_rw_block_io(blkif_tif (ret)continue ; - offset = (uvaddr - info->vma->vm_start) >>PAGE_SHIFT ; + offset = (uvaddr - info->rings_vstart) >>PAGE_SHIFT ; pg =pfn_to_page (__pa (kvaddr) >>PAGE_SHIFT ); priv->map[offset] = pg; }
linux/blktap: fix vma_close() for partial munmap.
vm_area_struct::vm_private_data is used
by get_user_pages() so that we can't override it. So in order to make blktap work, set it
to a array of struct page*.
Without mm->mmap_sem, virtual mapping can be changed. so remembering vma which was passed to mmap callback is bogus because later the vma can be freed or changed. So don't remember vma and put necessary infomations into tap_blkif_t. and use find_vma() to get necessary vma's.
drivers/xen/blktap/blktap.c +99 -51
326 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi Yamahata-san,
Quoted 3 lines · Isaku Yamahata
Thank you. I suppose I tracked it down.
Can you please try attached patches?
The issue was fixed.
I confirmed that both PV and HVM domains booted up.
Thank you.
Signature · 1 line
KUWAMURA Shin'ya