From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH v6] Userspace grant communication Date: Mon, 7 Feb 2011 18:14:16 -0500 Message-ID: <20110207231416.GA12956@dumpdata.com> References: <1296753544-13323-1-git-send-email-dgdegra@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C" Return-path: Content-Disposition: inline In-Reply-To: <1296753544-13323-1-git-send-email-dgdegra@tycho.nsa.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Daniel De Graaf Cc: jeremy@goop.org, xen-devel@lists.xensource.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 03, 2011 at 12:18:58PM -0500, Daniel De Graaf wrote: > Changes since v5: > - Added a tested xen version to workaround in #4 > - Cleaned up variable names & structures > - Clarified some of the cleanup in gntalloc > - Removed copyright statement from public-domain files > > [PATCH 1/6] xen-gntdev: Change page limit to be global instead of per-open > [PATCH 2/6] xen-gntdev: Use find_vma rather than iterating our vma list manually > [PATCH 3/6] xen-gntdev: Add reference counting to maps > [PATCH 4/6] xen-gntdev: Support mapping in HVM domains > [PATCH 5/6] xen-gntalloc: Userspace grant allocation driver > [PATCH 6/6] xen/gntalloc,gntdev: Add unmap notify ioctl > > Test/Demo code (also updated): I played with this (two PV domains) and I got two failures: 1). When forgetting to unmap a grant page and quitting the tool 2). when unmapping appropriately. Attached are the logs from the domain exporting the grants (domain 4), and the faulting (domain 3 and domain 5). This is using this patchset (devel/gntalloc.v6) and sticking it on top of 2.6.38-rc2 with a whole bunch of patches. To be specific: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git #master --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pv-did-unmap.log" Content-Transfer-Encoding: quoted-printable 22:57:25 # 5 :/mnt/lab/latest/ =0D=0D > xm create -c pv.xm=0D Using config file "./pv.xm".=0D Started domain pv.xm (id=3D5) [ 0.000000] Initializing cgroup subsys cpuset=0D [ 0.000000] Initializing cgroup subsys cpu=0D [ 0.000000] Linux version 2.6.38-rc2-00045-gcb81bee (konrad@phenom) (gcc= version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #1 SMP Mon Feb 7 17:28:33= EST 2011=0D [ 0.000000] Command line: console=3Dhvc0 debug iommu=3Dsoft swiotlb=3Dfo= rce=0D [ 0.000000] ACPI in unprivileged domain disabled=0D [ 0.000000] released 0 pages of unused memory=0D [ 0.000000] Set 0 page(s) to 1-1 mapping.=0D [ 0.000000] BIOS-provided physical RAM map:=0D [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)=0D [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)=0D [ 0.000000] Xen: 0000000000100000 - 000000002d800000 (usable)=0D [ 0.000000] NX (Execute Disable) protection: active=0D [ 0.000000] DMI not present or invalid.=0D [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usab= le) =3D=3D> (reserved)=0D [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usab= le)=0D [ 0.000000] No AGP bridge found=0D [ 0.000000] last_pfn =3D 0x2d800 max_arch_pfn =3D 0x400000000=0D [ 0.000000] Scanning 0 areas for low memory corruption=0D [ 0.000000] initial memory mapped : 0 - 0e3ff000=0D [ 0.000000] init_memory_mapping: 0000000000000000-000000002d800000=0D [ 0.000000] 0000000000 - 002d800000 page 4k=0D [ 0.000000] kernel direct mapping tables up to 2d800000 @ e291000-e3ff00= 0=0D [ 0.000000] RAMDISK: 01b5c000 - 0d824000=0D [ 0.000000] No NUMA configuration found=0D [ 0.000000] Faking a node at 0000000000000000-000000002d800000=0D [ 0.000000] Initmem setup node 0 0000000000000000-000000002d800000=0D [ 0.000000] NODE_DATA [000000002cffb000 - 000000002cffffff]=0D [ 0.000000] Zone PFN ranges:=0D [ 0.000000] DMA 0x00000010 -> 0x00001000=0D [ 0.000000] DMA32 0x00001000 -> 0x00100000=0D [ 0.000000] Normal empty=0D [ 0.000000] Movable zone start PFN for each node=0D [ 0.000000] early_node_map[2] active PFN ranges=0D [ 0.000000] 0: 0x00000010 -> 0x000000a0=0D [ 0.000000] 0: 0x00000100 -> 0x0002d800=0D [ 0.000000] On node 0 totalpages: 186256=0D [ 0.000000] DMA zone: 56 pages used for memmap=0D [ 0.000000] DMA zone: 6 pages reserved=0D [ 0.000000] DMA zone: 3922 pages, LIFO batch:0=0D [ 0.000000] DMA32 zone: 2492 pages used for memmap=0D [ 0.000000] DMA32 zone: 179780 pages, LIFO batch:31=0D [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs=0D [ 0.000000] No local APIC present=0D [ 0.000000] APIC: disable apic facility=0D [ 0.000000] APIC: switched to apic NOOP=0D [ 0.000000] nr_irqs_gsi: 16=0D [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000001= 00000=0D [ 0.000000] Allocating PCI resources starting at 2d800000 (gap: 2d800000= :d2800000)=0D [ 0.000000] Booting paravirtualized kernel on Xen=0D [ 0.000000] Xen version: 4.1-110207 (preserve-AD)=0D [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_no= de_ids:1=0D [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88002cfce000 s83136 r8192= d23360 u114688=0D [ 0.000000] pcpu-alloc: s83136 r8192 d23360 u114688 alloc=3D28*4096=0D [ 0.000000] pcpu-alloc: [0] 0 =0D [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Tota= l pages: 183702=0D [ 0.000000] Policy zone: DMA32=0D [ 0.000000] Kernel command line: console=3Dhvc0 debug iommu=3Dsoft swiot= lb=3Dforce=0D [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)=0D [ 0.000000] Placing 64MB software IO TLB between ffff880027a00000 - ffff= 88002ba00000=0D [ 0.000000] software IO TLB at phys 0x27a00000 - 0x2ba00000=0D [ 0.000000] Memory: 453168k/745472k available (4423k kernel code, 448k a= bsent, 291856k reserved, 4281k data, 644k init)=0D [ 0.000000] SLUB: Genslabs=3D15, HWalign=3D64, Order=3D0-3, MinObjects= =3D0, CPUs=3D1, Nodes=3D1=0D [ 0.000000] Hierarchical RCU implementation.=0D [ 0.000000] RCU-based detection of stalled CPUs is disabled.=0D [ 0.000000] NR_IRQS:4352 nr_irqs:256 16=0D [ 0.000000] Console: colour dummy device 80x25=0D [ 0.000000] console [tty0] enabled=0D [ 0.000000] console [hvc0] enabled=0D [ 0.000000] Xen: using vcpuop timer interface=0D [ 0.000000] installing Xen timer for CPU 0=0D [ 0.000000] Detected 3000.180 MHz processor.=0D [ 0.000999] Calibrating delay loop (skipped), value calculated using tim= er frequency.. 6000.36 BogoMIPS (lpj=3D3000180)=0D [ 0.000999] pid_max: default: 32768 minimum: 301=0D [ 0.000999] Security Framework initialized=0D [ 0.000999] SELinux: Initializing.=0D [ 0.000999] SELinux: Starting in permissive mode=0D [ 0.000999] Dentry cache hash table entries: 131072 (order: 8, 1048576 b= ytes)=0D [ 0.000999] Inode-cache hash table entries: 65536 (order: 7, 524288 byte= s)=0D [ 0.000999] Mount-cache hash table entries: 256=0D [ 0.000999] Initializing cgroup subsys ns=0D [ 0.000999] ns_cgroup deprecated: consider using the 'clone_children' fl= ag without the ns_cgroup.=0D [ 0.000999] Initializing cgroup subsys cpuacct=0D [ 0.000999] Initializing cgroup subsys freezer=0D [ 0.001033] tseg: 0000000000=0D [ 0.001043] CPU: Physical Processor ID: 0=0D [ 0.001048] CPU: Processor Core ID: 0=0D [ 0.001109] SMP alternatives: switching to UP code=0D [ 0.003016] Freeing SMP alternatives: 16k freed=0D [ 0.003096] cpu 0 spinlock event irq 17=0D [ 0.003114] Performance Events: =0D [ 0.003119] no APIC, boot with the "lapic" boot parameter to force-enabl= e it.=0D [ 0.003126] no hardware sampling interrupt available.=0D [ 0.003156] Broken PMU hardware detected, using software events only.=0D [ 0.003321] MCE: In-kernel MCE decoding enabled.=0D [ 0.003329] Brought up 1 CPUs=0D [ 0.003502] kworker/u:0 used greatest stack depth: 6032 bytes left=0D [ 0.003758] Grant table initialized=0D [ 0.022760] Time: 165:165:165 Date: 165/165/65=0D [ 0.022817] NET: Registered protocol family 16=0D [ 0.023261] kworker/u:0 used greatest stack depth: 5768 bytes left=0D [ 0.023361] Extended Config Space enabled on 0 nodes=0D [ 0.023394] PCI: setting up Xen PCI frontend stub=0D [ 0.023394] PCI: pci_cache_line_size set to 64 bytes=0D [ 0.029997] bio: create slab at 0=0D [ 0.030315] ACPI: Interpreter disabled.=0D [ 0.032041] xen_balloon: Initialising balloon driver.=0D [ 0.032120] last_pfn =3D 0x2d800 max_arch_pfn =3D 0x400000000=0D [ 0.032158] vgaarb: loaded=0D [ 0.032400] usbcore: registered new interface driver usbfs=0D [ 0.032453] usbcore: registered new interface driver hub=0D [ 0.032515] usbcore: registered new device driver usb=0D [ 0.032746] PCI: System does not support PCI=0D [ 0.032753] PCI: System does not support PCI=0D [ 0.033217] NetLabel: Initializing=0D [ 0.033223] NetLabel: domain hash size =3D 128=0D [ 0.033228] NetLabel: protocols =3D UNLABELED CIPSOv4=0D [ 0.033243] NetLabel: unlabeled traffic allowed by default=0D [ 0.033437] Switching to clocksource xen=0D [ 0.035119] pnp: PnP ACPI: disabled=0D [ 0.039518] NET: Registered protocol family 2=0D [ 0.039596] IP route cache hash table entries: 8192 (order: 4, 65536 byt= es)=0D [ 0.039868] TCP established hash table entries: 32768 (order: 7, 524288 = bytes)=0D [ 0.040182] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes)= =0D [ 0.040522] TCP: Hash tables configured (established 32768 bind 32768)=0D [ 0.040530] TCP reno registered=0D [ 0.040548] UDP hash table entries: 512 (order: 3, 49152 bytes)=0D [ 0.040577] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)=0D [ 0.040665] NET: Registered protocol family 1=0D [ 0.040771] RPC: Registered udp transport module.=0D [ 0.040777] RPC: Registered tcp transport module.=0D [ 0.040782] RPC: Registered tcp NFSv4.1 backchannel transport module.=0D [ 0.040788] PCI: CLS 0 bytes, default 64=0D [ 0.040928] Trying to unpack rootfs image as initramfs...=0D [ 0.328536] Freeing initrd memory: 193312k freed=0D [ 0.394416] platform rtc_cmos: registered platform RTC device (no PNP de= vice found)=0D [ 0.394665] Machine check injector initialized=0D [ 0.395035] microcode: CPU0: patch_level=3D0x1000086=0D [ 0.395211] microcode: Microcode Update Driver: v2.00 , Peter Oruba=0D [ 0.395220] Scanning for low memory corruption every 60 seconds=0D [ 0.395531] audit: initializing netlink socket (disabled)=0D [ 0.395549] type=3D2000 audit(1297119453.498:1): initialized=0D [ 0.403499] HugeTLB registered 2 MB page size, pre-allocated 0 pages=0D [ 0.407647] VFS: Disk quotas dquot_6.5.2=0D [ 0.407747] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)=0D [ 0.408393] NTFS driver 2.1.30 [Flags: R/W].=0D [ 0.408588] msgmni has been set to 1262=0D [ 0.408703] SELinux: Registering netfilter hooks=0D [ 0.409132] Block layer SCSI generic (bsg) driver version 0.4 loaded (ma= jor 253)=0D [ 0.409142] io scheduler noop registered=0D [ 0.409147] io scheduler deadline registered=0D [ 0.409219] io scheduler cfq registered (default)=0D [ 0.409397] pci_hotplug: PCI Hot Plug PCI Core version: 0.5=0D [ 0.446259] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled=0D [ 0.446976] Non-volatile memory driver v1.3=0D [ 0.446985] Linux agpgart interface v0.103=0D [ 0.447266] [drm] Initialized drm 1.1.0 20060810=0D [ 0.449531] brd: module loaded=0D [ 0.450718] loop: module loaded=0D [ 0.450833] Fixed MDIO Bus: probed=0D [ 0.450925] tun: Universal TUN/TAP device driver, 1.6=0D [ 0.450931] tun: (C) 1999-2004 Max Krasnyansky =0D [ 0.451201] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver=0D [ 0.451210] ehci_hcd: block sizes: qh 104 qtd 96 itd 192 sitd 96=0D [ 0.451269] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver=0D [ 0.451276] ohci_hcd: block sizes: ed 80 td 96=0D [ 0.451325] uhci_hcd: USB Universal Host Controller Interface driver=0D [ 0.451505] usbcore: registered new interface driver usblp=0D [ 0.451556] usbcore: registered new interface driver libusual=0D [ 0.451722] i8042: PNP: No PS/2 controller found. Probing ports directly= =2E=0D [ 0.452055] i8042: No controller found=0D [ 0.452738] mousedev: PS/2 mouse device common for all mice=0D [ 0.452987] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0=0D [ 0.453089] rtc_cmos: probe of rtc_cmos failed with error -38=0D [ 0.453281] cpuidle: using governor ladder=0D [ 0.453288] cpuidle: using governor menu=0D [ 0.453396] Netfilter messages via NETLINK v0.30.=0D [ 0.453419] nf_conntrack version 0.5.0 (5050 buckets, 20200 max)=0D [ 0.453561] ctnetlink v0.93: registering with nfnetlink.=0D [ 0.454028] ip_tables: (C) 2000-2006 Netfilter Core Team=0D [ 0.454106] TCP cubic registered=0D [ 0.454111] Initializing XFRM netlink socket=0D [ 0.454429] NET: Registered protocol family 10=0D [ 0.455160] ip6_tables: (C) 2000-2006 Netfilter Core Team=0D [ 0.455212] IPv6 over IPv4 tunneling driver=0D [ 0.455850] NET: Registered protocol family 17=0D [ 0.455887] Registering the dns_resolver key type=0D [ 0.456159] PM: Hibernation image not present or could not be loaded.=0D [ 0.456177] registered taskstats version 1=0D [ 0.456190] XENBUS: Device with no driver: device/vkbd/0=0D [ 0.456195] XENBUS: Device with no driver: device/vfb/0=0D [ 0.456201] XENBUS: Device with no driver: device/console/0=0D [ 0.456216] Magic number: 1:252:3141=0D [ 0.456666] Freeing unused kernel memory: 644k freed=0D [ 0.456872] Write protecting the kernel read-only data: 8192k=0D [ 0.460157] Testing CPA: undo ffffffff81000000-ffffffff81800000=0D [ 0.462755] Testing CPA: again=0D [ 0.466371] Freeing unused kernel memory: 1700k freed=0D [ 0.467169] Freeing unused kernel memory: 492k freed=0D =0Dinit started: BusyBox v1.14.3 (2011-02-07 17:30:37 EST)=0D [ 0.474074] consoletype used greatest stack depth: 5680 bytes left=0D Mounting directories [ OK ]=0D=0D [ 0.693752] modprobe used greatest stack depth: 5472 bytes left=0D [ 0.697605] core_filesystem used greatest stack depth: 5408 bytes left=0D Running in PV context on Xen v4.1.=0D [ 0.708905] input: Xen Virtual Keyboard as /devices/virtual/input/input0= =0D [ 0.709131] input: Xen Virtual Pointer as /devices/virtual/input/input1= =0D [ 0.925389] Initialising Xen virtual ethernet driver.=0D [ 0.947486] udevd (1120): /proc/1120/oom_adj is deprecated, please use /= proc/1120/oom_score_adj instead.=0D [ 1.152094] ip used greatest stack depth: 4160 bytes left=0D Waiting for devices [ OK ]=0D=0D Waiting for fb [ OK ]=0D=0D Starting..[/dev/fb0]=0D /dev/fb0: len:0=0D /dev/fb0: bits/pixel32=0D (7f75e3ef6000): Writting .. [800:600]=0D Done!=0D FATAL: Module agpgart_intel not found.=0D [ 1.520122] Console: switching to colour frame buffer device 100x37=0D [ 1.568694] [drm] radeon kernel modesetting enabled.=0D WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.38-rc2-00045-gcb8= 1bee/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device=0D WARNING: Error inserting ttm (/lib/modules/2.6.38-rc2-00045-gcb81bee/kernel= /drivers/gpu/drm/ttm/ttm.ko): No such device=0D FATAL: Error inserting nouveau (/lib/modules/2.6.38-rc2-00045-gcb81bee/kern= el/drivers/gpu/drm/nouveau/nouveau.ko): No such device=0D WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.38-rc2-00045-gcb8= 1bee/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device=0D FATAL: Error inserting i915 (/lib/modules/2.6.38-rc2-00045-gcb81bee/kernel/= drivers/gpu/drm/i915/i915.ko): No such device=0D Waiting for network [ OK ]=0D=0D Bringing up loopback interface: [ OK ]=0D=0D Bringing up interface eth0: Device eth0 does not seem to be present, delay= ing initialization.=0D [FAILED]=0D=0D Bringing up interface switch: =0D Determining IP information for switch...=0D [ 30.395114] CPA self-test:=0D [ 30.416206] 4k 186368 large 0 gb 0 x 10986[ffff880000000000-ffff88002d7= ff000] miss 0=0D [ 30.459541] 4k 186368 large 0 gb 0 x 10986[ffff880000000000-ffff88002d7= ff000] miss 0=0D [ 30.500167] 4k 186368 large 0 gb 0 x 10986[ffff880000000000-ffff88002d7= ff000] miss 0=0D [ 30.500223] ok.=0D failed.=0D [FAILED]=0D=0D /etc/init.d/rcS: line 30: NFS: command not found=0D Waiting for init.custom [ OK ]=0D=0D Start sshd=0D =0D Starting SSHd ...=0D =0D SSH started [2149]=0D =0D =0D mount.nfs: Failed to resolve server 192.168.101.1: Address family for hostn= ame not supported=0D mount.nfs: Failed to resolve server 192.168.101.1: Address family for hostn= ame not supported=0D [ 64.102084] [drm] Module unloaded=0D ERROR: Module nouveau does not exist in /proc/modules=0D [0x0->0x2d000] pfn=0D [0x0->0x2d000] level entry=0D [0x2d000->0x40000] level middle=0D [0x2d000->0x1ffffff] missing=0D [0x40000->0x1ffffff] level top=0D Waiting for SSHd [ OK ]=0D=0D WARNING: ssh currently running [2149] ignoring start request=0D Starting..[/dev/fb0]=0D /dev/fb0: len:0=0D /dev/fb0: bits/pixel32=0D (7fd91e639000): Writting .. [800:600]=0D Done!=0D FATAL: Module iscsi_ibft not found.=0D iscsistart: Missing or Invalid version from /sys/module/scsi_transport_iscs= i/version. Make sure a up to date scsi_transport_iscsi module is loaded and= a up todate version of iscsid is running. Exiting...=0D Feb 7 22:58:37 (none) syslogd 1.5.0: restart.=0D=0D FATAL: Module evtchn not found.=0D [ 64.718622] Event-channel device installed.=0D xencommons should be started first.=0D CPU0 =0D 16: 3908 xen-percpu-virq timer0=0D 17: 0 xen-percpu-ipi spinlock0=0D 18: 0 xen-percpu-ipi resched0=0D 19: 0 xen-percpu-ipi callfunc0=0D 20: 0 xen-percpu-virq debug0=0D 21: 0 xen-percpu-ipi callfuncsingle0=0D 22: 301 xen-dyn-event xenbus=0D 23: 91 xen-dyn-event hvc_console=0D 24: 0 xen-dyn-event vkbd=0D 25: 378 xen-dyn-event vfb=0D NMI: 0 Non-maskable interrupts=0D LOC: 0 Local timer interrupts=0D SPU: 0 Spurious interrupts=0D PMI: 0 Performance monitoring interrupts=0D IWI: 0 IRQ work interrupts=0D RES: 0 Rescheduling interrupts=0D CAL: 0 Function call interrupts=0D TLB: 0 TLB shootdowns=0D TRM: 0 Thermal event interrupts=0D THR: 0 Threshold APIC interrupts=0D MCE: 0 Machine check exceptions=0D MCP: 0 Machine check polls=0D ERR: 0=0D MIS: 0=0D 00000000-0000ffff : reserved=0D 00010000-0009ffff : System RAM=0D 000a0000-000fffff : reserved=0D 00100000-2d7fffff : System RAM=0D 01000000-01451cab : Kernel code=0D 01451cac-0188017f : Kernel data=0D 01928000-01a25fff : Kernel bss=0D Feb 7 22:58:37 (none) init: starting pid 2234, tty '/dev/tty0': '/bin/sh'= =0D=0D Feb 7 22:58:37 (none) init: starting pid 2235, tty '/dev/tty1': '/bin/sh'= =0D=0D Feb 7 22:58:37 (none) init: starting pid 2236, tty '/dev/hvc0': '/bin/sh'= =0D=0D sh-4.1# =0D sh-4.1# test=07g=08 =08_gnt=0D add return gntref, address=0D map return index, address=0D adel delete internal=0D ddel delete internal=0D unmap
unmap memory=0D show show all pages=0D append word to all mapped pages, show=0D PID 8be=0D =0D > map 4 9=0D Mapped grant 4.9 as 0=3D0x7ff79801f000=0D =0D > show=0D 00(140701383913472,0): id 8c16b8b4567 n=3D11000000 b=3D=0D END=0D =0D > show=0D 00(140701383913472,0): id 8c16b8b4567 n=3D11000000 b=3Ddeadbeef=0D END=0D =0D > Woot!=0D 00(140701383913472,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef=0D END=0D =0D > unmap 0x7ff79801f000=0D Unmapped page at (nil)=0D =0D > in=08 =08=08 =08n=08 =08unmap 140701383913472=0D [ 196.362131] BUG: unable to handle kernel paging request at ffff88001fca4= 049=0D [ 196.363054] IP: [] unmap_grant_pages+0x75/0xd0=0D [ 196.363054] PGD 1804067 PUD 1808067 PMD e31d067 PTE 0=0D [ 196.363054] Oops: 0002 [#1] SMP =0D [ 196.363054] last sysfs file: /sys/devices/system/cpu/cpu0/cache/index2/s= hared_cpu_map=0D [ 196.363054] CPU 0 =0D [ 196.363054] Modules linked in: xen_evtchn fbcon tileblit font bitblit tt= m softcursor drm_kms_helper xen_blkfront xen_netfront xen_fbfront fb_sys_fo= ps sysimgblt sysfillrect syscopyarea xen_kbdfront xenfs [last unloaded: dum= p_dma]=0D [ 196.363054] =0D [ 196.363054] Pid: 2238, comm: test_gnt Not tainted 2.6.38-rc2-00045-gcb81= bee #1 /=0D [ 196.363054] RIP: e030:[] [] unmap_g= rant_pages+0x75/0xd0=0D [ 196.363054] RSP: e02b:ffff88001b509cb8 EFLAGS: 00010202=0D [ 196.363054] RAX: 0000000000000049 RBX: ffff88001fe17a20 RCX: 00007ff7980= 20000=0D [ 196.363054] RDX: ffff880000000000 RSI: 0000000000000000 RDI: ffff88001fe= 17a20=0D [ 196.363054] RBP: ffff88001b509cd8 R08: ffff88001b509ea8 R09: 00000000000= 00000=0D [ 196.363054] R10: 0000000000000016 R11: 0000000000000206 R12: 00000000000= 00000=0D [ 196.363054] R13: 0000000000000001 R14: 000000001fca4049 R15: ffff88001fe= 17a80=0D [ 196.363054] FS: 00007ff798023700(0000) GS:ffff88002cfce000(0000) knlGS:= 0000000000000000=0D [ 196.363054] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b=0D [ 196.363054] CR2: ffff88001fca4049 CR3: 0000000026d57000 CR4: 00000000000= 00660=0D [ 196.363054] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000000= 00000=0D [ 196.363054] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00000000000= 00400=0D [ 196.363054] Process test_gnt (pid: 2238, threadinfo ffff88001b508000, ta= sk ffff8800275e9e40)=0D [ 196.363054] Stack:=0D [ 196.363054] 00007ff79801f000 ffff88001fe17a20 00007ff798020000 ffff8800= 1fe17a90=0D [ 196.363054] ffff88001b509d18 ffffffff8126d322 ffffffff81006689 ffff8800= 1fe17ab0=0D [ 196.363054] ffff88001ec732c0 00007ff798020000 00007ff79801f000 00007ff7= 98020000=0D [ 196.363054] Call Trace:=0D [ 196.363054] [] mn_invl_range_start+0x7c/0xb6=0D [ 196.363054] [] ? xen_force_evtchn_callback+0xd/0xf=0D [ 196.363054] [] __mmu_notifier_invalidate_range_start+= 0x2e/0x54=0D [ 196.363054] [] unmap_vmas+0x93/0x80b=0D [ 196.363054] [] ? remove_wait_queue+0x4c/0x51=0D [ 196.363054] [] ? do_raw_spin_lock+0x6b/0x120=0D [ 196.363054] [] ? xen_spin_unlock+0x11/0x30=0D [ 196.363054] [] ? xen_force_evtchn_callback+0xd/0xf=0D [ 196.363054] [] ? do_raw_spin_unlock+0x8f/0x98=0D [ 196.363054] [] ? ____pagevec_lru_add+0x147/0x15e=0D [ 196.363054] [] unmap_region+0x86/0xe0=0D [ 196.363054] [] do_munmap+0x2d4/0x33e=0D [ 196.363054] [] sys_munmap+0x41/0x58=0D [ 196.363054] [] system_call_fastpath+0x16/0x1b=0D [ 196.363054] Code: 00 00 00 88 ff ff 49 01 c6 48 b8 b7 6d db b6 6d db b6 = 6d 49 c1 fe 03 4c 0f af f0 48 63 43 30 49 c1 e6 0c 25 ff 0f 00 00 49 01 c6 = <41> c6 04 16 00 83 63 2c fe 49 63 fc 48 8b 73 50 44 89 ea 48 6b =0D [ 196.363054] RIP [] unmap_grant_pages+0x75/0xd0=0D [ 196.363054] RSP =0D [ 196.363054] CR2: ffff88001fca4049=0D [ 196.363054] ---[ end trace 27b6948dea470010 ]---=0D =0D =0D =0D=0D 23:01:09 # 6 :/mnt/lab/latest/ =0D=0D >=20 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pv-did-not-unmap.log" Content-Transfer-Encoding: quoted-printable > xm list=0D Name ID Mem VCPUs State Tim= e(s)=0D Domain-0 0 700 4 r----- 3= 6.9=0D =0D=0D 22:48:24 # 2 :~/ =0D=0D > cd /mnt/lab/latest=0D =0D=0D 22:48:28 # 3 :/mnt/lab/latest/ =0D=0D > more pv.xm=0D kernel=3D"/mnt/lab/latest/vmlinuz"=0D ramdisk=3D"/mnt/lab/latest/initramfs.cpio.gz"=0D extra=3D"console=3Dhvc0 debug iommu=3Dsoft swiotlb=3Dforce"=0D memory=3D720=0D vcpus=3D1=0D cpus=3D'2'=0D on_crash=3D"preserve"=0D #vif =3D [ 'mac=3D00:0F:4B:00:00:68, bridge=3Dswitch' ]=0D #pci =3D ["04:00.0"]=0D vfb =3D [ 'vnc=3D1, vnclisten=3D0.0.0.0,vncunused=3D1']=0D =0D =0D=0D 22:48:29 # 4 :/mnt/lab/latest/ =0D=0D > xm create -c pv.xm=0D Using config file "./pv.xm".=0D Started domain pv.xm (id=3D3) [ 0.000000] Initializing cgroup subsys cpuset=0D [ 0.000000] Initializing cgroup subsys cpu=0D [ 0.000000] Linux version 2.6.38-rc2-00045-gcb81bee (konrad@phenom) (gcc= version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #1 SMP Mon Feb 7 17:28:33= EST 2011=0D [ 0.000000] Command line: console=3Dhvc0 debug iommu=3Dsoft swiotlb=3Dfo= rce=0D [ 0.000000] ACPI in unprivileged domain disabled=0D [ 0.000000] released 0 pages of unused memory=0D [ 0.000000] Set 0 page(s) to 1-1 mapping.=0D [ 0.000000] BIOS-provided physical RAM map:=0D [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)=0D [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)=0D [ 0.000000] Xen: 0000000000100000 - 000000002d800000 (usable)=0D [ 0.000000] NX (Execute Disable) protection: active=0D [ 0.000000] DMI not present or invalid.=0D [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usab= le) =3D=3D> (reserved)=0D [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usab= le)=0D [ 0.000000] No AGP bridge found=0D [ 0.000000] last_pfn =3D 0x2d800 max_arch_pfn =3D 0x400000000=0D [ 0.000000] Scanning 0 areas for low memory corruption=0D [ 0.000000] initial memory mapped : 0 - 0e3ff000=0D [ 0.000000] init_memory_mapping: 0000000000000000-000000002d800000=0D [ 0.000000] 0000000000 - 002d800000 page 4k=0D [ 0.000000] kernel direct mapping tables up to 2d800000 @ e291000-e3ff00= 0=0D [ 0.000000] RAMDISK: 01b5c000 - 0d824000=0D [ 0.000000] No NUMA configuration found=0D [ 0.000000] Faking a node at 0000000000000000-000000002d800000=0D [ 0.000000] Initmem setup node 0 0000000000000000-000000002d800000=0D [ 0.000000] NODE_DATA [000000002cffb000 - 000000002cffffff]=0D [ 0.000000] Zone PFN ranges:=0D [ 0.000000] DMA 0x00000010 -> 0x00001000=0D [ 0.000000] DMA32 0x00001000 -> 0x00100000=0D [ 0.000000] Normal empty=0D [ 0.000000] Movable zone start PFN for each node=0D [ 0.000000] early_node_map[2] active PFN ranges=0D [ 0.000000] 0: 0x00000010 -> 0x000000a0=0D [ 0.000000] 0: 0x00000100 -> 0x0002d800=0D [ 0.000000] On node 0 totalpages: 186256=0D [ 0.000000] DMA zone: 56 pages used for memmap=0D [ 0.000000] DMA zone: 6 pages reserved=0D [ 0.000000] DMA zone: 3922 pages, LIFO batch:0=0D [ 0.000000] DMA32 zone: 2492 pages used for memmap=0D [ 0.000000] DMA32 zone: 179780 pages, LIFO batch:31=0D [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs=0D [ 0.000000] No local APIC present=0D [ 0.000000] APIC: disable apic facility=0D [ 0.000000] APIC: switched to apic NOOP=0D [ 0.000000] nr_irqs_gsi: 16=0D [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000001= 00000=0D [ 0.000000] Allocating PCI resources starting at 2d800000 (gap: 2d800000= :d2800000)=0D [ 0.000000] Booting paravirtualized kernel on Xen=0D [ 0.000000] Xen version: 4.1-110207 (preserve-AD)=0D [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_no= de_ids:1=0D [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88002cfce000 s83136 r8192= d23360 u114688=0D [ 0.000000] pcpu-alloc: s83136 r8192 d23360 u114688 alloc=3D28*4096=0D [ 0.000000] pcpu-alloc: [0] 0 =0D [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Tota= l pages: 183702=0D [ 0.000000] Policy zone: DMA32=0D [ 0.000000] Kernel command line: console=3Dhvc0 debug iommu=3Dsoft swiot= lb=3Dforce=0D [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)=0D [ 0.000000] Placing 64MB software IO TLB between ffff880027a00000 - ffff= 88002ba00000=0D [ 0.000000] software IO TLB at phys 0x27a00000 - 0x2ba00000=0D [ 0.000000] Memory: 453168k/745472k available (4423k kernel code, 448k a= bsent, 291856k reserved, 4281k data, 644k init)=0D [ 0.000000] SLUB: Genslabs=3D15, HWalign=3D64, Order=3D0-3, MinObjects= =3D0, CPUs=3D1, Nodes=3D1=0D [ 0.000000] Hierarchical RCU implementation.=0D [ 0.000000] RCU-based detection of stalled CPUs is disabled.=0D [ 0.000000] NR_IRQS:4352 nr_irqs:256 16=0D [ 0.000000] Console: colour dummy device 80x25=0D [ 0.000000] console [tty0] enabled=0D [ 0.000000] console [hvc0] enabled=0D [ 0.000000] Xen: using vcpuop timer interface=0D [ 0.000000] installing Xen timer for CPU 0=0D [ 0.000000] Detected 3000.180 MHz processor.=0D [ 0.000999] Calibrating delay loop (skipped), value calculated using tim= er frequency.. 6000.36 BogoMIPS (lpj=3D3000180)=0D [ 0.000999] pid_max: default: 32768 minimum: 301=0D [ 0.000999] Security Framework initialized=0D [ 0.000999] SELinux: Initializing.=0D [ 0.000999] SELinux: Starting in permissive mode=0D [ 0.000999] Dentry cache hash table entries: 131072 (order: 8, 1048576 b= ytes)=0D [ 0.000999] Inode-cache hash table entries: 65536 (order: 7, 524288 byte= s)=0D [ 0.000999] Mount-cache hash table entries: 256=0D [ 0.000999] Initializing cgroup subsys ns=0D [ 0.000999] ns_cgroup deprecated: consider using the 'clone_children' fl= ag without the ns_cgroup.=0D [ 0.000999] Initializing cgroup subsys cpuacct=0D [ 0.000999] Initializing cgroup subsys freezer=0D [ 0.001033] tseg: 0000000000=0D [ 0.001042] CPU: Physical Processor ID: 0=0D [ 0.001047] CPU: Processor Core ID: 3=0D [ 0.001109] SMP alternatives: switching to UP code=0D [ 0.002016] Freeing SMP alternatives: 16k freed=0D [ 0.002094] cpu 0 spinlock event irq 17=0D [ 0.002112] Performance Events: =0D [ 0.002117] no APIC, boot with the "lapic" boot parameter to force-enabl= e it.=0D [ 0.002124] no hardware sampling interrupt available.=0D [ 0.002154] Broken PMU hardware detected, using software events only.=0D [ 0.002636] MCE: In-kernel MCE decoding enabled.=0D [ 0.002645] Brought up 1 CPUs=0D [ 0.002820] kworker/u:0 used greatest stack depth: 6032 bytes left=0D [ 0.003024] Grant table initialized=0D [ 0.022013] Time: 165:165:165 Date: 165/165/65=0D [ 0.022077] NET: Registered protocol family 16=0D [ 0.022557] kworker/u:0 used greatest stack depth: 5768 bytes left=0D [ 0.022654] Extended Config Space enabled on 0 nodes=0D [ 0.022688] PCI: setting up Xen PCI frontend stub=0D [ 0.022688] PCI: pci_cache_line_size set to 64 bytes=0D [ 0.029298] bio: create slab at 0=0D [ 0.029421] ACPI: Interpreter disabled.=0D [ 0.030064] xen_balloon: Initialising balloon driver.=0D [ 0.031071] last_pfn =3D 0x2d800 max_arch_pfn =3D 0x400000000=0D [ 0.031142] vgaarb: loaded=0D [ 0.031402] usbcore: registered new interface driver usbfs=0D [ 0.031457] usbcore: registered new interface driver hub=0D [ 0.031519] usbcore: registered new device driver usb=0D [ 0.031751] PCI: System does not support PCI=0D [ 0.031757] PCI: System does not support PCI=0D [ 0.032116] NetLabel: Initializing=0D [ 0.032123] NetLabel: domain hash size =3D 128=0D [ 0.032127] NetLabel: protocols =3D UNLABELED CIPSOv4=0D [ 0.032143] NetLabel: unlabeled traffic allowed by default=0D [ 0.032340] Switching to clocksource xen=0D [ 0.034121] pnp: PnP ACPI: disabled=0D [ 0.038514] NET: Registered protocol family 2=0D [ 0.038592] IP route cache hash table entries: 8192 (order: 4, 65536 byt= es)=0D [ 0.038862] TCP established hash table entries: 32768 (order: 7, 524288 = bytes)=0D [ 0.039178] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes)= =0D [ 0.039519] TCP: Hash tables configured (established 32768 bind 32768)=0D [ 0.039528] TCP reno registered=0D [ 0.039546] UDP hash table entries: 512 (order: 3, 49152 bytes)=0D [ 0.039576] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)=0D [ 0.039667] NET: Registered protocol family 1=0D [ 0.039773] RPC: Registered udp transport module.=0D [ 0.039780] RPC: Registered tcp transport module.=0D [ 0.039785] RPC: Registered tcp NFSv4.1 backchannel transport module.=0D [ 0.039791] PCI: CLS 0 bytes, default 64=0D [ 0.039937] Trying to unpack rootfs image as initramfs...=0D [ 0.325931] Freeing initrd memory: 193312k freed=0D [ 0.393275] platform rtc_cmos: registered platform RTC device (no PNP de= vice found)=0D [ 0.393522] Machine check injector initialized=0D [ 0.393890] microcode: CPU0: patch_level=3D0x1000086=0D [ 0.393953] microcode: Microcode Update Driver: v2.00 , Peter Oruba=0D [ 0.393967] Scanning for low memory corruption every 60 seconds=0D [ 0.394308] audit: initializing netlink socket (disabled)=0D [ 0.394327] type=3D2000 audit(1297118931.427:1): initialized=0D [ 0.402798] HugeTLB registered 2 MB page size, pre-allocated 0 pages=0D [ 0.406939] VFS: Disk quotas dquot_6.5.2=0D [ 0.407038] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)=0D [ 0.407682] NTFS driver 2.1.30 [Flags: R/W].=0D [ 0.407877] msgmni has been set to 1262=0D [ 0.407993] SELinux: Registering netfilter hooks=0D [ 0.408423] Block layer SCSI generic (bsg) driver version 0.4 loaded (ma= jor 253)=0D [ 0.408434] io scheduler noop registered=0D [ 0.408439] io scheduler deadline registered=0D [ 0.408508] io scheduler cfq registered (default)=0D [ 0.408688] pci_hotplug: PCI Hot Plug PCI Core version: 0.5=0D [ 0.445440] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled=0D [ 0.446215] Non-volatile memory driver v1.3=0D [ 0.446225] Linux agpgart interface v0.103=0D [ 0.446444] [drm] Initialized drm 1.1.0 20060810=0D [ 0.448696] brd: module loaded=0D [ 0.449898] loop: module loaded=0D [ 0.450017] Fixed MDIO Bus: probed=0D [ 0.450134] tun: Universal TUN/TAP device driver, 1.6=0D [ 0.450140] tun: (C) 1999-2004 Max Krasnyansky =0D [ 0.450381] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver=0D [ 0.450390] ehci_hcd: block sizes: qh 104 qtd 96 itd 192 sitd 96=0D [ 0.450447] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver=0D [ 0.450454] ohci_hcd: block sizes: ed 80 td 96=0D [ 0.450503] uhci_hcd: USB Universal Host Controller Interface driver=0D [ 0.450684] usbcore: registered new interface driver usblp=0D [ 0.450735] usbcore: registered new interface driver libusual=0D [ 0.450900] i8042: PNP: No PS/2 controller found. Probing ports directly= =2E=0D [ 0.451054] i8042: No controller found=0D [ 0.451938] mousedev: PS/2 mouse device common for all mice=0D [ 0.452213] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0=0D [ 0.452292] rtc_cmos: probe of rtc_cmos failed with error -38=0D [ 0.452482] cpuidle: using governor ladder=0D [ 0.452488] cpuidle: using governor menu=0D [ 0.452598] Netfilter messages via NETLINK v0.30.=0D [ 0.452622] nf_conntrack version 0.5.0 (5050 buckets, 20200 max)=0D [ 0.452765] ctnetlink v0.93: registering with nfnetlink.=0D [ 0.453262] ip_tables: (C) 2000-2006 Netfilter Core Team=0D [ 0.453297] TCP cubic registered=0D [ 0.453302] Initializing XFRM netlink socket=0D [ 0.453618] NET: Registered protocol family 10=0D [ 0.454349] ip6_tables: (C) 2000-2006 Netfilter Core Team=0D [ 0.454400] IPv6 over IPv4 tunneling driver=0D [ 0.455032] NET: Registered protocol family 17=0D [ 0.455099] Registering the dns_resolver key type=0D [ 0.455338] PM: Hibernation image not present or could not be loaded.=0D [ 0.455355] registered taskstats version 1=0D [ 0.455367] XENBUS: Device with no driver: device/vkbd/0=0D [ 0.455373] XENBUS: Device with no driver: device/vfb/0=0D [ 0.455378] XENBUS: Device with no driver: device/console/0=0D [ 0.455393] Magic number: 1:252:3141=0D [ 0.455828] Freeing unused kernel memory: 644k freed=0D [ 0.456039] Write protecting the kernel read-only data: 8192k=0D [ 0.459171] Testing CPA: undo ffffffff81000000-ffffffff81800000=0D [ 0.461729] Testing CPA: again=0D [ 0.465238] Freeing unused kernel memory: 1700k freed=0D [ 0.466022] Freeing unused kernel memory: 492k freed=0D =0Dinit started: BusyBox v1.14.3 (2011-02-07 17:30:37 EST)=0D [ 0.472912] consoletype used greatest stack depth: 5680 bytes left=0D Mounting directories [ OK ]=0D=0D [ 0.692896] modprobe used greatest stack depth: 5472 bytes left=0D [ 0.696759] core_filesystem used greatest stack depth: 5408 bytes left=0D Running in PV context on Xen v4.1.=0D [ 0.708036] input: Xen Virtual Keyboard as /devices/virtual/input/input0= =0D [ 0.708258] input: Xen Virtual Pointer as /devices/virtual/input/input1= =0D [ 0.924355] Initialising Xen virtual ethernet driver.=0D [ 0.946476] udevd (1120): /proc/1120/oom_adj is deprecated, please use /= proc/1120/oom_score_adj instead.=0D [ 1.150005] ip used greatest stack depth: 4160 bytes left=0D Waiting for devices [ OK ]=0D=0D Waiting for fb [ OK ]=0D=0D Starting..[/dev/fb0]=0D /dev/fb0: len:0=0D /dev/fb0: bits/pixel32=0D (7ff625ae5000): Writting .. [800:600]=0D Done!=0D FATAL: Module agpgart_intel not found.=0D [ 1.514549] Console: switching to colour frame buffer device 100x37=0D [ 1.565206] [drm] radeon kernel modesetting enabled.=0D WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.38-rc2-00045-gcb8= 1bee/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device=0D WARNING: Error inserting ttm (/lib/modules/2.6.38-rc2-00045-gcb81bee/kernel= /drivers/gpu/drm/ttm/ttm.ko): No such device=0D FATAL: Error inserting nouveau (/lib/modules/2.6.38-rc2-00045-gcb81bee/kern= el/drivers/gpu/drm/nouveau/nouveau.ko): No such device=0D WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.38-rc2-00045-gcb8= 1bee/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device=0D FATAL: Error inserting i915 (/lib/modules/2.6.38-rc2-00045-gcb81bee/kernel/= drivers/gpu/drm/i915/i915.ko): No such device=0D Waiting for network [ OK ]=0D=0D Bringing up loopback interface: [ OK ]=0D=0D Bringing up interface eth0: Device eth0 does not seem to be present, delay= ing initialization.=0D [FAILED]=0D=0D Bringing up interface switch: =0D Determining IP information for switch...[ 12.738078] switch: no IPv6 rout= ers present=0D [ 30.394107] CPA self-test:=0D [ 30.415265] 4k 186368 large 0 gb 0 x 10986[ffff880000000000-ffff88002d7= ff000] miss 0=0D [ 30.458299] 4k 186368 large 0 gb 0 x 10986[ffff880000000000-ffff88002d7= ff000] miss 0=0D [ 30.498973] 4k 186368 large 0 gb 0 x 10986[ffff880000000000-ffff88002d7= ff000] miss 0=0D [ 30.499026] ok.=0D failed.=0D [FAILED]=0D=0D /etc/init.d/rcS: line 30: NFS: command not found=0D Waiting for init.custom [ OK ]=0D=0D Start sshd=0D =0D Starting SSHd ...=0D =0D SSH started [2149]=0D =0D =0D mount.nfs: Failed to resolve server 192.168.101.1: Address family for hostn= ame not supported=0D mount.nfs: Failed to resolve server 192.168.101.1: Address family for hostn= ame not supported=0D [ 64.185816] [drm] Module unloaded=0D ERROR: Module nouveau does not exist in /proc/modules=0D [0x0->0x2d000] pfn=0D [0x0->0x2d000] level entry=0D [0x2d000->0x40000] level middle=0D [0x2d000->0x1ffffff] missing=0D [0x40000->0x1ffffff] level top=0D Waiting for SSHd [ OK ]=0D=0D WARNING: ssh currently running [2149] ignoring start request=0D Starting..[/dev/fb0]=0D /dev/fb0: len:0=0D /dev/fb0: bits/pixel32=0D (7ffce2265000): Writting .. [800:600]=0D Done!=0D FATAL: Module iscsi_ibft not found.=0D iscsistart: Missing or Invalid version from /sys/module/scsi_transport_iscs= i/version. Make sure a up to date scsi_transport_iscsi module is loaded and= a up todate version of iscsid is running. Exiting...=0D Feb 7 22:49:55 (none) syslogd 1.5.0: restart.=0D=0D FATAL: Module evtchn not found.=0D [ 64.807128] Event-channel device installed.=0D xencommons should be started first.=0D CPU0 =0D 16: 3925 xen-percpu-virq timer0=0D 17: 0 xen-percpu-ipi spinlock0=0D 18: 0 xen-percpu-ipi resched0=0D 19: 0 xen-percpu-ipi callfunc0=0D 20: 0 xen-percpu-virq debug0=0D 21: 0 xen-percpu-ipi callfuncsingle0=0D 22: 299 xen-dyn-event xenbus=0D 23: 91 xen-dyn-event hvc_console=0D 24: 37 xen-dyn-event vkbd=0D 25: 381 xen-dyn-event vfb=0D NMI: 0 Non-maskable interrupts=0D LOC: 0 Local timer interrupts=0D SPU: 0 Spurious interrupts=0D PMI: 0 Performance monitoring interrupts=0D IWI: 0 IRQ work interrupts=0D RES: 0 Rescheduling interrupts=0D CAL: 0 Function call interrupts=0D TLB: 0 TLB shootdowns=0D TRM: 0 Thermal event interrupts=0D THR: 0 Threshold APIC interrupts=0D MCE: 0 Machine check exceptions=0D MCP: 0 Machine check polls=0D ERR: 0=0D MIS: 0=0D 00000000-0000ffff : reserved=0D 00010000-0009ffff : System RAM=0D 000a0000-000fffff : reserved=0D 00100000-2d7fffff : System RAM=0D 01000000-01451cab : Kernel code=0D 01451cac-0188017f : Kernel data=0D 01928000-01a25fff : Kernel bss=0D Feb 7 22:49:55 (none) init: starting pid 2234, tty '/dev/tty0': '/bin/sh'= =0D=0D Feb 7 22:49:55 (none) init: starting pid 2235, tty '/dev/tty1': '/bin/sh'= =0D=0D Feb 7 22:49:55 (none) init: starting pid 2236, tty '/dev/hvc0': '/bin/sh'= =0D=0D sh-4.1# xens=07tore-ls=0D xenstore-ls: xs_directory (/): Permission denied=0D sh-4.1# xen_=07=08 =08d =08 =08=08 =08=08=08=08=1B[Ktest_gnt =0D add return gntref, address=0D map return index, address=0D adel delete internal=0D ddel delete internal=0D unmap
unmap memory=0D show show all pages=0D append word to all mapped pages, show=0D PID 8bf=0D =0D > END=0D =0D > ^C=0D sh-4.1# dmesg | grep Mem=0D [ 0.000000] Memory: 453168k/745472k available (4423k kernel code, 448k a= bsent, 291856k reserved, 4281k data, 644k init)=0D sh-4.1# =0D sh-4.1# test=07_gnt =0D add return gntref, address=0D map return index, address=0D adel delete internal=0D ddel delete internal=0D unmap
unmap memory=0D show show all pages=0D append word to all mapped pages, show=0D PID 8c2=0D =0D > show=0D END=0D =0D > map 3 8=08 =08=08 =08=08 =084 8=0D Mapped grant 4.8 as 0=3D0x7ff062b95000=0D =0D > show=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3D=0D END=0D =0D > show=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Dboo=0D END=0D =0D > deadbeef=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Ddeadbeefboo=0D END=0D =0D > unmap 0x7ff062b95000=0D Unmapped page at (nil)=0D =0D > show=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Ddeadbeefboo=0D END=0D =0D > unmap 8c06b8b4567=0D Unmapped page at 0x8=0D =0D > show=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Ddeadbeefboo=0D END=0D =0D > unmap 8=0D Unmapped page at 0x8=0D =0D > ^[[A^[[A=08 =08=08 =08=08 =08=08 =08=08 =08=08 =08=08 =08=08 =08unamp=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Dunampdeadbeefbo= o=0D END=0D =0D > unmap 9=08 =080=0D Unmapped page at (nil)=0D =0D > ^[[A=08 =08=08 =08=08 =08=08 =08show=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Dunampdeadbeefbo= o=0D END=0D =0D > unmap 11000000=0D Unmapped page at 0xa7d8c0=0D =0D > show=0D 00(140670425190400,0): id 8c06b8b4567 n=3D11000000 b=3Dunampdeadbeefbo= o=0D END=0D =0D > so=08 =08=08 =08show=08 =08=08 =08=08 =08=08 =08q=08 =0800(14067042519040= 0,0): id 8c06b8b4567 n=3D11000000 b=3Dhelpddellddellunampdeadbeefboo=0D END=0D =0D > ^C[ 346.616114] BUG: unable to handle kernel paging request at ffff88001= fe16049=0D [ 346.617062] IP: [] unmap_grant_pages+0x75/0xd0=0D [ 346.617062] PGD 1804067 PUD 1808067 PMD e31e067 PTE 0=0D [ 346.617062] Oops: 0002 [#1] SMP =0D [ 346.617062] last sysfs file: /sys/devices/system/cpu/cpu0/cache/index2/s= hared_cpu_map=0D [ 346.617062] CPU 0 =0D [ 346.617062] Modules linked in: xen_evtchn fbcon tileblit font bitblit tt= m softcursor drm_kms_helper xen_blkfront xen_netfront xen_fbfront fb_sys_fo= ps sysimgblt sysfillrect syscopyarea xen_kbdfront xenfs [last unloaded: dum= p_dma]=0D [ 346.617062] =0D [ 346.617062] Pid: 2242, comm: test_gnt Not tainted 2.6.38-rc2-00045-gcb81= bee #1 /=0D [ 346.617062] RIP: e030:[] [] unmap_g= rant_pages+0x75/0xd0=0D [ 346.617062] RSP: e02b:ffff88001fe2bba8 EFLAGS: 00010202=0D [ 346.617062] RAX: 0000000000000049 RBX: ffff880020685a20 RCX: 00000000000= 00158=0D [ 346.617062] RDX: ffff880000000000 RSI: 0000000000000000 RDI: ffff8800206= 85a20=0D [ 346.617062] RBP: ffff88001fe2bbc8 R08: ffff88001fe2bc88 R09: ffff88002cf= d91e0=0D [ 346.617062] R10: 00000050b3edc8ec R11: 00000050b3edc8ec R12: 00000000000= 00000=0D [ 346.617062] R13: 0000000000000001 R14: 000000001fe16049 R15: 00000000000= 00001=0D [ 346.617062] FS: 00007ff062b99700(0000) GS:ffff88002cfce000(0000) knlGS:= 0000000000000000=0D [ 346.617062] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b=0D [ 346.617062] CR2: ffff88001fe16049 CR3: 000000001edd5000 CR4: 00000000000= 00660=0D [ 346.617062] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000000= 00000=0D [ 346.617062] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00000000000= 00400=0D [ 346.617062] Process test_gnt (pid: 2242, threadinfo ffff88001fe2a000, ta= sk ffff8800276d74f0)=0D [ 346.617062] Stack:=0D [ 346.617062] ffff880020685a20 ffff880020685a90 ffff880020685a80 ffff8800= 276e9320=0D [ 346.617062] ffff88001fe2bbf8 ffffffff8126d3a8 ffff8800276e9320 ffff8800= 20685ab0=0D [ 346.617062] ffff8800276e92c0 ffff8800276e92c0 ffff88001fe2bc18 ffffffff= 810ec4dd=0D [ 346.617062] Call Trace:=0D [ 346.617062] [] mn_release+0x3a/0x6e=0D [ 346.617062] [] __mmu_notifier_release+0x51/0x85=0D [ 346.617062] [] exit_mmap+0x27/0x101=0D [ 346.617062] [] mmput+0x30/0xd7=0D [ 346.617062] [] exit_mm+0x129/0x136=0D [ 346.617062] [] do_exit+0x208/0x7aa=0D [ 346.617062] [] ? xen_force_evtchn_callback+0xd/0xf=0D [ 346.617062] [] ? check_events+0x12/0x20=0D [ 346.617062] [] ? do_raw_spin_lock+0x6b/0x120=0D [ 346.617062] [] do_group_exit+0x72/0x9a=0D [ 346.617062] [] get_signal_to_deliver+0x360/0x37f=0D [ 346.617062] [] ? n_tty_read+0x6d5/0x7ad=0D [ 346.617062] [] do_signal+0x6d/0x68b=0D [ 346.617062] [] ? __wake_up+0x3f/0x48=0D [ 346.617062] [] ? put_ldisc+0xac/0xb1=0D [ 346.617062] [] ? tty_ldisc_deref+0x9/0xb=0D [ 346.617062] [] ? tty_read+0x8c/0xc8=0D [ 346.617062] [] do_notify_resume+0x27/0x5f=0D [ 346.617062] [] int_signal+0x12/0x17=0D [ 346.617062] Code: 00 00 00 88 ff ff 49 01 c6 48 b8 b7 6d db b6 6d db b6 = 6d 49 c1 fe 03 4c 0f af f0 48 63 43 30 49 c1 e6 0c 25 ff 0f 00 00 49 01 c6 = <41> c6 04 16 00 83 63 2c fe 49 63 fc 48 8b 73 50 44 89 ea 48 6b =0D [ 346.617062] RIP [] unmap_grant_pages+0x75/0xd0=0D [ 346.617062] RSP =0D [ 346.617062] CR2: ffff88001fe16049=0D [ 346.617062] ---[ end trace 31f588d5e4d9bf59 ]---=0D [ 346.617062] Fixing recursive fault but reboot is needed!=0D =0D =0D =0D ccc=0D =0D ^C^C^C=0D =0D Feb 7 22:57:24 (none) init: starting pid 2244, tty '': '/etc/init.d/halt'= =0D=0D Usage: /etc/init.d/halt {start}=0D =0DThe system is going down NOW!=0D =0DSent SIGTERM to all processes=0D Feb 7 22:57:24 (none) exiting on signal 15=0D=0D =0DSent SIGKILL to all processes=0D =0DRequesting system poweroff=0D [ 515.071484] xenbus_dev_shutdown: device/console/0: Initialising !=3D Con= nected, skipping=0D [ 515.079285] System halted.=0D =0D=0D --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pv-domain-exporting-grants.log" Content-Transfer-Encoding: quoted-printable 22:48:37 # 2 :/mnt/lab/latest/ =0D=0D > more pv-2.xm=0D kernel=3D"/mnt/lab/latest/vmlinuz"=0D ramdisk=3D"/mnt/lab/latest/initramfs.cpio.gz"=0D extra=3D"console=3Dhvc0 debug iommu=3Dsoft swiotlb=3Dforce"=0D memory=3D800=0D vcpus=3D1=0D cpus=3D'2'=0D on_crash=3D"preserve"=0D #vif =3D [ 'mac=3D00:0F:4B:00:00:68, bridge=3Dswitch' ]=0D #pci =3D ["04:00.0"]=0D vfb =3D [ 'vnc=3D1, vnclisten=3D0.0.0.0,vncunused=3D1']=0D =0D =0D=0D 22:48:40 # 3 :/mnt/lab/latest/ =0D=0D > xm create -c pv-2.xm=0D Using config file "./pv-2.xm".=0D Started domain pv-2.xm (id=3D4) [ 0.000000] Initializing cgroup subsys cpuset=0D [ 0.000000] Initializing cgroup subsys cpu=0D [ 0.000000] Linux version 2.6.38-rc2-00045-gcb81bee (konrad@phenom) (gcc= version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #1 SMP Mon Feb 7 17:28:33= EST 2011=0D [ 0.000000] Command line: console=3Dhvc0 debug iommu=3Dsoft swiotlb=3Dfo= rce=0D [ 0.000000] ACPI in unprivileged domain disabled=0D [ 0.000000] released 0 pages of unused memory=0D [ 0.000000] Set 0 page(s) to 1-1 mapping.=0D [ 0.000000] BIOS-provided physical RAM map:=0D [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)=0D [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)=0D [ 0.000000] Xen: 0000000000100000 - 0000000032800000 (usable)=0D [ 0.000000] NX (Execute Disable) protection: active=0D [ 0.000000] DMI not present or invalid.=0D [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usab= le) =3D=3D> (reserved)=0D [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usab= le)=0D [ 0.000000] No AGP bridge found=0D [ 0.000000] last_pfn =3D 0x32800 max_arch_pfn =3D 0x400000000=0D [ 0.000000] Scanning 0 areas for low memory corruption=0D [ 0.000000] initial memory mapped : 0 - 0e3ff000=0D [ 0.000000] init_memory_mapping: 0000000000000000-0000000032800000=0D [ 0.000000] 0000000000 - 0032800000 page 4k=0D [ 0.000000] kernel direct mapping tables up to 32800000 @ e269000-e3ff00= 0=0D [ 0.000000] RAMDISK: 01b5c000 - 0d824000=0D [ 0.000000] No NUMA configuration found=0D [ 0.000000] Faking a node at 0000000000000000-0000000032800000=0D [ 0.000000] Initmem setup node 0 0000000000000000-0000000032800000=0D [ 0.000000] NODE_DATA [0000000031ffb000 - 0000000031ffffff]=0D [ 0.000000] Zone PFN ranges:=0D [ 0.000000] DMA 0x00000010 -> 0x00001000=0D [ 0.000000] DMA32 0x00001000 -> 0x00100000=0D [ 0.000000] Normal empty=0D [ 0.000000] Movable zone start PFN for each node=0D [ 0.000000] early_node_map[2] active PFN ranges=0D [ 0.000000] 0: 0x00000010 -> 0x000000a0=0D [ 0.000000] 0: 0x00000100 -> 0x00032800=0D [ 0.000000] On node 0 totalpages: 206736=0D [ 0.000000] DMA zone: 56 pages used for memmap=0D [ 0.000000] DMA zone: 6 pages reserved=0D [ 0.000000] DMA zone: 3922 pages, LIFO batch:0=0D [ 0.000000] DMA32 zone: 2772 pages used for memmap=0D [ 0.000000] DMA32 zone: 199980 pages, LIFO batch:31=0D [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs=0D [ 0.000000] No local APIC present=0D [ 0.000000] APIC: disable apic facility=0D [ 0.000000] APIC: switched to apic NOOP=0D [ 0.000000] nr_irqs_gsi: 16=0D [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000001= 00000=0D [ 0.000000] Allocating PCI resources starting at 32800000 (gap: 32800000= :cd800000)=0D [ 0.000000] Booting paravirtualized kernel on Xen=0D [ 0.000000] Xen version: 4.1-110207 (preserve-AD)=0D [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_no= de_ids:1=0D [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff880031fce000 s83136 r8192= d23360 u114688=0D [ 0.000000] pcpu-alloc: s83136 r8192 d23360 u114688 alloc=3D28*4096=0D [ 0.000000] pcpu-alloc: [0] 0 =0D [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Tota= l pages: 203902=0D [ 0.000000] Policy zone: DMA32=0D [ 0.000000] Kernel command line: console=3Dhvc0 debug iommu=3Dsoft swiot= lb=3Dforce=0D [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)=0D [ 0.000000] Placing 64MB software IO TLB between ffff88002c800000 - ffff= 880030800000=0D [ 0.000000] software IO TLB at phys 0x2c800000 - 0x30800000=0D [ 0.000000] Memory: 532972k/827392k available (4423k kernel code, 448k a= bsent, 293972k reserved, 4281k data, 644k init)=0D [ 0.000000] SLUB: Genslabs=3D15, HWalign=3D64, Order=3D0-3, MinObjects= =3D0, CPUs=3D1, Nodes=3D1=0D [ 0.000000] Hierarchical RCU implementation.=0D [ 0.000000] RCU-based detection of stalled CPUs is disabled.=0D [ 0.000000] NR_IRQS:4352 nr_irqs:256 16=0D [ 0.000000] Console: colour dummy device 80x25=0D [ 0.000000] console [tty0] enabled=0D [ 0.000000] console [hvc0] enabled=0D [ 0.000000] Xen: using vcpuop timer interface=0D [ 0.000000] installing Xen timer for CPU 0=0D [ 0.000000] Detected 3000.180 MHz processor.=0D [ 0.000999] Calibrating delay loop (skipped), value calculated using tim= er frequency.. 6000.36 BogoMIPS (lpj=3D3000180)=0D [ 0.000999] pid_max: default: 32768 minimum: 301=0D [ 0.000999] Security Framework initialized=0D [ 0.000999] SELinux: Initializing.=0D [ 0.000999] SELinux: Starting in permissive mode=0D [ 0.000999] Dentry cache hash table entries: 131072 (order: 8, 1048576 b= ytes)=0D [ 0.000999] Inode-cache hash table entries: 65536 (order: 7, 524288 byte= s)=0D [ 0.000999] Mount-cache hash table entries: 256=0D [ 0.000999] Initializing cgroup subsys ns=0D [ 0.000999] ns_cgroup deprecated: consider using the 'clone_children' fl= ag without the ns_cgroup.=0D [ 0.000999] Initializing cgroup subsys cpuacct=0D [ 0.000999] Initializing cgroup subsys freezer=0D [ 0.001033] tseg: 0000000000=0D [ 0.001042] CPU: Physical Processor ID: 0=0D [ 0.001047] CPU: Processor Core ID: 1=0D [ 0.001109] SMP alternatives: switching to UP code=0D [ 0.002017] Freeing SMP alternatives: 16k freed=0D [ 0.002096] cpu 0 spinlock event irq 17=0D [ 0.002114] Performance Events: =0D [ 0.002119] no APIC, boot with the "lapic" boot parameter to force-enabl= e it.=0D [ 0.002126] no hardware sampling interrupt available.=0D [ 0.002156] Broken PMU hardware detected, using software events only.=0D [ 0.002326] MCE: In-kernel MCE decoding enabled.=0D [ 0.002334] Brought up 1 CPUs=0D [ 0.002511] kworker/u:0 used greatest stack depth: 6032 bytes left=0D [ 0.003097] Grant table initialized=0D [ 0.022107] Time: 165:165:165 Date: 165/165/65=0D [ 0.022180] NET: Registered protocol family 16=0D [ 0.022633] kworker/u:0 used greatest stack depth: 5768 bytes left=0D [ 0.022770] Extended Config Space enabled on 0 nodes=0D [ 0.022803] PCI: setting up Xen PCI frontend stub=0D [ 0.022803] PCI: pci_cache_line_size set to 64 bytes=0D [ 0.029306] bio: create slab at 0=0D [ 0.029431] ACPI: Interpreter disabled.=0D [ 0.031042] xen_balloon: Initialising balloon driver.=0D [ 0.031122] last_pfn =3D 0x32800 max_arch_pfn =3D 0x400000000=0D [ 0.031160] vgaarb: loaded=0D [ 0.031406] usbcore: registered new interface driver usbfs=0D [ 0.031458] usbcore: registered new interface driver hub=0D [ 0.031519] usbcore: registered new device driver usb=0D [ 0.031756] PCI: System does not support PCI=0D [ 0.031763] PCI: System does not support PCI=0D [ 0.032190] NetLabel: Initializing=0D [ 0.032197] NetLabel: domain hash size =3D 128=0D [ 0.032202] NetLabel: protocols =3D UNLABELED CIPSOv4=0D [ 0.032218] NetLabel: unlabeled traffic allowed by default=0D [ 0.032412] Switching to clocksource xen=0D [ 0.034122] pnp: PnP ACPI: disabled=0D [ 0.038531] NET: Registered protocol family 2=0D [ 0.038650] IP route cache hash table entries: 32768 (order: 6, 262144 b= ytes)=0D [ 0.039224] TCP established hash table entries: 131072 (order: 9, 209715= 2 bytes)=0D [ 0.040199] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)= =0D [ 0.040889] TCP: Hash tables configured (established 131072 bind 65536)= =0D [ 0.040899] TCP reno registered=0D [ 0.040919] UDP hash table entries: 512 (order: 3, 49152 bytes)=0D [ 0.040948] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)=0D [ 0.041018] NET: Registered protocol family 1=0D [ 0.041229] RPC: Registered udp transport module.=0D [ 0.041235] RPC: Registered tcp transport module.=0D [ 0.041240] RPC: Registered tcp NFSv4.1 backchannel transport module.=0D [ 0.041247] PCI: CLS 0 bytes, default 64=0D [ 0.041394] Trying to unpack rootfs image as initramfs...=0D [ 0.328808] Freeing initrd memory: 193312k freed=0D [ 0.394814] platform rtc_cmos: registered platform RTC device (no PNP de= vice found)=0D [ 0.395166] Machine check injector initialized=0D [ 0.395517] microcode: CPU0: patch_level=3D0x1000086=0D [ 0.395578] microcode: Microcode Update Driver: v2.00 , Peter Oruba=0D [ 0.395587] Scanning for low memory corruption every 60 seconds=0D [ 0.395909] audit: initializing netlink socket (disabled)=0D [ 0.395928] type=3D2000 audit(1297118949.293:1): initialized=0D [ 0.403884] HugeTLB registered 2 MB page size, pre-allocated 0 pages=0D [ 0.408118] VFS: Disk quotas dquot_6.5.2=0D [ 0.408294] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)=0D [ 0.408798] NTFS driver 2.1.30 [Flags: R/W].=0D [ 0.408997] msgmni has been set to 1418=0D [ 0.409138] SELinux: Registering netfilter hooks=0D [ 0.409543] Block layer SCSI generic (bsg) driver version 0.4 loaded (ma= jor 253)=0D [ 0.409553] io scheduler noop registered=0D [ 0.409558] io scheduler deadline registered=0D [ 0.409629] io scheduler cfq registered (default)=0D [ 0.409810] pci_hotplug: PCI Hot Plug PCI Core version: 0.5=0D [ 0.446576] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled=0D [ 0.447352] Non-volatile memory driver v1.3=0D [ 0.447361] Linux agpgart interface v0.103=0D [ 0.447579] [drm] Initialized drm 1.1.0 20060810=0D [ 0.449911] brd: module loaded=0D [ 0.450994] loop: module loaded=0D [ 0.451244] Fixed MDIO Bus: probed=0D [ 0.451334] tun: Universal TUN/TAP device driver, 1.6=0D [ 0.451341] tun: (C) 1999-2004 Max Krasnyansky =0D [ 0.451580] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver=0D [ 0.451589] ehci_hcd: block sizes: qh 104 qtd 96 itd 192 sitd 96=0D [ 0.451646] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver=0D [ 0.451653] ohci_hcd: block sizes: ed 80 td 96=0D [ 0.451701] uhci_hcd: USB Universal Host Controller Interface driver=0D [ 0.451879] usbcore: registered new interface driver usblp=0D [ 0.451929] usbcore: registered new interface driver libusual=0D [ 0.452119] i8042: PNP: No PS/2 controller found. Probing ports directly= =2E=0D [ 0.452944] i8042: No controller found=0D [ 0.453024] mousedev: PS/2 mouse device common for all mice=0D [ 0.453360] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0=0D [ 0.453440] rtc_cmos: probe of rtc_cmos failed with error -38=0D [ 0.453629] cpuidle: using governor ladder=0D [ 0.453636] cpuidle: using governor menu=0D [ 0.453746] Netfilter messages via NETLINK v0.30.=0D [ 0.453769] nf_conntrack version 0.5.0 (5674 buckets, 22696 max)=0D [ 0.453908] ctnetlink v0.93: registering with nfnetlink.=0D [ 0.454385] ip_tables: (C) 2000-2006 Netfilter Core Team=0D [ 0.454419] TCP cubic registered=0D [ 0.454424] Initializing XFRM netlink socket=0D [ 0.454743] NET: Registered protocol family 10=0D [ 0.455501] ip6_tables: (C) 2000-2006 Netfilter Core Team=0D [ 0.455556] IPv6 over IPv4 tunneling driver=0D [ 0.456227] NET: Registered protocol family 17=0D [ 0.456265] Registering the dns_resolver key type=0D [ 0.456501] PM: Hibernation image not present or could not be loaded.=0D [ 0.456520] registered taskstats version 1=0D [ 0.456533] XENBUS: Device with no driver: device/vkbd/0=0D [ 0.456538] XENBUS: Device with no driver: device/vfb/0=0D [ 0.456543] XENBUS: Device with no driver: device/console/0=0D [ 0.456558] Magic number: 1:252:3141=0D [ 0.457000] Freeing unused kernel memory: 644k freed=0D [ 0.457254] Write protecting the kernel read-only data: 8192k=0D [ 0.460469] Testing CPA: undo ffffffff81000000-ffffffff81800000=0D [ 0.462996] Testing CPA: again=0D [ 0.466507] Freeing unused kernel memory: 1700k freed=0D [ 0.467310] Freeing unused kernel memory: 492k freed=0D =0Dinit started: BusyBox v1.14.3 (2011-02-07 17:30:37 EST)=0D [ 0.474262] consoletype used greatest stack depth: 5680 bytes left=0D Mounting directories [ OK ]=0D=0D [ 0.695544] modprobe used greatest stack depth: 5472 bytes left=0D [ 0.699416] core_filesystem used greatest stack depth: 5408 bytes left=0D Running in PV context on Xen v4.1.=0D [ 0.710732] input: Xen Virtual Keyboard as /devices/virtual/input/input0= =0D [ 0.710941] input: Xen Virtual Pointer as /devices/virtual/input/input1= =0D [ 0.926360] Initialising Xen virtual ethernet driver.=0D [ 0.948476] udevd (1120): /proc/1120/oom_adj is deprecated, please use /= proc/1120/oom_score_adj instead.=0D [ 1.153666] ip used greatest stack depth: 4160 bytes left=0D Waiting for devices [ OK ]=0D=0D Waiting for fb [ OK ]=0D=0D Starting..[/dev/fb0]=0D /dev/fb0: len:0=0D /dev/fb0: bits/pixel32=0D (7fa1eeb76000): Writting .. [800:600]=0D Done!=0D FATAL: Module agpgart_intel not found.=0D [ 1.518929] Console: switching to colour frame buffer device 100x37=0D [ 1.570366] [drm] radeon kernel modesetting enabled.=0D WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.38-rc2-00045-gcb8= 1bee/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device=0D WARNING: Error inserting ttm (/lib/modules/2.6.38-rc2-00045-gcb81bee/kernel= /drivers/gpu/drm/ttm/ttm.ko): No such device=0D FATAL: Error inserting nouveau (/lib/modules/2.6.38-rc2-00045-gcb81bee/kern= el/drivers/gpu/drm/nouveau/nouveau.ko): No such device=0D WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.38-rc2-00045-gcb8= 1bee/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device=0D FATAL: Error inserting i915 (/lib/modules/2.6.38-rc2-00045-gcb81bee/kernel/= drivers/gpu/drm/i915/i915.ko): No such device=0D Waiting for network [ OK ]=0D=0D Bringing up loopback interface: [ OK ]=0D=0D Bringing up interface eth0: Device eth0 does not seem to be present, delay= ing initialization.=0D [FAILED]=0D=0D Bringing up interface switch: =0D Determining IP information for switch...[ 12.754080] switch: no IPv6 rout= ers present=0D [ 30.395103] CPA self-test:=0D [ 30.418489] 4k 206848 large 0 gb 0 x 10986[ffff880000000000-ffff8800327= ff000] miss 0=0D [ 30.463061] 4k 206848 large 0 gb 0 x 10986[ffff880000000000-ffff8800327= ff000] miss 0=0D [ 30.505465] 4k 206848 large 0 gb 0 x 10986[ffff880000000000-ffff8800327= ff000] miss 0=0D [ 30.505518] ok.=0D failed.=0D [FAILED]=0D=0D /etc/init.d/rcS: line 30: NFS: command not found=0D Waiting for init.custom [ OK ]=0D=0D Start sshd=0D =0D Starting SSHd ...=0D =0D SSH started [2149]=0D =0D =0D mount.nfs: Failed to resolve server 192.168.101.1: Address family for hostn= ame not supported=0D mount.nfs: Failed to resolve server 192.168.101.1: Address family for hostn= ame not supported=0D [ 64.355127] [drm] Module unloaded=0D ERROR: Module nouveau does not exist in /proc/modules=0D [0x0->0x32000] pfn=0D [0x0->0x32000] level entry=0D [0x32000->0x40000] level middle=0D [0x32000->0x1ffffff] missing=0D [0x40000->0x1ffffff] level top=0D Waiting for SSHd [ OK ]=0D=0D WARNING: ssh currently running [2149] ignoring start request=0D Starting..[/dev/fb0]=0D /dev/fb0: len:0=0D /dev/fb0: bits/pixel32=0D (7f0537b62000): Writting .. [800:600]=0D Done!=0D FATAL: Module iscsi_ibft not found.=0D iscsistart: Missing or Invalid version from /sys/module/scsi_transport_iscs= i/version. Make sure a up to date scsi_transport_iscsi module is loaded and= a up todate version of iscsid is running. Exiting...=0D Feb 7 22:50:13 (none) syslogd 1.5.0: restart.=0D=0D FATAL: Module evtchn not found.=0D [ 64.998808] Event-channel device installed.=0D xencommons should be started first.=0D CPU0 =0D 16: 4014 xen-percpu-virq timer0=0D 17: 0 xen-percpu-ipi spinlock0=0D 18: 0 xen-percpu-ipi resched0=0D 19: 0 xen-percpu-ipi callfunc0=0D 20: 0 xen-percpu-virq debug0=0D 21: 0 xen-percpu-ipi callfuncsingle0=0D 22: 286 xen-dyn-event xenbus=0D 23: 88 xen-dyn-event hvc_console=0D 24: 186 xen-dyn-event vkbd=0D 25: 382 xen-dyn-event vfb=0D NMI: 0 Non-maskable interrupts=0D LOC: 0 Local timer interrupts=0D SPU: 0 Spurious interrupts=0D PMI: 0 Performance monitoring interrupts=0D IWI: 0 IRQ work interrupts=0D RES: 0 Rescheduling interrupts=0D CAL: 0 Function call interrupts=0D TLB: 0 TLB shootdowns=0D TRM: 0 Thermal event interrupts=0D THR: 0 Threshold APIC interrupts=0D MCE: 0 Machine check exceptions=0D MCP: 0 Machine check polls=0D ERR: 0=0D MIS: 0=0D 00000000-0000ffff : reserved=0D 00010000-0009ffff : System RAM=0D 000a0000-000fffff : reserved=0D 00100000-327fffff : System RAM=0D 01000000-01451cab : Kernel code=0D 01451cac-0188017f : Kernel data=0D 01928000-01a25fff : Kernel bss=0D Feb 7 22:50:13 (none) init: starting pid 2234, tty '/dev/tty0': '/bin/sh'= =0D=0D Feb 7 22:50:13 (none) init: starting pid 2235, tty '/dev/tty1': '/bin/sh'= =0D=0D Feb 7 22:50:13 (none) init: starting pid 2236, tty '/dev/hvc0': '/bin/sh'= =0D=0D sh-4.1# test_gnt =08=08=08=08=08=08=08=08=08=1B[Kcat /pro=08=08=08=08=08=08= =08=08=1B[Kdmesg | grep Memo=0D [ 0.000000] Memory: 532972k/827392k available (4423k kernel code, 448k a= bsent, 293972k reserved, 4281k data, 644k init)=0D sh-4.1# =0D sh-4.1# tet_=08 =08=08 =08st_gnt=0D add return gntref, address=0D map return index, address=0D adel delete internal=0D ddel delete internal=0D unmap
unmap memory=0D show show all pages=0D append word to all mapped pages, show=0D PID 8c0=0D =0D > show=0D END=0D =0D > add 3=0D Created shared page with domain 3, grant #8. Mapped locally at 0=3D0x7f4422= 411000=0D =0D > show=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3D=0D END=0D =0D > boo=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dboo=0D END=0D =0D > show=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Ddeadbeefboo=0D END=0D =0D > show=08 =08=08 =08=08 =08=08 =08ddel 3=0D gu error: No such file or directory (rv=3D-1)=0D =0D > ddel 7f4422411000=0D gu error: No such file or directory (rv=3D-1)=0D =0D > ddel 0=0D gu error: No such file or directory (rv=3D-1)=0D =0D > ddel=0D gu error: No such file or directory (rv=3D-1)=0D =0D > show=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dunampdeadbeefbo= o=0D END=0D =0D > ddel 8c06b8b4567=0D gu error: No such file or directory (rv=3D-1)=0D =0D > ddel 11000000=0D gu error: No such file or directory (rv=3D-1)=0D =0D > ddell 0=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dddellunampdeadb= eefboo=0D END=0D =0D > dde=08 =08=08 =08e=08 =08dell 0=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dddellddellunamp= deadbeefboo=0D END=0D =0D > show=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dddellddellunamp= deadbeefboo=0D END=0D =0D > =0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dddellddellunamp= deadbeefboo=0D END=0D =0D > help=0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dhelpddellddellu= nampdeadbeefboo=0D END=0D =0D > =0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dhelphelpddelldd= ellunampdeadbeefboo=0D END=0D =0D > =0D 00(139930609192960,0): id 8c06b8b4567 n=3D11000000 b=3Dhelphelphelpdde= llddellunampdeadbeefboo=0D END=0D =0D > ^C[ 331.822244] test_gnt:2240 freeing invalid memtype 0-1000=0D =0D sh-4.1# =0D sh-4.1# =0D sh-4.1# test_gnt=0D add return gntref, address=0D map return index, address=0D adel delete internal=0D ddel delete internal=0D unmap
unmap memory=0D show show all pages=0D append word to all mapped pages, show=0D PID 8c1=0D =0D > add 5=0D Created shared page with domain 5, grant #9. Mapped locally at 0=3D0x7fee03= 45f000=0D =0D > deadbeef is neat=0D 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3Ddeadbeef=0D END=0D =0D > show=0D 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef=0D END=0D =0D > =0D 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef=0D END=0D =0D > show=0D 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef=0D END=0D =0D > show=0D 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef=0D END=0D =0D > ddel 0=0D gu error: No such file or directory (rv=3D-1)=0D =0D > ddel 8c16b8b4567=0D gu error: No such file or directory (rv=3D-1)=0D =0D > show=0D 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef=0D END=0D =0D > 00(140660233859072,0): id 8c16b8b4567 n=3D11000000 b=3DWoot!deadbeef= =0D END=0D =0D > ^C[ 756.625232] test_gnt:2241 freeing invalid memtype 0-1000=0D =0D sh-4.1#=20 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --a8Wt8u1KmwUX3Y2C--