* re:RE: blue screen in windows balloon driver
@ 2011-02-26 13:01 MaoXiaoyun
2011-02-27 11:25 ` James Harper
0 siblings, 1 reply; 27+ messages in thread
From: MaoXiaoyun @ 2011-02-26 13:01 UTC (permalink / raw)
To: xen devel; +Cc: george.dunlap, james.harper
[-- Attachment #1.1: Type: text/plain, Size: 2392 bytes --]
Thanks James.
I think it is GPLPV. The driver is from http://xenbits.xen.org/ext/win-pvdrivers.hg
But, I have done some other things
1) Add pod support
2) enable a meminfo thread, periodically write VM meminfo into xenstore
We use info of Current Memory, Free memory, and Committed memory, retrived through NativeAPI
3) our code is based from changeset 823, attached is the diff of my current code with changset of 853.
Maybe I need add my code to 853, and test again.
Thanks.
>From: James Harper [mailto:james.harper@bendigoit.com.au]
>To: xiaoyun.maoxy; xen-devel@lists.xensource.com
>cc: george.dunlap@eu.citrix.com
>Subject: RE: blue screen in windows balloon driver
>
>> Hi:
>> We've confronted the windows 2003 Blue screen when using balloon
>> driver.
>
>> The blue screen has the information of "NO_PAGES_AVAILABLE", and
>> Technical information:
>> ***STOP: 0x0000004D (0x0002A8FB,0x0002A8FB,0x00000000,0x00000000)
>
>> In fact we are doing the stress test on 24 windows2003 HVM on a
>> 24G, 16core host.
>> In dom0, there is a daemon process (balloond) will give memory
>> back to the VM who acclaim memory.
>> The balloond will ensure every VM at least has 512M memory.
>> Each VM is started with memory=512 maxmem=2048
>> Inside each of the VM, there is two processes eat memory, each
of which will eat 1G memory.
>> And the page file size configured on C:\ is init size 1536M, max
>> size 3072M, which I think even
>> If balloond process not give back the memory back to VM, the VM
> can has 512M+3072M = 3.5G virtual
>> memory.
>>
>> Am I right?, if so , since our eat memory process only consume
>> 2G memory, how could "NO_PAGES_AVAILABLE" happen?
>> Also, since we enable VM writes its memory status into xenstore,
>> when blue screen, it has only has 972KB memory.
>> Any comments? Many thanks.
>>
>
>
>You've put myself (I wrote GPLPV) and George Dunlap (from Citrix) in the
>CC list but you don't say if you are using GPLPV drivers or Citrix PV
>drivers. If you are using GPLPV drivers let me know and I'll get some
>more information about the problem from you. If you aren't using GPLPV
>drivers then I don't think I can be of much assistance...
>
>Thanks
>
>James
>
[-- Attachment #1.2: Type: text/html, Size: 3715 bytes --]
[-- Attachment #2: changset823.diff --]
[-- Type: application/octet-stream, Size: 72585 bytes --]
diff -ruN ../win-pvdrivers.hg/xenpci/evtchn.c xenpci/evtchn.c
--- ../win-pvdrivers.hg/xenpci/evtchn.c 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/evtchn.c 2011-02-26 20:44:33.000000000 +0800
@@ -154,50 +154,38 @@
switch (ev_action->type)
{
case EVT_ACTION_TYPE_NORMAL:
- //KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_NORMAL port = %d\n", port));
+ //KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_NORMAL\n"));
ev_action->ServiceRoutine(ev_action->ServiceContext);
break;
case EVT_ACTION_TYPE_IRQ:
- //KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_IRQ port = %d\n", port));
+ //KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_IRQ\n"));
synch_set_bit(evt_bit, (volatile xen_long_t *)&xpdd->evtchn_pending_pvt[pcpu][evt_word]);
deferred = TRUE;
break;
case EVT_ACTION_TYPE_DPC:
- //KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_DPC port = %d\n", port));
+ //KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_DPC\n"));
KeInsertQueueDpc(&ev_action->Dpc, NULL, NULL);
break;
case EVT_ACTION_TYPE_SUSPEND:
KdPrint((__DRIVER_NAME " EVT_ACTION_TYPE_SUSPEND\n"));
for (i = 0; i < ARRAY_SIZE(xpdd->evtchn_pending_pvt[pcpu]); i++)
{
- if (!(xpdd->ev_actions[i].flags & EVT_ACTION_FLAGS_NO_SUSPEND))
+ if (xpdd->ev_actions[i].type == EVT_ACTION_TYPE_IRQ)
{
- switch(xpdd->ev_actions[i].type)
- {
- case EVT_ACTION_TYPE_IRQ:
- {
- int suspend_bit = i & (BITS_PER_LONG - 1);
- int suspend_word = i >> BITS_PER_LONG_SHIFT;
- synch_set_bit(suspend_bit, (volatile xen_long_t *)&xpdd->evtchn_pending_pvt[pcpu][suspend_word]);
- }
- break;
- case EVT_ACTION_TYPE_NORMAL:
- if (xpdd->ev_actions[i].ServiceRoutine)
- {
- xpdd->ev_actions[i].ServiceRoutine(xpdd->ev_actions[i].ServiceContext);
- }
- break;
- case EVT_ACTION_TYPE_DPC:
- KeInsertQueueDpc(&xpdd->ev_actions[i].Dpc, NULL, NULL);
- break;
- }
+ int suspend_bit = i & (BITS_PER_LONG - 1);
+ int suspend_word = i >> BITS_PER_LONG_SHIFT;
+ synch_set_bit(suspend_bit, (volatile xen_long_t *)&xpdd->evtchn_pending_pvt[pcpu][suspend_word]);
+ }
+ else if (xpdd->ev_actions[i].type == EVT_ACTION_TYPE_NORMAL && xpdd->ev_actions[i].ServiceRoutine)
+ {
+ xpdd->ev_actions[i].ServiceRoutine(xpdd->ev_actions[i].ServiceContext);
}
}
KeInsertQueueDpc(&ev_action->Dpc, NULL, NULL);
deferred = TRUE;
break;
default:
- KdPrint((__DRIVER_NAME " Unhandled Event!!! port=%d\n", port));
+ KdPrint((__DRIVER_NAME " Unhandled Event!!!\n"));
break;
}
}
@@ -235,7 +223,7 @@
}
NTSTATUS
-EvtChn_Bind(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext, ULONG flags)
+EvtChn_Bind(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext)
{
PXENPCI_DEVICE_DATA xpdd = Context;
ev_action_t *action = &xpdd->ev_actions[Port];
@@ -251,7 +239,6 @@
xpdd->ev_actions[Port].ServiceRoutine = ServiceRoutine;
xpdd->ev_actions[Port].ServiceContext = ServiceContext;
xpdd->ev_actions[Port].xpdd = xpdd;
- xpdd->ev_actions[Port].flags = flags;
KeMemoryBarrier();
xpdd->ev_actions[Port].type = EVT_ACTION_TYPE_NORMAL;
@@ -263,7 +250,7 @@
}
NTSTATUS
-EvtChn_BindDpc(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext, ULONG flags)
+EvtChn_BindDpc(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext)
{
PXENPCI_DEVICE_DATA xpdd = Context;
ev_action_t *action = &xpdd->ev_actions[Port];
@@ -279,7 +266,6 @@
xpdd->ev_actions[Port].ServiceRoutine = ServiceRoutine;
xpdd->ev_actions[Port].ServiceContext = ServiceContext;
xpdd->ev_actions[Port].xpdd = xpdd;
- xpdd->ev_actions[Port].flags = flags;
KeMemoryBarrier(); // make sure that the new service routine is only called once the context is set up
InterlockedExchange((volatile LONG *)&action->type, EVT_ACTION_TYPE_DPC);
@@ -291,7 +277,7 @@
}
NTSTATUS
-EvtChn_BindIrq(PVOID Context, evtchn_port_t Port, ULONG vector, PCHAR description, ULONG flags)
+EvtChn_BindIrq(PVOID Context, evtchn_port_t Port, ULONG vector, PCHAR description)
{
PXENPCI_DEVICE_DATA xpdd = Context;
ev_action_t *action = &xpdd->ev_actions[Port];
@@ -309,8 +295,7 @@
KeMemoryBarrier();
xpdd->ev_actions[Port].type = EVT_ACTION_TYPE_IRQ;
RtlStringCbCopyA(xpdd->ev_actions[Port].description, 128, description);
- xpdd->ev_actions[Port].flags = flags;
-
+
EvtChn_Unmask(Context, Port);
FUNCTION_EXIT();
@@ -461,7 +446,7 @@
KeInitializeEvent(&xpdd->pdo_suspend_event, SynchronizationEvent, FALSE);
xpdd->pdo_event_channel = EvtChn_AllocIpi(xpdd, 0);
- EvtChn_BindDpc(xpdd, xpdd->pdo_event_channel, EvtChn_PdoEventChannelDpc, xpdd, EVT_ACTION_FLAGS_DEFAULT);
+ EvtChn_BindDpc(xpdd, xpdd->pdo_event_channel, EvtChn_PdoEventChannelDpc, xpdd);
xpdd->ev_actions[xpdd->pdo_event_channel].type = EVT_ACTION_TYPE_SUSPEND; /* override dpc type */
KdPrint((__DRIVER_NAME " pdo_event_channel = %d\n", xpdd->pdo_event_channel));
diff -ruN ../win-pvdrivers.hg/xenpci/getphyinfo.c xenpci/getphyinfo.c
--- ../win-pvdrivers.hg/xenpci/getphyinfo.c 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/getphyinfo.c 2011-02-26 20:44:33.000000000 +0800
@@ -0,0 +1,348 @@
+#include "getphyinfo.h"
+#include <WinError.h>
+
+//copy from the "xenpci.h"
+#define XENPCI_POOL_TAG (ULONG) 'XenP'
+
+typedef struct _SYSTEM_PERFORMANCE_INFORMATION{
+ LARGE_INTEGER IdleTime;
+ LARGE_INTEGER ReadTransferCount;
+ LARGE_INTEGER WriteTransferCount;
+ LARGE_INTEGER OtherTransferCount;
+ ULONG ReadOperationCount;
+ ULONG WriteOperationCount;
+ ULONG OtherOperationCount;
+ ULONG AvailablePages;
+ ULONG TotalCommittedPages;
+ ULONG TotalCommitLimit;
+ ULONG PeakCommitment;
+ ULONG PageFaults;
+ ULONG WriteCopyFaults;
+ ULONG TransitionFaults;
+ ULONG Reserved1;
+ ULONG DemandZeroFaults;
+ ULONG PagesRead;
+ ULONG PageReadIos;
+ ULONG Reserved2[2];
+ ULONG PagefilePagesWritten;
+ ULONG PagefilePageWriteIos;
+ ULONG MappedFilePagesWritten;
+ ULONG MappedFilePageWriteIos;
+ ULONG PagedPoolUsage;
+ ULONG NonPagedPoolUsage;
+ ULONG PagedPoolAllocs;
+ ULONG PagedPoolFrees;
+ ULONG NonPagedPoolAllocs;
+ ULONG NonPagedPoolFrees;
+ ULONG TotalFreeSystemPtes;
+ ULONG SystemCodePage;
+ ULONG TotalSystemDriverPages;
+ ULONG TotalSystemCodePages;
+ ULONG SmallNonPagedLookasideListAllocateHits;
+ ULONG SmallPagedLookasideListAllocateHits;
+ ULONG Reserved3;
+ ULONG MmSystemCachePage;
+ ULONG PagedPoolPage;
+ ULONG SystemDriverPage;
+ ULONG FastReadNoWait;
+ ULONG FastReadWait;
+ ULONG FastReadResourceMiss;
+ ULONG FastReadNotPossible;
+ ULONG FastMdlReadNoWait;
+ ULONG FastMdlReadWait;
+ ULONG FastMdlReadResourceMiss;
+ ULONG FastMdlReadNotPossible;
+ ULONG MapDataNoWait;
+ ULONG MapDataWait;
+ ULONG MapDataNoWaitMiss;
+ ULONG MapDataWaitMiss;
+ ULONG PinMappedDataCount;
+ ULONG PinReadNoWait;
+ ULONG PinReadWait;
+ ULONG PinReadNoWaitMiss;
+ ULONG PinReadWaitMiss;
+ ULONG CopyReadNoWait;
+ ULONG CopyReadWait;
+ ULONG CopyReadNoWaitMiss;
+ ULONG CopyReadWaitMiss;
+ ULONG MdlReadNoWait;
+ ULONG MdlReadWait;
+ ULONG MdlReadNoWaitMiss;
+ ULONG MdlReadWaitMiss;
+ ULONG ReadAheadIos;
+ ULONG LazyWriteIos;
+ ULONG LazyWritePages;
+ ULONG DataFlushes;
+ ULONG DataPages;
+ ULONG ContextSwitches;
+ ULONG FirstLevelTbFills;
+ ULONG SecondLevelTbFills;
+ ULONG SystemCalls;
+ } SYSTEM_PERFORMANCE_INFORMATION, *PSYSTEM_PERFORMANCE_INFORMATION;
+
+typedef struct _SYSTEM_BASIC_INFORMATION{
+ ULONG Unknown;
+ ULONG MaximumIncrement;
+ ULONG PageSize;
+ ULONG NumberOfPhysicalPages;
+ ULONG LowestPhysicalPage;
+ ULONG HighestPhysicalPage;
+ ULONG AllocationGranularity;
+ ULONG_PTR LowestUserAddress;
+ ULONG_PTR HighestUserAddress;
+ ULONG_PTR ActiveProcessors;
+ CCHAR NumberProcessors;
+ }SYSTEM_BASIC_INFORMATION, *PSYSTEM_BASIC_INFORMATION;
+
+
+typedef enum _SYSTEM_INFORMATION_CLASS {
+ SystemBasicInformation, // 0 Y N
+ SystemProcessorInformation, // 1 Y N
+ SystemPerformanceInformation, // 2 Y N
+ SystemTimeOfDayInformation, // 3 Y N
+ SystemNotImplemented1, // 4 Y N
+ SystemProcessesAndThreadsInformation, // 5 Y N
+ SystemCallCounts, // 6 Y N
+ SystemConfigurationInformation, // 7 Y N
+ SystemProcessorTimes, // 8 Y N
+ SystemGlobalFlag, // 9 Y Y
+ SystemNotImplemented2, // 10 Y N
+ SystemModuleInformation, // 11 Y N
+ SystemLockInformation, // 12 Y N
+ SystemNotImplemented3, // 13 Y N
+ SystemNotImplemented4, // 14 Y N
+ SystemNotImplemented5, // 15 Y N
+ SystemHandleInformation, // 16 Y N
+ SystemObjectInformation, // 17 Y N
+ SystemPagefileInformation, // 18 Y N
+ SystemInstructionEmulationCounts, // 19 Y N
+ SystemInvalidInfoClass1, // 20
+ SystemCacheInformation, // 21 Y Y
+ SystemPoolTagInformation, // 22 Y N
+ SystemProcessorStatistics, // 23 Y N
+ SystemDpcInformation, // 24 Y Y
+ SystemNotImplemented6, // 25 Y N
+ SystemLoadImage, // 26 N Y
+ SystemUnloadImage, // 27 N Y
+ SystemTimeAdjustment, // 28 Y Y
+ SystemNotImplemented7, // 29 Y N
+ SystemNotImplemented8, // 30 Y N
+ SystemNotImplemented9, // 31 Y N
+ SystemCrashDumpInformation, // 32 Y N
+ SystemExceptionInformation, // 33 Y N
+ SystemCrashDumpStateInformation, // 34 Y Y/N
+ SystemKernelDebuggerInformation, // 35 Y N
+ SystemContextSwitchInformation, // 36 Y N
+ SystemRegistryQuotaInformation, // 37 Y Y
+ SystemLoadAndCallImage, // 38 N Y
+ SystemPrioritySeparation, // 39 N Y
+ SystemNotImplemented10, // 40 Y N
+ SystemNotImplemented11, // 41 Y N
+ SystemInvalidInfoClass2, // 42
+ SystemInvalidInfoClass3, // 43
+ SystemTimeZoneInformation, // 44 Y N
+ SystemLookasideInformation, // 45 Y N
+ SystemSetTimeSlipEvent, // 46 N Y
+ SystemCreateSession, // 47 N Y
+ SystemDeleteSession, // 48 N Y
+ SystemInvalidInfoClass4, // 49
+ SystemRangeStartInformation, // 50 Y N
+ SystemVerifierInformation, // 51 Y Y
+ SystemAddVerifier, // 52 N Y
+ SystemSessionProcessesInformation // 53 Y N
+} SYSTEM_INFORMATION_CLASS;
+
+
+
+typedef enum {
+ StateInitialized,
+ StateReady,
+ StateRunning,
+ StateStandby,
+ StateTerminated,
+ StateWait,
+ StateTransition,
+ StateUnknown
+} THREAD_STATE;
+
+typedef struct _SYSTEM_THREADS {
+ LARGE_INTEGER KernelTime;
+ LARGE_INTEGER UserTime;
+ LARGE_INTEGER CreateTime;
+ ULONG WaitTime;
+ PVOID StartAddress;
+ CLIENT_ID ClientId;
+ KPRIORITY Priority;
+ KPRIORITY BasePriority;
+ ULONG ContextSwitchCount;
+ THREAD_STATE State;
+ KWAIT_REASON WaitReason;
+} SYSTEM_THREADS, *PSYSTEM_THREADS;
+
+#if defined(_WIN64)
+
+/*
+ the struct has been changed to avoid error!
+*/
+typedef struct _VM_COUNTERSEX {
+ ULONGLONG PeakVirtualSize; // used to be ULONG
+ ULONGLONG VirtualSize; // used to be ULONG
+ ULONG PageFaultCount; // used to be ULONG
+ ULONGLONG PeakWorkingSetSize; // used to be ULONG
+ ULONGLONG WorkingSetSize; // used to be ULONG
+ ULONGLONG QuotaPeakPagedPoolUsage; // used to be ULONG
+ ULONGLONG QuotaPagedPoolUsage; // used to be ULONG
+ ULONGLONG QuotaPeakNonPagedPoolUsage; // used to be ULONG
+ ULONGLONG QuotaNonPagedPoolUsage; // used to be ULONG
+ ULONGLONG PagefileUsage; // used to be ULONG
+ ULONGLONG PeakPagefileUsage; // used to be ULONG
+ ULONGLONG PrivateByte; // add by pengfei.zhangpf
+} VM_COUNTERSEX, *PVM_COUNTERSEX;
+
+typedef struct _SYSTEM_PROCESSES {
+ ULONG NextEntryDelta;
+ ULONG ThreadCount;
+ ULONG Reserved1[6];
+ LARGE_INTEGER CreateTime;
+ LARGE_INTEGER UserTime;
+ LARGE_INTEGER KernelTime;
+ UNICODE_STRING ProcessName;
+ KPRIORITY BasePriority;
+ ULONGLONG ProcessId; // used to be ULONG
+ ULONGLONG InheritedFromProcessId; // used to be ULONG
+ ULONGLONG HandleCount; // used to be ULONG
+ ULONG Reserved2[2];
+ VM_COUNTERSEX VmCounters;
+ IO_COUNTERS IoCounters;
+ SYSTEM_THREADS Threads[1];
+} SYSTEM_PROCESSES, *PSYSTEM_PROCESSES;
+
+#else
+typedef struct _VM_COUNTERSEX {
+ ULONG PeakVirtualSize;
+ ULONG VirtualSize;
+ ULONG PageFaultCount;
+ ULONG PeakWorkingSetSize;
+ ULONG WorkingSetSize;
+ ULONG QuotaPeakPagedPoolUsage;
+ ULONG QuotaPagedPoolUsage;
+ ULONG QuotaPeakNonPagedPoolUsage;
+ ULONG QuotaNonPagedPoolUsage;
+ ULONG PagefileUsage;
+ ULONG PeakPagefileUsage;
+ ULONG PrivateByte; // add by pengfei.zhangpf
+} VM_COUNTERSEX, *PVM_COUNTERSEX;
+
+typedef struct _SYSTEM_PROCESSES {
+ ULONG NextEntryDelta;
+ ULONG ThreadCount;
+ ULONG Reserved1[6];
+ LARGE_INTEGER CreateTime;
+ LARGE_INTEGER UserTime;
+ LARGE_INTEGER KernelTime;
+ UNICODE_STRING ProcessName;
+ KPRIORITY BasePriority;
+ ULONG ProcessId;
+ ULONG InheritedFromProcessId;
+ ULONG HandleCount;
+ ULONG Reserved2[2];
+ VM_COUNTERSEX VmCounters;
+ IO_COUNTERS IoCounters;
+ SYSTEM_THREADS Threads[1];
+} SYSTEM_PROCESSES, *PSYSTEM_PROCESSES;
+#endif
+
+#define DEF_BUF_SIZE 65536
+
+NTSYSAPI
+ NTSTATUS
+ NTAPI
+ NtQuerySystemInformation(
+ IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
+ OUT PVOID SystemInformation,
+ IN ULONG SystemInformationLength,
+ OUT PULONG ReturnLength OPTIONAL );
+
+NTSTATUS NTAPI
+PvGlobalMemoryStatus(PVOID pBuffer)
+{
+ LPMEMORYSTATUS pBufferXsMem;
+ SYSTEM_BASIC_INFORMATION BaseCachedSysInfo;
+ SYSTEM_PERFORMANCE_INFORMATION PerformanceInfo;
+ ULONG uSizeSysInfo;
+ ULONGLONG totalCommitSize;
+ NTSTATUS status;
+ PVOID pBufferSysMem;
+ PSYSTEM_PROCESSES pInfo;
+
+ pBufferXsMem = (LPMEMORYSTATUS)pBuffer;
+
+ status = NtQuerySystemInformation(SystemBasicInformation,
+ &BaseCachedSysInfo,
+ sizeof(BaseCachedSysInfo),
+ NULL);
+ if (!NT_SUCCESS(status))
+ return status;
+
+ /* Query performance information */
+ status = NtQuerySystemInformation(SystemPerformanceInformation,
+ &PerformanceInfo,
+ sizeof(PerformanceInfo),
+ NULL);
+ if (!NT_SUCCESS(status))
+ return status;
+
+ pBufferXsMem->totalPhys = BaseCachedSysInfo.NumberOfPhysicalPages * BaseCachedSysInfo.PageSize;
+
+ /* Now save available physical memory */
+ pBufferXsMem->MemFree = (PerformanceInfo.AvailablePages * BaseCachedSysInfo.PageSize) >> 10;
+
+ uSizeSysInfo = DEF_BUF_SIZE;
+
+ do{
+ pBufferSysMem = ExAllocatePoolWithTag(NonPagedPool, uSizeSysInfo, XENPCI_POOL_TAG);
+ if(pBufferSysMem == NULL)
+ return status;
+
+ status = NtQuerySystemInformation(SystemProcessesAndThreadsInformation, pBufferSysMem, uSizeSysInfo, NULL);
+
+ if (!NT_SUCCESS(status))
+ {
+ if (status == STATUS_INFO_LENGTH_MISMATCH)
+ {
+ uSizeSysInfo += DEF_BUF_SIZE ;
+ ExFreePoolWithTag(pBufferSysMem, XENPCI_POOL_TAG);
+ continue;
+ }
+ else
+ {
+ ExFreePoolWithTag(pBufferSysMem, XENPCI_POOL_TAG);
+ return STATUS_SEVERITY_ERROR;
+ }
+ }
+ else
+ break;
+
+ }while(!NT_SUCCESS(status));/* Query process information */
+
+ KdPrint(("xenpci""cbffer:------%d\n", uSizeSysInfo));
+ pInfo = (PSYSTEM_PROCESSES)pBufferSysMem;
+ totalCommitSize = 0;
+
+ for (;;) {
+
+ if (pInfo -> ProcessId != 0)
+ totalCommitSize += (pInfo->VmCounters).PagefileUsage;
+
+ if (pInfo->NextEntryDelta == 0)
+ break;
+
+ pInfo = (PSYSTEM_PROCESSES)(((PUCHAR)pInfo) + pInfo->NextEntryDelta);
+ }
+
+ pBufferXsMem->Committed_AS =(totalCommitSize >>10);
+ ExFreePoolWithTag(pBufferSysMem, XENPCI_POOL_TAG);
+
+ return 0;
+}
+
diff -ruN ../win-pvdrivers.hg/xenpci/getphyinfo.h xenpci/getphyinfo.h
--- ../win-pvdrivers.hg/xenpci/getphyinfo.h 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/getphyinfo.h 2011-02-26 20:44:33.000000000 +0800
@@ -0,0 +1,28 @@
+#if !defined(_GETPHYINFO_H_)
+#define _GETPHYINFO_H_
+
+#define DDKAPI
+#include <ntddk.h>
+#include <wdm.h>
+#define NTSTRSAFE_LIB
+#include <ntstrsafe.h>
+#include <stdlib.h>
+
+/*
+ if meminfo changed value less than BOUND_VALUE, no xenstore updated
+ default 5M
+*/
+#define BOUND_VALUE 5120
+#define CHANGED(x,y) (((x)>(y)+BOUND_VALUE)||((y)>(x)+BOUND_VALUE))
+
+typedef struct _MEMORYSTATUS {
+ ULONG totalPhys;
+ ULONG MemCur;
+ ULONG MemFree;
+ ULONGLONG Committed_AS;
+} MEMORYSTATUS, *LPMEMORYSTATUS;
+
+NTSTATUS NTAPI
+PvGlobalMemoryStatus(PVOID pBuffer);
+
+#endif
diff -ruN ../win-pvdrivers.hg/xenpci/gnttbl.c xenpci/gnttbl.c
--- ../win-pvdrivers.hg/xenpci/gnttbl.c 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/gnttbl.c 2011-02-26 20:44:33.000000000 +0800
@@ -27,12 +27,12 @@
UNREFERENCED_PARAMETER(tag);
#if DBG
- if (xpdd->gnttbl_tag[ref] != tag)
- KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s doesn't match %.4s\n", ref, (PUCHAR)&tag, (PUCHAR)&xpdd->gnttbl_tag[ref]));
- ASSERT(xpdd->gnttbl_tag[ref] == tag);
- xpdd->gnttbl_tag[ref] = 0;
+ if (xpdd->gnttab_tag[ref] != tag)
+ KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s doesn't match %.4s\n", ref, (PUCHAR)&tag, (PUCHAR)&xpdd->gnttab_tag[ref]));
+ ASSERT(xpdd->gnttab_tag[ref] == tag);
+ xpdd->gnttab_tag[ref] = 0;
#endif
- stack_push(xpdd->gnttbl_ss, (PVOID)ref);
+ stack_push(xpdd->gnttab_ss, (PVOID)ref);
}
grant_ref_t
@@ -44,17 +44,17 @@
UNREFERENCED_PARAMETER(tag);
- if (!stack_pop(xpdd->gnttbl_ss, &ptr_ref))
+ if (!stack_pop(xpdd->gnttab_ss, &ptr_ref))
{
KdPrint((__DRIVER_NAME " No free grant refs\n"));
return INVALID_GRANT_REF;
}
ref = (grant_ref_t)(ULONG_PTR)ptr_ref;
#if DBG
- if (xpdd->gnttbl_tag[ref])
- KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s in use by %.4s\n", ref, (PUCHAR)&tag, (PUCHAR)&xpdd->gnttbl_tag[ref]));
- ASSERT(!xpdd->gnttbl_tag[ref]);
- xpdd->gnttbl_tag[ref] = tag;
+ if (xpdd->gnttab_tag[ref])
+ KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s in use by %.4s\n", ref, (PUCHAR)&tag, (PUCHAR)&xpdd->gnttab_tag[ref]));
+ ASSERT(!xpdd->gnttab_tag[ref]);
+ xpdd->gnttab_tag[ref] = tag;
#endif
return ref;
@@ -67,19 +67,17 @@
struct xen_add_to_physmap xatp;
unsigned int i = end_idx;
- FUNCTION_ENTER();
/* Loop backwards, so that the first hypercall has the largest index, ensuring that the table will grow only once. */
do {
xatp.domid = DOMID_SELF;
xatp.idx = i;
xatp.space = XENMAPSPACE_grant_table;
- xatp.gpfn = (xen_pfn_t)MmGetMdlPfnArray(xpdd->gnttbl_mdl)[i];
+ xatp.gpfn = (xen_pfn_t)(xpdd->gnttab_table_physical.QuadPart >> PAGE_SHIFT) + i;
if (HYPERVISOR_memory_op(xpdd, XENMEM_add_to_physmap, &xatp))
{
- KdPrint((__DRIVER_NAME " *** ERROR MAPPING FRAME %d ***\n", i));
+ KdPrint((__DRIVER_NAME " ***ERROR MAPPING FRAME***\n"));
}
} while (i-- > start_idx);
- FUNCTION_EXIT();
return 0;
}
@@ -102,24 +100,24 @@
if (ref == INVALID_GRANT_REF)
return ref;
- ASSERT(xpdd->gnttbl_tag[ref] == tag);
+ ASSERT(xpdd->gnttab_tag[ref] == tag);
- xpdd->gnttbl_table[ref].frame = frame;
- xpdd->gnttbl_table[ref].domid = domid;
+ xpdd->gnttab_table[ref].frame = frame;
+ xpdd->gnttab_table[ref].domid = domid;
- if (xpdd->gnttbl_table[ref].flags)
+ if (xpdd->gnttab_table[ref].flags)
{
#if DBG
- KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s still in use by %.4s\n", ref, (PUCHAR)&tag, (PUCHAR)&xpdd->gnttbl_tag[ref]));
+ KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s still in use by %.4s\n", ref, (PUCHAR)&tag, (PUCHAR)&xpdd->gnttab_tag[ref]));
#else
KdPrint((__DRIVER_NAME " Grant Entry %d for %.4s still in use\n", ref, (PUCHAR)&tag));
#endif
}
- ASSERT(!xpdd->gnttbl_table[ref].flags);
+ ASSERT(!xpdd->gnttab_table[ref].flags);
KeMemoryBarrier();
readonly *= GTF_readonly;
- xpdd->gnttbl_table[ref].flags = GTF_permit_access | (uint16_t)readonly;
+ xpdd->gnttab_table[ref].flags = GTF_permit_access | (uint16_t)readonly;
return ref;
}
@@ -135,9 +133,9 @@
unsigned short flags, nflags;
ASSERT(ref != INVALID_GRANT_REF);
- ASSERT(xpdd->gnttbl_tag[ref] == tag);
+ ASSERT(xpdd->gnttab_tag[ref] == tag);
- nflags = xpdd->gnttbl_table[ref].flags;
+ nflags = xpdd->gnttab_table[ref].flags;
do {
if ((flags = nflags) & (GTF_reading|GTF_writing))
{
@@ -145,7 +143,7 @@
return FALSE;
}
} while ((nflags = InterlockedCompareExchange16(
- (volatile SHORT *)&xpdd->gnttbl_table[ref].flags, 0, flags)) != flags);
+ (volatile SHORT *)&xpdd->gnttab_table[ref].flags, 0, flags)) != flags);
if (!keepref)
GntTbl_PutRef(Context, ref, tag);
@@ -185,48 +183,28 @@
grant_entries = min(NR_GRANT_ENTRIES, (xpdd->grant_frames * PAGE_SIZE / sizeof(grant_entry_t)));
KdPrint((__DRIVER_NAME " grant_entries = %d\n", grant_entries));
#if DBG
- xpdd->gnttbl_tag = ExAllocatePoolWithTag(NonPagedPool, grant_entries * sizeof(ULONG), XENPCI_POOL_TAG);
- RtlZeroMemory(xpdd->gnttbl_tag, grant_entries * sizeof(ULONG));
- xpdd->gnttbl_tag_copy = ExAllocatePoolWithTag(NonPagedPool, grant_entries * sizeof(ULONG), XENPCI_POOL_TAG);
+ xpdd->gnttab_tag = ExAllocatePoolWithTag(NonPagedPool, grant_entries * sizeof(ULONG), XENPCI_POOL_TAG);
+ RtlZeroMemory(xpdd->gnttab_tag, grant_entries * sizeof(ULONG));
#endif
- xpdd->gnttbl_table_copy = ExAllocatePoolWithTag(NonPagedPool, xpdd->grant_frames * PAGE_SIZE, XENPCI_POOL_TAG);
- ASSERT(xpdd->gnttbl_table_copy); // lazy
- xpdd->gnttbl_table = ExAllocatePoolWithTag(NonPagedPool, xpdd->grant_frames * PAGE_SIZE, XENPCI_POOL_TAG);
- ASSERT(xpdd->gnttbl_table); // lazy
- /* dom0 crashes if we allocate the wrong amount of memory here! */
- xpdd->gnttbl_mdl = IoAllocateMdl(xpdd->gnttbl_table, xpdd->grant_frames * PAGE_SIZE, FALSE, FALSE, NULL);
- ASSERT(xpdd->gnttbl_mdl); // lazy
- MmBuildMdlForNonPagedPool(xpdd->gnttbl_mdl);
-
- /* make some holes for the grant pages to fill in */
- for (i = 0; i < (int)xpdd->grant_frames; i++)
- {
- struct xen_memory_reservation reservation;
- xen_pfn_t pfn;
- ULONG ret;
-
- reservation.address_bits = 0;
- reservation.extent_order = 0;
- reservation.domid = DOMID_SELF;
- reservation.nr_extents = 1;
- #pragma warning(disable: 4127) /* conditional expression is constant */
- pfn = (xen_pfn_t)MmGetMdlPfnArray(xpdd->gnttbl_mdl)[i];
- KdPrint((__DRIVER_NAME " pfn = %x\n", (ULONG)pfn));
- set_xen_guest_handle(reservation.extent_start, &pfn);
-
- KdPrint((__DRIVER_NAME " Calling HYPERVISOR_memory_op - pfn = %x\n", (ULONG)pfn));
- ret = HYPERVISOR_memory_op(xpdd, XENMEM_decrease_reservation, &reservation);
- KdPrint((__DRIVER_NAME " decreased %d pages for grant table frame %d\n", ret, i));
+ xpdd->gnttab_table_copy = ExAllocatePoolWithTag(NonPagedPool, xpdd->grant_frames * PAGE_SIZE, XENPCI_POOL_TAG);
+ ASSERT(xpdd->gnttab_table_copy); // lazy
+ xpdd->gnttab_table_physical = XenPci_AllocMMIO(xpdd, PAGE_SIZE * xpdd->grant_frames);
+ xpdd->gnttab_table = MmMapIoSpace(xpdd->gnttab_table_physical, PAGE_SIZE * xpdd->grant_frames, MmNonCached);
+ if (!xpdd->gnttab_table)
+ {
+ KdPrint((__DRIVER_NAME " Error Mapping Grant Table Shared Memory\n"));
+ // this should be a show stopper...
+ return;
}
- stack_new(&xpdd->gnttbl_ss, grant_entries);
+ stack_new(&xpdd->gnttab_ss, grant_entries);
for (i = NR_RESERVED_ENTRIES; i < grant_entries; i++)
- stack_push(xpdd->gnttbl_ss, (PVOID)i);
+ stack_push(xpdd->gnttab_ss, (PVOID)i);
GntTbl_Map(xpdd, 0, xpdd->grant_frames - 1);
- RtlZeroMemory(xpdd->gnttbl_table, PAGE_SIZE * xpdd->grant_frames);
+ RtlZeroMemory(xpdd->gnttab_table, PAGE_SIZE * xpdd->grant_frames);
FUNCTION_EXIT();
}
@@ -234,54 +212,7 @@
VOID
GntTbl_Suspend(PXENPCI_DEVICE_DATA xpdd)
{
- #if DBG
- int grant_entries;
- #endif
- int i;
-
- FUNCTION_ENTER();
-
- /* copy some grant refs and switch to an alternate freelist, but only on hiber */
- if (KeGetCurrentIrql() <= DISPATCH_LEVEL)
- {
- KdPrint((__DRIVER_NAME " backing up grant ref stack\n"));
- for (i = 0; i < HIBER_GREF_COUNT; i++)
- {
- xpdd->hiber_grefs[i] = INVALID_GRANT_REF;
- }
- for (i = 0; i < HIBER_GREF_COUNT; i++)
- {
- if ((xpdd->hiber_grefs[i] = GntTbl_GetRef(xpdd, (ULONG)'HIBR')) == INVALID_GRANT_REF)
- break;
- }
- KdPrint((__DRIVER_NAME " %d grant refs reserved\n", i));
- xpdd->gnttbl_ss_copy = xpdd->gnttbl_ss;
- stack_new(&xpdd->gnttbl_ss, HIBER_GREF_COUNT);
- }
- else
- {
- xpdd->gnttbl_ss_copy = NULL;
- }
-
- memcpy(xpdd->gnttbl_table_copy, xpdd->gnttbl_table, xpdd->grant_frames * PAGE_SIZE);
- #if DBG
- /* even though gnttbl_tag is actually preserved, it is used by the dump driver so must be restored to exactly the same state as it was on suspend */
- grant_entries = min(NR_GRANT_ENTRIES, (xpdd->grant_frames * PAGE_SIZE / sizeof(grant_entry_t)));
- memcpy(xpdd->gnttbl_tag_copy, xpdd->gnttbl_tag, grant_entries * sizeof(ULONG));
- #endif
-
- /* put the grant entries on the new freelist, after copying the tables above */
- if (KeGetCurrentIrql() <= DISPATCH_LEVEL)
- {
- for (i = 0; i < HIBER_GREF_COUNT; i++)
- {
- if (xpdd->hiber_grefs[i] == INVALID_GRANT_REF)
- break;
- GntTbl_PutRef(xpdd, xpdd->hiber_grefs[i], (ULONG)'HIBR');
- }
- }
-
- FUNCTION_EXIT();
+ memcpy(xpdd->gnttab_table_copy, xpdd->gnttab_table, xpdd->grant_frames * PAGE_SIZE);
}
VOID
@@ -289,58 +220,15 @@
{
ULONG new_grant_frames;
ULONG result;
- int i;
- #if DBG
- int grant_entries;
- #endif
-
+
FUNCTION_ENTER();
-
- for (i = 0; i < (int)xpdd->grant_frames; i++)
- {
- struct xen_memory_reservation reservation;
- xen_pfn_t pfn;
- ULONG ret;
-
- reservation.address_bits = 0;
- reservation.extent_order = 0;
- reservation.domid = DOMID_SELF;
- reservation.nr_extents = 1;
- #pragma warning(disable: 4127) /* conditional expression is constant */
- pfn = (xen_pfn_t)MmGetMdlPfnArray(xpdd->gnttbl_mdl)[i];
- KdPrint((__DRIVER_NAME " pfn = %x\n", (ULONG)pfn));
- set_xen_guest_handle(reservation.extent_start, &pfn);
-
- KdPrint((__DRIVER_NAME " Calling HYPERVISOR_memory_op - pfn = %x\n", (ULONG)pfn));
- ret = HYPERVISOR_memory_op(xpdd, XENMEM_decrease_reservation, &reservation);
- KdPrint((__DRIVER_NAME " decreased %d pages for grant table frame %d\n", ret, i));
- }
-
+
new_grant_frames = GntTbl_QueryMaxFrames(xpdd);
KdPrint((__DRIVER_NAME " new_grant_frames = %d\n", new_grant_frames));
ASSERT(new_grant_frames >= xpdd->grant_frames); // lazy
result = GntTbl_Map(xpdd, 0, xpdd->grant_frames - 1);
KdPrint((__DRIVER_NAME " GntTbl_Map result = %d\n", result));
- memcpy(xpdd->gnttbl_table, xpdd->gnttbl_table_copy, xpdd->grant_frames * PAGE_SIZE);
- #if DBG
- grant_entries = min(NR_GRANT_ENTRIES, (xpdd->grant_frames * PAGE_SIZE / sizeof(grant_entry_t)));
- memcpy(xpdd->gnttbl_tag, xpdd->gnttbl_tag_copy, grant_entries * sizeof(ULONG));
- #endif
-
- /* switch back and put the hiber grants back again */
- if (xpdd->gnttbl_ss_copy)
- {
- KdPrint((__DRIVER_NAME " restoring grant ref stack\n"));
- stack_delete(xpdd->gnttbl_ss, NULL, NULL);
- xpdd->gnttbl_ss = xpdd->gnttbl_ss_copy;
- for (i = 0; i < HIBER_GREF_COUNT; i++)
- {
- if (xpdd->hiber_grefs[i] == INVALID_GRANT_REF)
- break;
- GntTbl_PutRef(xpdd, xpdd->hiber_grefs[i], (ULONG)'HIBR');
- }
- xpdd->gnttbl_ss_copy = NULL;
- }
-
+ memcpy(xpdd->gnttab_table, xpdd->gnttab_table_copy, xpdd->grant_frames * PAGE_SIZE);
+
FUNCTION_EXIT();
}
diff -ruN ../win-pvdrivers.hg/xenpci/hypercall.h xenpci/hypercall.h
--- ../win-pvdrivers.hg/xenpci/hypercall.h 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/hypercall.h 2011-02-26 20:44:33.000000000 +0800
@@ -55,6 +55,7 @@
a.domid = DOMID_SELF;
a.index = hvm_param;
a.value = value;
+ //a.value = via;
retval = HYPERVISOR_hvm_op(xpdd, HVMOP_set_param, &a);
KdPrint((__DRIVER_NAME " HYPERVISOR_hvm_op retval = %d\n", retval));
FUNCTION_EXIT();
diff -ruN ../win-pvdrivers.hg/xenpci/memoryinfothread.c xenpci/memoryinfothread.c
--- ../win-pvdrivers.hg/xenpci/memoryinfothread.c 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/memoryinfothread.c 2011-02-26 20:44:33.000000000 +0800
@@ -0,0 +1,48 @@
+#include "xenpci.h"
+#include "xenpod.h"
+#include "xenpci_sleep.h"
+#include "getphyinfo.h"
+#define BALLOON_MEMINFO_PATH "memory/meminfo"
+
+VOID PvMemoryInfoThreadProc(PVOID StartContext)
+{
+ PXENPCI_DEVICE_DATA xpdd = StartContext;
+ MEMORYSTATUS oldLpBuffer,lpBuffer;
+ ULONG changed ,first;
+ DWORD status;
+ FUNCTION_ENTER();
+ first = 1;
+ oldLpBuffer.MemCur=0;
+ oldLpBuffer.MemFree=0;
+ oldLpBuffer.Committed_AS=0;
+
+ for (;;)
+ {
+ status = PvGlobalMemoryStatus(&lpBuffer);
+
+ /*if error, write status to xenstore for debug*/
+ if (!NT_SUCCESS(status)){
+ XenBus_Printf(xpdd, XBT_NIL, BALLOON_MEMINFO_PATH,
+ "Error:0x%x", status);
+ continue;
+ }
+
+ lpBuffer.MemCur = xpdd->current_memory << 10;
+ changed =
+ first|
+ CHANGED(lpBuffer.MemCur, oldLpBuffer.MemCur)|
+ CHANGED(lpBuffer.MemFree, oldLpBuffer.MemFree)|
+ CHANGED(lpBuffer.Committed_AS, oldLpBuffer.Committed_AS);
+
+ if(changed){
+ XenBus_Printf(xpdd, XBT_NIL, BALLOON_MEMINFO_PATH,
+ "Current:%u,Free:%u,Commit:%u",
+ lpBuffer.MemCur, lpBuffer.MemFree, lpBuffer.Committed_AS);
+ oldLpBuffer = lpBuffer;
+ }
+
+ first = 0;
+ PvWaitMicroSecond(1000 * 1000);/* 1 second*/
+ }
+ //FUNCTION_EXIT();
+}
diff -ruN ../win-pvdrivers.hg/xenpci/pv.diff xenpci/pv.diff
--- ../win-pvdrivers.hg/xenpci/pv.diff 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/pv.diff 2011-02-26 20:45:54.000000000 +0800
@@ -0,0 +1,258 @@
+diff -r b63f69bf9cf5 xenpci/sources
+--- a/xenpci/sources Sat Oct 16 23:25:32 2010 +1100
++++ b/xenpci/sources Sat Feb 26 20:45:54 2011 +0800
+@@ -19,4 +19,4 @@
+ SOURCES=xenpci.rc xenpci.c xenpci_fdo.c xenpci_pdo.c evtchn.c \
+ gnttbl.c xenbus.c memory.c xenpci_device_interface.c \
+ xenbus_device_interface.c xenpci_highsync.c xenpci_patch_kernel.c \
+- xenpci_dbgprint.c
++ xenpci_dbgprint.c getphyinfo.c xenpci_sleep.c memoryinfothread.c
+diff -r b63f69bf9cf5 xenpci/xenpci.h
+--- a/xenpci/xenpci.h Sat Oct 16 23:25:32 2010 +1100
++++ b/xenpci/xenpci.h Sat Feb 26 20:45:54 2011 +0800
+@@ -171,6 +171,12 @@
+ struct xenstore_domain_interface *xen_store_interface;
+
+ #define BALLOON_UNITS (1024 * 1024) /* 1MB */
++
++ /*meminfo thread*/
++ PKTHREAD memory_thread;
++ KEVENT memory_event;
++
++ BOOLEAN memory_shutdown;
+ PKTHREAD balloon_thread;
+ KEVENT balloon_event;
+ BOOLEAN balloon_shutdown;
+diff -r b63f69bf9cf5 xenpci/xenpci_fdo.c
+--- a/xenpci/xenpci_fdo.c Sat Oct 16 23:25:32 2010 +1100
++++ b/xenpci/xenpci_fdo.c Sat Feb 26 20:45:54 2011 +0800
+@@ -1,4 +1,4 @@
+-/*
++ /*
+ PV Drivers for Windows Xen HVM Domains
+ Copyright (C) 2007 James Harper
+
+@@ -20,10 +20,14 @@
+ #include "xenpci.h"
+ #include <stdlib.h>
+ #include <aux_klib.h>
++#include "getphyinfo.h"
++#include "xenpod.h"
++#include "xenpci_sleep.h"
+
+ #define SYSRQ_PATH "control/sysrq"
+ #define SHUTDOWN_PATH "control/shutdown"
+-#define BALLOON_PATH "memory/target"
++#define BALLOON_TARGET_PATH "memory/target"
++#define BALLOON_WORKTIME_PATH "memory/worktime"
+
+ /* Not really necessary but keeps PREfast happy */
+ static EVT_WDF_WORKITEM XenPci_SuspendResume;
+@@ -31,6 +35,8 @@
+ static KSTART_ROUTINE XenPci_BalloonThreadProc;
+ #endif
+
++extern KSTART_ROUTINE PvMemoryInfoThreadProc;
++
+ static VOID
+ XenPci_MapHalThenPatchKernel(PXENPCI_DEVICE_DATA xpdd)
+ {
+@@ -238,6 +244,11 @@
+ ULONG ret;
+ int pfn_count;
+
++#ifdef BALLOON_PATH_WORK_TIME
++ ULONG workbegintime;
++ ULONG workendtime;
++#endif
++
+ FUNCTION_ENTER();
+
+ for(;;)
+@@ -267,6 +278,11 @@
+ KdPrint((__DRIVER_NAME " No change to memory\n"));
+ continue;
+ }
++
++#ifdef BALLOON_PATH_WORK_TIME
++ PvGetTickCount(&workbegintime);
++#endif
++
+ else if (xpdd->current_memory < new_target)
+ {
+ KdPrint((__DRIVER_NAME " Trying to take %d MB from Xen\n", new_target - xpdd->current_memory));
+@@ -277,6 +293,12 @@
+
+ pfn_count = ADDRESS_AND_SIZE_TO_SPAN_PAGES(MmGetMdlVirtualAddress(mdl), MmGetMdlByteCount(mdl));
+ pfns = ExAllocatePoolWithTag(NonPagedPool, pfn_count * sizeof(xen_pfn_t), XENPCI_POOL_TAG);
++ if(pfns == NULL){
++ mdl->Next = head;
++ head = mdl;
++ break;
++ }
++
+ /* sizeof(xen_pfn_t) may not be the same as PPFN_NUMBER */
+ for (i = 0; i < pfn_count; i++)
+ pfns[i] = (xen_pfn_t)(MmGetMdlPfnArray(mdl)[i]);
+@@ -289,10 +311,24 @@
+
+ KdPrint((__DRIVER_NAME " Calling HYPERVISOR_memory_op(XENMEM_populate_physmap) - pfn_count = %d\n", pfn_count));
+ ret = HYPERVISOR_memory_op(xpdd, XENMEM_populate_physmap, &reservation);
+- ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
++
+ KdPrint((__DRIVER_NAME " populated %d pages\n", ret));
+ /* TODO: what do we do if less than the required number of pages were populated??? can this happen??? */
++ /* fixed! */
++ if(ret < (ULONG)pfn_count){
++ if(ret > 0){
++ /* We hit the Xen hard limit: reprobe. */
++ reservation.nr_extents = ret;
++ ret = HYPERVISOR_memory_op(xpdd, XENMEM_decrease_reservation, &reservation);
++ KdPrint((__DRIVER_NAME " decreased %d pages\n", ret));
++ }
++ mdl->Next = head;
++ head = mdl;
++ ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
++ break;
++ }
+
++ ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
+ MmFreePagesFromMdl(mdl);
+ ExFreePool(mdl);
+ xpdd->current_memory++;
+@@ -334,6 +370,12 @@
+ break;
+ }
+ pfns = ExAllocatePoolWithTag(NonPagedPool, pfn_count * sizeof(xen_pfn_t), XENPCI_POOL_TAG);
++ if(pfns == NULL){
++ MmFreePagesFromMdl(mdl);
++ ExFreePool(mdl);
++ break;
++ }
++
+ /* sizeof(xen_pfn_t) may not be the same as PPFN_NUMBER */
+ for (i = 0; i < pfn_count; i++)
+ pfns[i] = (xen_pfn_t)(MmGetMdlPfnArray(mdl)[i]);
+@@ -361,6 +403,11 @@
+ }
+ }
+ }
++#ifdef BALLOON_PATH_WORK_TIME
++ PvGetTickCount(&workendtime);
++ XenBus_Printf(xpdd, XBT_NIL, BALLOON_PATH_WORK_TIME, "%u", workendtime - workbegintime);
++#endif
++
+ }
+ //FUNCTION_EXIT();
+ }
+@@ -380,7 +427,7 @@
+
+ XenBus_StartTransaction(xpdd, &xbt);
+
+- XenBus_Read(xpdd, XBT_NIL, BALLOON_PATH, &value);
++ XenBus_Read(xpdd, XBT_NIL, BALLOON_TARGET_PATH, &value);
+
+ if (value == NULL)
+ {
+@@ -404,6 +451,7 @@
+ FUNCTION_EXIT();
+ }
+
++
+ static VOID
+ XenPci_Suspend0(PVOID context)
+ {
+@@ -646,9 +694,9 @@
+ xpdd->platform_mmio_flags = translated_descriptor->Flags;
+ break;
+ case CmResourceTypeInterrupt:
+- xpdd->irq_level = (KIRQL)translated_descriptor->u.Interrupt.Level;
+- xpdd->irq_vector = translated_descriptor->u.Interrupt.Vector;
+- xpdd->irq_affinity = translated_descriptor->u.Interrupt.Affinity;
++ xpdd->irq_level = (KIRQL)translated_descriptor->u.Interrupt.Level;
++ xpdd->irq_vector = translated_descriptor->u.Interrupt.Vector;
++ xpdd->irq_affinity = translated_descriptor->u.Interrupt.Affinity;
+ xpdd->irq_mode = (translated_descriptor->Flags & CM_RESOURCE_INTERRUPT_LATCHED)?Latched:LevelSensitive;
+ xpdd->irq_number = raw_descriptor->u.Interrupt.Vector;
+ KdPrint((__DRIVER_NAME " irq_number = %03x\n", raw_descriptor->u.Interrupt.Vector));
+@@ -777,12 +825,15 @@
+ NTSTATUS status = STATUS_SUCCESS;
+ PXENPCI_DEVICE_DATA xpdd = GetXpdd(device);
+ PCHAR response;
+- char *value;
+ domid_t domid = DOMID_SELF;
+ ULONG ret;
++ ULONG totalram_bias;
+ xen_ulong_t *max_ram_page;
+ HANDLE thread_handle;
+-
++ HANDLE memory_info_thread_handle;
++ XEN_POD_TARGET_T pod_target;
++ pod_target.domid = DOMID_SELF;
++
+ UNREFERENCED_PARAMETER(previous_state);
+
+ FUNCTION_ENTER();
+@@ -808,14 +859,21 @@
+
+ if (!xpdd->initial_memory)
+ {
+- XenBus_Read(xpdd, XBT_NIL, BALLOON_PATH, &value);
+- if (atoi(value) > 0)
+- {
+- xpdd->initial_memory = atoi(value) >> 10; /* convert to MB */
+- xpdd->current_memory = xpdd->initial_memory;
+- xpdd->target_memory = xpdd->initial_memory;
++ MEMORYSTATUS lpBuffer;
++ PvGlobalMemoryStatus(&lpBuffer);
++ xpdd->initial_memory = (ULONG)(lpBuffer.totalPhys >> 10); /*convert to MB*/
++ xpdd->current_memory = xpdd->initial_memory;
++
++
++ ret = HYPERVISOR_memory_op(xpdd, XENMEM_get_pod_target, &pod_target);
++
++ totalram_bias = HYPERVISOR_memory_op(xpdd, ret != -ENOSYS && ret != 1
++ ? XENMEM_maximum_reservation : XENMEM_current_reservation,
++ &pod_target.domid);
++ if ((ULONG)totalram_bias != -ENOSYS) {
++ xpdd->initial_memory = totalram_bias >> (20 - PAGE_SHIFT);
++ xpdd->current_memory = xpdd->initial_memory + 1; /*lase line convert to MB may lost some KB, just add 1M*/
+ }
+- KdPrint((__DRIVER_NAME " Initial Memory Value = %d (%s)\n", xpdd->initial_memory, value));
+ KeInitializeEvent(&xpdd->balloon_event, SynchronizationEvent, FALSE);
+ xpdd->balloon_shutdown = FALSE;
+ status = PsCreateSystemThread(&thread_handle, THREAD_ALL_ACCESS, NULL, NULL, NULL, XenPci_BalloonThreadProc, xpdd);
+@@ -826,8 +884,18 @@
+ }
+ status = ObReferenceObjectByHandle(thread_handle, THREAD_ALL_ACCESS, NULL, KernelMode, &xpdd->balloon_thread, NULL);
+ ZwClose(thread_handle);
++
++ /* start pci meminfo thread */
++ status = PsCreateSystemThread(&memory_info_thread_handle, THREAD_ALL_ACCESS, NULL, NULL, NULL, PvMemoryInfoThreadProc, xpdd);
++ if (!NT_SUCCESS(status))
++ {
++ KdPrint((__DRIVER_NAME " Could not start memory thread\n"));
++ return status;
++ }
++ status = ObReferenceObjectByHandle(memory_info_thread_handle, THREAD_ALL_ACCESS, NULL, KernelMode, &xpdd->memory_thread, NULL);
++ ZwClose(memory_info_thread_handle);
+ }
+- response = XenBus_AddWatch(xpdd, XBT_NIL, BALLOON_PATH, XenPci_BalloonHandler, device);
++ response = XenBus_AddWatch(xpdd, XBT_NIL, BALLOON_TARGET_PATH, XenPci_BalloonHandler, device);
+ }
+ else
+ {
+diff -r b63f69bf9cf5 xenpci/xenpci_pdo.c
+--- a/xenpci/xenpci_pdo.c Sat Oct 16 23:25:32 2010 +1100
++++ b/xenpci/xenpci_pdo.c Sat Feb 26 20:45:54 2011 +0800
+@@ -502,7 +502,9 @@
+ {
+ /* it's possible that the workitems are blocked because the pagefile isn't available. Lets just re-read the backend value for now */
+ XenPci_UpdateBackendState(device);
+- remaining -= thiswait;
++
++ // this code is commented because it can cause the VM waitting forever
++ //remaining -= thiswait;
+ if (remaining == 0)
+ {
+ KdPrint((__DRIVER_NAME " Timed out waiting for %d!\n", backend_state_response));
diff -ruN ../win-pvdrivers.hg/xenpci/sources xenpci/sources
--- ../win-pvdrivers.hg/xenpci/sources 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/sources 2011-02-26 20:44:33.000000000 +0800
@@ -19,4 +19,4 @@
SOURCES=xenpci.rc xenpci.c xenpci_fdo.c xenpci_pdo.c evtchn.c \
gnttbl.c xenbus.c memory.c xenpci_device_interface.c \
xenbus_device_interface.c xenpci_highsync.c xenpci_patch_kernel.c \
- xenpci_dbgprint.c
+ xenpci_dbgprint.c getphyinfo.c xenpci_sleep.c memoryinfothread.c
diff -ruN ../win-pvdrivers.hg/xenpci/xenbus.c xenpci/xenbus.c
--- ../win-pvdrivers.hg/xenpci/xenbus.c 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/xenbus.c 2011-02-26 20:44:33.000000000 +0800
@@ -275,23 +275,21 @@
WDF_WORKITEM_CONFIG workitem_config;
WDF_OBJECT_ATTRIBUTES workitem_attributes;
WDFWORKITEM workitem;
- ULONG rsp_prod;
//FUNCTION_ENTER();
KeAcquireSpinLockAtDpcLevel(&xpdd->xb_ring_spinlock);
- /* snapshot rsp_prod so it doesn't change while we are looking at it */
- while ((rsp_prod = xpdd->xen_store_interface->rsp_prod) != xpdd->xen_store_interface->rsp_cons)
+ while (xpdd->xen_store_interface->rsp_prod != xpdd->xen_store_interface->rsp_cons)
{
- KeMemoryBarrier(); /* make sure the data in the ring is valid */
if (!xpdd->xb_msg)
{
- if (rsp_prod - xpdd->xen_store_interface->rsp_cons < sizeof(xsd_sockmsg_t))
+ if (xpdd->xen_store_interface->rsp_prod - xpdd->xen_store_interface->rsp_cons < sizeof(xsd_sockmsg_t))
{
//KdPrint((__DRIVER_NAME " +++ Message incomplete (not even a full header)\n"));
break;
}
+ KeMemoryBarrier();
memcpy_from_ring(xpdd->xen_store_interface->rsp, &msg,
MASK_XENSTORE_IDX(xpdd->xen_store_interface->rsp_cons), sizeof(xsd_sockmsg_t));
xpdd->xb_msg = ExAllocatePoolWithTag(NonPagedPool, sizeof(xsd_sockmsg_t) + msg.len, XENPCI_POOL_TAG);
@@ -300,7 +298,8 @@
xpdd->xen_store_interface->rsp_cons += sizeof(xsd_sockmsg_t);
}
- msg_len = min(rsp_prod - xpdd->xen_store_interface->rsp_cons, sizeof(xsd_sockmsg_t) + xpdd->xb_msg->len - xpdd->xb_msg_offset);
+ msg_len = min(xpdd->xen_store_interface->rsp_prod - xpdd->xen_store_interface->rsp_cons, sizeof(xsd_sockmsg_t) + xpdd->xb_msg->len - xpdd->xb_msg_offset);
+ KeMemoryBarrier(); /* make sure the data in the ring is valid */
ASSERT(xpdd->xb_msg_offset + msg_len <= sizeof(xsd_sockmsg_t) + xpdd->xb_msg->len);
memcpy_from_ring(xpdd->xen_store_interface->rsp,
(PUCHAR)xpdd->xb_msg + xpdd->xb_msg_offset,
@@ -359,7 +358,7 @@
pa_xen_store_interface.QuadPart = (ULONGLONG)xen_store_mfn << PAGE_SHIFT;
xpdd->xen_store_interface = MmMapIoSpace(pa_xen_store_interface, PAGE_SIZE, MmNonCached);
- EvtChn_BindDpc(xpdd, xpdd->xen_store_evtchn, XenBus_Dpc, xpdd, EVT_ACTION_FLAGS_NO_SUSPEND);
+ EvtChn_BindDpc(xpdd, xpdd->xen_store_evtchn, XenBus_Dpc, xpdd);
return STATUS_SUCCESS;
}
@@ -572,11 +571,10 @@
{
if (xpdd->XenBus_WatchEntries[i].Active)
{
- KdPrint((__DRIVER_NAME " Adding watch for path = %s\n", xpdd->XenBus_WatchEntries[i].Path));
+ //KdPrint((__DRIVER_NAME " Adding watch for path = %s\n", xpdd->XenBus_WatchEntries[i].Path));
XenBus_SendAddWatch(xpdd, XBT_NIL, xpdd->XenBus_WatchEntries[i].Path, i);
}
}
-
FUNCTION_EXIT();
return STATUS_SUCCESS;
@@ -667,7 +665,7 @@
if (i == MAX_WATCH_ENTRIES)
{
ExReleaseFastMutex(&xpdd->xb_watch_mutex);
- KdPrint((__DRIVER_NAME " Watch not set for %s - can't remove\n", Path));
+ KdPrint((__DRIVER_NAME " Watch not set - can't remove\n"));
return NULL;
}
diff -ruN ../win-pvdrivers.hg/xenpci/xenpci.c xenpci/xenpci.c
--- ../win-pvdrivers.hg/xenpci/xenpci.c 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/xenpci.c 2011-02-26 20:44:33.000000000 +0800
@@ -487,10 +487,10 @@
WdfRegistryClose(sgo_key);
return; /* something is very wrong */
}
- if (dummy_group_index == 1 && wdf_load_group_index != -1 &&
+ if (dummy_group_index == 1 && (wdf_load_group_index == -1 ||
(dummy_group_index < wdf_load_group_index
&& wdf_load_group_index < xenpci_group_index
- && xenpci_group_index < boot_bus_extender_index))
+ && xenpci_group_index < boot_bus_extender_index)))
{
FUNCTION_EXIT();
return; /* our work here is done */
@@ -505,7 +505,7 @@
WdfCollectionAdd(new_load_order, tmp_wdf_string);
WdfObjectDelete(tmp_wdf_string);
}
- if (i == 1)
+ if (i == 1 && wdf_load_group_index != -1)
{
WDFSTRING tmp_wdf_string;
WdfStringCreate(&wdf_load_group_name, WDF_NO_OBJECT_ATTRIBUTES, &tmp_wdf_string);
diff -ruN ../win-pvdrivers.hg/xenpci/xenpci_fdo.c xenpci/xenpci_fdo.c
--- ../win-pvdrivers.hg/xenpci/xenpci_fdo.c 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/xenpci_fdo.c 2011-02-26 20:44:33.000000000 +0800
@@ -1,4 +1,4 @@
-/*
+ /*
PV Drivers for Windows Xen HVM Domains
Copyright (C) 2007 James Harper
@@ -20,10 +20,14 @@
#include "xenpci.h"
#include <stdlib.h>
#include <aux_klib.h>
+#include "getphyinfo.h"
+#include "xenpod.h"
+#include "xenpci_sleep.h"
#define SYSRQ_PATH "control/sysrq"
#define SHUTDOWN_PATH "control/shutdown"
-#define BALLOON_PATH "memory/target"
+#define BALLOON_TARGET_PATH "memory/target"
+#define BALLOON_WORKTIME_PATH "memory/worktime"
/* Not really necessary but keeps PREfast happy */
static EVT_WDF_WORKITEM XenPci_SuspendResume;
@@ -31,6 +35,8 @@
static KSTART_ROUTINE XenPci_BalloonThreadProc;
#endif
+extern KSTART_ROUTINE PvMemoryInfoThreadProc;
+
static VOID
XenPci_MapHalThenPatchKernel(PXENPCI_DEVICE_DATA xpdd)
{
@@ -238,6 +244,11 @@
ULONG ret;
int pfn_count;
+#ifdef BALLOON_PATH_WORK_TIME
+ ULONG workbegintime;
+ ULONG workendtime;
+#endif
+
FUNCTION_ENTER();
for(;;)
@@ -267,6 +278,11 @@
KdPrint((__DRIVER_NAME " No change to memory\n"));
continue;
}
+
+#ifdef BALLOON_PATH_WORK_TIME
+ PvGetTickCount(&workbegintime);
+#endif
+
else if (xpdd->current_memory < new_target)
{
KdPrint((__DRIVER_NAME " Trying to take %d MB from Xen\n", new_target - xpdd->current_memory));
@@ -277,6 +293,12 @@
pfn_count = ADDRESS_AND_SIZE_TO_SPAN_PAGES(MmGetMdlVirtualAddress(mdl), MmGetMdlByteCount(mdl));
pfns = ExAllocatePoolWithTag(NonPagedPool, pfn_count * sizeof(xen_pfn_t), XENPCI_POOL_TAG);
+ if(pfns == NULL){
+ mdl->Next = head;
+ head = mdl;
+ break;
+ }
+
/* sizeof(xen_pfn_t) may not be the same as PPFN_NUMBER */
for (i = 0; i < pfn_count; i++)
pfns[i] = (xen_pfn_t)(MmGetMdlPfnArray(mdl)[i]);
@@ -289,10 +311,24 @@
KdPrint((__DRIVER_NAME " Calling HYPERVISOR_memory_op(XENMEM_populate_physmap) - pfn_count = %d\n", pfn_count));
ret = HYPERVISOR_memory_op(xpdd, XENMEM_populate_physmap, &reservation);
- ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
+
KdPrint((__DRIVER_NAME " populated %d pages\n", ret));
/* TODO: what do we do if less than the required number of pages were populated??? can this happen??? */
+ /* fixed! */
+ if(ret < (ULONG)pfn_count){
+ if(ret > 0){
+ /* We hit the Xen hard limit: reprobe. */
+ reservation.nr_extents = ret;
+ ret = HYPERVISOR_memory_op(xpdd, XENMEM_decrease_reservation, &reservation);
+ KdPrint((__DRIVER_NAME " decreased %d pages\n", ret));
+ }
+ mdl->Next = head;
+ head = mdl;
+ ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
+ break;
+ }
+ ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
MmFreePagesFromMdl(mdl);
ExFreePool(mdl);
xpdd->current_memory++;
@@ -334,6 +370,12 @@
break;
}
pfns = ExAllocatePoolWithTag(NonPagedPool, pfn_count * sizeof(xen_pfn_t), XENPCI_POOL_TAG);
+ if(pfns == NULL){
+ MmFreePagesFromMdl(mdl);
+ ExFreePool(mdl);
+ break;
+ }
+
/* sizeof(xen_pfn_t) may not be the same as PPFN_NUMBER */
for (i = 0; i < pfn_count; i++)
pfns[i] = (xen_pfn_t)(MmGetMdlPfnArray(mdl)[i]);
@@ -361,6 +403,11 @@
}
}
}
+#ifdef BALLOON_PATH_WORK_TIME
+ PvGetTickCount(&workendtime);
+ XenBus_Printf(xpdd, XBT_NIL, BALLOON_PATH_WORK_TIME, "%u", workendtime - workbegintime);
+#endif
+
}
//FUNCTION_EXIT();
}
@@ -380,7 +427,7 @@
XenBus_StartTransaction(xpdd, &xbt);
- XenBus_Read(xpdd, XBT_NIL, BALLOON_PATH, &value);
+ XenBus_Read(xpdd, XBT_NIL, BALLOON_TARGET_PATH, &value);
if (value == NULL)
{
@@ -404,39 +451,18 @@
FUNCTION_EXIT();
}
+
static VOID
XenPci_Suspend0(PVOID context)
{
PXENPCI_DEVICE_DATA xpdd = context;
ULONG cancelled;
- ULONGLONG sysenter_cs, sysenter_esp, sysenter_eip;
FUNCTION_ENTER();
GntTbl_Suspend(xpdd);
-
- sysenter_cs = __readmsr(0x174);
- sysenter_esp = __readmsr(0x175);
- sysenter_eip = __readmsr(0x176);
cancelled = hvm_shutdown(xpdd, SHUTDOWN_suspend);
-
- if (__readmsr(0x174) != sysenter_cs)
- {
- KdPrint((__DRIVER_NAME " sysenter_cs not restored. Fixing.\n"));
- __writemsr(0x174, sysenter_cs);
- }
- if (__readmsr(0x175) != sysenter_esp)
- {
- KdPrint((__DRIVER_NAME " sysenter_esp not restored. Fixing.\n"));
- __writemsr(0x175, sysenter_esp);
- }
- if (__readmsr(0x176) != sysenter_eip)
- {
- KdPrint((__DRIVER_NAME " sysenter_eip not restored. Fixing.\n"));
- __writemsr(0x176, sysenter_eip);
- }
-
KdPrint((__DRIVER_NAME " back from suspend, cancelled = %d\n", cancelled));
if (qemu_hide_flags_value)
@@ -476,7 +502,7 @@
KdPrint((__DRIVER_NAME " suspend event channel = %d\n", xpdd->suspend_evtchn));
RtlStringCbPrintfA(path, ARRAY_SIZE(path), "device/suspend/event-channel");
XenBus_Printf(xpdd, XBT_NIL, path, "%d", xpdd->suspend_evtchn);
- EvtChn_BindDpc(xpdd, xpdd->suspend_evtchn, XenPci_SuspendEvtDpc, xpdd->wdf_device, EVT_ACTION_FLAGS_NO_SUSPEND);
+ EvtChn_BindDpc(xpdd, xpdd->suspend_evtchn, XenPci_SuspendEvtDpc, xpdd->wdf_device);
return STATUS_SUCCESS;
}
@@ -507,6 +533,7 @@
KdPrint((__DRIVER_NAME " Suspending child\n"));
XenPci_Pdo_Suspend(child_device);
}
+ KdPrint((__DRIVER_NAME " WdfChildListRetrieveNextDevice = %08x, STATUS_NO_MORE_ENTRIES = %08x\n", status, STATUS_NO_MORE_ENTRIES));
WdfChildListEndIteration(child_list, &child_iterator);
XenBus_Suspend(xpdd);
@@ -524,6 +551,7 @@
KdPrint((__DRIVER_NAME " Resuming child\n"));
XenPci_Pdo_Resume(child_device);
}
+ KdPrint((__DRIVER_NAME " WdfChildListRetrieveNextDevice = %08x, STATUS_NO_MORE_ENTRIES = %08x\n", status, STATUS_NO_MORE_ENTRIES));
WdfChildListEndIteration(child_list, &child_iterator);
xpdd->suspend_state = SUSPEND_STATE_NONE;
@@ -666,9 +694,9 @@
xpdd->platform_mmio_flags = translated_descriptor->Flags;
break;
case CmResourceTypeInterrupt:
- xpdd->irq_level = (KIRQL)translated_descriptor->u.Interrupt.Level;
- xpdd->irq_vector = translated_descriptor->u.Interrupt.Vector;
- xpdd->irq_affinity = translated_descriptor->u.Interrupt.Affinity;
+ xpdd->irq_level = (KIRQL)translated_descriptor->u.Interrupt.Level;
+ xpdd->irq_vector = translated_descriptor->u.Interrupt.Vector;
+ xpdd->irq_affinity = translated_descriptor->u.Interrupt.Affinity;
xpdd->irq_mode = (translated_descriptor->Flags & CM_RESOURCE_INTERRUPT_LATCHED)?Latched:LevelSensitive;
xpdd->irq_number = raw_descriptor->u.Interrupt.Vector;
KdPrint((__DRIVER_NAME " irq_number = %03x\n", raw_descriptor->u.Interrupt.Vector));
@@ -710,6 +738,8 @@
{
NTSTATUS status = STATUS_SUCCESS;
PXENPCI_DEVICE_DATA xpdd = GetXpdd(device);
+ ULONG i;
+ ULONG ret;
FUNCTION_ENTER();
@@ -756,6 +786,24 @@
GntTbl_Init(xpdd);
EvtChn_Init(xpdd);
+ for (i = 0; i < NR_GRANT_FRAMES + 1; i++)
+ {
+ struct xen_memory_reservation reservation;
+ xen_pfn_t pfn;
+ PMDL mdl = AllocatePage();
+ pfn = (xen_pfn_t)(MmGetMdlPfnArray(mdl)[0]);
+ reservation.address_bits = 0;
+ reservation.extent_order = 0;
+ reservation.domid = DOMID_SELF;
+ reservation.nr_extents = 1;
+ #pragma warning(disable: 4127) /* conditional expression is constant */
+ set_xen_guest_handle(reservation.extent_start, &pfn);
+
+ //KdPrint((__DRIVER_NAME " Calling HYPERVISOR_memory_op - pfn = %x\n", (ULONG)pfn));
+ ret = HYPERVISOR_memory_op(xpdd, XENMEM_decrease_reservation, &reservation);
+ //KdPrint((__DRIVER_NAME " decreased %d pages\n", ret));
+ }
+
// use the memory_op(unsigned int op, void *arg) hypercall to adjust memory
// use XENMEM_increase_reservation and XENMEM_decrease_reservation
}
@@ -777,12 +825,15 @@
NTSTATUS status = STATUS_SUCCESS;
PXENPCI_DEVICE_DATA xpdd = GetXpdd(device);
PCHAR response;
- char *value;
domid_t domid = DOMID_SELF;
ULONG ret;
+ ULONG totalram_bias;
xen_ulong_t *max_ram_page;
HANDLE thread_handle;
-
+ HANDLE memory_info_thread_handle;
+ XEN_POD_TARGET_T pod_target;
+ pod_target.domid = DOMID_SELF;
+
UNREFERENCED_PARAMETER(previous_state);
FUNCTION_ENTER();
@@ -808,14 +859,21 @@
if (!xpdd->initial_memory)
{
- XenBus_Read(xpdd, XBT_NIL, BALLOON_PATH, &value);
- if (atoi(value) > 0)
- {
- xpdd->initial_memory = atoi(value) >> 10; /* convert to MB */
- xpdd->current_memory = xpdd->initial_memory;
- xpdd->target_memory = xpdd->initial_memory;
+ MEMORYSTATUS lpBuffer;
+ PvGlobalMemoryStatus(&lpBuffer);
+ xpdd->initial_memory = (ULONG)(lpBuffer.totalPhys >> 10); /*convert to MB*/
+ xpdd->current_memory = xpdd->initial_memory;
+
+
+ ret = HYPERVISOR_memory_op(xpdd, XENMEM_get_pod_target, &pod_target);
+
+ totalram_bias = HYPERVISOR_memory_op(xpdd, ret != -ENOSYS && ret != 1
+ ? XENMEM_maximum_reservation : XENMEM_current_reservation,
+ &pod_target.domid);
+ if ((ULONG)totalram_bias != -ENOSYS) {
+ xpdd->initial_memory = totalram_bias >> (20 - PAGE_SHIFT);
+ xpdd->current_memory = xpdd->initial_memory + 1; /*lase line convert to MB may lost some KB, just add 1M*/
}
- KdPrint((__DRIVER_NAME " Initial Memory Value = %d (%s)\n", xpdd->initial_memory, value));
KeInitializeEvent(&xpdd->balloon_event, SynchronizationEvent, FALSE);
xpdd->balloon_shutdown = FALSE;
status = PsCreateSystemThread(&thread_handle, THREAD_ALL_ACCESS, NULL, NULL, NULL, XenPci_BalloonThreadProc, xpdd);
@@ -826,8 +884,18 @@
}
status = ObReferenceObjectByHandle(thread_handle, THREAD_ALL_ACCESS, NULL, KernelMode, &xpdd->balloon_thread, NULL);
ZwClose(thread_handle);
+
+ /* start pci meminfo thread */
+ status = PsCreateSystemThread(&memory_info_thread_handle, THREAD_ALL_ACCESS, NULL, NULL, NULL, PvMemoryInfoThreadProc, xpdd);
+ if (!NT_SUCCESS(status))
+ {
+ KdPrint((__DRIVER_NAME " Could not start memory thread\n"));
+ return status;
+ }
+ status = ObReferenceObjectByHandle(memory_info_thread_handle, THREAD_ALL_ACCESS, NULL, KernelMode, &xpdd->memory_thread, NULL);
+ ZwClose(memory_info_thread_handle);
}
- response = XenBus_AddWatch(xpdd, XBT_NIL, BALLOON_PATH, XenPci_BalloonHandler, device);
+ response = XenBus_AddWatch(xpdd, XBT_NIL, BALLOON_TARGET_PATH, XenPci_BalloonHandler, device);
}
else
{
@@ -940,9 +1008,7 @@
}
else
{
- EvtChn_Suspend(xpdd);
GntTbl_Suspend(xpdd);
-
}
FUNCTION_EXIT();
diff -ruN ../win-pvdrivers.hg/xenpci/xenpci.h xenpci/xenpci.h
--- ../win-pvdrivers.hg/xenpci/xenpci.h 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/xenpci.h 2011-02-26 20:44:33.000000000 +0800
@@ -69,10 +69,6 @@
#define EVT_ACTION_TYPE_SUSPEND 4
#define EVT_ACTION_TYPE_NEW 5 /* setup of event is in progress */
-#define EVT_ACTION_FLAGS_DEFAULT 0 /* no special flags */
-#define EVT_ACTION_FLAGS_NO_SUSPEND 1 /* should not be fired on EVT_ACTION_TYPE_SUSPEND event */
-
-
#define XEN_PV_PRODUCT_NUMBER 0x0002
#define XEN_PV_PRODUCT_BUILD 0x00000001
@@ -83,7 +79,6 @@
PVOID ServiceContext;
CHAR description[128];
ULONG type; /* EVT_ACTION_TYPE_* */
- ULONG flags; /* EVT_ACTION_FLAGS_* */
KDPC Dpc;
ULONG port;
ULONG vector;
@@ -122,9 +117,6 @@
#define SUSPEND_STATE_HIGH_IRQL 2 /* all processors are at high IRQL and spinning */
#define SUSPEND_STATE_RESUMING 3 /* we are the other side of the suspend and things are starting to get back to normal */
-/* we take some grant refs out and put them aside so that we dont get corrupted by hibernate */
-#define HIBER_GREF_COUNT 128
-
typedef struct {
WDFDEVICE wdf_device;
@@ -159,16 +151,16 @@
evtchn_port_t xen_store_evtchn;
/* grant related */
- struct stack_state *gnttbl_ss;
- struct stack_state *gnttbl_ss_copy;
- grant_ref_t hiber_grefs[HIBER_GREF_COUNT];
- PMDL gnttbl_mdl;
- grant_entry_t *gnttbl_table;
- grant_entry_t *gnttbl_table_copy;
+ struct stack_state *gnttab_ss;
+ grant_entry_t *gnttab_table;
+ grant_entry_t *gnttab_table_copy;
#if DBG
- PULONG gnttbl_tag;
- PULONG gnttbl_tag_copy;
+ PULONG gnttab_tag;
#endif
+ PHYSICAL_ADDRESS gnttab_table_physical;
+ //grant_ref_t *gnttab_list;
+ //int gnttab_list_free;
+ //KSPIN_LOCK grant_lock;
ULONG grant_frames;
ev_action_t ev_actions[NR_EVENTS];
@@ -179,6 +171,12 @@
struct xenstore_domain_interface *xen_store_interface;
#define BALLOON_UNITS (1024 * 1024) /* 1MB */
+
+ /*meminfo thread*/
+ PKTHREAD memory_thread;
+ KEVENT memory_event;
+
+ BOOLEAN memory_shutdown;
PKTHREAD balloon_thread;
KEVENT balloon_event;
BOOLEAN balloon_shutdown;
@@ -263,6 +261,8 @@
XENPCI_STATE_MAP_ELEMENT xb_post_connect_map[5];
XENPCI_STATE_MAP_ELEMENT xb_shutdown_map[5];
+
+
BOOLEAN hiber_usage_kludge;
} XENPCI_PDO_DEVICE_DATA, *PXENPCI_PDO_DEVICE_DATA;
@@ -469,11 +469,11 @@
NTSTATUS
EvtChn_Unmask(PVOID Context, evtchn_port_t Port);
NTSTATUS
-EvtChn_Bind(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext, ULONG flags);
+EvtChn_Bind(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext);
NTSTATUS
-EvtChn_BindDpc(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext, ULONG flags);
+EvtChn_BindDpc(PVOID Context, evtchn_port_t Port, PXEN_EVTCHN_SERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext);
NTSTATUS
-EvtChn_BindIrq(PVOID Context, evtchn_port_t Port, ULONG vector, PCHAR description, ULONG flags);
+EvtChn_BindIrq(PVOID Context, evtchn_port_t Port, ULONG vector, PCHAR description);
evtchn_port_t
EvtChn_AllocIpi(PVOID context, ULONG vcpu);
NTSTATUS
diff -ruN ../win-pvdrivers.hg/xenpci/xenpci_pdo.c xenpci/xenpci_pdo.c
--- ../win-pvdrivers.hg/xenpci/xenpci_pdo.c 2011-02-26 20:43:12.000000000 +0800
+++ xenpci/xenpci_pdo.c 2011-02-26 20:44:33.000000000 +0800
@@ -251,7 +251,7 @@
PXENPCI_PDO_DEVICE_DATA xppdd = GetXppdd(device);
PXENPCI_DEVICE_DATA xpdd = GetXpdd(xppdd->wdf_device_bus_fdo);
- return EvtChn_Bind(xpdd, Port, ServiceRoutine, ServiceContext, EVT_ACTION_FLAGS_DEFAULT);
+ return EvtChn_Bind(xpdd, Port, ServiceRoutine, ServiceContext);
}
static NTSTATUS
@@ -261,7 +261,7 @@
PXENPCI_PDO_DEVICE_DATA xppdd = GetXppdd(device);
PXENPCI_DEVICE_DATA xpdd = GetXpdd(xppdd->wdf_device_bus_fdo);
- return EvtChn_BindDpc(xpdd, Port, ServiceRoutine, ServiceContext, EVT_ACTION_FLAGS_DEFAULT);
+ return EvtChn_BindDpc(xpdd, Port, ServiceRoutine, ServiceContext);
}
static NTSTATUS
@@ -502,7 +502,9 @@
{
/* it's possible that the workitems are blocked because the pagefile isn't available. Lets just re-read the backend value for now */
XenPci_UpdateBackendState(device);
- remaining -= thiswait;
+
+ // this code is commented because it can cause the VM waitting forever
+ //remaining -= thiswait;
if (remaining == 0)
{
KdPrint((__DRIVER_NAME " Timed out waiting for %d!\n", backend_state_response));
@@ -581,8 +583,8 @@
EvtChn_Close(xpdd, PtrToUlong(value));
break;
case XEN_INIT_TYPE_GRANT_ENTRIES:
- for (i = 0; i < PtrToUlong(value); i++)
- GntTbl_EndAccess(xpdd, ((grant_ref_t *)value2)[i], FALSE, PtrToUlong(setting));
+ for (i = 0; i < PtrToUlong(setting); i++)
+ GntTbl_EndAccess(xpdd, ((grant_ref_t *)value)[i], FALSE, (ULONG)'XPDO');
break;
}
}
@@ -671,6 +673,7 @@
in_ptr = src;
while((type = GET_XEN_INIT_REQ(&in_ptr, (PVOID)&setting, (PVOID)&value, (PVOID)&value2)) != XEN_INIT_TYPE_END)
{
+//KdPrint((__DRIVER_NAME " in_ptr = %p, type = %d\n", in_ptr, type));
ADD_XEN_INIT_REQ(&xppdd->requested_resources_ptr, type, setting, value, value2);
switch (type)
@@ -697,7 +700,6 @@
ADD_XEN_INIT_RSP(&xppdd->assigned_resources_ptr, type, setting, ring, NULL);
// add the grant entry too so it gets freed automatically
__ADD_XEN_INIT_UCHAR(&xppdd->assigned_resources_ptr, XEN_INIT_TYPE_GRANT_ENTRIES);
- __ADD_XEN_INIT_ULONG(&xppdd->assigned_resources_ptr, (ULONG)'XPDO');
__ADD_XEN_INIT_ULONG(&xppdd->assigned_resources_ptr, 1);
__ADD_XEN_INIT_ULONG(&xppdd->assigned_resources_ptr, gref);
}
@@ -726,17 +728,17 @@
ADD_XEN_INIT_RSP(&xppdd->assigned_resources_ptr, type, setting, UlongToPtr(event_channel), NULL);
if (type == XEN_INIT_TYPE_EVENT_CHANNEL_IRQ)
{
- EvtChn_BindIrq(xpdd, event_channel, xppdd->irq_vector, path, EVT_ACTION_FLAGS_DEFAULT);
+ EvtChn_BindIrq(xpdd, event_channel, xppdd->irq_vector, path);
}
else if (type == XEN_INIT_TYPE_EVENT_CHANNEL_DPC)
{
#pragma warning(suppress:4055)
- EvtChn_BindDpc(xpdd, event_channel, (PXEN_EVTCHN_SERVICE_ROUTINE)value, value2, EVT_ACTION_FLAGS_DEFAULT);
+ EvtChn_BindDpc(xpdd, event_channel, (PXEN_EVTCHN_SERVICE_ROUTINE)value, value2);
}
else
{
#pragma warning(suppress:4055)
- EvtChn_Bind(xpdd, event_channel, (PXEN_EVTCHN_SERVICE_ROUTINE)value, value2, EVT_ACTION_FLAGS_DEFAULT);
+ EvtChn_Bind(xpdd, event_channel, (PXEN_EVTCHN_SERVICE_ROUTINE)value, value2);
}
}
else
@@ -830,13 +832,11 @@
//KdPrint((__DRIVER_NAME " XEN_INIT_TYPE_GRANT_ENTRIES - %d\n", PtrToUlong(value)));
__ADD_XEN_INIT_UCHAR(&out_ptr, type);
__ADD_XEN_INIT_UCHAR(&xppdd->assigned_resources_ptr, type);
- __ADD_XEN_INIT_ULONG(&out_ptr, PtrToUlong(setting));
- __ADD_XEN_INIT_ULONG(&xppdd->assigned_resources_ptr, PtrToUlong(setting));
__ADD_XEN_INIT_ULONG(&out_ptr, PtrToUlong(value));
__ADD_XEN_INIT_ULONG(&xppdd->assigned_resources_ptr, PtrToUlong(value));
for (i = 0; i < PtrToUlong(value); i++)
{
- gref = GntTbl_GetRef(xpdd, PtrToUlong(setting));
+ gref = GntTbl_GetRef(xpdd, 'XPDO');
__ADD_XEN_INIT_ULONG(&out_ptr, gref);
__ADD_XEN_INIT_ULONG(&xppdd->assigned_resources_ptr, gref);
}
@@ -1109,14 +1109,13 @@
{
}
-#if 0
if (previous_state == WdfPowerDevicePrepareForHibernation || previous_state == WdfPowerDeviceD3 || previous_state == WdfPowerDeviceD3Final)
{
xppdd->requested_resources_ptr = xppdd->requested_resources_start;
xppdd->assigned_resources_start = xppdd->assigned_resources_ptr = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE, XENPCI_POOL_TAG);
}
+
XenConfig_InitConfigPage(device);
-#endif
status = XenPci_GetBackendAndAddWatch(device);
if (!NT_SUCCESS(status))
@@ -1125,31 +1124,7 @@
FUNCTION_EXIT_STATUS(status);
return status;
}
-
- if (previous_state == WdfPowerDeviceD3 || previous_state == WdfPowerDeviceD3Final)
- {
- xppdd->requested_resources_ptr = xppdd->requested_resources_start;
- xppdd->assigned_resources_start = xppdd->assigned_resources_ptr = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE, XENPCI_POOL_TAG);
- XenConfig_InitConfigPage(device);
- status = XenPci_XenConfigDevice(device);
- }
- else if (previous_state == WdfPowerDevicePrepareForHibernation)
- {
- PVOID src, dst;
-
- ADD_XEN_INIT_REQ(&xppdd->requested_resources_ptr, XEN_INIT_TYPE_END, NULL, NULL, NULL);
- src = xppdd->requested_resources_start;
- xppdd->requested_resources_ptr = xppdd->requested_resources_start = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE, XENPCI_POOL_TAG);;
- xppdd->assigned_resources_ptr = xppdd->assigned_resources_start;
-
- dst = MmMapIoSpace(xppdd->config_page_phys, xppdd->config_page_length, MmNonCached);
-
- status = XenPci_XenConfigDeviceSpecifyBuffers(device, src, dst);
-
- MmUnmapIoSpace(dst, xppdd->config_page_length);
- ExFreePoolWithTag(src, XENPCI_POOL_TAG);
- }
-
+ status = XenPci_XenConfigDevice(device);
if (!NT_SUCCESS(status))
{
RtlStringCbPrintfA(path, ARRAY_SIZE(path), "%s/state", xppdd->backend_path);
@@ -1451,7 +1426,7 @@
KdPrint((__DRIVER_NAME " WdfDeviceAddQueryInterface failed - %08x\n", status));
return status;
}
-
+
RtlStringCbCopyA(xppdd->path, ARRAY_SIZE(xppdd->path), identification->path);
RtlStringCbCopyA(xppdd->device, ARRAY_SIZE(xppdd->device), identification->device);
xppdd->index = identification->index;
@@ -1501,7 +1476,6 @@
PVOID setting;
PVOID value;
PVOID value2;
- int i;
KdPrint((__DRIVER_NAME " --> " __FUNCTION__ " (%s)\n", xppdd->path));
@@ -1523,25 +1497,18 @@
{
switch (type)
{
- case XEN_INIT_TYPE_RING: /* frontend ring */
- FreePages(value);
- break;
case XEN_INIT_TYPE_EVENT_CHANNEL: /* frontend event channel */
case XEN_INIT_TYPE_EVENT_CHANNEL_DPC: /* frontend event channel bound to dpc */
case XEN_INIT_TYPE_EVENT_CHANNEL_IRQ: /* frontend event channel bound to irq */
EvtChn_Unbind(xpdd, PtrToUlong(value));
EvtChn_Close(xpdd, PtrToUlong(value));
break;
- case XEN_INIT_TYPE_GRANT_ENTRIES:
- for (i = 0; i < (int)PtrToUlong(value); i++)
- GntTbl_EndAccess(xpdd, ((grant_ref_t *)value2)[i], FALSE, PtrToUlong(setting));
- break;
}
}
}
RtlStringCbPrintfA(path, ARRAY_SIZE(path), "%s/state", xppdd->backend_path);
- XenBus_RemWatch(xpdd, XBT_NIL, path, XenPci_BackendStateHandler, device);
+ XenBus_RemWatch(xpdd, XBT_NIL, path, XenPci_BackendStateHandler, xppdd);
}
else
{
@@ -1586,9 +1553,9 @@
src = xppdd->requested_resources_start;
xppdd->requested_resources_ptr = xppdd->requested_resources_start = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE, XENPCI_POOL_TAG);;
xppdd->assigned_resources_ptr = xppdd->assigned_resources_start;
-
+
dst = MmMapIoSpace(xppdd->config_page_phys, xppdd->config_page_length, MmNonCached);
-
+
status = XenPci_XenConfigDeviceSpecifyBuffers(device, src, dst);
MmUnmapIoSpace(dst, xppdd->config_page_length);
diff -ruN ../win-pvdrivers.hg/xenpci/xenpci_sleep.c xenpci/xenpci_sleep.c
--- ../win-pvdrivers.hg/xenpci/xenpci_sleep.c 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/xenpci_sleep.c 2011-02-26 20:44:33.000000000 +0800
@@ -0,0 +1,23 @@
+#include "xenpci_sleep.h"
+
+VOID PvWaitMicroSecond(ULONG ulMircoSecond)
+{
+ KTIMER kTimer;
+ LARGE_INTEGER timeout;
+ KeInitializeTimer(&kTimer);
+ timeout = RtlConvertLongToLargeInteger(ulMircoSecond * -10);
+
+ KeSetTimer(&kTimer, timeout, NULL);
+ KeWaitForSingleObject(&kTimer, Executive, KernelMode, FALSE, NULL);
+}
+
+void PvGetTickCount(PULONG msec)
+{
+ LARGE_INTEGER tick_count;
+ ULONG myinc = KeQueryTimeIncrement();
+ KeQueryTickCount(&tick_count);
+ tick_count.QuadPart *= myinc;
+ tick_count.QuadPart /= 10000;
+ *msec = tick_count.LowPart;
+}
+
diff -ruN ../win-pvdrivers.hg/xenpci/xenpci_sleep.h xenpci/xenpci_sleep.h
--- ../win-pvdrivers.hg/xenpci/xenpci_sleep.h 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/xenpci_sleep.h 2011-02-26 20:44:33.000000000 +0800
@@ -0,0 +1,14 @@
+#if !defined(_XENPCISLEEP_H_)
+#define _XENPCISLEEP_H_
+
+#define DDKAPI
+#include <ntddk.h>
+#include <wdm.h>
+#define NTSTRSAFE_LIB
+#include <ntstrsafe.h>
+#include <stdlib.h>
+
+VOID PvWaitMicroSecond(ULONG ulMircoSecond);
+VOID PvGetTickCount(PULONG msec);
+
+#endif
diff -ruN ../win-pvdrivers.hg/xenpci/xenpod.h xenpci/xenpod.h
--- ../win-pvdrivers.hg/xenpci/xenpod.h 1970-01-01 08:00:00.000000000 +0800
+++ xenpci/xenpod.h 2011-02-26 20:44:33.000000000 +0800
@@ -0,0 +1,14 @@
+#if !defined(_XENPOD_H_)
+#define _XENPOD_H_
+
+#define XENMEM_get_pod_target 17
+
+typedef struct {
+ ULONG target_pages;
+ ULONG tot_pages;
+ ULONG pod_cache_pages;
+ ULONG pod_entries;
+ domid_t domid;
+} XEN_POD_TARGET_T;
+
+#endif
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 27+ messages in thread* RE: RE: blue screen in windows balloon driver 2011-02-26 13:01 re:RE: blue screen in windows balloon driver MaoXiaoyun @ 2011-02-27 11:25 ` James Harper 2011-02-28 4:33 ` MaoXiaoyun 0 siblings, 1 reply; 27+ messages in thread From: James Harper @ 2011-02-27 11:25 UTC (permalink / raw) To: MaoXiaoyun, xen devel; +Cc: george.dunlap > Thanks James. > > I think it is GPLPV. The driver is from http://xenbits.xen.org/ext/win- > pvdrivers.hg > But, I have done some other things > > 1) Add pod support > 2) enable a meminfo thread, periodically write VM meminfo into xenstore > We use info of Current Memory, Free memory, and Committed memory, retrived > through NativeAPI > 3) our code is based from changeset 823, attached is the diff of my current > code with changset of 853. > > Maybe I need add my code to 853, and test again. > Thanks. > As per other post, I have just committed some patches and PoD should now be working properly. I can start a DomU with 4GB of maxmem but only 128MB of populated memory without any problems. This now works because I do the initial balloon down in DriverEntry, way before xenpci does anything else. Before it would blow up in DriverEntry. I think I determine the amount to initially balloon down a little differently from you too. It takes a while to balloon down the memory though... I think Windows tends to delay large allocations or something, because ballooning up again is pretty much instant. How often are you writing meminfo stuff into xenstore? Could you do that in userspace (the interface to xenstore exists and seems to work well although it's a little tedious)? You would then be able to just run it as a service and not need to patch GPLPV. James ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-02-27 11:25 ` James Harper @ 2011-02-28 4:33 ` MaoXiaoyun [not found] ` <BLU157-w3689F78415A43CC5997DD7DADE0@phx.gbl> 0 siblings, 1 reply; 27+ messages in thread From: MaoXiaoyun @ 2011-02-28 4:33 UTC (permalink / raw) To: xen devel; +Cc: james.harper [-- Attachment #1.1: Type: text/plain, Size: 2291 bytes --] Thanks for fixing the POD. It's is better make it earlier to avoid crash. The meminfo is written every 1 seconds into xenstore dir /local/domain/did/memory/meminfo. And to avoid to many writes, only the memory changes large than 5M, the thread will do the write. As for userspace daemon, it is our first choice, but we found it xenstore daemon in dom0 comsume many CPU(we test in linux only), so we decide to move it into driver. I've done merge my code with latest changeset 866, and do the stree test later. many thanks. > Subject: RE: RE: blue screen in windows balloon driver > Date: Sun, 27 Feb 2011 22:25:28 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > CC: george.dunlap@eu.citrix.com > > > Thanks James. > > > > I think it is GPLPV. The driver is from > http://xenbits.xen.org/ext/win- > > pvdrivers.hg > > But, I have done some other things > > > > 1) Add pod support > > 2) enable a meminfo thread, periodically write VM meminfo into > xenstore > > We use info of Current Memory, Free memory, and Committed memory, > retrived > > through NativeAPI > > 3) our code is based from changeset 823, attached is the diff of my > current > > code with changset of 853. > > > > Maybe I need add my code to 853, and test again. > > Thanks. > > > > As per other post, I have just committed some patches and PoD should now > be working properly. I can start a DomU with 4GB of maxmem but only > 128MB of populated memory without any problems. This now works because I > do the initial balloon down in DriverEntry, way before xenpci does > anything else. Before it would blow up in DriverEntry. I think I > determine the amount to initially balloon down a little differently from > you too. > > It takes a while to balloon down the memory though... I think Windows > tends to delay large allocations or something, because ballooning up > again is pretty much instant. > > How often are you writing meminfo stuff into xenstore? Could you do that > in userspace (the interface to xenstore exists and seems to work well > although it's a little tedious)? You would then be able to just run it > as a service and not need to patch GPLPV. > > James [-- Attachment #1.2: Type: text/html, Size: 2857 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
[parent not found: <BLU157-w3689F78415A43CC5997DD7DADE0@phx.gbl>]
* RE: blue screen in windows balloon driver [not found] ` <BLU157-w3689F78415A43CC5997DD7DADE0@phx.gbl> @ 2011-02-28 8:29 ` MaoXiaoyun 2011-02-28 11:45 ` James Harper 2011-02-28 23:45 ` James Harper 0 siblings, 2 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-02-28 8:29 UTC (permalink / raw) To: xen devel; +Cc: james.harper [-- Attachment #1.1: Type: text/plain, Size: 3513 bytes --] Hi James: Unfortunately, We still hit the blue screen on the stress test. (Start total 24 HVMS on a single 16core, 24G host, each HVM owns 2G Memory, start with memory=512M, and inside two eating memory processes, each of which will each 1G memory) As I go though the code, I noticed that all memory allocation relates to "ExAllocatePoolWithTag(NonPagedPool,...)", which is from NonePaged Pool, As I know, the NonePagePool memory is the memory could not be paged out, and that is limited, and for the blue screen VMS, I also found the free memory is quite low, only about hundreds KB left. So, when memory overcommit, some of the VM will not got enough memory, and if most of its Memory is occupied by eating memory process, then ExAllocatePoolWithTag will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this possible? Meanwhile, I will have your PVdriver tested to see if blue exists, thanks. >From: tinnycloud@hotmail.com >To: tinnycloud@hotmail.com >Subject: FW: blue screen in windows balloon driver >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > >Thanks for fixing the POD. It's is better make it earlier to avoid crash. > >The meminfo is written every 1 seconds into xenstore dir /local/domain/did/memory/meminfo. >And to avoid to many writes, only the memory changes large than 5M, the thread will do the write. > >As for userspace daemon, it is our first choice, but we found it xenstore daemon in dom0 comsume >many CPU(we test in linux only), so we decide to move it into driver. > >I've done merge my code with latest changeset 866, and do the stree test later. > >many thanks. > >> Subject: RE: RE: blue screen in windows balloon driver >> Date: Sun, 27 Feb 2011 22:25:28 +1100 >> From: james.harper@bendigoit.com.au >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com >> CC: george.dunlap@eu.citrix.com >> >> > Thanks James. >> > >> > I think it is GPLPV. The driver is from >> http://xenbits.xen.org/ext/win- >> > pvdrivers.hg >> > But, I have done some other things >> > >> > 1) Add pod support >> > 2) enable a meminfo thread, periodically write VM meminfo into >> xenstore >> > We use info of Current Memory, Free memory, and Committed memory, >> retrived >> > through NativeAPI >> > 3) our code is based from changeset 823, attached is the diff of my >> current >> > code with changset of 853. >> > >> > Maybe I need add my code to 853, and test again. >> > Thanks. >> > >> >> As per other post, I have just committed some patches and PoD should now >> be working properly. I can start a DomU with 4GB of maxmem but only >> 128MB of populated memory without any problems. This now works because I >> do the initial balloon down in DriverEntry, way before xenpci does >> anything else. Before it would blow up in DriverEntry. I think I >> determine the amount to initially balloon down a little differently from >> you too. >> >> It takes a while to balloon down the memory though... I think Windows >> tends to delay large allocations or something, because ballooning up >> again is pretty much instant. >> >> How often are you writing meminfo stuff into xenstore? Could you do that >> in userspace (the interface to xenstore exists and seems to work well >> although it's a little tedious)? You would then be able to just run it >> as a service and not need to patch GPLPV. >> >> James > [-- Attachment #1.2: Type: text/html, Size: 5025 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-02-28 8:29 ` MaoXiaoyun @ 2011-02-28 11:45 ` James Harper 2011-02-28 23:45 ` James Harper 1 sibling, 0 replies; 27+ messages in thread From: James Harper @ 2011-02-28 11:45 UTC (permalink / raw) To: MaoXiaoyun, xen devel > > Hi James: > > Unfortunately, We still hit the blue screen on the stress test. > (Start total 24 HVMS on a single 16core, 24G host, > each HVM owns 2G Memory, start with memory=512M, > and inside two eating memory processes, each of which will each 1G > memory) > > As I go though the code, I noticed that all memory allocation relates to > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from NonePaged Pool, > As I know, the NonePagePool memory is the memory could not be paged out, > and that is limited, and for the blue screen VMS, I also found the free > memory is quite low, only about hundreds KB left. > > So, when memory overcommit, some of the VM will not got enough memory, > and if most of its Memory is occupied by eating memory process, then > ExAllocatePoolWithTag > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this possible? > > Meanwhile, I will have your PVdriver tested to see if blue exists, Yes you are correct - NonPagedPool memory that will always be available. Most of my driver code is required at some point to run at DISPATCH_LEVEL (an IRQ priority level - not sure if you are familiar with the concept) and at DISPATCH_LEVEL any attempt to access memory that is paged out to disk will result in a blue screen. There are overheads with adding more memory to the system. Windows has to keep track of every page of memory so the more memory you have the more memory windows has to keep track of, and this in turn uses up more memory. If you had a system with maxmem=32768 and memory=256 or something in that order of numbers then maybe Windows needs most of that 256MB to keep track of the 32GB of memory and doesn't have enough left for itself. In your original email you said you were using maxmem=2048 and memory=512 so maybe that isn't the problem. Looking at the bug check, parameter 1 and 2 are both 0x0002A8FB (about 714MB). This means that there is 714MB of 'dirty' pages to be written to the pagefile. I think this might happen if you tried to allocate too much memory too fast and Windows couldn't write it out to disk fast enough (it could also happen if xenvbd had hung or something). Maybe a delay is needed when allocating memory, or else some sort of feedback into the ballooning down code. I'll post on ntdev for advice. James ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-02-28 8:29 ` MaoXiaoyun 2011-02-28 11:45 ` James Harper @ 2011-02-28 23:45 ` James Harper 2011-03-01 2:37 ` MaoXiaoyun 1 sibling, 1 reply; 27+ messages in thread From: James Harper @ 2011-02-28 23:45 UTC (permalink / raw) To: MaoXiaoyun, xen devel I have just pushed a change to check the "\KernelObjects\LowMemoryCondition" event before allocating memory for ballooning, and waiting if the event is set. This may resolve the problems you are seeing. What I have seen is that initially the event gets set, but then as Windows pages some active memory out the event gets cleared again and further ballooning down is possible. It may prevent you ballooning down quite as low as you could before, but if it stops windows crashing then I think it is good. James > -----Original Message----- > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > Sent: Monday, 28 February 2011 19:30 > To: xen devel > Cc: James Harper > Subject: RE: blue screen in windows balloon driver > > Hi James: > > Unfortunately, We still hit the blue screen on the stress test. > (Start total 24 HVMS on a single 16core, 24G host, > each HVM owns 2G Memory, start with memory=512M, > and inside two eating memory processes, each of which will each 1G > memory) > > As I go though the code, I noticed that all memory allocation relates to > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from NonePaged Pool, > As I know, the NonePagePool memory is the memory could not be paged out, > and that is limited, and for the blue screen VMS, I also found the free > memory > is quite low, only about hundreds KB left. > > So, when memory overcommit, some of the VM will not got enough memory, > and if most of its Memory is occupied by eating memory process, then > ExAllocatePoolWithTag > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this possible? > > Meanwhile, I will have your PVdriver tested to see if blue exists, > thanks. > > > >From: tinnycloud@hotmail.com > >To: tinnycloud@hotmail.com > >Subject: FW: blue screen in windows balloon driver > >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > > > > >Thanks for fixing the POD. It's is better make it earlier to avoid crash. > > > >The meminfo is written every 1 seconds into xenstore dir > /local/domain/did/memory/meminfo. > >And to avoid to many writes, only the memory changes large than 5M, the > thread will do the write. > > > >As for userspace daemon, it is our first choice, but we found it xenstore > daemon in dom0 comsume > >many CPU(we test in linux only), so we decide to move it into driver. > > > >I've done merge my code with latest changeset 866, and do the stree test > later. > > > >many thanks. > > > >> Subject: RE: RE: blue screen in windows balloon driver > >> Date: Sun, 27 Feb 2011 22:25:28 +1100 > >> From: james.harper@bendigoit.com.au > >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > >> CC: george.dunlap@eu.citrix.com > >> > >> > Thanks James. > >> > > >> > I think it is GPLPV. The driver is from > >> http://xenbits.xen.org/ext/win- > >> > pvdrivers.hg > >> > But, I have done some other things > >> > > >> > 1) Add pod support > >> > 2) enable a meminfo thread, periodically write VM meminfo into > >> xenstore > >> > We use info of Current Memory, Free memory, and Committed memory, > >> retrived > >> > through NativeAPI > >> > 3) our code is based from changeset 823, attached is the diff of my > >> current > >> > code with changset of 853. > >> > > >> > Maybe I need add my code to 853, and test again. > >> > Thanks. > >> > > >> > >> As per other post, I have just committed some patches and PoD should now > >> be working properly. I can start a DomU with 4GB of maxmem but only > >> 128MB of populated memory without any problems. This now works because I > >> do the initial balloon down in DriverEntry, way before xenpci does > >> anything else. Before it would blow up in DriverEntry. I think I > >> determine the amount to initially balloon down a little differently from > >> you too. > >> > >> It takes a while to balloon down the memory though... I think Windows > >> tends to delay large allocations or something, because ballooning up > >> again is pretty much instant. > >> > >> How often are you writing meminfo stuff into xenstore? Could you do that > >> in userspace (the interface to xenstore exists and seems to work well > >> although it's a little tedious)? You would then be able to just run it > >> as a service and not need to patch GPLPV. > >> > >> James > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-02-28 23:45 ` James Harper @ 2011-03-01 2:37 ` MaoXiaoyun 2011-03-01 5:01 ` James Harper 0 siblings, 1 reply; 27+ messages in thread From: MaoXiaoyun @ 2011-03-01 2:37 UTC (permalink / raw) To: xen devel; +Cc: james.harper [-- Attachment #1.1: Type: text/plain, Size: 5508 bytes --] Thanks James. Well, what if the memory is balloon dow already? In my test, the eat memory process(named memhog) is started after the server starts, (that is all VMs have already ballooned down to 512M) It looks like the "balloon down threads " is not working at that time. One more question is, if memhog eat process at very fast speed, will it consume the NopagePool memory? (I am not whether NopagePool and Page Pool is seperate pool). If so, if the memory is exhausted, some other places like"ExAllocatePoolWithTag(NonPagedPool,...)", will gets no memory, and could it cause bluescreen? I will have the latest driver tested, thanks. > Subject: RE: blue screen in windows balloon driver > Date: Tue, 1 Mar 2011 10:45:52 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > I have just pushed a change to check the > "\KernelObjects\LowMemoryCondition" event before allocating memory for > ballooning, and waiting if the event is set. This may resolve the > problems you are seeing. > > What I have seen is that initially the event gets set, but then as > Windows pages some active memory out the event gets cleared again and > further ballooning down is possible. It may prevent you ballooning down > quite as low as you could before, but if it stops windows crashing then > I think it is good. > > James > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Monday, 28 February 2011 19:30 > > To: xen devel > > Cc: James Harper > > Subject: RE: blue screen in windows balloon driver > > > > Hi James: > > > > Unfortunately, We still hit the blue screen on the stress test. > > (Start total 24 HVMS on a single 16core, 24G host, > > each HVM owns 2G Memory, start with memory=512M, > > and inside two eating memory processes, each of which will each > 1G > > memory) > > > > As I go though the code, I noticed that all memory allocation > relates to > > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from > NonePaged Pool, > > As I know, the NonePagePool memory is the memory could not be > paged out, > > and that is limited, and for the blue screen VMS, I also found > the free > > memory > > is quite low, only about hundreds KB left. > > > > So, when memory overcommit, some of the VM will not got enough > memory, > > and if most of its Memory is occupied by eating memory process, then > > ExAllocatePoolWithTag > > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this > possible? > > > > Meanwhile, I will have your PVdriver tested to see if blue > exists, > > thanks. > > > > > > >From: tinnycloud@hotmail.com > > >To: tinnycloud@hotmail.com > > >Subject: FW: blue screen in windows balloon driver > > >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > > > > > > > >Thanks for fixing the POD. It's is better make it earlier to avoid > crash. > > > > > >The meminfo is written every 1 seconds into xenstore dir > > /local/domain/did/memory/meminfo. > > >And to avoid to many writes, only the memory changes large than 5M, > the > > thread will do the write. > > > > > >As for userspace daemon, it is our first choice, but we found it > xenstore > > daemon in dom0 comsume > > >many CPU(we test in linux only), so we decide to move it into driver. > > > > > >I've done merge my code with latest changeset 866, and do the stree > test > > later. > > > > > >many thanks. > > > > > >> Subject: RE: RE: blue screen in windows balloon driver > > >> Date: Sun, 27 Feb 2011 22:25:28 +1100 > > >> From: james.harper@bendigoit.com.au > > >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > >> CC: george.dunlap@eu.citrix.com > > >> > > >> > Thanks James. > > >> > > > >> > I think it is GPLPV. The driver is from > > >> http://xenbits.xen.org/ext/win- > > >> > pvdrivers.hg > > >> > But, I have done some other things > > >> > > > >> > 1) Add pod support > > >> > 2) enable a meminfo thread, periodically write VM meminfo into > > >> xenstore > > >> > We use info of Current Memory, Free memory, and Committed memory, > > >> retrived > > >> > through NativeAPI > > >> > 3) our code is based from changeset 823, attached is the diff of > my > > >> current > > >> > code with changset of 853. > > >> > > > >> > Maybe I need add my code to 853, and test again. > > >> > Thanks. > > >> > > > >> > > >> As per other post, I have just committed some patches and PoD > should now > > >> be working properly. I can start a DomU with 4GB of maxmem but only > > >> 128MB of populated memory without any problems. This now works > because I > > >> do the initial balloon down in DriverEntry, way before xenpci does > > >> anything else. Before it would blow up in DriverEntry. I think I > > >> determine the amount to initially balloon down a little differently > from > > >> you too. > > >> > > >> It takes a while to balloon down the memory though... I think > Windows > > >> tends to delay large allocations or something, because ballooning > up > > >> again is pretty much instant. > > >> > > >> How often are you writing meminfo stuff into xenstore? Could you do > that > > >> in userspace (the interface to xenstore exists and seems to work > well > > >> although it's a little tedious)? You would then be able to just run > it > > >> as a service and not need to patch GPLPV. > > >> > > >> James > > > [-- Attachment #1.2: Type: text/html, Size: 7192 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: blue screen in windows balloon driver 2011-03-01 2:37 ` MaoXiaoyun @ 2011-03-01 5:01 ` James Harper 2011-03-01 5:28 ` MaoXiaoyun 2011-03-01 7:14 ` MaoXiaoyun 0 siblings, 2 replies; 27+ messages in thread From: James Harper @ 2011-03-01 5:01 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel Please send logs and bug check codes for any future crashes Can you also send me your memhog program? Sent from my iPhone On 01/03/2011, at 13:37, "MaoXiaoyun" <tinnycloud@hotmail.com> wrote: > Thanks James. > > Well, what if the memory is balloon dow already? > In my test, the eat memory process(named memhog) is started after the server starts, > (that is all VMs have already ballooned down to 512M) > It looks like the "balloon down threads " is not working at that time. > > One more question is, if memhog eat process at very fast speed, will it consume the > NopagePool memory? (I am not whether NopagePool and Page Pool is seperate pool). > If so, if the memory is exhausted, some other places like"ExAllocatePoolWithTag(NonPagedPool,...)", > will gets no memory, and could it cause bluescreen? > > I will have the latest driver tested, thanks. > > > > Subject: RE: blue screen in windows balloon driver > > Date: Tue, 1 Mar 2011 10:45:52 +1100 > > From: james.harper@bendigoit.com.au > > To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > I have just pushed a change to check the > > "\KernelObjects\LowMemoryCondition" event before allocating memory for > > ballooning, and waiting if the event is set. This may resolve the > > problems you are seeing. > > > > What I have seen is that initially the event gets set, but then as > > Windows pages some active memory out the event gets cleared again and > > further ballooning down is possible. It may prevent you ballooning down > > quite as low as you could before, but if it stops windows crashing then > > I think it is good. > > > > James > > > > > -----Original Message----- > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > Sent: Monday, 28 February 2011 19:30 > > > To: xen devel > > > Cc: James Harper > > > Subject: RE: blue screen in windows balloon driver > > > > > > Hi James: > > > > > > Unfortunately, We still hit the blue screen on the stress test. > > > (Start total 24 HVMS on a single 16core, 24G host, > > > each HVM owns 2G Memory, start with memory=512M, > > > and inside two eating memory processes, each of which will each > > 1G > > > memory) > > > > > > As I go though the code, I noticed that all memory allocation > > relates to > > > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from > > NonePaged Pool, > > > As I know, the NonePagePool memory is the memory could not be > > paged out, > > > and that is limited, and for the blue screen VMS, I also found > > the free > > > memory > > > is quite low, only about hundreds KB left. > > > > > > So, when memory overcommit, some of the VM will not got enough > > memory, > > > and if most of its Memory is occupied by eating memory process, then > > > ExAllocatePoolWithTag > > > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this > > possible? > > > > > > Meanwhile, I will have your PVdriver tested to see if blue > > exists, > > > thanks. > > > > > > > > > >From: tinnycloud@hotmail.com > > > >To: tinnycloud@hotmail.com > > > >Subject: FW: blue screen in windows balloon driver > > > >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > > > > > > > > > > >Thanks for fixing the POD. It's is better make it earlier to avoid > > crash. > > > > > > > >The meminfo is written every 1 seconds into xenstore dir > > > /local/domain/did/memory/meminfo. > > > >And to avoid to many writes, only the memory changes large than 5M, > > the > > > thread will do the write. > > > > > > > >As for userspace daemon, it is our first choice, but we found it > > xenstore > > > daemon in dom0 comsume > > > >many CPU(we test in linux only), so we decide to move it into driver. > > > > > > > >I've done merge my code with latest changeset 866, and do the stree > > test > > > later. > > > > > > > >many thanks. > > > > > > > >> Subject: RE: RE: blue screen in windows balloon driver > > > >> Date: Sun, 27 Feb 2011 22:25:28 +1100 > > > >> From: james.harper@bendigoit.com.au > > > >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > >> CC: george.dunlap@eu.citrix.com > > > >> > > > >> > Thanks James. > > > >> > > > > >> > I think it is GPLPV. The driver is from > > > >> http://xenbits.xen.org/ext/win- > > > >> > pvdrivers.hg > > > >> > But, I have done some other things > > > >> > > > > >> > 1) Add pod support > > > >> > 2) enable a meminfo thread, periodically write VM meminfo into > > > >> xenstore > > > >> > We use info of Current Memory, Free memory, and Committed memory, > > > >> retrived > > > >> > through NativeAPI > > > >> > 3) our code is based from changeset 823, attached is the diff of > > my > > > >> current > > > >> > code with changset of 853. > > > >> > > > > >> > Maybe I need add my code to 853, and test again. > > > >> > Thanks. > > > >> > > > > >> > > > >> As per other post, I have just committed some patches and PoD > > should now > > > >> be working properly. I can start a DomU with 4GB of maxmem but only > > > >> 128MB of populated memory without any problems. This now works > > because I > > > >> do the initial balloon down in DriverEntry, way before xenpci does > > > >> anything else. Before it would blow up in DriverEntry. I think I > > > >> determine the amount to initially balloon down a little differently > > from > > > >> you too. > > > >> > > > >> It takes a while to balloon down the memory though... I think > > Windows > > > >> tends to delay large allocations or something, because ballooning > > up > > > >> again is pretty much instant. > > > >> > > > >> How often are you writing meminfo stuff into xenstore? Could you do > > that > > > >> in userspace (the interface to xenstore exists and seems to work > > well > > > >> although it's a little tedious)? You would then be able to just run > > it > > > >> as a service and not need to patch GPLPV. > > > >> > > > >> James > > > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-03-01 5:01 ` James Harper @ 2011-03-01 5:28 ` MaoXiaoyun [not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55AC7@trantor> 2011-03-01 7:14 ` MaoXiaoyun 1 sibling, 1 reply; 27+ messages in thread From: MaoXiaoyun @ 2011-03-01 5:28 UTC (permalink / raw) To: xen devel; +Cc: james.harper [-- Attachment #1.1: Type: text/plain, Size: 7598 bytes --] Attached is the memhog source code. In test, I run two memhogs at same time with options " -t 2 -M 512 -R 30 -s 2 -K 100" which means, 2threads, total alloc 512M memory, run 30times, sleep every 2 seconds between rounds, and every malloc, malloc 100KB. Also, in currently test, after VM starts with 512M memory, no memory is given back to VM. Actually, we have three physical host to test the blue screen, quite strange is only on machine hit the blue screen quite easily(your driver with/without low memory event hit the screen). But on other two machine, everything goes fine. Even I recompile the host system, different result still exists. I also noticed the your post on ntdev, is it possible "ExAllocatePoolWithTag" failed, but in code the return NULL is not fully checked? More, what kind of logs your need, and does "check code" means something like " ***STOP: 0x0000004D (0x00015742,0x00015742,0x00000000,0x00000000) ***STOP: 0x0000004D (0x0001583B,0x0001583B,0x00000000,0x00000000) this the latest two crashes. > Subject: Re: blue screen in windows balloon driver > From: james.harper@bendigoit.com.au > Date: Tue, 1 Mar 2011 16:01:46 +1100 > To: tinnycloud@hotmail.com > CC: xen-devel@lists.xensource.com > > Please send logs and bug check codes for any future crashes > > Can you also send me your memhog program? > > Sent from my iPhone > > On 01/03/2011, at 13:37, "MaoXiaoyun" <tinnycloud@hotmail.com> wrote: > > > Thanks James. > > > > Well, what if the memory is balloon dow already? > > In my test, the eat memory process(named memhog) is started after the server starts, > > (that is all VMs have already ballooned down to 512M) > > It looks like the "balloon down threads " is not working at that time. > > > > One more question is, if memhog eat process at very fast speed, will it consume the > > NopagePool memory? (I am not whether NopagePool and Page Pool is seperate pool). > > If so, if the memory is exhausted, some other places like"ExAllocatePoolWithTag(NonPagedPool,...)", > > will gets no memory, and could it cause bluescreen? > > > > I will have the latest driver tested, thanks. > > > > > > > Subject: RE: blue screen in windows balloon driver > > > Date: Tue, 1 Mar 2011 10:45:52 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > > > I have just pushed a change to check the > > > "\KernelObjects\LowMemoryCondition" event before allocating memory for > > > ballooning, and waiting if the event is set. This may resolve the > > > problems you are seeing. > > > > > > What I have seen is that initially the event gets set, but then as > > > Windows pages some active memory out the event gets cleared again and > > > further ballooning down is possible. It may prevent you ballooning down > > > quite as low as you could before, but if it stops windows crashing then > > > I think it is good. > > > > > > James > > > > > > > -----Original Message----- > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > Sent: Monday, 28 February 2011 19:30 > > > > To: xen devel > > > > Cc: James Harper > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > Hi James: > > > > > > > > Unfortunately, We still hit the blue screen on the stress test. > > > > (Start total 24 HVMS on a single 16core, 24G host, > > > > each HVM owns 2G Memory, start with memory=512M, > > > > and inside two eating memory processes, each of which will each > > > 1G > > > > memory) > > > > > > > > As I go though the code, I noticed that all memory allocation > > > relates to > > > > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from > > > NonePaged Pool, > > > > As I know, the NonePagePool memory is the memory could not be > > > paged out, > > > > and that is limited, and for the blue screen VMS, I also found > > > the free > > > > memory > > > > is quite low, only about hundreds KB left. > > > > > > > > So, when memory overcommit, some of the VM will not got enough > > > memory, > > > > and if most of its Memory is occupied by eating memory process, then > > > > ExAllocatePoolWithTag > > > > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this > > > possible? > > > > > > > > Meanwhile, I will have your PVdriver tested to see if blue > > > exists, > > > > thanks. > > > > > > > > > > > > >From: tinnycloud@hotmail.com > > > > >To: tinnycloud@hotmail.com > > > > >Subject: FW: blue screen in windows balloon driver > > > > >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > > > > > > > > > > > > > >Thanks for fixing the POD. It's is better make it earlier to avoid > > > crash. > > > > > > > > > >The meminfo is written every 1 seconds into xenstore dir > > > > /local/domain/did/memory/meminfo. > > > > >And to avoid to many writes, only the memory changes large than 5M, > > > the > > > > thread will do the write. > > > > > > > > > >As for userspace daemon, it is our first choice, but we found it > > > xenstore > > > > daemon in dom0 comsume > > > > >many CPU(we test in linux only), so we decide to move it into driver. > > > > > > > > > >I've done merge my code with latest changeset 866, and do the stree > > > test > > > > later. > > > > > > > > > >many thanks. > > > > > > > > > >> Subject: RE: RE: blue screen in windows balloon driver > > > > >> Date: Sun, 27 Feb 2011 22:25:28 +1100 > > > > >> From: james.harper@bendigoit.com.au > > > > >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > >> CC: george.dunlap@eu.citrix.com > > > > >> > > > > >> > Thanks James. > > > > >> > > > > > >> > I think it is GPLPV. The driver is from > > > > >> http://xenbits.xen.org/ext/win- > > > > >> > pvdrivers.hg > > > > >> > But, I have done some other things > > > > >> > > > > > >> > 1) Add pod support > > > > >> > 2) enable a meminfo thread, periodically write VM meminfo into > > > > >> xenstore > > > > >> > We use info of Current Memory, Free memory, and Committed memory, > > > > >> retrived > > > > >> > through NativeAPI > > > > >> > 3) our code is based from changeset 823, attached is the diff of > > > my > > > > >> current > > > > >> > code with changset of 853. > > > > >> > > > > > >> > Maybe I need add my code to 853, and test again. > > > > >> > Thanks. > > > > >> > > > > > >> > > > > >> As per other post, I have just committed some patches and PoD > > > should now > > > > >> be working properly. I can start a DomU with 4GB of maxmem but only > > > > >> 128MB of populated memory without any problems. This now works > > > because I > > > > >> do the initial balloon down in DriverEntry, way before xenpci does > > > > >> anything else. Before it would blow up in DriverEntry. I think I > > > > >> determine the amount to initially balloon down a little differently > > > from > > > > >> you too. > > > > >> > > > > >> It takes a while to balloon down the memory though... I think > > > Windows > > > > >> tends to delay large allocations or something, because ballooning > > > up > > > > >> again is pretty much instant. > > > > >> > > > > >> How often are you writing meminfo stuff into xenstore? Could you do > > > that > > > > >> in userspace (the interface to xenstore exists and seems to work > > > well > > > > >> although it's a little tedious)? You would then be able to just run > > > it > > > > >> as a service and not need to patch GPLPV. > > > > >> > > > > >> James > > > > > [-- Attachment #1.2: Type: text/html, Size: 10683 bytes --] [-- Attachment #2: memhog.rar --] [-- Type: application/octet-stream, Size: 19571 bytes --] [-- Attachment #3: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55AC7@trantor>]
[parent not found: <BLU157-w655070D9CFE092D78C011DDAC10@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55ACA@trantor>]
* RE: blue screen in windows balloon driver [not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55ACA@trantor> @ 2011-03-01 12:34 ` MaoXiaoyun 2011-03-01 12:35 ` James Harper 0 siblings, 1 reply; 27+ messages in thread From: MaoXiaoyun @ 2011-03-01 12:34 UTC (permalink / raw) To: james.harper; +Cc: xen devel [-- Attachment #1.1: Type: text/plain, Size: 1504 bytes --] I will have new driver tested. Attached is the xentop snapshot. thanks. > Subject: RE: blue screen in windows balloon driver > Date: Tue, 1 Mar 2011 23:11:14 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > > > > > exe attached, thanks. > > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus* event. > > 24 VMS, so > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > machine 25: VM easily got crash, the sum is 200 > > machine 23: VM never got crash, the sum is 10 > > machine 212: VM never got crash, the sum is 16 > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus event > > than other two machines. > > > > BTW, when start 24VM concurrently, the starting process is quite slow, > takes > > about 20 minutes more to whole started. > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > 505 //remaining -= thiswait; > > > > It sounds like you are overloading your disk IO bandwidth. With many > DomU's swapping heavily, Dom0 may simply not be able to keep up with the > IO throughput required resulting in windows thinking that the scsi > device isn't responding. Can you check xentop and see what sort of IO > operations per second you are getting? > > I have just pushed a change to dump out the in-flight scsi requests > (srb) when HwScsiResetBus is called. Please apply the patch and send me > the next crash. > > Thanks > > James [-- Attachment #1.2: Type: text/html, Size: 2017 bytes --] [-- Attachment #2: xentop.txt --] [-- Type: text/plain, Size: 3059 bytes --] NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR VBD_RSECT VBD_WSECT SSID w3.MR_cp21 --b--- 281 1.3 524128 2.1 2101248 8.4 2 0 0 0 1 17946 12714 5836 455428 279489 0 w3.MR_cp8. --b--- 384 2.1 524128 2.1 2101248 8.4 2 0 0 0 1 17637 12766 5783 452159 284097 0 w3.MR_cp5. --b--- 288 1.9 524128 2.1 2101248 8.4 2 0 0 0 1 17479 12037 5739 434796 279302 0 w3.MR_cp1. --b--- 366 2.2 524128 2.1 2101248 8.4 2 0 0 0 1 17155 12468 5902 456344 290401 0 w3.MR_cp15 --b--- 369 2.0 524128 2.1 2101248 8.4 2 0 0 0 1 17055 13257 5152 450882 234945 0 w3.MR_cp12 -----r 291 4.5 524128 2.1 2101248 8.4 2 0 0 0 1 16760 11762 5898 432858 281974 0 w3.MR_cp22 --b--- 277 2.5 524128 2.1 2101248 8.4 2 0 0 0 1 16742 11753 5901 435315 286561 0 w3.MR_cp10 --b--- 353 2.0 524128 2.1 2101248 8.4 2 0 0 0 1 16646 13078 5703 438043 271899 0 w3.MR_cp13 --b--- 278 2.9 524128 2.1 2101248 8.4 2 0 0 0 1 16571 11628 5740 422040 277717 0 w3.MR_cp20 --b--- 280 2.9 524128 2.1 2101248 8.4 2 0 0 0 1 16493 11341 6260 417711 315668 0 w3.MR_cp19 --b--- 258 5.0 524128 2.1 2101248 8.4 2 0 0 0 1 16066 12823 5470 433721 257752 0 w3.MR_cp17 --b--- 248 1.3 524128 2.1 2101248 8.4 2 0 0 0 1 15232 11606 6335 432435 316746 0 w3.MR_cp18 ------ 224 2.4 524128 2.1 2101248 8.4 2 0 0 0 1 15114 11762 6080 431874 288844 0 w3.MR_cp4. --b--- 321 2.0 524128 2.1 2101248 8.4 2 0 0 0 1 14238 11535 6092 422576 294388 0 w3.MR_cp6. --b--- 297 2.0 524128 2.1 2101248 8.4 2 0 0 0 1 12811 11624 5990 424612 292594 0 w3.MR_cp14 --b--- 287 1.8 524128 2.1 2101248 8.4 2 0 0 0 1 12654 11628 6313 423478 310240 0 w3.MR_cp3. --b--- 119 1.9 524128 2.1 2101248 8.4 2 0 0 0 1 11737 11954 6098 425293 286504 0 Delay Networks vBds Tmem VCPUs Repeat header Sort order Quit [-- Attachment #3: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-03-01 12:34 ` MaoXiaoyun @ 2011-03-01 12:35 ` James Harper 2011-03-01 12:48 ` James Harper 0 siblings, 1 reply; 27+ messages in thread From: James Harper @ 2011-03-01 12:35 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel Hold off on testing. I'm fixing up the reset code so that it does what Windows wants. I'll post something soon if it doesn't take too long. James > -----Original Message----- > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > Sent: Tuesday, 1 March 2011 23:34 > To: James Harper > Cc: xen devel > Subject: RE: blue screen in windows balloon driver > > I will have new driver tested. > Attached is the xentop snapshot. > > thanks. > > > Subject: RE: blue screen in windows balloon driver > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > From: james.harper@bendigoit.com.au > > To: tinnycloud@hotmail.com > > > > > > > > exe attached, thanks. > > > > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus* event. > > > 24 VMS, so > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > machine 25: VM easily got crash, the sum is 200 > > > machine 23: VM never got crash, the sum is 10 > > > machine 212: VM never got crash, the sum is 16 > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus event > > > than other two machines. > > > > > > BTW, when start 24VM concurrently, the starting process is quite slow, > > takes > > > about 20 minutes more to whole started. > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > 505 //remaining -= thiswait; > > > > > > > It sounds like you are overloading your disk IO bandwidth. With many > > DomU's swapping heavily, Dom0 may simply not be able to keep up with the > > IO throughput required resulting in windows thinking that the scsi > > device isn't responding. Can you check xentop and see what sort of IO > > operations per second you are getting? > > > > I have just pushed a change to dump out the in-flight scsi requests > > (srb) when HwScsiResetBus is called. Please apply the patch and send me > > the next crash. > > > > Thanks > > > > James ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-01 12:35 ` James Harper @ 2011-03-01 12:48 ` James Harper 2011-03-02 3:01 ` MaoXiaoyun 0 siblings, 1 reply; 27+ messages in thread From: James Harper @ 2011-03-01 12:48 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel I've pushed a possible fix for the reset code for Windows 2000, XP and 2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet. I'll see what I can do tomorrow to actually test a scsi reset but I can't reproduce the problem you are seeing on my system. You'll still see the reset messages in the logs which I think simply indicates that your system is too loaded to complete the requests in time and Windows thinks the scsi bus is hung, but this way it might pick itself up again afterwards. On the other hand it may be that too many timeouts and resets will cause windows to throw its hands in the air and give up and declare the scsi device offline, in which case there might not be much we can do. James > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > bounces@lists.xensource.com] On Behalf Of James Harper > Sent: Tuesday, 1 March 2011 23:36 > To: MaoXiaoyun > Cc: xen devel > Subject: [Xen-devel] RE: blue screen in windows balloon driver > > Hold off on testing. I'm fixing up the reset code so that it does what > Windows wants. I'll post something soon if it doesn't take too long. > > James > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Tuesday, 1 March 2011 23:34 > > To: James Harper > > Cc: xen devel > > Subject: RE: blue screen in windows balloon driver > > > > I will have new driver tested. > > Attached is the xentop snapshot. > > > > thanks. > > > > > Subject: RE: blue screen in windows balloon driver > > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com > > > > > > > > > > > exe attached, thanks. > > > > > > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus* > event. > > > > 24 VMS, so > > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > > > machine 25: VM easily got crash, the sum is 200 > > > > machine 23: VM never got crash, the sum is 10 > > > > machine 212: VM never got crash, the sum is 16 > > > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus event > > > > than other two machines. > > > > > > > > BTW, when start 24VM concurrently, the starting process is quite > slow, > > > takes > > > > about 20 minutes more to whole started. > > > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > > > 505 //remaining -= thiswait; > > > > > > > > > > It sounds like you are overloading your disk IO bandwidth. With many > > > DomU's swapping heavily, Dom0 may simply not be able to keep up with > the > > > IO throughput required resulting in windows thinking that the scsi > > > device isn't responding. Can you check xentop and see what sort of > IO > > > operations per second you are getting? > > > > > > I have just pushed a change to dump out the in-flight scsi requests > > > (srb) when HwScsiResetBus is called. Please apply the patch and send > me > > > the next crash. > > > > > > Thanks > > > > > > James > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-01 12:48 ` James Harper @ 2011-03-02 3:01 ` MaoXiaoyun 2011-03-02 6:07 ` James Harper 2011-03-02 6:28 ` James Harper 0 siblings, 2 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-03-02 3:01 UTC (permalink / raw) To: james.harper; +Cc: xen devel [-- Attachment #1.1: Type: text/plain, Size: 3791 bytes --] Attached is the three logs for crash. cp17 & 21 crash on Assertion failed: srb != NULL thanks. > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > Date: Tue, 1 Mar 2011 23:48:04 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > CC: xen-devel@lists.xensource.com > > I've pushed a possible fix for the reset code for Windows 2000, XP and > 2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet. > > I'll see what I can do tomorrow to actually test a scsi reset but I > can't reproduce the problem you are seeing on my system. You'll still > see the reset messages in the logs which I think simply indicates that > your system is too loaded to complete the requests in time and Windows > thinks the scsi bus is hung, but this way it might pick itself up again > afterwards. On the other hand it may be that too many timeouts and > resets will cause windows to throw its hands in the air and give up and > declare the scsi device offline, in which case there might not be much > we can do. > > James > > > -----Original Message----- > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > > bounces@lists.xensource.com] On Behalf Of James Harper > > Sent: Tuesday, 1 March 2011 23:36 > > To: MaoXiaoyun > > Cc: xen devel > > Subject: [Xen-devel] RE: blue screen in windows balloon driver > > > > Hold off on testing. I'm fixing up the reset code so that it does what > > Windows wants. I'll post something soon if it doesn't take too long. > > > > James > > > > > -----Original Message----- > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > Sent: Tuesday, 1 March 2011 23:34 > > > To: James Harper > > > Cc: xen devel > > > Subject: RE: blue screen in windows balloon driver > > > > > > I will have new driver tested. > > > Attached is the xentop snapshot. > > > > > > thanks. > > > > > > > Subject: RE: blue screen in windows balloon driver > > > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > > > From: james.harper@bendigoit.com.au > > > > To: tinnycloud@hotmail.com > > > > > > > > > > > > > > exe attached, thanks. > > > > > > > > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus* > > event. > > > > > 24 VMS, so > > > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > > > > > machine 25: VM easily got crash, the sum is 200 > > > > > machine 23: VM never got crash, the sum is 10 > > > > > machine 212: VM never got crash, the sum is 16 > > > > > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus > event > > > > > than other two machines. > > > > > > > > > > BTW, when start 24VM concurrently, the starting process is quite > > slow, > > > > takes > > > > > about 20 minutes more to whole started. > > > > > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > > > > > 505 //remaining -= thiswait; > > > > > > > > > > > > > It sounds like you are overloading your disk IO bandwidth. With > many > > > > DomU's swapping heavily, Dom0 may simply not be able to keep up > with > > the > > > > IO throughput required resulting in windows thinking that the scsi > > > > device isn't responding. Can you check xentop and see what sort of > > IO > > > > operations per second you are getting? > > > > > > > > I have just pushed a change to dump out the in-flight scsi > requests > > > > (srb) when HwScsiResetBus is called. Please apply the patch and > send > > me > > > > the next crash. > > > > > > > > Thanks > > > > > > > > James > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel [-- Attachment #1.2: Type: text/html, Size: 5133 bytes --] [-- Attachment #2: qemu-dm-w3.MR_cp17.vhd.log --] [-- Type: text/plain, Size: 29216 bytes --] domid: 121 Watching /local/domain/0/device-model/121/logdirty/cmd Watching /local/domain/0/device-model/121/command char device redirected to /dev/pts/21 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = b26cb13f-5da2-3f7b-842a-7def8d1490cf Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/121/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/b26cb13f-5da2-3f7b-842a-7def8d1490cf/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/121/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/121/log-throttling' medium change watch on `/local/domain/121/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.2 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 9a39 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a39 XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 9a3a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a3a XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 9a3b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a3b XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 9a3c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a3c XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 9a3d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a3d XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 9a3e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a3e XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 9a3f XenPCI Calling HYPERVISOR_memory_op - pfn = 9a3f XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 9a40 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a40 XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 9a41 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a41 XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 9a42 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a42 XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 9a43 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a43 XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 9a44 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a44 XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 9a45 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a45 XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 9a46 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a46 XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 9a47 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a47 XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 9a48 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a48 XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 9a49 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a49 XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 9a4a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4a XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 9a4b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4b XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 9a4c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4c XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 9a4d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4d XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 9a4e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4e XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 9a4f XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4f XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 9a50 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a50 XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 9a51 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a51 XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 9a52 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a52 XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 9a53 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a53 XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 9a54 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a54 XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 9a55 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a55 XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 9a56 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a56 XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 9a57 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a57 XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 9a58 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a58 XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI SysRq Value = (null) XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler XenPCI Initial Memory Value = 512 (524288) Error reading shutdown path - ENOENT XenPCI --> XenPci_BalloonThreadProc XenPCI <-- XenPci_ShutdownHandler XenPCI low_mem_event = 89D7E030, state = 0 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_EvtChildListScanForChildren XenPCI Found path = device/vbd/768 XenPCI --> XenPci_BalloonHandler XenPCI Found path = device/vif/0 XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI target memory value = 512 (524288) XenPCI --> XenPci_EvtChildListCreateDevice XenPCI <-- XenPci_BalloonHandler XenPCI Got balloon event, current = 512, target = 512 XenPCI No change to memory XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 899FFF38, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f365 XenPCI New Start = 000000001f365000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI Backend State Changed to InitWait XenPCI --> XenConfig_InitConfigPage XenPCI <-- XenPci_UpdateBackendState XenPCI fdo_driver_object = 899FFF38 XenPCI fdo_driver_extension = 899FD008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 899F9000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> EvtChn_BindIrq XenPCI <-- EvtChn_BindIrq XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 899EB004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f365000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89A083CC XenVbd XEN_INIT_TYPE_RING - ring-ref = 899F9000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 899ECF78 XenVbd aligned_buffer = 899ED000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd IRQL = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd xvdd = 899EB004 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd switching to 'other' ring size XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenNet --> DriverEntry XenNet DriverObject = 897F65B0, RegistryPath = 89800000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 897F54B0 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f325 XenPCI New Start = 000000001f325000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI --> XenPci_UpdateBackendState XenPCI fdo_driver_object = 897F65B0 XenPCI fdo_driver_extension = 00000000 XenPCI fdo_driver_object = 89D68490 XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenConfig_InitConfigPage XenPCI Backend State Changed to InitWait XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89A07FB4 ScatterGather = 1 LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 8973E000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16302 XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 8973D000 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16208 XenPCI <-- XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- EvtChn_Bind XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89A07FB4 XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 8973E000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 8973D000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:5d:a3:0e XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 8980A4C4 nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 8980A4E8 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 8980A509 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (8973F000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 8973F000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CD0B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D1BDC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D93C4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89907E1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897C9FB4 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 898D1BDC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897CD0B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897D93C4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897C9FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89907E1C with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CD0B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D1BDC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897C9FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 892C74E4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89907E1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898F16AC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8990EA9C XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89907E1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897CD0B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 892C74E4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897C9FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 898F16AC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 898D1BDC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8990EA9C with status SRB_STATUS_BUS_RESET Set Unknown OID 0xfd010103 XenPCI --> XenPci_EvtDeviceFileCreate XenPCI --> XenBus_DeviceFileInit XenPCI <-- XenBus_DeviceFileInit XenPCI <-- XenPci_EvtDeviceFileCreate XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoWrite XenPCI 35 bytes of write buffer remaining XenPCI --> XenPci_IoWatch XenPCI no pending read (8000001a) XenPCI <-- XenPci_IoWatch XenPCI completing request with length 35 XenPCI <-- XenBus_EvtIoWrite XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI found pending read XenPCI <-- XenBus_ProcessReadRequest XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI no data to read XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8995B294 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89782454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D67AC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D62D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898CF62C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898FCE1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777904 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781C9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D48F4 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 8995B294 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781C9C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897D48F4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89782454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89777904 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781984 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 898D67AC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 898FCE1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 898CF62C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 898D62D4 with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898FC804 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D33CC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978166C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89782454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89775A04 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977FE1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D62D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777904 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898FCE1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897756EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D67AC XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898FC804 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D33CC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978166C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89782454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781C9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89775A04 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977FE1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D62D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777904 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898FCE1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897756EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 898D67AC XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> DriverEntry XenVbd IRQL = 31 XenVbd DriverObject = 00000000, RegistryPath = 00000000 XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 31 XenVbd xvdd = 892FB300 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f365000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89A083CC XenVbd XEN_INIT_TYPE_RING - ring-ref = 899F9000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd cached_use_other = 1 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 892FD274 XenVbd aligned_buffer = 892FE000 XenVbd ConfigInfo->MaximumTransferLength = 4096 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 31 XenVbd dump_mode = 1 XenVbd <-- XenVbd_HwScsiInitialize XenVbd Command = INQUIRY XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 31 XenVbd <-- XenVbd_HwScsiResetBus XenVbd Command = SCSIOP_START_STOP_UNIT XenVbd Command = READ_CAPACITY XenVbd <-- DriverEntry XenVbd max_dump_mode_blocks = 8 XenVbd max_dump_mode_length = 4096 *** Assertion failed: srb != NULL *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line 988 XenNet --> XenNet_Shutdown XenNet <-- XenNet_Shutdown XenPCI Bug check 0x0000007E (0x80000003, 0x80878113, 0xF7911E68, 0xF7911B64) [-- Attachment #3: qemu-dm-w3.MR_cp21.vhd.log --] [-- Type: text/plain, Size: 24361 bytes --] domid: 109 Watching /local/domain/0/device-model/109/logdirty/cmd Watching /local/domain/0/device-model/109/command char device redirected to /dev/pts/6 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = d84990d9-39f8-b417-8f1f-ed1bfad332b4 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/109/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/d84990d9-39f8-b417-8f1f-ed1bfad332b4/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/109/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/109/log-throttling' medium change watch on `/local/domain/109/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.2 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 9a4a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4a XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 9a4b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4b XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 9a4c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4c XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 9a4d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4d XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 9a4e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4e XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 9a4f XenPCI Calling HYPERVISOR_memory_op - pfn = 9a4f XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 9a50 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a50 XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 9a51 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a51 XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 9a52 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a52 XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 9a53 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a53 XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 9a54 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a54 XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 9a55 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a55 XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 9a56 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a56 XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 9a57 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a57 XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 9a58 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a58 XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 9a59 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a59 XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 9a5a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a5a XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 9a5b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a5b XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 9a5c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a5c XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 9a5d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a5d XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 9a5e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a5e XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 9a5f XenPCI Calling HYPERVISOR_memory_op - pfn = 9a5f XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 9a60 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a60 XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 9a61 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a61 XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 9a62 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a62 XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 9a63 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a63 XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 9a64 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a64 XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 9a65 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a65 XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 9a66 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a66 XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 9a67 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a67 XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 9a68 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a68 XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 9a69 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a69 XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI Initial Memory Value = 512 (524288) XenPCI SysRq Value = (null) XenPCI --> XenPci_BalloonThreadProc XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler XenPCI low_mem_event = 89D7E030, state = 0 Error reading shutdown path - ENOENT XenPCI <-- XenPci_ShutdownHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_BalloonHandler XenPCI --> XenPci_EvtChildListScanForChildren XenPCI target memory value = 512 (524288) XenPCI Found path = device/vbd/768 XenPCI Found path = device/vif/0 XenPCI <-- XenPci_BalloonHandler XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI Got balloon event, current = 512, target = 512 XenPCI --> XenPci_EvtChildListCreateDevice XenPCI No change to memory XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 89AEE838, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f327 XenPCI New Start = 000000001f327000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 89AEE838 XenPCI fdo_driver_extension = 89B0E008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 89AE7000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI Backend State Changed to InitWait XenPCI <-- XenPci_UpdateBackendState XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> EvtChn_BindIrq XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- EvtChn_BindIrq XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI Still waiting for 4 (currently 4)... XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI state unchanged XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 89962004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f327000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 899729A4 XenVbd XEN_INIT_TYPE_RING - ring-ref = 89AE7000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 89963F78 XenVbd aligned_buffer = 89964000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd IRQL = 0 XenVbd xvdd = 89962004 XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd switching to 'other' ring size XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenNet --> DriverEntry XenNet DriverObject = 898F4470, RegistryPath = 897E8000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 89A0D8B8 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f2e7 XenPCI New Start = 000000001f2e7000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI --> XenConfig_InitConfigPage XenPCI Backend State Changed to InitWait XenPCI fdo_driver_object = 898F4470 XenPCI <-- XenPci_UpdateBackendState XenPCI fdo_driver_extension = 00000000 XenPCI fdo_driver_object = 89D68490 XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 899713CC ScatterGather = 1 LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 89AE1000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16181 XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 89AE0000 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16226 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- EvtChn_Bind XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 899713CC XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 89AE1000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 89AE0000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:a1:38:4d XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 893822BC nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 893822E0 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 89382301 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (89AFA000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 89AFA000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 Set Unknown OID 0xfd010103 XenPCI --> XenPci_EvtDeviceFileCreate XenPCI --> XenBus_DeviceFileInit XenPCI <-- XenBus_DeviceFileInit XenPCI <-- XenPci_EvtDeviceFileCreate XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoWrite XenPCI 35 bytes of write buffer remaining XenPCI --> XenPci_IoWatch XenPCI no pending read (8000001a) XenPCI <-- XenPci_IoWatch XenPCI completing request with length 35 XenPCI <-- XenBus_EvtIoWrite XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI found pending read XenPCI <-- XenBus_ProcessReadRequest XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI no data to read XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8974D0B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89750D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89763984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8974D76C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89750FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8974EFB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8975DA84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89751354 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897A88CC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8975F354 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8975D76C XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> DriverEntry XenVbd IRQL = 31 XenVbd DriverObject = 00000000, RegistryPath = 00000000 XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 31 XenVbd xvdd = 8929F300 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f327000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 899729A4 XenVbd XEN_INIT_TYPE_RING - ring-ref = 89AE7000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd cached_use_other = 1 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 892A1274 XenVbd aligned_buffer = 892A2000 XenVbd ConfigInfo->MaximumTransferLength = 4096 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 31 XenVbd dump_mode = 1 XenVbd <-- XenVbd_HwScsiInitialize XenVbd Command = INQUIRY XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 31 XenVbd <-- XenVbd_HwScsiResetBus XenVbd Command = SCSIOP_START_STOP_UNIT XenVbd Command = READ_CAPACITY XenVbd <-- DriverEntry XenVbd max_dump_mode_blocks = 8 XenVbd max_dump_mode_length = 4096 *** Assertion failed: srb != NULL *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line 988 XenNet --> XenNet_Shutdown XenNet <-- XenNet_Shutdown XenPCI Bug check 0x0000008E (0x80000003, 0x80878113, 0xB9429DE8, 0x00000000) [-- Attachment #4: qemu-dm-w3.MR_cp13.vhd.log --] [-- Type: text/plain, Size: 24613 bytes --] domid: 124 Watching /local/domain/0/device-model/124/logdirty/cmd Watching /local/domain/0/device-model/124/command char device redirected to /dev/pts/24 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = b0b7e61e-a47f-b028-6782-c1df26b30291 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/124/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/b0b7e61e-a47f-b028-6782-c1df26b30291/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/124/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/124/log-throttling' medium change watch on `/local/domain/124/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.2 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 99f3 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f3 XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 99f4 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f4 XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 99f5 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f5 XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 99f6 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f6 XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 99f7 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f7 XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 99f8 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f8 XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 99f9 XenPCI Calling HYPERVISOR_memory_op - pfn = 99f9 XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 99fa XenPCI Calling HYPERVISOR_memory_op - pfn = 99fa XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 99fb XenPCI Calling HYPERVISOR_memory_op - pfn = 99fb XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 99fc XenPCI Calling HYPERVISOR_memory_op - pfn = 99fc XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 99fd XenPCI Calling HYPERVISOR_memory_op - pfn = 99fd XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 99fe XenPCI Calling HYPERVISOR_memory_op - pfn = 99fe XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 99ff XenPCI Calling HYPERVISOR_memory_op - pfn = 99ff XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 9a00 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a00 XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 9a01 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a01 XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 9a02 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a02 XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 9a03 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a03 XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 9a04 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a04 XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 9a05 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a05 XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 9a06 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a06 XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 9a07 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a07 XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 9a08 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a08 XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 9a09 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a09 XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 9a0a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0a XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 9a0b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0b XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 9a0c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0c XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 9a0d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0d XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 9a0e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0e XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 9a0f XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0f XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 9a10 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a10 XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 9a11 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a11 XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 9a12 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a12 XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI SysRq Value = (null) XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler XenPCI Initial Memory Value = 512 (524288) Error reading shutdown path - ENOENT XenPCI <-- XenPci_ShutdownHandler XenPCI --> XenPci_BalloonThreadProc XenPCI --> XenPci_DeviceWatchHandler XenPCI low_mem_event = 89D79CA8, state = 0 XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_BalloonHandler XenPCI --> XenPci_EvtChildListScanForChildren XenPCI target memory value = 512 (524288) XenPCI Found path = device/vbd/768 XenPCI <-- XenPci_BalloonHandler XenPCI Got balloon event, current = 512, target = 512 XenPCI Found path = device/vif/0 XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI No change to memory XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 898DC538, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f3a7 XenPCI New Start = 000000001f3a7000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 898DC538 XenPCI fdo_driver_extension = 899E6008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 89764000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI Backend State Changed to InitWait XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_BindIrq XenPCI <-- EvtChn_BindIrq XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 89AA1004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f3a7000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89767CA4 XenVbd XEN_INIT_TYPE_RING - ring-ref = 89764000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 89AA2F78 XenVbd aligned_buffer = 89AA3000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd IRQL = 0 XenVbd xvdd = 89AA1004 XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd --- HwScsiStartIo (Still figuring out ring) XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd switching to 'other' ring size XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenNet --> DriverEntry XenNet DriverObject = 89942720, RegistryPath = 89955000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 898D6C10 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f367 XenPCI New Start = 000000001f367000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 89942720 XenPCI fdo_driver_extension = 00000000 XenPCI fdo_driver_object = 89D68490 XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89AB1C7C ScatterGather = 1 XenPCI Backend State Changed to InitWait XenPCI <-- XenPci_UpdateBackendState LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 89912000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16201 XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 89B0D000 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16283 XenPCI <-- XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI --> XenPci_UpdateBackendState XenPCI <-- XenPci_UpdateBackendState XenPCI state unchanged XenPCI Still waiting for 4 (currently 4)... XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89AB1C7C XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 89912000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 89B0D000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:b6:3d:19 XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 89B0F024 nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 89B0F048 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 89B0F069 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (89913000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 89913000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 Set Unknown OID 0xfd010103 XenPCI --> XenPci_EvtDeviceFileCreate XenPCI --> XenBus_DeviceFileInit XenPCI <-- XenBus_DeviceFileInit XenPCI <-- XenPci_EvtDeviceFileCreate XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoWrite XenPCI 35 bytes of write buffer remaining XenPCI --> XenPci_IoWatch XenPCI completing request with length 35 XenPCI no pending read (8000001a) XenPCI <-- XenBus_EvtIoWrite XenPCI <-- XenPci_IoWatch XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI found pending read XenPCI <-- XenBus_ProcessReadRequest XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI no data to read XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982E76C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982ED9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 896C5454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982A0B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982AE1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8983266C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982EA84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 896C576C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89838D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89832354 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 896C5A84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982AB04 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8982A1BC XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> DriverEntry XenVbd IRQL = 31 XenVbd DriverObject = 00000000, RegistryPath = 00000000 XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 31 XenVbd xvdd = 89317300 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f3a7000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89767CA4 XenVbd XEN_INIT_TYPE_RING - ring-ref = 89764000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd cached_use_other = 1 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 89319274 XenVbd aligned_buffer = 8931A000 XenVbd ConfigInfo->MaximumTransferLength = 4096 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 31 XenVbd dump_mode = 1 XenVbd <-- XenVbd_HwScsiInitialize XenVbd Command = INQUIRY XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 31 XenVbd <-- XenVbd_HwScsiResetBus XenVbd Command = SCSIOP_START_STOP_UNIT XenVbd Command = READ_CAPACITY XenVbd <-- DriverEntry XenVbd max_dump_mode_blocks = 8 XenVbd max_dump_mode_length = 4096 XenVbd max_dump_mode_blocks = 64 XenVbd max_dump_mode_length = 32768 XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 31 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89317058 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89317058 with status SRB_STATUS_BUS_RESET [-- Attachment #5: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-02 3:01 ` MaoXiaoyun @ 2011-03-02 6:07 ` James Harper 2011-03-02 6:44 ` MaoXiaoyun 2011-03-02 6:28 ` James Harper 1 sibling, 1 reply; 27+ messages in thread From: James Harper @ 2011-03-02 6:07 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel That assertion is a bit misleading as it occurs during dump mode when the crash has actually already occurred. It still shouldn't occur but it's not the problem we are looking for. Does this problem occur when not using GPLPV? When you are running GPLPV, can you do a tail -f on the logfile and see how quickly the log messages are coming out? If they are printing out slowly then I think your physical machine is just overloaded with IO. James > -----Original Message----- > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > Sent: Wednesday, 2 March 2011 14:02 > To: James Harper > Cc: xen devel > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > Attached is the three logs for crash. > cp17 & 21 crash on > Assertion failed: srb != NULL > > thanks. > > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > Date: Tue, 1 Mar 2011 23:48:04 +1100 > > From: james.harper@bendigoit.com.au > > To: tinnycloud@hotmail.com > > CC: xen-devel@lists.xensource.com > > > > I've pushed a possible fix for the reset code for Windows 2000, XP and > > 2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet. > > > > I'll see what I can do tomorrow to actually test a scsi reset but I > > can't reproduce the problem you are seeing on my system. You'll still > > see the reset messages in the logs which I think simply indicates that > > your system is too loaded to complete the requests in time and Windows > > thinks the scsi bus is hung, but this way it might pick itself up again > > afterwards. On the other hand it may be that too many timeouts and > > resets will cause windows to throw its hands in the air and give up and > > declare the scsi device offline, in which case there might not be much > > we can do. > > > > James > > > > > -----Original Message----- > > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > > > bounces@lists.xensource.com] On Behalf Of James Harper > > > Sent: Tuesday, 1 March 2011 23:36 > > > To: MaoXiaoyun > > > Cc: xen devel > > > Subject: [Xen-devel] RE: blue screen in windows balloon driver > > > > > > Hold off on testing. I'm fixing up the reset code so that it does what > > > Windows wants. I'll post something soon if it doesn't take too long. > > > > > > James > > > > > > > -----Original Message----- > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > Sent: Tuesday, 1 March 2011 23:34 > > > > To: James Harper > > > > Cc: xen devel > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > I will have new driver tested. > > > > Attached is the xentop snapshot. > > > > > > > > thanks. > > > > > > > > > Subject: RE: blue screen in windows balloon driver > > > > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > > > > From: james.harper@bendigoit.com.au > > > > > To: tinnycloud@hotmail.com > > > > > > > > > > > > > > > > > exe attached, thanks. > > > > > > > > > > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus* > > > event. > > > > > > 24 VMS, so > > > > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > > > > > > > machine 25: VM easily got crash, the sum is 200 > > > > > > machine 23: VM never got crash, the sum is 10 > > > > > > machine 212: VM never got crash, the sum is 16 > > > > > > > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus > > event > > > > > > than other two machines. > > > > > > > > > > > > BTW, when start 24VM concurrently, the starting process is quite > > > slow, > > > > > takes > > > > > > about 20 minutes more to whole started. > > > > > > > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > > > > > > > 505 //remaining -= thiswait; > > > > > > > > > > > > > > > > It sounds like you are overloading your disk IO bandwidth. With > > many > > > > > DomU's swapping heavily, Dom0 may simply not be able to keep up > > with > > > the > > > > > IO throughput required resulting in windows thinking that the scsi > > > > > device isn't responding. Can you check xentop and see what sort of > > > IO > > > > > operations per second you are getting? > > > > > > > > > > I have just pushed a change to dump out the in-flight scsi > > requests > > > > > (srb) when HwScsiResetBus is called. Please apply the patch and > > send > > > me > > > > > the next crash. > > > > > > > > > > Thanks > > > > > > > > > > James > > > > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xensource.com > > > http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-02 6:07 ` James Harper @ 2011-03-02 6:44 ` MaoXiaoyun 0 siblings, 0 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-03-02 6:44 UTC (permalink / raw) To: james.harper; +Cc: xen devel [-- Attachment #1.1: Type: text/plain, Size: 5763 bytes --] Currently I test GPLPV only. I agree on the problem is caused by the heavy IO. Since machine 212, 23 works fine, never hit the crash, and less reset event. The frequency is not high, attched is a VM running 4hours, but *not* crashed, on see 9 XenVbd <-- XenVbd_HwScsiResetBus. It looks like our test is too stressed to machine 25, which cause the reset event and thus produce more reset event, and make the VM crashed. Well, is it difficult for XenVbd_HwScsiResetBus to handle this properly? many thanks. > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > Date: Wed, 2 Mar 2011 17:07:03 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > CC: xen-devel@lists.xensource.com > > That assertion is a bit misleading as it occurs during dump mode when > the crash has actually already occurred. It still shouldn't occur but > it's not the problem we are looking for. > > Does this problem occur when not using GPLPV? > > When you are running GPLPV, can you do a tail -f on the logfile and see > how quickly the log messages are coming out? If they are printing out > slowly then I think your physical machine is just overloaded with IO. > > James > > > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Wednesday, 2 March 2011 14:02 > > To: James Harper > > Cc: xen devel > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > > > > Attached is the three logs for crash. > > cp17 & 21 crash on > > Assertion failed: srb != NULL > > > > thanks. > > > > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > Date: Tue, 1 Mar 2011 23:48:04 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com > > > CC: xen-devel@lists.xensource.com > > > > > > I've pushed a possible fix for the reset code for Windows 2000, XP > and > > > 2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet. > > > > > > I'll see what I can do tomorrow to actually test a scsi reset but I > > > can't reproduce the problem you are seeing on my system. You'll > still > > > see the reset messages in the logs which I think simply indicates > that > > > your system is too loaded to complete the requests in time and > Windows > > > thinks the scsi bus is hung, but this way it might pick itself up > again > > > afterwards. On the other hand it may be that too many timeouts and > > > resets will cause windows to throw its hands in the air and give up > and > > > declare the scsi device offline, in which case there might not be > much > > > we can do. > > > > > > James > > > > > > > -----Original Message----- > > > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > > > > bounces@lists.xensource.com] On Behalf Of James Harper > > > > Sent: Tuesday, 1 March 2011 23:36 > > > > To: MaoXiaoyun > > > > Cc: xen devel > > > > Subject: [Xen-devel] RE: blue screen in windows balloon driver > > > > > > > > Hold off on testing. I'm fixing up the reset code so that it does > what > > > > Windows wants. I'll post something soon if it doesn't take too > long. > > > > > > > > James > > > > > > > > > -----Original Message----- > > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > > Sent: Tuesday, 1 March 2011 23:34 > > > > > To: James Harper > > > > > Cc: xen devel > > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > > > I will have new driver tested. > > > > > Attached is the xentop snapshot. > > > > > > > > > > thanks. > > > > > > > > > > > Subject: RE: blue screen in windows balloon driver > > > > > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > > > > > From: james.harper@bendigoit.com.au > > > > > > To: tinnycloud@hotmail.com > > > > > > > > > > > > > > > > > > > > exe attached, thanks. > > > > > > > > > > > > > > I have three machines, on each sum the > *XenVbd_HwScsiResetBus* > > > > event. > > > > > > > 24 VMS, so > > > > > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > > > > > > > > > machine 25: VM easily got crash, the sum is 200 > > > > > > > machine 23: VM never got crash, the sum is 10 > > > > > > > machine 212: VM never got crash, the sum is 16 > > > > > > > > > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus > > > event > > > > > > > than other two machines. > > > > > > > > > > > > > > BTW, when start 24VM concurrently, the starting process is > quite > > > > slow, > > > > > > takes > > > > > > > about 20 minutes more to whole started. > > > > > > > > > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > > > > > > > > > 505 //remaining -= thiswait; > > > > > > > > > > > > > > > > > > > It sounds like you are overloading your disk IO bandwidth. > With > > > many > > > > > > DomU's swapping heavily, Dom0 may simply not be able to keep > up > > > with > > > > the > > > > > > IO throughput required resulting in windows thinking that the > scsi > > > > > > device isn't responding. Can you check xentop and see what > sort of > > > > IO > > > > > > operations per second you are getting? > > > > > > > > > > > > I have just pushed a change to dump out the in-flight scsi > > > requests > > > > > > (srb) when HwScsiResetBus is called. Please apply the patch > and > > > send > > > > me > > > > > > the next crash. > > > > > > > > > > > > Thanks > > > > > > > > > > > > James > > > > > > > > > > > > _______________________________________________ > > > > Xen-devel mailing list > > > > Xen-devel@lists.xensource.com > > > > http://lists.xensource.com/xen-devel > [-- Attachment #1.2: Type: text/html, Size: 8111 bytes --] [-- Attachment #2: qemu-dm-w3.MR_cp0.vhd.log --] [-- Type: text/plain, Size: 38085 bytes --] domid: 111 Watching /local/domain/0/device-model/111/logdirty/cmd Watching /local/domain/0/device-model/111/command char device redirected to /dev/pts/11 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 7eed4403-5d6e-cb95-fc84-4d958b5c84de Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/111/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/7eed4403-5d6e-cb95-fc84-4d958b5c84de/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/111/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/111/log-throttling' medium change watch on `/local/domain/111/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.2 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 99c4 XenPCI Calling HYPERVISOR_memory_op - pfn = 99c4 XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 99c5 XenPCI Calling HYPERVISOR_memory_op - pfn = 99c5 XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 99c6 XenPCI Calling HYPERVISOR_memory_op - pfn = 99c6 XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 99c7 XenPCI Calling HYPERVISOR_memory_op - pfn = 99c7 XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 99c8 XenPCI Calling HYPERVISOR_memory_op - pfn = 99c8 XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 99c9 XenPCI Calling HYPERVISOR_memory_op - pfn = 99c9 XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 99ca XenPCI Calling HYPERVISOR_memory_op - pfn = 99ca XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 99cb XenPCI Calling HYPERVISOR_memory_op - pfn = 99cb XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 99cc XenPCI Calling HYPERVISOR_memory_op - pfn = 99cc XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 99cd XenPCI Calling HYPERVISOR_memory_op - pfn = 99cd XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 99ce XenPCI Calling HYPERVISOR_memory_op - pfn = 99ce XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 99cf XenPCI Calling HYPERVISOR_memory_op - pfn = 99cf XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 99d0 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d0 XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 99d1 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d1 XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 99d2 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d2 XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 99d3 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d3 XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 99d4 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d4 XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 99d5 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d5 XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 99d6 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d6 XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 99d7 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d7 XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 99d8 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d8 XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 99d9 XenPCI Calling HYPERVISOR_memory_op - pfn = 99d9 XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 99da XenPCI Calling HYPERVISOR_memory_op - pfn = 99da XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 99db XenPCI Calling HYPERVISOR_memory_op - pfn = 99db XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 99dc XenPCI Calling HYPERVISOR_memory_op - pfn = 99dc XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 99dd XenPCI Calling HYPERVISOR_memory_op - pfn = 99dd XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 99de XenPCI Calling HYPERVISOR_memory_op - pfn = 99de XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 99df XenPCI Calling HYPERVISOR_memory_op - pfn = 99df XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 99e0 XenPCI Calling HYPERVISOR_memory_op - pfn = 99e0 XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 99e1 XenPCI Calling HYPERVISOR_memory_op - pfn = 99e1 XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 99e2 XenPCI Calling HYPERVISOR_memory_op - pfn = 99e2 XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 99e3 XenPCI Calling HYPERVISOR_memory_op - pfn = 99e3 XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI SysRq Value = (null) XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler XenPCI Initial Memory Value = 512 (524288) Error reading shutdown path - ENOENT XenPCI --> XenPci_BalloonThreadProc XenPCI <-- XenPci_ShutdownHandler XenPCI low_mem_event = 89D79DF8, state = 0 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_BalloonHandler XenPCI --> XenPci_EvtChildListScanForChildren XenPCI target memory value = 512 (524288) XenPCI Found path = device/vbd/768 XenPCI <-- XenPci_BalloonHandler XenPCI Got balloon event, current = 512, target = 512 XenPCI No change to memory XenPCI Found path = device/vif/0 XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 89AD52A0, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f328 XenPCI New Start = 000000001f328000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI Backend State Changed to InitWait XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 89AD52A0 XenPCI <-- XenPci_UpdateBackendState XenPCI fdo_driver_extension = 8997E008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 899B8000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_BindIrq XenPCI <-- EvtChn_BindIrq XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_UpdateBackendState XenPCI state unchanged XenPCI Still waiting for 4 (currently 4)... XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 89A9B004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f328000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 8997D3CC XenVbd XEN_INIT_TYPE_RING - ring-ref = 899B8000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 89A9CF78 XenVbd aligned_buffer = 89A9D000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd IRQL = 0 XenVbd xvdd = 89A9B004 XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd switching to 'other' ring size XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenNet --> DriverEntry XenNet DriverObject = 897F3B68, RegistryPath = 8980A000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 897F6BB0 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f2e8 XenPCI New Start = 000000001f2e8000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 897F3B68 XenPCI Backend State Changed to InitWait XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenPci_UpdateBackendState XenPCI fdo_driver_object = 89D684A8 XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 8997CFB4 ScatterGather = 1 LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 897C3000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16210 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 8975C000 XenPCI <-- XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16240 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- EvtChn_Bind XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 8997CFB4 XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 897C3000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 8975C000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:aa:79:10 XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 893C52BC nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 893C52E0 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 893C5301 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (8975D000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 8975D000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 Set Unknown OID 0xfd010103 XenPCI --> XenPci_EvtDeviceFileCreate XenPCI --> XenBus_DeviceFileInit XenPCI <-- XenBus_DeviceFileInit XenPCI <-- XenPci_EvtDeviceFileCreate XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoWrite XenPCI 35 bytes of write buffer remaining XenPCI completing request with length 35 XenPCI --> XenPci_IoWatch XenPCI no pending read (8000001a) XenPCI <-- XenPci_IoWatch XenPCI <-- XenBus_EvtIoWrite XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI found pending read XenPCI <-- XenBus_ProcessReadRequest XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenPCI --> XenPci_EvtIoDefault XenPCI --> XenBus_EvtIoRead XenPCI no data to read XenPCI <-- XenBus_EvtIoRead XenPCI <-- XenPci_EvtIoDefault XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777D9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978666C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89778984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781A04 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89784E1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89A64F8C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978666C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781254 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89784E1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781D1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897840B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89785454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897816EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A645DC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781A04 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89777D9C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89778984 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978576C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777D9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781A04 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89778984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978666C XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 897813D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781A04 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978576C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89778984 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89787454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89777D9C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781254 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A64F8C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A645DC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897816EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978666C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777D9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978576C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777D9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978576C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89785454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781254 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781D1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89787454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978576C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897813D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A645DC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897816EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897840B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A64F8C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89777D9C with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89784E1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89777D9C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978666C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785A84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781A04 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785454 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89785A84 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89784E1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978666C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A64F8C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781254 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89785454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897840B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A645DC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781D1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897813D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781A04 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89777D9C with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89778984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785A84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89784E1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977CC1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89786354 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977C5EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977D1BC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978666C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977C2D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDFB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89784E1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977D1BC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897CDFB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89778984 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897813D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89785A84 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977CC1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89787454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A645DC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978666C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897816EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897840B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781D1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A64F8C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977C5EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977C2D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89785454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89786354 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781254 with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDFB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977CC1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977D1BC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977C5EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785A84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978666C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89784E1C XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781254 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897813D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897816EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDFB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977CC1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977D1BC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89778984 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977C5EC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89785A84 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8978666C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89784E1C XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 8977C5EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897840B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897CDFB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781254 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977D1BC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89785A84 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897816EC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977CC1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89784E1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781D1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89787454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897813D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89778984 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8978666C with status SRB_STATUS_BUS_RESET XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A645DC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89784E1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89A64F8C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897840B4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977D1BC XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781FB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977C2D4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89787454 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDFB4 XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8977CC1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89781D1C XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89778984 XenVbd <-- XenVbd_HwScsiResetBus XenVbd completing SRB 89A645DC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89787454 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89A64F8C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897840B4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89784E1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89778984 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 897CDFB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977D1BC with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977CC1C with status SRB_STATUS_BUS_RESET XenVbd completing SRB 8977C2D4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781FB4 with status SRB_STATUS_BUS_RESET XenVbd completing SRB 89781D1C with status SRB_STATUS_BUS_RESET [-- Attachment #3: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-02 3:01 ` MaoXiaoyun 2011-03-02 6:07 ` James Harper @ 2011-03-02 6:28 ` James Harper 2011-03-02 9:23 ` MaoXiaoyun [not found] ` <BLU157-w3311FE380E5D57DD810827DAC00@phx.gbl> 1 sibling, 2 replies; 27+ messages in thread From: James Harper @ 2011-03-02 6:28 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel Can you please try again with the following patch attached: diff -r 34e72b071e51 xenpci/xenpci_dbgprint.c --- a/xenpci/xenpci_dbgprint.c Tue Mar 01 23:47:47 2011 +1100 +++ b/xenpci/xenpci_dbgprint.c Wed Mar 02 17:27:31 2011 +1100 @@ -69,10 +69,23 @@ static void XenDbgPrint(PCHAR string, ULONG length) { ULONG i; + ULONGLONG j; + LARGE_INTEGER current_time; //KIRQL old_irql = 0; while(InterlockedCompareExchange(&debug_print_lock, 1, 0) == 1) KeStallExecutionProcessor(1); + + KeQuerySystemTime(¤t_time); + current_time.QuadPart /= 10000; /* convert to ms */ + for (j = 1000000000000000000L; j >= 1; j /= 10) + if (current_time.QuadPart / j) + break; + for (; j >= 1; j /= 10) + WRITE_PORT_UCHAR(XEN_IOPORT_LOG, '0' + ((current_time.QuadPart / j) % 10)); + WRITE_PORT_UCHAR(XEN_IOPORT_LOG, ':'); + WRITE_PORT_UCHAR(XEN_IOPORT_LOG, ' '); + for (i = 0; i < length; i++) WRITE_PORT_UCHAR(XEN_IOPORT_LOG, string[i]); /* release the lock */ That will put a timestamp on each debug message which will help a lot in diagnosing the problem. James > -----Original Message----- > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > Sent: Wednesday, 2 March 2011 14:02 > To: James Harper > Cc: xen devel > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > Attached is the three logs for crash. > cp17 & 21 crash on > Assertion failed: srb != NULL > > thanks. > > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > Date: Tue, 1 Mar 2011 23:48:04 +1100 > > From: james.harper@bendigoit.com.au > > To: tinnycloud@hotmail.com > > CC: xen-devel@lists.xensource.com > > > > I've pushed a possible fix for the reset code for Windows 2000, XP and > > 2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet. > > > > I'll see what I can do tomorrow to actually test a scsi reset but I > > can't reproduce the problem you are seeing on my system. You'll still > > see the reset messages in the logs which I think simply indicates that > > your system is too loaded to complete the requests in time and Windows > > thinks the scsi bus is hung, but this way it might pick itself up again > > afterwards. On the other hand it may be that too many timeouts and > > resets will cause windows to throw its hands in the air and give up and > > declare the scsi device offline, in which case there might not be much > > we can do. > > > > James > > > > > -----Original Message----- > > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > > > bounces@lists.xensource.com] On Behalf Of James Harper > > > Sent: Tuesday, 1 March 2011 23:36 > > > To: MaoXiaoyun > > > Cc: xen devel > > > Subject: [Xen-devel] RE: blue screen in windows balloon driver > > > > > > Hold off on testing. I'm fixing up the reset code so that it does what > > > Windows wants. I'll post something soon if it doesn't take too long. > > > > > > James > > > > > > > -----Original Message----- > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > Sent: Tuesday, 1 March 2011 23:34 > > > > To: James Harper > > > > Cc: xen devel > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > I will have new driver tested. > > > > Attached is the xentop snapshot. > > > > > > > > thanks. > > > > > > > > > Subject: RE: blue screen in windows balloon driver > > > > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > > > > From: james.harper@bendigoit.com.au > > > > > To: tinnycloud@hotmail.com > > > > > > > > > > > > > > > > > exe attached, thanks. > > > > > > > > > > > > I have three machines, on each sum the *XenVbd_HwScsiResetBus* > > > event. > > > > > > 24 VMS, so > > > > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > > > > > > > machine 25: VM easily got crash, the sum is 200 > > > > > > machine 23: VM never got crash, the sum is 10 > > > > > > machine 212: VM never got crash, the sum is 16 > > > > > > > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus > > event > > > > > > than other two machines. > > > > > > > > > > > > BTW, when start 24VM concurrently, the starting process is quite > > > slow, > > > > > takes > > > > > > about 20 minutes more to whole started. > > > > > > > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > > > > > > > 505 //remaining -= thiswait; > > > > > > > > > > > > > > > > It sounds like you are overloading your disk IO bandwidth. With > > many > > > > > DomU's swapping heavily, Dom0 may simply not be able to keep up > > with > > > the > > > > > IO throughput required resulting in windows thinking that the scsi > > > > > device isn't responding. Can you check xentop and see what sort of > > > IO > > > > > operations per second you are getting? > > > > > > > > > > I have just pushed a change to dump out the in-flight scsi > > requests > > > > > (srb) when HwScsiResetBus is called. Please apply the patch and > > send > > > me > > > > > the next crash. > > > > > > > > > > Thanks > > > > > > > > > > James > > > > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xensource.com > > > http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-02 6:28 ` James Harper @ 2011-03-02 9:23 ` MaoXiaoyun 2011-03-02 11:37 ` James Harper [not found] ` <BLU157-w3311FE380E5D57DD810827DAC00@phx.gbl> 1 sibling, 1 reply; 27+ messages in thread From: MaoXiaoyun @ 2011-03-02 9:23 UTC (permalink / raw) To: james.harper; +Cc: xen devel [-- Attachment #1.1: Type: text/plain, Size: 6036 bytes --] Two crash logs attached. The last two XenVbd_HwScsiResetBus happened almost at the same time. May it be the problem? Thanks. > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > Date: Wed, 2 Mar 2011 17:28:48 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > CC: xen-devel@lists.xensource.com > > Can you please try again with the following patch attached: > > diff -r 34e72b071e51 xenpci/xenpci_dbgprint.c > --- a/xenpci/xenpci_dbgprint.c Tue Mar 01 23:47:47 2011 +1100 > +++ b/xenpci/xenpci_dbgprint.c Wed Mar 02 17:27:31 2011 +1100 > @@ -69,10 +69,23 @@ > static void XenDbgPrint(PCHAR string, ULONG length) > { > ULONG i; > + ULONGLONG j; > + LARGE_INTEGER current_time; > //KIRQL old_irql = 0; > > while(InterlockedCompareExchange(&debug_print_lock, 1, 0) == 1) > KeStallExecutionProcessor(1); > + > + KeQuerySystemTime(¤t_time); > + current_time.QuadPart /= 10000; /* convert to ms */ > + for (j = 1000000000000000000L; j >= 1; j /= 10) > + if (current_time.QuadPart / j) > + break; > + for (; j >= 1; j /= 10) > + WRITE_PORT_UCHAR(XEN_IOPORT_LOG, '0' + ((current_time.QuadPart / j) > % 10)); > + WRITE_PORT_UCHAR(XEN_IOPORT_LOG, ':'); > + WRITE_PORT_UCHAR(XEN_IOPORT_LOG, ' '); > + > for (i = 0; i < length; i++) > WRITE_PORT_UCHAR(XEN_IOPORT_LOG, string[i]); > /* release the lock */ > > That will put a timestamp on each debug message which will help a lot in > diagnosing the problem. > > James > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Wednesday, 2 March 2011 14:02 > > To: James Harper > > Cc: xen devel > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > > > > Attached is the three logs for crash. > > cp17 & 21 crash on > > Assertion failed: srb != NULL > > > > thanks. > > > > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > Date: Tue, 1 Mar 2011 23:48:04 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com > > > CC: xen-devel@lists.xensource.com > > > > > > I've pushed a possible fix for the reset code for Windows 2000, XP > and > > > 2003. I haven't fixed the Vista/2008/7/2008R2 storport driver yet. > > > > > > I'll see what I can do tomorrow to actually test a scsi reset but I > > > can't reproduce the problem you are seeing on my system. You'll > still > > > see the reset messages in the logs which I think simply indicates > that > > > your system is too loaded to complete the requests in time and > Windows > > > thinks the scsi bus is hung, but this way it might pick itself up > again > > > afterwards. On the other hand it may be that too many timeouts and > > > resets will cause windows to throw its hands in the air and give up > and > > > declare the scsi device offline, in which case there might not be > much > > > we can do. > > > > > > James > > > > > > > -----Original Message----- > > > > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > > > > bounces@lists.xensource.com] On Behalf Of James Harper > > > > Sent: Tuesday, 1 March 2011 23:36 > > > > To: MaoXiaoyun > > > > Cc: xen devel > > > > Subject: [Xen-devel] RE: blue screen in windows balloon driver > > > > > > > > Hold off on testing. I'm fixing up the reset code so that it does > what > > > > Windows wants. I'll post something soon if it doesn't take too > long. > > > > > > > > James > > > > > > > > > -----Original Message----- > > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > > Sent: Tuesday, 1 March 2011 23:34 > > > > > To: James Harper > > > > > Cc: xen devel > > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > > > I will have new driver tested. > > > > > Attached is the xentop snapshot. > > > > > > > > > > thanks. > > > > > > > > > > > Subject: RE: blue screen in windows balloon driver > > > > > > Date: Tue, 1 Mar 2011 23:11:14 +1100 > > > > > > From: james.harper@bendigoit.com.au > > > > > > To: tinnycloud@hotmail.com > > > > > > > > > > > > > > > > > > > > exe attached, thanks. > > > > > > > > > > > > > > I have three machines, on each sum the > *XenVbd_HwScsiResetBus* > > > > event. > > > > > > > 24 VMS, so > > > > > > > grep XenVbd_HwScsiResetBus qemu-dm-w3.MR_cp* | wc -l > > > > > > > > > > > > > > machine 25: VM easily got crash, the sum is 200 > > > > > > > machine 23: VM never got crash, the sum is 10 > > > > > > > machine 212: VM never got crash, the sum is 16 > > > > > > > > > > > > > > it seems that machine 25 has much more XenVbd_HwScsiResetBus > > > event > > > > > > > than other two machines. > > > > > > > > > > > > > > BTW, when start 24VM concurrently, the starting process is > quite > > > > slow, > > > > > > takes > > > > > > > about 20 minutes more to whole started. > > > > > > > > > > > > > > I commented line 505 in xenpci_pdo.c to avoid timed out. > > > > > > > > > > > > > > 505 //remaining -= thiswait; > > > > > > > > > > > > > > > > > > > It sounds like you are overloading your disk IO bandwidth. > With > > > many > > > > > > DomU's swapping heavily, Dom0 may simply not be able to keep > up > > > with > > > > the > > > > > > IO throughput required resulting in windows thinking that the > scsi > > > > > > device isn't responding. Can you check xentop and see what > sort of > > > > IO > > > > > > operations per second you are getting? > > > > > > > > > > > > I have just pushed a change to dump out the in-flight scsi > > > requests > > > > > > (srb) when HwScsiResetBus is called. Please apply the patch > and > > > send > > > > me > > > > > > the next crash. > > > > > > > > > > > > Thanks > > > > > > > > > > > > James > > > > > > > > > > > > _______________________________________________ > > > > Xen-devel mailing list > > > > Xen-devel@lists.xensource.com > > > > http://lists.xensource.com/xen-devel > [-- Attachment #1.2: Type: text/html, Size: 8437 bytes --] [-- Attachment #2: qemu-dm-w3.MR_cp8.vhd.log --] [-- Type: text/plain, Size: 40232 bytes --] domid: 187 Watching /local/domain/0/device-model/187/logdirty/cmd Watching /local/domain/0/device-model/187/command char device redirected to /dev/pts/31 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 2ec9211b-2849-198e-4aa7-17a3f7de3e8b Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/187/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/2ec9211b-2849-198e-4aa7-17a3f7de3e8b/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/187/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/187/log-throttling' medium change watch on `/local/domain/187/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. 12943528453437: XenPCI <-- XenPci_HighSyncCallFunctionN 12943528453437: XenPCI <-- XenPci_HighSyncCallFunction0 12943528453437: XenPCI Waiting for highsync_complete_event 12943528453453: XenPCI <-- XenPci_HighSync 12943528453453: XenPCI --> XenPci_InitialBalloonDown 12943528453468: XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 12943528453593: XenPCI Hypercall area at 89DB5000 12943528453609: XenPCI XENMEM_maximum_reservation = 525312 12943528453625: XenPCI XENMEM_current_reservation = 131288 12943528453734: XenPCI Trying to give 1540 MB to Xen 12943528464671: XenPCI <-- XenPci_InitialBalloonDown 12943528464687: XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 12943528464703: XenPCI GPLPV 0.10.0.0 12943528464734: XenPCI --> XenPci_FixLoadOrder 12943528464750: XenPCI dummy_group_index = 1 12943528464859: XenPCI wdf_load_group_index = 2 12943528464859: XenPCI xenpci_group_index = 3 12943528464859: XenPCI boot_bus_extender_index = 4 12943528464875: XenPCI <-- XenPci_FixLoadOrder 12943528464953: XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 12943528464953: XenPCI Disabled qemu devices 03 12943528465015: XenPCI <-- DriverEntry 12943528477953: XenPCI Xen PCI device found - must be fdo 12943528477984: XenPCI --> XenPci_EvtDeviceAdd_XenPci 12943528477984: XenPCI <-- XenPci_EvtDeviceAdd_XenPci 12943528478468: XenPCI --> XenPci_EvtDevicePrepareHardware 12943528478484: XenPCI IoPort Address(c000) Length: 256 12943528478484: XenPCI Private Data: 0x01 0x00 0x00 12943528478484: XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) 12943528478625: XenPCI Memory flags = 0004 12943528478750: XenPCI Private Data: 0x01 0x01 0x00 12943528478750: XenPCI irq_number = 01c 12943528478750: XenPCI irq_vector = 1a3 12943528478750: XenPCI irq_level = 009 12943528478750: XenPCI irq_mode = LevelSensitive 12943528478750: XenPCI ShareDisposition = CmResourceShareShared 12943528478765: XenPCI <-- XenPci_EvtDevicePrepareHardware 12943528478765: XenPCI --> XenPci_EvtDeviceD0Entry 12943528478828: XenPCI WdfPowerDeviceD3Final 12943528478828: XenPCI --> XenPci_Init 12943528478828: XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 12943528478953: XenPCI Hypercall area at 89B62000 12943528478953: XenPCI shared_info_area_unmapped.QuadPart = f2000000 12943528478953: XenPCI gpfn = f2000 12943528478953: XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 12943528478968: XenPCI <-- XenPci_Init 12943528478968: XenPCI --> GntTbl_Init 12943528478968: XenPCI grant_frames = 32 12943528478984: XenPCI grant_entries = 16384 12943528478984: XenPCI pfn = 9a7c 12943528479109: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a7c 12943528479109: XenPCI decreased 1 pages for grant table frame 0 12943528479125: XenPCI pfn = 9a7d 12943528479125: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a7d 12943528479125: XenPCI decreased 1 pages for grant table frame 1 12943528479140: XenPCI pfn = 9a7e 12943528479140: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a7e 12943528479140: XenPCI decreased 1 pages for grant table frame 2 12943528479234: XenPCI pfn = 9a7f 12943528479234: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a7f 12943528479234: XenPCI decreased 1 pages for grant table frame 3 12943528479312: XenPCI pfn = 9a80 12943528479343: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a80 12943528479343: XenPCI decreased 1 pages for grant table frame 4 12943528479390: XenPCI pfn = 9a81 12943528479453: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a81 12943528479468: XenPCI decreased 1 pages for grant table frame 5 12943528479468: XenPCI pfn = 9a82 12943528479468: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a82 12943528479500: XenPCI decreased 1 pages for grant table frame 6 12943528479515: XenPCI pfn = 9a83 12943528479515: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a83 12943528479562: XenPCI decreased 1 pages for grant table frame 7 12943528479671: XenPCI pfn = 9a84 12943528479687: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a84 12943528479781: XenPCI decreased 1 pages for grant table frame 8 12943528479781: XenPCI pfn = 9a85 12943528480000: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a85 12943528480015: XenPCI decreased 1 pages for grant table frame 9 12943528480015: XenPCI pfn = 9a86 12943528480015: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a86 12943528480015: XenPCI decreased 1 pages for grant table frame 10 12943528480015: XenPCI pfn = 9a87 12943528480015: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a87 12943528480031: XenPCI decreased 1 pages for grant table frame 11 12943528480031: XenPCI pfn = 9a88 12943528480031: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a88 12943528480031: XenPCI decreased 1 pages for grant table frame 12 12943528480031: XenPCI pfn = 9a89 12943528480046: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a89 12943528480046: XenPCI decreased 1 pages for grant table frame 13 12943528480046: XenPCI pfn = 9a8a 12943528480046: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a8a 12943528480218: XenPCI decreased 1 pages for grant table frame 14 12943528480234: XenPCI pfn = 9a8b 12943528480234: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a8b 12943528480234: XenPCI decreased 1 pages for grant table frame 15 12943528480234: XenPCI pfn = 9a8c 12943528480250: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a8c 12943528480250: XenPCI decreased 1 pages for grant table frame 16 12943528480250: XenPCI pfn = 9a8d 12943528480265: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a8d 12943528480265: XenPCI decreased 1 pages for grant table frame 17 12943528480312: XenPCI pfn = 9a8e 12943528480359: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a8e 12943528480453: XenPCI decreased 1 pages for grant table frame 18 12943528480453: XenPCI pfn = 9a8f 12943528480453: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a8f 12943528480531: XenPCI decreased 1 pages for grant table frame 19 12943528480531: XenPCI pfn = 9a90 12943528480546: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a90 12943528480546: XenPCI decreased 1 pages for grant table frame 20 12943528480593: XenPCI pfn = 9a91 12943528480593: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a91 12943528480609: XenPCI decreased 1 pages for grant table frame 21 12943528480609: XenPCI pfn = 9a92 12943528480609: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a92 12943528480609: XenPCI decreased 1 pages for grant table frame 22 12943528480609: XenPCI pfn = 9a93 12943528480609: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a93 12943528480625: XenPCI decreased 1 pages for grant table frame 23 12943528480640: XenPCI pfn = 9a94 12943528480640: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a94 12943528480640: XenPCI decreased 1 pages for grant table frame 24 12943528480656: XenPCI pfn = 9a95 12943528480656: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a95 12943528480656: XenPCI decreased 1 pages for grant table frame 25 12943528480656: XenPCI pfn = 9a96 12943528480718: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a96 12943528480750: XenPCI decreased 1 pages for grant table frame 26 12943528481031: XenPCI pfn = 9a97 12943528481031: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a97 12943528481046: XenPCI decreased 1 pages for grant table frame 27 12943528481046: XenPCI pfn = 9a98 12943528481046: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a98 12943528481046: XenPCI decreased 1 pages for grant table frame 28 12943528481156: XenPCI pfn = 9a99 12943528481312: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a99 12943528481312: XenPCI decreased 1 pages for grant table frame 29 12943528481312: XenPCI pfn = 9a9a 12943528481312: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a9a 12943528481328: XenPCI decreased 1 pages for grant table frame 30 12943528481375: XenPCI pfn = 9a9b 12943528481390: XenPCI Calling HYPERVISOR_memory_op - pfn = 9a9b 12943528481390: XenPCI decreased 1 pages for grant table frame 31 12943528481453: XenPCI --> GntTbl_Map 12943528481531: XenPCI <-- GntTbl_Map 12943528481531: XenPCI <-- GntTbl_Init 12943528481546: XenPCI --> EvtChn_Init 12943528481546: XenPCI --> _hvm_set_parameter 12943528481546: XenPCI HYPERVISOR_hvm_op retval = 0 12943528481546: XenPCI <-- _hvm_set_parameter 12943528481562: XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 12943528481687: XenPCI --> EvtChn_AllocIpi 12943528481937: XenPCI <-- EvtChn_AllocIpi 12943528481937: XenPCI --> EvtChn_BindDpc 12943528481953: XenPCI <-- EvtChn_BindDpc 12943528481953: XenPCI pdo_event_channel = 5 12943528481953: XenPCI <-- EvtChn_Init 12943528481953: XenPCI <-- XenPci_EvtDeviceD0Entry 12943528482171: XenPCI --> EvtChn_EvtInterruptEnable 12943528482218: XenPCI <-- EvtChn_EvtInterruptEnable 12943528482234: XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled 12943528482250: XenPCI --> XenBus_Init 12943528482250: XenPCI --> _hvm_get_parameter 12943528482250: XenPCI HYPERVISOR_hvm_op retval = 0 12943528482250: XenPCI <-- _hvm_get_parameter 12943528482250: XenPCI --> _hvm_get_parameter 12943528482250: XenPCI HYPERVISOR_hvm_op retval = 0 12943528482250: XenPCI <-- _hvm_get_parameter 12943528482250: XenPCI --> EvtChn_BindDpc 12943528482687: XenPCI <-- EvtChn_BindDpc 12943528482703: XenPCI <-- XenBus_Init 12943528482718: XenPCI suspend event channel = 6 12943528482765: XenPCI --> EvtChn_BindDpc 12943528482765: XenPCI <-- EvtChn_BindDpc 12943528483375: XenPCI --> XenPci_SysrqHandler 12943528484218: XenPCI SysRq Value = (null) 12943528484234: XenPCI <-- XenPci_SysrqHandler 12943528484250: XenPCI --> XenPci_ShutdownHandler 12943528484375: XenPCI Initial Memory Value = 512 (524288) 12943528484546: Error reading shutdown path - ENOENT 12943528484609: XenPCI <-- XenPci_ShutdownHandler 12943528484796: XenPCI --> XenPci_DeviceWatchHandler 12943528484812: XenPCI <-- XenPci_DeviceWatchHandler 12943528484812: XenPCI --> XenPci_BalloonThreadProc 12943528484828: XenPCI low_mem_event = 89D7E030, state = 0 12943528484828: XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled 12943528484828: XenPCI --> XenPci_BalloonHandler 12943528484828: XenPCI --> XenPci_EvtChildListScanForChildren 12943528485140: XenPCI target memory value = 512 (524288) 12943528485265: XenPCI Found path = device/vbd/768 12943528486093: XenPCI <-- XenPci_BalloonHandler 12943528486093: XenPCI Got balloon event, current = 512, target = 512 12943528487625: XenPCI Found path = device/vif/0 12943528487640: XenPCI <-- XenPci_EvtChildListScanForChildren 12943528487640: XenPCI --> XenPci_EvtChildListCreateDevice 12943528487640: XenPCI No change to memory 12943528487640: XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' 12943528487984: XenPCI <-- XenPci_EvtChildListCreateDevice 12943528487984: XenPCI --> XenPci_EvtChildListCreateDevice 12943528488000: XenPCI device = 'vif', index = '0', path = 'device/vif/0' 12943528488406: XenPCI <-- XenPci_EvtChildListCreateDevice 12943528499484: XenVbd --> DriverEntry 12943528499562: XenVbd IRQL = 0 12943528499562: XenVbd DriverObject = 89897A50, RegistryPath = 80090BF8 12943528499562: XenVbd <-- DriverEntry 12943528499578: XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943528499750: XenPCI device/vbd/768 12943528500109: XenPCI CmResourceTypeMemory (0) 12943528500375: XenPCI Start = f2000000, Length = 0 12943528501187: XenPCI pfn[0] = 0001f3a5 12943528501375: XenPCI New Start = 000000001f3a5000, Length = 4096 12943528501515: XenPCI CmResourceTypeMemory (1) 12943528501515: XenPCI Start = f2000001, Length = 0 12943528501640: XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943528501640: XenPCI --> XenPciPdo_EvtDevicePrepareHardware 12943528501640: XenPCI <-- XenPciPdo_EvtDevicePrepareHardware 12943528501656: XenPCI --> XenPciPdo_EvtDeviceD0Entry 12943528501734: XenPCI path = device/vbd/768 12943528501765: XenPCI WdfPowerDeviceD3Final 12943528501765: XenPCI --> XenPci_GetBackendAndAddWatch 12943528502328: XenPCI <-- XenPci_GetBackendAndAddWatch 12943528502515: XenPCI --> XenConfig_InitConfigPage 12943528502515: XenPCI fdo_driver_object = 89897A50 12943528502546: XenPCI fdo_driver_extension = 89A71008 12943528502562: XenPCI <-- XenConfig_InitConfigPage 12943528502562: XenPCI --> XenPci_UpdateBackendState 12943528502578: XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers 12943528502578: XenPCI XEN_INIT_TYPE_RING - ring-ref = 89ABE000 12943528502578: XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 12943528502765: XenPCI Backend State Changed to InitWait 12943528502765: XenPCI <-- XenPci_UpdateBackendState 12943528502765: XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 12943528502765: XenPCI --> XenPci_DeviceWatchHandler 12943528503078: XenPCI <-- XenPci_DeviceWatchHandler 12943528503078: XenPCI --> XenPci_DeviceWatchHandler 12943528503078: XenPCI <-- XenPci_DeviceWatchHandler 12943528503453: XenPCI --> EvtChn_BindIrq 12943528503453: XenPCI <-- EvtChn_BindIrq 12943528503531: XenPCI --> XenPci_ChangeFrontendStateMap 12943528503531: XenPCI --> XenPci_ChangeFrontendState 12943528503921: XenPCI --> XenPci_DeviceWatchHandler 12943528503968: XenPCI <-- XenPci_DeviceWatchHandler 12943528503984: XenPCI --> XenPci_UpdateBackendState 12943528504046: XenPCI Backend State Changed to Connected 12943528504281: XenPCI <-- XenPci_UpdateBackendState 12943528504828: XenPCI <-- XenPci_ChangeFrontendState 12943528504828: XenPCI <-- XenPci_ChangeFrontendStateMap 12943528505421: XenPCI --> XenPci_ChangeFrontendStateMap 12943528505421: XenPCI <-- XenPci_ChangeFrontendStateMap 12943528505437: XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers 12943528505437: XenPCI <-- XenPciPdo_EvtDeviceD0Entry 12943528505437: XenVbd --> XenVbd_HwScsiFindAdapter 12943528505437: XenVbd IRQL = 0 12943528505437: XenVbd xvdd = 898B9004 12943528505437: XenVbd BusInterruptLevel = 28 12943528505453: XenVbd BusInterruptVector = 01c 12943528505453: XenVbd NumberOfAccessRanges = 1 12943528505453: XenVbd RangeStart = 1f3a5000, RangeLength = 00001000 12943528505468: XenVbd XEN_INIT_TYPE_VECTORS 12943528505484: XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89B093CC 12943528505484: XenVbd XEN_INIT_TYPE_RING - ring-ref = 89ABE000 12943528505484: XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 12943528505531: XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk 12943528505546: XenVbd device-type = Disk 12943528505812: XenVbd XEN_INIT_TYPE_READ_STRING - mode = w 12943528505812: XenVbd mode = w 12943528505828: XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 12943528505859: XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 12943528505859: XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 12943528505984: XenVbd qemu_hide_flags_value = 3 12943528506031: XenVbd aligned_buffer_data = 898BAF78 12943528506031: XenVbd aligned_buffer = 898BB000 12943528506031: XenVbd ConfigInfo->MaximumTransferLength = 45056 12943528506046: XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 12943528506046: XenVbd ConfigInfo->CachesData was initialised to 0 12943528506359: XenVbd Dma64BitAddresses not supported 12943528506375: XenVbd <-- XenVbd_HwScsiFindAdapter 12943528506375: XenVbd --> XenVbd_HwScsiInitialize 12943528506531: XenVbd IRQL = 9 12943528506531: XenVbd dump_mode = 0 12943528506812: XenVbd <-- XenVbd_HwScsiInitialize 12943528507359: XenVbd --> XenVbd_HwScsiAdapterControl 12943528507359: XenVbd IRQL = 0 12943528507359: XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 12943528507359: XenVbd xvdd = 898B9004 12943528507578: XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 12943528507578: XenVbd ScsiQuerySupportedControlTypes (Max = 5) 12943528507703: XenVbd <-- XenVbd_HwScsiAdapterControl 12943528507703: XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 12943528508031: XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 12943528508031: XenVbd switching to 'other' ring size 12943528514140: XenVbd SRB_FUNCTION_IO_CONTROL 12943528514140: XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 12943528514156: XenVbd EXECUTE_SCSI Command = 1A returned error 00 12943528514265: XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 12943528518437: XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 12943529412828: XenNet --> DriverEntry 12943529412828: XenNet DriverObject = 89942DA0, RegistryPath = 897B0000 12943529413015: XenNet NdisGetVersion = 50001 12943529413015: XenNet ndis_wrapper_handle = 00000000 12943529413015: XenNet ndis_wrapper_handle = 89AA9438 12943529413031: XenNet NdisMInitializeWrapper succeeded 12943529413031: XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 12943529413031: XenNet about to call NdisMRegisterMiniport 12943529413031: XenNet called NdisMRegisterMiniport 12943529413031: XenNet <-- DriverEntry 12943529415703: XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943529415703: XenPCI device/vif/0 12943529415703: XenPCI CmResourceTypeMemory (0) 12943529415703: XenPCI Start = f2000000, Length = 0 12943529415703: XenPCI pfn[0] = 0001f365 12943529415703: XenPCI New Start = 000000001f365000, Length = 4096 12943529415812: XenPCI CmResourceTypeMemory (1) 12943529415812: XenPCI Start = f2000001, Length = 0 12943529415812: XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943529415812: XenPCI --> XenPciPdo_EvtDevicePrepareHardware 12943529415828: XenPCI <-- XenPciPdo_EvtDevicePrepareHardware 12943529415828: XenPCI --> XenPciPdo_EvtDeviceD0Entry 12943529415828: XenPCI path = device/vif/0 12943529415859: XenPCI WdfPowerDeviceD3Final 12943529415890: XenPCI --> XenPci_GetBackendAndAddWatch 12943529415890: XenPCI <-- XenPci_GetBackendAndAddWatch 12943529415890: XenPCI --> XenPci_UpdateBackendState 12943529415890: XenPCI --> XenConfig_InitConfigPage 12943529415906: XenPCI fdo_driver_object = 89942DA0 12943529415906: XenPCI Backend State Changed to InitWait 12943529415906: XenPCI fdo_driver_extension = 00000000 12943529415906: XenPCI <-- XenPci_UpdateBackendState 12943529415906: XenPCI fdo_driver_object = 89D68490 12943529415921: XenPCI fdo_driver_extension = 00000000 12943529415953: XenPCI <-- XenConfig_InitConfigPage 12943529416078: XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers 12943529416078: XenPCI --> XenPci_ChangeFrontendStateMap 12943529416078: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529416265: XenPCI --> XenPci_ChangeFrontendStateMap 12943529416265: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529416265: XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers 12943529416265: XenPCI <-- XenPciPdo_EvtDeviceD0Entry 12943529416265: XenNet --> XenNet_Init 12943529416265: XenNet IRQL = 0 12943529416281: XenNet nrl_length = 40 12943529416281: XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive 12943529416296: XenNet XEN_INIT_TYPE_13 12943529416296: XenNet XEN_INIT_TYPE_VECTORS 12943529416296: XenNet XEN_INIT_TYPE_DEVICE_STATE - 89B08FB4 12943529416312: ScatterGather = 1 12943529416312: LargeSendOffload = 61440 12943529416312: ChecksumOffload = 1 12943529416312: ChecksumOffloadRxCheck = 1 12943529416312: MTU = 1500 12943529416437: RxInterruptModeration = 0 12943529416437: Could not read NetworkAddress value (c0000001) or value is invalid 12943529416453: XenNet --> XenNet_D0Entry 12943529416453: XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers 12943529416453: XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 8990B000 12943529416593: XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16168 12943529416640: XenPCI --> XenPci_DeviceWatchHandler 12943529417312: XenPCI <-- XenPci_DeviceWatchHandler 12943529417312: XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 89796000 12943529417890: XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16297 12943529418234: XenPCI --> XenPci_DeviceWatchHandler 12943529418296: XenPCI <-- XenPci_DeviceWatchHandler 12943529418296: XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 12943529418312: XenPCI --> XenPci_DeviceWatchHandler 12943529418312: XenPCI --> EvtChn_Bind 12943529418421: XenPCI <-- XenPci_DeviceWatchHandler 12943529418421: XenPCI <-- EvtChn_Bind 12943529418593: XenPCI --> XenPci_DeviceWatchHandler 12943529418593: XenPCI <-- XenPci_DeviceWatchHandler 12943529418609: XenPCI --> XenPci_DeviceWatchHandler 12943529418609: XenPCI <-- XenPci_DeviceWatchHandler 12943529418609: XenPCI --> XenPci_DeviceWatchHandler 12943529418609: XenPCI --> XenPci_ChangeFrontendStateMap 12943529418609: XenPCI <-- XenPci_DeviceWatchHandler 12943529418625: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529418625: XenPCI --> XenPci_DeviceWatchHandler 12943529418625: XenPCI <-- XenPci_DeviceWatchHandler 12943529418640: XenPCI --> XenPci_DeviceWatchHandler 12943529418640: XenPCI <-- XenPci_DeviceWatchHandler 12943529418671: XenPCI --> XenPci_ChangeFrontendStateMap 12943529418671: XenPCI --> XenPci_ChangeFrontendState 12943529418671: XenPCI --> XenPci_DeviceWatchHandler 12943529418718: XenPCI <-- XenPci_DeviceWatchHandler 12943529419218: XenPCI --> XenPci_UpdateBackendState 12943529419218: XenPCI Backend State Changed to Connected 12943529419296: XenPCI <-- XenPci_UpdateBackendState 12943529419296: XenPCI <-- XenPci_ChangeFrontendState 12943529419296: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529419296: XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers 12943529419296: XenNet --> XenNet_ConnectBackend 12943529419296: XenNet XEN_INIT_TYPE_13 12943529419296: XenNet XEN_INIT_TYPE_VECTORS 12943529419312: XenNet XEN_INIT_TYPE_DEVICE_STATE - 89B08FB4 12943529419312: XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 8990B000 12943529419312: XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 89796000 12943529419312: XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 12943529419312: XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:6b:5e:39 12943529419328: XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 12943529419328: XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 12943529419343: XenNet XEN_INIT_TYPE_17 12943529419500: XenNet <-- XenNet_ConnectBackend 12943529419500: XenNet --> XenNet_RxInit 12943529419500: XenNet <-- XenNet_RxInit 12943529419515: XenNet <-- XenNet_D0Entry 12943529419515: Get Unknown OID 0x10202 12943529419718: XenNet --> XenNet_PnPEventNotify 12943529419718: XenNet NdisDevicePnPEventPowerProfileChanged 12943529419859: XenNet <-- XenNet_PnPEventNotify 12943529420875: Get Unknown OID 0x10201 12943529420937: Get Unknown OID 0xfc010210 12943529421140: Get OID_TCP_TASK_OFFLOAD 12943529421156: XenNet (BUFFER_TOO_SHORT 100 > 28) 12943529421171: Get OID_TCP_TASK_OFFLOAD 12943529421250: config_csum enabled 12943529421250: nto = 8941230C 12943529421250: nto->Size = 24 12943529421250: nto->TaskBufferLength = 16 12943529421250: config_gso enabled 12943529421265: nto = 89412330 12943529421265: nto->Size = 24 12943529421265: nto->TaskBufferLength = 16 12943529421265: &(nttls->IpOptions) = 89412351 12943529421265: Set OID_TCP_TASK_OFFLOAD 12943529421265: TcpIpChecksumNdisTask 12943529421265: V4Transmit.IpOptionsSupported = 0 12943529421265: V4Transmit.TcpOptionsSupported = 1 12943529421265: V4Transmit.TcpChecksum = 1 12943529421265: V4Transmit.UdpChecksum = 0 12943529421343: V4Transmit.IpChecksum = 0 12943529421390: V4Receive.IpOptionsSupported = 0 12943529421390: V4Receive.TcpOptionsSupported = 0 12943529421390: V4Receive.TcpChecksum = 1 12943529421390: V4Receive.UdpChecksum = 0 12943529421390: V4Receive.IpChecksum = 0 12943529421390: V6Transmit.IpOptionsSupported = 0 12943529421406: V6Transmit.TcpOptionsSupported = 0 12943529421406: V6Transmit.TcpChecksum = 0 12943529421406: V6Transmit.UdpChecksum = 0 12943529421406: V6Receive.IpOptionsSupported = 0 12943529421406: V6Receive.TcpOptionsSupported = 0 12943529421406: V6Receive.TcpChecksum = 0 12943529421421: V6Receive.UdpChecksum = 0 12943529421421: TcpLargeSendNdisTask 12943529421421: MaxOffLoadSize = 61440 12943529421421: MinSegmentCount = 4 12943529421421: TcpOptions = 0 12943529421437: IpOptions = 0 12943529421484: Get OID_PNP_CAPABILITIES 12943529421484: Set Unknown OID 0x10119 12943529421484: Set OID_GEN_CURRENT_LOOKAHEAD 128 (89797000) 12943529421484: Set OID_GEN_CURRENT_PACKET_FILTER (xi = 89797000) 12943529421484: NDIS_PACKET_TYPE_DIRECTED 12943529421484: NDIS_PACKET_TYPE_MULTICAST 12943529421484: NDIS_PACKET_TYPE_BROADCAST 12943529425687: XenNet (BUFFER_TOO_SHORT 152 > 0) 12943529425687: Get Unknown OID 0x10117 12943529531421: XenPCI --> XenPci_EvtDeviceUsageNotification 12943529531421: XenPCI notification_type = Paging, flag = 1 12943529531437: XenPCI <-- XenPci_EvtDeviceUsageNotification 12943529531437: XenPCI --> XenPciPdo_EvtDeviceUsageNotification 12943529531437: XenPCI path = device/vbd/768 12943529531437: XenPCI notification_type = Paging, flag = 1 12943529531437: XenPCI <-- XenPciPdo_EvtDeviceUsageNotification 12943529553046: XenPCI --> XenPci_EvtDeviceUsageNotification 12943529553046: XenPCI notification_type = Dump, flag = 1 12943529553046: XenPCI <-- XenPci_EvtDeviceUsageNotification 12943529553046: XenPCI --> XenPciPdo_EvtDeviceUsageNotification 12943529553062: XenPCI path = device/vbd/768 12943529553062: XenPCI notification_type = Dump, flag = 1 12943529553062: XenPCI <-- XenPciPdo_EvtDeviceUsageNotification 12943529564328: XenPCI --> XenPci_EvtDeviceUsageNotification 12943529564328: XenPCI notification_type = Paging, flag = 1 12943529564343: XenPCI <-- XenPci_EvtDeviceUsageNotification 12943529564343: XenPCI --> XenPciPdo_EvtDeviceUsageNotification 12943529564343: XenPCI path = device/vbd/768 12943529564343: XenPCI notification_type = Paging, flag = 1 12943529564343: XenPCI <-- XenPciPdo_EvtDeviceUsageNotification 12943529591593: XenNet (BUFFER_TOO_SHORT 152 > 0) 12943529593156: Set OID_802_3_MULTICAST_LIST 12943529593156: Length = 6 12943529593156: Entries = 1 12943529604156: Set Unknown OID 0x10118 12943529604156: Set Unknown OID 0xfd010103 12943529604156: Set Unknown OID 0xfd010103 12943529604156: Set OID_802_3_MULTICAST_LIST 12943529604156: Length = 12 12943529604156: Entries = 2 12943529633218: Set Unknown OID 0xfd010103 12943529634437: XenPCI --> XenPci_EvtDeviceFileCreate 12943529634453: XenPCI --> XenBus_DeviceFileInit 12943529634453: XenPCI <-- XenBus_DeviceFileInit 12943529634453: XenPCI <-- XenPci_EvtDeviceFileCreate 12943529634453: XenPCI --> XenPci_EvtIoDefault 12943529634453: XenPCI --> XenBus_EvtIoWrite 12943529634453: XenPCI 35 bytes of write buffer remaining 12943529634453: XenPCI --> XenPci_IoWatch 12943529634468: XenPCI no pending read (8000001a) 12943529634468: XenPCI <-- XenPci_IoWatch 12943529634468: XenPCI completing request with length 35 12943529634468: XenPCI <-- XenBus_EvtIoWrite 12943529634468: XenPCI <-- XenPci_EvtIoDefault 12943529634468: XenPCI --> XenPci_EvtIoDefault 12943529634468: XenPCI --> XenBus_EvtIoRead 12943529634468: XenPCI found pending read 12943529634468: XenPCI <-- XenBus_ProcessReadRequest 12943529634468: XenPCI <-- XenBus_EvtIoRead 12943529634468: XenPCI <-- XenPci_EvtIoDefault 12943529634468: XenPCI --> XenPci_EvtIoDefault 12943529634468: XenPCI --> XenBus_EvtIoRead 12943529634484: XenPCI no data to read 12943529634484: XenPCI <-- XenBus_EvtIoRead 12943529634484: XenPCI <-- XenPci_EvtIoDefault 12943529855375: XenVbd --> XenVbd_HwScsiResetBus 12943529855375: XenVbd IRQL = 9 12943529855375: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CBC1C 12943529855375: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89938D9C 12943529855375: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB5EC 12943529855375: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDD9C 12943529855390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB2D4 12943529855390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D066C 12943529855390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0984 12943529855390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89945374 12943529855406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8992B454 12943529855406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8983EDCC 12943529855406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 899469C4 12943529855406: XenVbd <-- XenVbd_HwScsiResetBus 12943529855671: XenVbd completing SRB 899469C4 with status SRB_STATUS_BUS_RESET 12943529855687: XenVbd completing SRB 8983EDCC with status SRB_STATUS_BUS_RESET 12943529855687: XenVbd completing SRB 8992B454 with status SRB_STATUS_BUS_RESET 12943529855718: XenVbd completing SRB 897CB2D4 with status SRB_STATUS_BUS_RESET 12943529855734: XenVbd completing SRB 897CDD9C with status SRB_STATUS_BUS_RESET 12943529855734: XenVbd completing SRB 89945374 with status SRB_STATUS_BUS_RESET 12943529855734: XenVbd completing SRB 897CB5EC with status SRB_STATUS_BUS_RESET 12943529855734: XenVbd completing SRB 897D066C with status SRB_STATUS_BUS_RESET 12943529855734: XenVbd completing SRB 89938D9C with status SRB_STATUS_BUS_RESET 12943529855953: XenVbd completing SRB 897D0984 with status SRB_STATUS_BUS_RESET 12943529856109: XenVbd completing SRB 897CBC1C with status SRB_STATUS_BUS_RESET 12943530977390: XenVbd --> XenVbd_HwScsiResetBus 12943530977390: XenVbd IRQL = 9 12943530977390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897E6D1C 12943530977390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8992D0B4 12943530977390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 899469C4 12943530977390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89938D9C 12943530977406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB5EC 12943530977406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0984 12943530977406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0354 12943530977406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDD9C 12943530977406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D066C 12943530977421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89945374 12943530977421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8994441C 12943530977421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB904 12943530977421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0C9C 12943530977421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB2D4 12943530977421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8983EDCC 12943530977421: XenVbd <-- XenVbd_HwScsiResetBus 12943530989281: XenVbd completing SRB 897D0C9C with status SRB_STATUS_BUS_RESET 12943530989281: XenVbd completing SRB 897E6D1C with status SRB_STATUS_BUS_RESET 12943530989296: XenVbd completing SRB 8994441C with status SRB_STATUS_BUS_RESET 12943530999390: XenVbd --> XenVbd_HwScsiResetBus 12943530999390: XenVbd IRQL = 9 12943530999390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897E6D1C 12943530999390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8992D0B4 12943530999390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 899469C4 12943530999390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89938D9C 12943530999390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB5EC 12943530999406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0984 12943530999406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0354 12943530999406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDD9C 12943530999406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D066C 12943530999406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89945374 12943530999406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8994441C 12943530999421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB904 12943530999421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0C9C 12943530999421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB2D4 12943530999421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8983EDCC 12943530999421: XenVbd <-- XenVbd_HwScsiResetBus 12943531004328: XenVbd completing SRB 897D066C with status SRB_STATUS_BUS_RESET 12943531004343: XenVbd completing SRB 89945374 with status SRB_STATUS_BUS_RESET 12943531004343: XenVbd completing SRB 89938D9C with status SRB_STATUS_BUS_RESET 12943531004343: XenVbd completing SRB 8983EDCC with status SRB_STATUS_BUS_RESET 12943531004343: XenVbd completing SRB 899469C4 with status SRB_STATUS_BUS_RESET 12943531004343: XenVbd completing SRB 897CDD9C with status SRB_STATUS_BUS_RESET 12943531004375: XenVbd completing SRB 897D0354 with status SRB_STATUS_BUS_RESET 12943531004390: XenVbd completing SRB 897D0C9C with status SRB_STATUS_BUS_RESET 12943531004390: XenVbd completing SRB 897CB904 with status SRB_STATUS_BUS_RESET 12943531004406: XenVbd completing SRB 8994441C with status SRB_STATUS_BUS_RESET 12943531004406: XenVbd completing SRB 897CB2D4 with status SRB_STATUS_BUS_RESET 12943531004406: XenVbd completing SRB 897D0984 with status SRB_STATUS_BUS_RESET 12943531004687: XenVbd completing SRB 8992D0B4 with status SRB_STATUS_BUS_RESET 12943531004703: XenVbd completing SRB 897CB5EC with status SRB_STATUS_BUS_RESET 12943531004750: XenVbd completing SRB 897E6D1C with status SRB_STATUS_BUS_RESET 12943531085390: XenVbd --> XenVbd_HwScsiResetBus 12943531085390: XenVbd IRQL = 9 12943531085390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0C9C 12943531085390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 899469C4 12943531085390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89938D9C 12943531085390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB5EC 12943531085390: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB2D4 12943531085406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89945374 12943531085406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897E6D1C 12943531085406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CB904 12943531085406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8992D0B4 12943531085406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D066C 12943531085406: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CBC1C 12943531085421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8983EDCC 12943531085421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897D0354 12943531085421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897CDD9C 12943531085421: XenVbd <-- XenVbd_HwScsiResetBus 12943531148593: XenVbd --> DriverEntry 12943531148593: XenVbd IRQL = 31 12943531148593: XenVbd DriverObject = 00000000, RegistryPath = 00000000 12943531148593: XenVbd --> XenVbd_HwScsiFindAdapter 12943531148593: XenVbd IRQL = 31 12943531148593: XenVbd xvdd = 89368300 12943531148593: XenVbd BusInterruptLevel = 28 12943531148593: XenVbd BusInterruptVector = 01c 12943531148593: XenVbd NumberOfAccessRanges = 1 12943531148593: XenVbd RangeStart = 1f3a5000, RangeLength = 00001000 12943531148593: XenVbd XEN_INIT_TYPE_VECTORS 12943531148593: XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89B093CC 12943531148593: XenVbd XEN_INIT_TYPE_RING - ring-ref = 89ABE000 12943531148593: XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 12943531148593: XenVbd cached_use_other = 1 12943531148593: XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk 12943531148593: XenVbd device-type = Disk 12943531148593: XenVbd XEN_INIT_TYPE_READ_STRING - mode = w 12943531148593: XenVbd mode = w 12943531148593: XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 12943531148593: XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 12943531148593: XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 12943531148593: XenVbd qemu_hide_flags_value = 3 12943531148593: XenVbd aligned_buffer_data = 8936A274 12943531148593: XenVbd aligned_buffer = 8936B000 12943531148593: XenVbd ConfigInfo->MaximumTransferLength = 4096 12943531148593: XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 12943531148593: XenVbd ConfigInfo->CachesData was initialised to 0 12943531148593: XenVbd Dma64BitAddresses not supported 12943531148593: XenVbd <-- XenVbd_HwScsiFindAdapter 12943531148593: XenVbd --> XenVbd_HwScsiInitialize 12943531148593: XenVbd IRQL = 31 12943531148593: XenVbd dump_mode = 1 12943531148593: XenVbd <-- XenVbd_HwScsiInitialize 12943531148593: XenVbd Command = INQUIRY 12943531148593: XenVbd --> XenVbd_HwScsiResetBus 12943531148593: XenVbd IRQL = 31 12943531148593: XenVbd <-- XenVbd_HwScsiResetBus 12943531148593: XenVbd Command = SCSIOP_START_STOP_UNIT 12943531148593: XenVbd Command = READ_CAPACITY 12943531148593: XenVbd <-- DriverEntry 12943531148593: XenVbd max_dump_mode_blocks = 8 12943531148593: XenVbd max_dump_mode_length = 4096 12943531148593: *** Assertion failed: srb != NULL *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line 988 12943531148593: XenNet --> XenNet_Shutdown 12943531148593: XenNet <-- XenNet_Shutdown XenPCI Bug check 0x000000D1 (0xF7B7A6E1, 0x0000001F, 0x00000008, 0xF7B7A6E1) [-- Attachment #3: qemu-dm-w3.MR_cp9.vhd.log --] [-- Type: text/plain, Size: 33704 bytes --] domid: 170 Watching /local/domain/0/device-model/170/logdirty/cmd Watching /local/domain/0/device-model/170/command char device redirected to /dev/pts/14 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = feb046c2-1326-2bf5-0e4c-04c0a0bdaca3 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/170/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/feb046c2-1326-2bf5-0e4c-04c0a0bdaca3/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/170/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/170/log-throttling' medium change watch on `/local/domain/170/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. 12943528503734: XenPCI <-- XenPci_HighSyncCallFunctionN 12943528503734: XenPCI <-- XenPci_HighSyncCallFunction0 12943528503921: XenPCI Waiting for highsync_complete_event 12943528503968: XenPCI <-- XenPci_HighSync 12943528504046: XenPCI --> XenPci_InitialBalloonDown 12943528504078: XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 12943528504593: XenPCI Hypercall area at 89DB5000 12943528504593: XenPCI XENMEM_maximum_reservation = 525312 12943528504593: XenPCI XENMEM_current_reservation = 131288 12943528504593: XenPCI Trying to give 1540 MB to Xen 12943528541171: XenPCI <-- XenPci_InitialBalloonDown 12943528541171: XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 12943528541500: XenPCI GPLPV 0.10.0.0 12943528541531: XenPCI --> XenPci_FixLoadOrder 12943528541531: XenPCI dummy_group_index = 1 12943528541531: XenPCI wdf_load_group_index = 2 12943528541625: XenPCI xenpci_group_index = 3 12943528541625: XenPCI boot_bus_extender_index = 4 12943528542031: XenPCI <-- XenPci_FixLoadOrder 12943528542031: XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 12943528542187: XenPCI Disabled qemu devices 03 12943528542531: XenPCI <-- DriverEntry 12943528607328: XenPCI Xen PCI device found - must be fdo 12943528609062: XenPCI --> XenPci_EvtDeviceAdd_XenPci 12943528609281: XenPCI <-- XenPci_EvtDeviceAdd_XenPci 12943528609281: XenPCI --> XenPci_EvtDevicePrepareHardware 12943528609406: XenPCI IoPort Address(c000) Length: 256 12943528609750: XenPCI Private Data: 0x01 0x00 0x00 12943528609765: XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) 12943528609890: XenPCI Memory flags = 0004 12943528609906: XenPCI Private Data: 0x01 0x01 0x00 12943528609906: XenPCI irq_number = 01c 12943528609906: XenPCI irq_vector = 1a3 12943528609906: XenPCI irq_level = 009 12943528609906: XenPCI irq_mode = LevelSensitive 12943528609921: XenPCI ShareDisposition = CmResourceShareShared 12943528609921: XenPCI <-- XenPci_EvtDevicePrepareHardware 12943528609921: XenPCI --> XenPci_EvtDeviceD0Entry 12943528609921: XenPCI WdfPowerDeviceD3Final 12943528609921: XenPCI --> XenPci_Init 12943528610859: XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 12943528611437: XenPCI Hypercall area at 89B62000 12943528611437: XenPCI shared_info_area_unmapped.QuadPart = f2000000 12943528611437: XenPCI gpfn = f2000 12943528611437: XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 12943528612984: XenPCI <-- XenPci_Init 12943528613046: XenPCI --> GntTbl_Init 12943528613046: XenPCI grant_frames = 32 12943528613046: XenPCI grant_entries = 16384 12943528613046: XenPCI pfn = 9acc 12943528613062: XenPCI Calling HYPERVISOR_memory_op - pfn = 9acc 12943528614984: XenPCI decreased 1 pages for grant table frame 0 12943528615015: XenPCI pfn = 9acd 12943528616140: XenPCI Calling HYPERVISOR_memory_op - pfn = 9acd 12943528616406: XenPCI decreased 1 pages for grant table frame 1 12943528616421: XenPCI pfn = 9ace 12943528616937: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ace 12943528617062: XenPCI decreased 1 pages for grant table frame 2 12943528617062: XenPCI pfn = 9acf 12943528617062: XenPCI Calling HYPERVISOR_memory_op - pfn = 9acf 12943528619140: XenPCI decreased 1 pages for grant table frame 3 12943528619156: XenPCI pfn = 9ad0 12943528619156: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad0 12943528619156: XenPCI decreased 1 pages for grant table frame 4 12943528619359: XenPCI pfn = 9ad1 12943528619359: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad1 12943528619390: XenPCI decreased 1 pages for grant table frame 5 12943528619390: XenPCI pfn = 9ad2 12943528622421: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad2 12943528622765: XenPCI decreased 1 pages for grant table frame 6 12943528624968: XenPCI pfn = 9ad3 12943528624968: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad3 12943528624968: XenPCI decreased 1 pages for grant table frame 7 12943528630156: XenPCI pfn = 9ad4 12943528630171: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad4 12943528630265: XenPCI decreased 1 pages for grant table frame 8 12943528630265: XenPCI pfn = 9ad5 12943528630265: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad5 12943528630265: XenPCI decreased 1 pages for grant table frame 9 12943528630296: XenPCI pfn = 9ad6 12943528630875: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad6 12943528630890: XenPCI decreased 1 pages for grant table frame 10 12943528630890: XenPCI pfn = 9ad7 12943528630906: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad7 12943528630921: XenPCI decreased 1 pages for grant table frame 11 12943528630921: XenPCI pfn = 9ad8 12943528630921: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad8 12943528632046: XenPCI decreased 1 pages for grant table frame 12 12943528632046: XenPCI pfn = 9ad9 12943528632046: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ad9 12943528637953: XenPCI decreased 1 pages for grant table frame 13 12943528644890: XenPCI pfn = 9ada 12943528644968: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ada 12943528644968: XenPCI decreased 1 pages for grant table frame 14 12943528644984: XenPCI pfn = 9adb 12943528644984: XenPCI Calling HYPERVISOR_memory_op - pfn = 9adb 12943528645031: XenPCI decreased 1 pages for grant table frame 15 12943528645140: XenPCI pfn = 9adc 12943528645140: XenPCI Calling HYPERVISOR_memory_op - pfn = 9adc 12943528645156: XenPCI decreased 1 pages for grant table frame 16 12943528645234: XenPCI pfn = 9add 12943528645234: XenPCI Calling HYPERVISOR_memory_op - pfn = 9add 12943528645234: XenPCI decreased 1 pages for grant table frame 17 12943528645234: XenPCI pfn = 9ade 12943528645250: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ade 12943528645437: XenPCI decreased 1 pages for grant table frame 18 12943528645859: XenPCI pfn = 9adf 12943528646000: XenPCI Calling HYPERVISOR_memory_op - pfn = 9adf 12943528646000: XenPCI decreased 1 pages for grant table frame 19 12943528646015: XenPCI pfn = 9ae0 12943528646015: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae0 12943528646015: XenPCI decreased 1 pages for grant table frame 20 12943528646015: XenPCI pfn = 9ae1 12943528646015: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae1 12943528646031: XenPCI decreased 1 pages for grant table frame 21 12943528646031: XenPCI pfn = 9ae2 12943528646031: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae2 12943528646031: XenPCI decreased 1 pages for grant table frame 22 12943528646265: XenPCI pfn = 9ae3 12943528646281: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae3 12943528646281: XenPCI decreased 1 pages for grant table frame 23 12943528646296: XenPCI pfn = 9ae4 12943528646296: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae4 12943528649203: XenPCI decreased 1 pages for grant table frame 24 12943528649203: XenPCI pfn = 9ae5 12943528649203: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae5 12943528649218: XenPCI decreased 1 pages for grant table frame 25 12943528649218: XenPCI pfn = 9ae6 12943528649218: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae6 12943528649234: XenPCI decreased 1 pages for grant table frame 26 12943528649593: XenPCI pfn = 9ae7 12943528649609: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae7 12943528649625: XenPCI decreased 1 pages for grant table frame 27 12943528649625: XenPCI pfn = 9ae8 12943528649671: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae8 12943528649921: XenPCI decreased 1 pages for grant table frame 28 12943528649921: XenPCI pfn = 9ae9 12943528650515: XenPCI Calling HYPERVISOR_memory_op - pfn = 9ae9 12943528650734: XenPCI decreased 1 pages for grant table frame 29 12943528650750: XenPCI pfn = 9aea 12943528650750: XenPCI Calling HYPERVISOR_memory_op - pfn = 9aea 12943528650750: XenPCI decreased 1 pages for grant table frame 30 12943528650750: XenPCI pfn = 9aeb 12943528650750: XenPCI Calling HYPERVISOR_memory_op - pfn = 9aeb 12943528651453: XenPCI decreased 1 pages for grant table frame 31 12943528651640: XenPCI --> GntTbl_Map 12943528654015: XenPCI <-- GntTbl_Map 12943528654593: XenPCI <-- GntTbl_Init 12943528654593: XenPCI --> EvtChn_Init 12943528654593: XenPCI --> _hvm_set_parameter 12943528654625: XenPCI HYPERVISOR_hvm_op retval = 0 12943528654640: XenPCI <-- _hvm_set_parameter 12943528655375: XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 12943528655390: XenPCI --> EvtChn_AllocIpi 12943528655390: XenPCI <-- EvtChn_AllocIpi 12943528655406: XenPCI --> EvtChn_BindDpc 12943528655531: XenPCI <-- EvtChn_BindDpc 12943528655531: XenPCI pdo_event_channel = 5 12943528655531: XenPCI <-- EvtChn_Init 12943528655531: XenPCI <-- XenPci_EvtDeviceD0Entry 12943528655671: XenPCI --> EvtChn_EvtInterruptEnable 12943528655671: XenPCI <-- EvtChn_EvtInterruptEnable 12943528656546: XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled 12943528657453: XenPCI --> XenBus_Init 12943528657453: XenPCI --> _hvm_get_parameter 12943528657453: XenPCI HYPERVISOR_hvm_op retval = 0 12943528657484: XenPCI <-- _hvm_get_parameter 12943528657500: XenPCI --> _hvm_get_parameter 12943528657500: XenPCI HYPERVISOR_hvm_op retval = 0 12943528657500: XenPCI <-- _hvm_get_parameter 12943528657515: XenPCI --> EvtChn_BindDpc 12943528657515: XenPCI <-- EvtChn_BindDpc 12943528657515: XenPCI <-- XenBus_Init 12943528657515: XenPCI suspend event channel = 6 12943528657531: XenPCI --> EvtChn_BindDpc 12943528657687: XenPCI <-- EvtChn_BindDpc 12943528658187: XenPCI --> XenPci_SysrqHandler 12943528658203: XenPCI SysRq Value = (null) 12943528658203: XenPCI <-- XenPci_SysrqHandler 12943528659828: XenPCI --> XenPci_ShutdownHandler 12943528662156: XenPCI Initial Memory Value = 512 (524288) 12943528662250: XenPCI --> XenPci_BalloonThreadProc 12943528662406: Error reading shutdown path - ENOENT 12943528662406: XenPCI <-- XenPci_ShutdownHandler 12943528662640: XenPCI --> XenPci_DeviceWatchHandler 12943528662640: XenPCI <-- XenPci_DeviceWatchHandler 12943528662640: XenPCI low_mem_event = 89D79C00, state = 0 12943528662843: XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled 12943528663203: XenPCI --> XenPci_EvtChildListScanForChildren 12943528663843: XenPCI --> XenPci_BalloonHandler 12943528664906: XenPCI Found path = device/vbd/768 12943528665140: XenPCI target memory value = 512 (524288) 12943528668859: XenPCI Found path = device/vif/0 12943528668859: XenPCI <-- XenPci_BalloonHandler 12943528668859: XenPCI <-- XenPci_EvtChildListScanForChildren 12943528668859: XenPCI Got balloon event, current = 512, target = 512 12943528668859: XenPCI --> XenPci_EvtChildListCreateDevice 12943528668859: XenPCI No change to memory 12943528670578: XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' 12943528670671: XenPCI <-- XenPci_EvtChildListCreateDevice 12943528670687: XenPCI --> XenPci_EvtChildListCreateDevice 12943528670703: XenPCI device = 'vif', index = '0', path = 'device/vif/0' 12943528670796: XenPCI <-- XenPci_EvtChildListCreateDevice 12943528734265: XenVbd --> DriverEntry 12943528734375: XenVbd IRQL = 0 12943528734375: XenVbd DriverObject = 89A146A0, RegistryPath = 80090BF8 12943528734375: XenVbd <-- DriverEntry 12943528734390: XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943528734578: XenPCI device/vbd/768 12943528734578: XenPCI CmResourceTypeMemory (0) 12943528734625: XenPCI Start = f2000000, Length = 0 12943528734625: XenPCI pfn[0] = 0001f38d 12943528734843: XenPCI New Start = 000000001f38d000, Length = 4096 12943528734859: XenPCI CmResourceTypeMemory (1) 12943528734859: XenPCI Start = f2000001, Length = 0 12943528734859: XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943528734875: XenPCI --> XenPciPdo_EvtDevicePrepareHardware 12943528735015: XenPCI <-- XenPciPdo_EvtDevicePrepareHardware 12943528735031: XenPCI --> XenPciPdo_EvtDeviceD0Entry 12943528735718: XenPCI path = device/vbd/768 12943528735718: XenPCI WdfPowerDeviceD3Final 12943528735765: XenPCI --> XenPci_GetBackendAndAddWatch 12943528736109: XenPCI <-- XenPci_GetBackendAndAddWatch 12943528736125: XenPCI --> XenConfig_InitConfigPage 12943528736125: XenPCI fdo_driver_object = 89A146A0 12943528736125: XenPCI fdo_driver_extension = 89B02008 12943528736125: XenPCI <-- XenConfig_InitConfigPage 12943528736156: XenPCI --> XenPci_UpdateBackendState 12943528739281: XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers 12943528742468: XenPCI XEN_INIT_TYPE_RING - ring-ref = 898CC000 12943528742468: XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 12943528742468: XenPCI Backend State Changed to InitWait 12943528742484: XenPCI <-- XenPci_UpdateBackendState 12943528742656: XenPCI --> XenPci_DeviceWatchHandler 12943528744953: XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 12943528747390: XenPCI <-- XenPci_DeviceWatchHandler 12943528751703: XenPCI --> XenPci_DeviceWatchHandler 12943528751703: XenPCI <-- XenPci_DeviceWatchHandler 12943528753812: XenPCI --> EvtChn_BindIrq 12943528754187: XenPCI <-- EvtChn_BindIrq 12943528754703: XenPCI --> XenPci_ChangeFrontendStateMap 12943528754703: XenPCI --> XenPci_ChangeFrontendState 12943528766750: XenPCI --> XenPci_DeviceWatchHandler 12943528766781: XenPCI <-- XenPci_DeviceWatchHandler 12943528766984: XenPCI --> XenPci_UpdateBackendState 12943528767093: XenPCI Backend State Changed to Connected 12943528767187: XenPCI <-- XenPci_UpdateBackendState 12943528767187: XenPCI <-- XenPci_ChangeFrontendState 12943528767656: XenPCI <-- XenPci_ChangeFrontendStateMap 12943528769687: XenPCI --> XenPci_ChangeFrontendStateMap 12943528773687: XenPCI <-- XenPci_ChangeFrontendStateMap 12943528773750: XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers 12943528773765: XenPCI <-- XenPciPdo_EvtDeviceD0Entry 12943528773765: XenVbd --> XenVbd_HwScsiFindAdapter 12943528773765: XenVbd IRQL = 0 12943528773765: XenVbd xvdd = 897A7004 12943528773796: XenVbd BusInterruptLevel = 28 12943528773796: XenVbd BusInterruptVector = 01c 12943528773812: XenVbd NumberOfAccessRanges = 1 12943528773812: XenVbd RangeStart = 1f38d000, RangeLength = 00001000 12943528774343: XenVbd XEN_INIT_TYPE_VECTORS 12943528775781: XenVbd XEN_INIT_TYPE_DEVICE_STATE - 8985DD0C 12943528775796: XenVbd XEN_INIT_TYPE_RING - ring-ref = 898CC000 12943528775796: XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 12943528775812: XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk 12943528775812: XenVbd device-type = Disk 12943528775812: XenVbd XEN_INIT_TYPE_READ_STRING - mode = w 12943528776281: XenVbd mode = w 12943528776343: XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 12943528776359: XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 12943528780250: XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 12943528781000: XenVbd qemu_hide_flags_value = 3 12943528781500: XenVbd aligned_buffer_data = 897A8F78 12943528782500: XenVbd aligned_buffer = 897A9000 12943528787046: XenVbd ConfigInfo->MaximumTransferLength = 45056 12943528787140: XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 12943528787953: XenVbd ConfigInfo->CachesData was initialised to 0 12943528790437: XenVbd Dma64BitAddresses not supported 12943528790640: XenVbd <-- XenVbd_HwScsiFindAdapter 12943528794515: XenVbd --> XenVbd_HwScsiInitialize 12943528794531: XenVbd IRQL = 9 12943528794546: XenVbd dump_mode = 0 12943528794546: XenVbd <-- XenVbd_HwScsiInitialize 12943528794546: XenVbd --> XenVbd_HwScsiAdapterControl 12943528795703: XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 12943528795703: XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 12943528795718: XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 12943528795843: XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 12943528795843: XenVbd switching to 'other' ring size 12943528795953: XenVbd IRQL = 0 12943528795968: XenVbd xvdd = 897A7004 12943528795984: XenVbd ScsiQuerySupportedControlTypes (Max = 5) 12943528795984: XenVbd <-- XenVbd_HwScsiAdapterControl 12943528828312: XenVbd SRB_FUNCTION_IO_CONTROL 12943528830953: XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 12943528831046: XenVbd EXECUTE_SCSI Command = 1A returned error 00 12943528831109: XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 12943528843531: XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 12943529507062: XenNet --> DriverEntry 12943529507078: XenNet DriverObject = 8998C538, RegistryPath = 8998D000 12943529507078: XenNet NdisGetVersion = 50001 12943529507078: XenNet ndis_wrapper_handle = 00000000 12943529507109: XenNet ndis_wrapper_handle = 89730DE8 12943529507109: XenNet NdisMInitializeWrapper succeeded 12943529507125: XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 12943529507125: XenNet about to call NdisMRegisterMiniport 12943529507125: XenNet called NdisMRegisterMiniport 12943529507125: XenNet <-- DriverEntry 12943529507515: XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943529507515: XenPCI device/vif/0 12943529507515: XenPCI CmResourceTypeMemory (0) 12943529507515: XenPCI Start = f2000000, Length = 0 12943529507515: XenPCI pfn[0] = 0001f34d 12943529507515: XenPCI New Start = 000000001f34d000, Length = 4096 12943529507531: XenPCI CmResourceTypeMemory (1) 12943529507531: XenPCI Start = f2000001, Length = 0 12943529507531: XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE 12943529507531: XenPCI --> XenPciPdo_EvtDevicePrepareHardware 12943529507531: XenPCI <-- XenPciPdo_EvtDevicePrepareHardware 12943529507531: XenPCI --> XenPciPdo_EvtDeviceD0Entry 12943529507531: XenPCI path = device/vif/0 12943529507531: XenPCI WdfPowerDeviceD3Final 12943529507531: XenPCI --> XenPci_GetBackendAndAddWatch 12943529507546: XenPCI <-- XenPci_GetBackendAndAddWatch 12943529507546: XenPCI --> XenPci_UpdateBackendState 12943529507546: XenPCI --> XenConfig_InitConfigPage 12943529507546: XenPCI fdo_driver_object = 8998C538 12943529507546: XenPCI Backend State Changed to InitWait 12943529507546: XenPCI fdo_driver_extension = 00000000 12943529507546: XenPCI <-- XenPci_UpdateBackendState 12943529507546: XenPCI fdo_driver_object = 89D68418 12943529507562: XenPCI fdo_driver_extension = 00000000 12943529507562: XenPCI <-- XenConfig_InitConfigPage 12943529507562: XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers 12943529507562: XenPCI --> XenPci_ChangeFrontendStateMap 12943529507562: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529507562: XenPCI --> XenPci_ChangeFrontendStateMap 12943529507562: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529507562: XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers 12943529507562: XenPCI <-- XenPciPdo_EvtDeviceD0Entry 12943529507578: XenNet --> XenNet_Init 12943529507578: XenNet IRQL = 0 12943529507578: XenNet nrl_length = 40 12943529507578: XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive 12943529507578: XenNet XEN_INIT_TYPE_13 12943529507578: XenNet XEN_INIT_TYPE_VECTORS 12943529507578: XenNet XEN_INIT_TYPE_DEVICE_STATE - 8985CBFC 12943529507578: ScatterGather = 1 12943529507578: LargeSendOffload = 61440 12943529507578: ChecksumOffload = 1 12943529507593: ChecksumOffloadRxCheck = 1 12943529507593: MTU = 1500 12943529507593: RxInterruptModeration = 0 12943529507593: Could not read NetworkAddress value (c0000001) or value is invalid 12943529507593: XenNet --> XenNet_D0Entry 12943529507593: XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers 12943529507593: XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 897E5000 12943529507593: XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16226 12943529507625: XenPCI --> XenPci_DeviceWatchHandler 12943529507625: XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 89866000 12943529507625: XenPCI <-- XenPci_DeviceWatchHandler 12943529507625: XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16116 12943529507640: XenPCI --> XenPci_DeviceWatchHandler 12943529507640: XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 12943529507640: XenPCI <-- XenPci_DeviceWatchHandler 12943529507640: XenPCI --> EvtChn_Bind 12943529507640: XenPCI --> XenPci_DeviceWatchHandler 12943529507640: XenPCI <-- EvtChn_Bind 12943529507640: XenPCI <-- XenPci_DeviceWatchHandler 12943529507703: XenPCI --> XenPci_DeviceWatchHandler 12943529507718: XenPCI <-- XenPci_DeviceWatchHandler 12943529507765: XenPCI --> XenPci_DeviceWatchHandler 12943529507781: XenPCI <-- XenPci_DeviceWatchHandler 12943529507781: XenPCI --> XenPci_DeviceWatchHandler 12943529507781: XenPCI --> XenPci_ChangeFrontendStateMap 12943529507781: XenPCI <-- XenPci_DeviceWatchHandler 12943529507796: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529507796: XenPCI --> XenPci_DeviceWatchHandler 12943529507812: XenPCI <-- XenPci_DeviceWatchHandler 12943529507812: XenPCI --> XenPci_DeviceWatchHandler 12943529507812: XenPCI <-- XenPci_DeviceWatchHandler 12943529507812: XenPCI --> XenPci_ChangeFrontendStateMap 12943529507812: XenPCI --> XenPci_ChangeFrontendState 12943529507812: XenPCI --> XenPci_DeviceWatchHandler 12943529507828: XenPCI <-- XenPci_DeviceWatchHandler 12943529507843: XenPCI --> XenPci_UpdateBackendState 12943529507859: XenPCI Backend State Changed to Connected 12943529507859: XenPCI <-- XenPci_UpdateBackendState 12943529507859: XenPCI <-- XenPci_ChangeFrontendState 12943529507875: XenPCI <-- XenPci_ChangeFrontendStateMap 12943529507875: XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers 12943529507921: XenNet --> XenNet_ConnectBackend 12943529507921: XenNet XEN_INIT_TYPE_13 12943529507921: XenNet XEN_INIT_TYPE_VECTORS 12943529507921: XenNet XEN_INIT_TYPE_DEVICE_STATE - 8985CBFC 12943529507921: XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 897E5000 12943529507921: XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 89866000 12943529508000: XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 12943529508000: XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:ab:e8:65 12943529508000: XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 12943529508000: XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 12943529508000: XenNet XEN_INIT_TYPE_17 12943529508000: XenNet <-- XenNet_ConnectBackend 12943529508000: XenNet --> XenNet_RxInit 12943529508000: XenNet <-- XenNet_RxInit 12943529508015: XenNet <-- XenNet_D0Entry 12943529508015: Get Unknown OID 0x10202 12943529508015: XenNet --> XenNet_PnPEventNotify 12943529508015: XenNet NdisDevicePnPEventPowerProfileChanged 12943529508031: XenNet <-- XenNet_PnPEventNotify 12943529508453: Get Unknown OID 0x10201 12943529508453: Get Unknown OID 0xfc010210 12943529508453: Get OID_TCP_TASK_OFFLOAD 12943529508453: XenNet (BUFFER_TOO_SHORT 100 > 28) 12943529508468: Get OID_TCP_TASK_OFFLOAD 12943529508500: config_csum enabled 12943529508500: nto = 8940D1BC 12943529508500: nto->Size = 24 12943529508500: nto->TaskBufferLength = 16 12943529508515: config_gso enabled 12943529508515: nto = 8940D1E0 12943529508515: nto->Size = 24 12943529508515: nto->TaskBufferLength = 16 12943529508515: &(nttls->IpOptions) = 8940D201 12943529508515: Set OID_TCP_TASK_OFFLOAD 12943529508515: TcpIpChecksumNdisTask 12943529508515: V4Transmit.IpOptionsSupported = 0 12943529508531: V4Transmit.TcpOptionsSupported = 1 12943529508531: V4Transmit.TcpChecksum = 1 12943529508531: V4Transmit.UdpChecksum = 0 12943529508531: V4Transmit.IpChecksum = 0 12943529508531: V4Receive.IpOptionsSupported = 0 12943529508531: V4Receive.TcpOptionsSupported = 0 12943529508531: V4Receive.TcpChecksum = 1 12943529508531: V4Receive.UdpChecksum = 0 12943529508531: V4Receive.IpChecksum = 0 12943529508531: V6Transmit.IpOptionsSupported = 0 12943529508531: V6Transmit.TcpOptionsSupported = 0 12943529508546: V6Transmit.TcpChecksum = 0 12943529508546: V6Transmit.UdpChecksum = 0 12943529508546: V6Receive.IpOptionsSupported = 0 12943529508546: V6Receive.TcpOptionsSupported = 0 12943529508546: V6Receive.TcpChecksum = 0 12943529508562: V6Receive.UdpChecksum = 0 12943529508562: TcpLargeSendNdisTask 12943529508562: MaxOffLoadSize = 61440 12943529508562: MinSegmentCount = 4 12943529508562: TcpOptions = 0 12943529508562: IpOptions = 0 12943529508578: Get OID_PNP_CAPABILITIES 12943529508578: Set Unknown OID 0x10119 12943529508578: Set OID_GEN_CURRENT_LOOKAHEAD 128 (89A33000) 12943529508593: Set OID_GEN_CURRENT_PACKET_FILTER (xi = 89A33000) 12943529508593: NDIS_PACKET_TYPE_DIRECTED 12943529508609: NDIS_PACKET_TYPE_MULTICAST 12943529508609: NDIS_PACKET_TYPE_BROADCAST 12943529514109: XenNet (BUFFER_TOO_SHORT 152 > 0) 12943529514109: Get Unknown OID 0x10117 12943529593609: XenPCI --> XenPci_EvtDeviceUsageNotification 12943529593609: XenPCI notification_type = Paging, flag = 1 12943529593609: XenPCI <-- XenPci_EvtDeviceUsageNotification 12943529593609: XenPCI --> XenPciPdo_EvtDeviceUsageNotification 12943529593609: XenPCI path = device/vbd/768 12943529593625: XenPCI notification_type = Paging, flag = 1 12943529593625: XenPCI <-- XenPciPdo_EvtDeviceUsageNotification 12943529601781: XenPCI --> XenPci_EvtDeviceUsageNotification 12943529601781: XenPCI notification_type = Dump, flag = 1 12943529601796: XenPCI <-- XenPci_EvtDeviceUsageNotification 12943529601812: XenPCI --> XenPciPdo_EvtDeviceUsageNotification 12943529601812: XenPCI path = device/vbd/768 12943529601828: XenPCI notification_type = Dump, flag = 1 12943529601828: XenPCI <-- XenPciPdo_EvtDeviceUsageNotification 12943529611000: XenPCI --> XenPci_EvtDeviceUsageNotification 12943529611000: XenPCI notification_type = Paging, flag = 1 12943529611000: XenPCI <-- XenPci_EvtDeviceUsageNotification 12943529611000: XenPCI --> XenPciPdo_EvtDeviceUsageNotification 12943529611000: XenPCI path = device/vbd/768 12943529611000: XenPCI notification_type = Paging, flag = 1 12943529611015: XenPCI <-- XenPciPdo_EvtDeviceUsageNotification 12943529639968: XenNet (BUFFER_TOO_SHORT 152 > 0) 12943529640875: Set OID_802_3_MULTICAST_LIST 12943529640875: Length = 6 12943529640875: Entries = 1 12943529652812: Set Unknown OID 0x10118 12943529652812: Set Unknown OID 0xfd010103 12943529652812: Set Unknown OID 0xfd010103 12943529652812: Set OID_802_3_MULTICAST_LIST 12943529652812: Length = 12 12943529652812: Entries = 2 12943529655640: XenPCI --> XenPci_EvtDeviceFileCreate 12943529655640: XenPCI --> XenBus_DeviceFileInit 12943529655640: XenPCI <-- XenBus_DeviceFileInit 12943529655640: XenPCI <-- XenPci_EvtDeviceFileCreate 12943529655640: XenPCI --> XenPci_EvtIoDefault 12943529655656: XenPCI --> XenBus_EvtIoWrite 12943529655656: XenPCI 35 bytes of write buffer remaining 12943529655656: XenPCI --> XenPci_IoWatch 12943529655656: XenPCI no pending read (8000001a) 12943529655656: XenPCI <-- XenPci_IoWatch 12943529655656: XenPCI completing request with length 35 12943529655656: XenPCI <-- XenBus_EvtIoWrite 12943529655656: XenPCI <-- XenPci_EvtIoDefault 12943529655656: XenPCI --> XenPci_EvtIoDefault 12943529655656: XenPCI --> XenBus_EvtIoRead 12943529655671: XenPCI found pending read 12943529655671: XenPCI <-- XenBus_ProcessReadRequest 12943529655671: XenPCI <-- XenBus_EvtIoRead 12943529655671: XenPCI <-- XenPci_EvtIoDefault 12943529655671: XenPCI --> XenPci_EvtIoDefault 12943529655671: XenPCI --> XenBus_EvtIoRead 12943529655671: Set Unknown OID 0xfd010103 12943529655671: XenPCI no data to read 12943529655671: XenPCI <-- XenBus_EvtIoRead 12943529655671: XenPCI <-- XenPci_EvtIoDefault 12943529898421: XenVbd --> XenVbd_HwScsiResetBus 12943529898421: XenVbd IRQL = 9 12943529898421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8997CD9C 12943529898421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8997C76C 12943529898421: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89723FB4 12943529898437: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89723354 12943529898437: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897F3B04 12943529898437: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8997E3D4 12943529898437: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8997C454 12943529898437: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8987476C 12943529898437: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 897F3E1C 12943529898453: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8997CA84 12943529898453: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8972366C 12943529898453: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89723C9C 12943529898453: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 8997C0B4 12943529898453: XenVbd setting status SRB_STATUS_BUS_RESET for in-flight srb 89874454 12943529898453: XenVbd <-- XenVbd_HwScsiResetBus 12943529970500: XenVbd --> DriverEntry 12943529970500: XenVbd IRQL = 31 12943529970500: XenVbd DriverObject = 00000000, RegistryPath = 00000000 12943529970500: XenVbd --> XenVbd_HwScsiFindAdapter 12943529970500: XenVbd IRQL = 31 12943529970500: XenVbd xvdd = 89356300 12943529970500: XenVbd BusInterruptLevel = 28 12943529970500: XenVbd BusInterruptVector = 01c 12943529970500: XenVbd NumberOfAccessRanges = 1 12943529970500: XenVbd RangeStart = 1f38d000, RangeLength = 00001000 12943529970500: XenVbd XEN_INIT_TYPE_VECTORS 12943529970500: XenVbd XEN_INIT_TYPE_DEVICE_STATE - 8985DD0C 12943529970500: XenVbd XEN_INIT_TYPE_RING - ring-ref = 898CC000 12943529970500: XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 12943529970500: XenVbd cached_use_other = 1 12943529970500: XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk 12943529970500: XenVbd device-type = Disk 12943529970500: XenVbd XEN_INIT_TYPE_READ_STRING - mode = w 12943529970500: XenVbd mode = w 12943529970500: XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 12943529970500: XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 12943529970500: XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 12943529970500: XenVbd qemu_hide_flags_value = 3 12943529970500: XenVbd aligned_buffer_data = 89358274 12943529970500: XenVbd aligned_buffer = 89359000 12943529970500: XenVbd ConfigInfo->MaximumTransferLength = 4096 12943529970500: XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 12943529970500: XenVbd ConfigInfo->CachesData was initialised to 0 12943529970500: XenVbd Dma64BitAddresses not supported 12943529970500: XenVbd <-- XenVbd_HwScsiFindAdapter 12943529970500: XenVbd --> XenVbd_HwScsiInitialize 12943529970500: XenVbd IRQL = 31 12943529970500: XenVbd dump_mode = 1 12943529970500: XenVbd <-- XenVbd_HwScsiInitialize 12943529970500: XenVbd Command = INQUIRY 12943529970500: XenVbd --> XenVbd_HwScsiResetBus 12943529970500: XenVbd IRQL = 31 12943529970500: XenVbd <-- XenVbd_HwScsiResetBus 12943529970500: XenVbd Command = SCSIOP_START_STOP_UNIT 12943529970500: XenVbd Command = READ_CAPACITY 12943529970500: XenVbd <-- DriverEntry 12943529970500: XenVbd max_dump_mode_blocks = 8 12943529970500: XenVbd max_dump_mode_length = 4096 12943529970500: *** Assertion failed: srb != NULL *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line 988 12943529970500: XenNet --> XenNet_Shutdown 12943529970500: XenNet <-- XenNet_Shutdown XenPCI Bug check 0x0000008E (0x80000003, 0x80878113, 0xB926BCCC, 0x00000000) [-- Attachment #4: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-02 9:23 ` MaoXiaoyun @ 2011-03-02 11:37 ` James Harper 0 siblings, 0 replies; 27+ messages in thread From: James Harper @ 2011-03-02 11:37 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel > > Two crash logs attached. > > The last two XenVbd_HwScsiResetBus happened almost at the same time. > May it be the problem? > Timestamps are in milliseconds. HwScsiResetBus completes the queued requests not yet sent to Dom0 with a status of SRB_STATUS_BUS_RESET. It can't touch the requests on the ring so what it does then is set their status to SRB_STATUS_BUS_RESET and then checks for that when Dom0 signals that they are complete. The first reset at 12943529855375 is completed in under 1 second. All the requests on the ring are marked with SRB_STATUS_BUS_RESET and then they complete shortly after and the system seems to recover. The second reset happens at 12943530977390. All the requests on the ring are marked but it is 12 seconds before Dom0 completes one of them. Two more are completed immediately and then 10 seconds later still no more requests are completed by Dom0 and Windows issues another reset. This time after 5 seconds all the requests are finished by Dom0. The last reset happens at 12943531085390. At 12943531148593 (over 60 seconds later) with no response from Dom0, Windows finally gives up and crashes. I don't think the problem really lies with GPLPV and I don't think there is anything I can do about it. Maybe you could look at the IO scheduling policy. It seems that maybe Dom0 is not servicing IO requests fairly from your DomU's. Either that or there is a bug in Dom0 and your disk IO requests are getting stuck under high IO load. I could be wrong and it is a bug in GPLPV but I can't see any evidence of it. James ^ permalink raw reply [flat|nested] 27+ messages in thread
[parent not found: <BLU157-w3311FE380E5D57DD810827DAC00@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55B44@trantor>]
[parent not found: <BLU157-w564C179CAAF26EC5D7559DAC00@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C, , , , , , 1A77D01, C, 5, 5, B, 4, 6@trantor>]
[parent not found: <BLU157-w446CEE35E592FE12EF0180DAC30@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55B88@trantor>]
[parent not found: <BLU157-w5382FC5FCC26C6EE8EC18BDAC30@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55BB3@trantor>]
[parent not found: <BLU157-w62FFC7240FD65345A0B3A8DAC30@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55BB7@trantor>]
[parent not found: <BLU157-w30368B861A4BFFF8A8DB9DDAC30@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55BBA@trantor>]
[parent not found: <BLU157-w28F0FE7DA9D129E9003136DAC30@phx.gbl>]
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55BBD@trantor>]
[parent not found: <BLU157-w826F2EDB9C1A7077BA524DAC30@phx.gbl>]
[parent not found: <019001cbdd41$1ccfbc20$566f3460$@harper@bendigoit.com.au>]
* RE: RE: blue screen in windows balloon driver [not found] ` <019001cbdd41$1ccfbc20$566f3460$@harper@bendigoit.com.au> @ 2011-03-14 2:24 ` MaoXiaoyun 2011-03-14 2:57 ` MaoXiaoyun ` (2 more replies) 0 siblings, 3 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-03-14 2:24 UTC (permalink / raw) To: james.harper; +Cc: xen devel [-- Attachment #1.1: Type: text/plain, Size: 2162 bytes --] Hi James: I am still working on the blue screen issue. This time I found 6 more machines to test. Two machines confronts a new blue screen in 2 days long test. KERNEL_STACK_INPAGE_ERROR stop:0x00000077(0xc0000185,0xc0000185,0x00000000,0x009d9000) Attached is the log, cp1, 9, 15, 16, 17, 20, are broken, and has the log like: ----------------------------- 12944494073046: XenVbd --> XenVbd_HwScsiResetBus 12944494073046: XenVbd IRQL = 31 12944494073046: XenVbd Completing in-flight srb 892C7058 with status SRB_STATUS_BUS_RESET 12944494073046: XenVbd <-- XenVbd_HwScsiResetBus 12944494073046: XenPCI Grant Entry 16382 for ISCS still in use by ISCS 12944494073046: *** Assertion failed: !xpdd->gnttbl_table[ref].flags *** Source File: e:\download\win-pvdrivers.hg\xenpci\gnttbl.c, line 120 --------------------------- Thanks. > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > Date: Thu, 3 Mar 2011 20:21:40 +0800 > > I've just pushed a fix that would cause a loop then a crash in the event > of a concurrent write. > > James > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Thursday, 3 March 2011 23:18 > > To: James Harper > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > > Well, quite strange is no blue screen show up now. > > Should have some VMS got crash according to previous test result. > > > > I will restart the test again. > > > > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > Date: Thu, 3 Mar 2011 22:44:12 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com > > > > > > > > > > > Two VM restart during the test. > > > > From the log, I guess it is your fix, right? > > > > > > > > Log attatched. > > > > > > > > > > It looks like at least one device failed to start up, probably due > to > > > delays in the backend. I don't know why it would shut down itself > > > though. > > > > > > James > [-- Attachment #1.2: Type: text/html, Size: 3020 bytes --] [-- Attachment #2: qemu.tar.gz --] [-- Type: application/x-gzip, Size: 458370 bytes --] [-- Attachment #3: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-14 2:24 ` MaoXiaoyun @ 2011-03-14 2:57 ` MaoXiaoyun 2011-03-14 3:52 ` James Harper 2011-03-14 5:08 ` James Harper 2 siblings, 0 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-03-14 2:57 UTC (permalink / raw) To: james.harper; +Cc: tinnycloud, xen devel [-- Attachment #1.1: Type: text/plain, Size: 4655 bytes --] Forget to address the serial output: (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 156kB init memory. (XEN) ioapic_guest_write: apic=0, pin=0, irq=0 (XEN) ioapic_guest_write: new_entry=000100f0 (XEN) ioapic_guest_write: old_entry=00010000 pirq=0 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=2, irq=0 (XEN) ioapic_guest_write: new_entry=000100f0 (XEN) ioapic_guest_write: old_entry=000000f0 pirq=0 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) irq.c:1445: dom0: pirq 0 or irq 3 already mapped (XEN) ioapic_guest_write: apic=0, pin=4, irq=4 (XEN) ioapic_guest_write: new_entry=000100f1 (XEN) ioapic_guest_write: old_entry=000000f1 pirq=0 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) irq.c:1445: dom0: pirq 0 or irq 5 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 6 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 7 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 8 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 9 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 10 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 11 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 12 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 13 already mapped (XEN) ioapic_guest_write: apic=0, pin=0, irq=0 (XEN) ioapic_guest_write: new_entry=000000f0 (XEN) ioapic_guest_write: old_entry=00010000 pirq=0 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=23, irq=23 (XEN) ioapic_guest_write: new_entry=0001a0d0 (XEN) ioapic_guest_write: old_entry=0000a0d0 pirq=23 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=18, irq=18 (XEN) ioapic_guest_write: new_entry=0001a0a8 (XEN) ioapic_guest_write: old_entry=0000a0a8 pirq=18 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=18, irq=18 (XEN) ioapic_guest_write: new_entry=0001a0a8 (XEN) ioapic_guest_write: old_entry=0000a0a8 pirq=18 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! From: tinnycloud@hotmail.com To: james.harper@bendigoit.com.au CC: xen-devel@lists.xensource.com Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver Date: Mon, 14 Mar 2011 10:24:14 +0800 Hi James: I am still working on the blue screen issue. This time I found 6 more machines to test. Two machines confronts a new blue screen in 2 days long test. KERNEL_STACK_INPAGE_ERROR stop:0x00000077(0xc0000185,0xc0000185,0x00000000,0x009d9000) Attached is the log, cp1, 9, 15, 16, 17, 20, are broken, and has the log like: ----------------------------- 12944494073046: XenVbd --> XenVbd_HwScsiResetBus 12944494073046: XenVbd IRQL = 31 12944494073046: XenVbd Completing in-flight srb 892C7058 with status SRB_STATUS_BUS_RESET 12944494073046: XenVbd <-- XenVbd_HwScsiResetBus 12944494073046: XenPCI Grant Entry 16382 for ISCS still in use by ISCS 12944494073046: *** Assertion failed: !xpdd->gnttbl_table[ref].flags *** Source File: e:\download\win-pvdrivers.hg\xenpci\gnttbl.c, line 120 --------------------------- Thanks. > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > Date: Thu, 3 Mar 2011 20:21:40 +0800 > > I've just pushed a fix that would cause a loop then a crash in the event > of a concurrent write. > > James > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Thursday, 3 March 2011 23:18 > > To: James Harper > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > > Well, quite strange is no blue screen show up now. > > Should have some VMS got crash according to previous test result. > > > > I will restart the test again. > > > > > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > > > Date: Thu, 3 Mar 2011 22:44:12 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com > > > > > > > > > > > Two VM restart during the test. > > > > From the log, I guess it is your fix, right? > > > > > > > > Log attatched. > > > > > > > > > > It looks like at least one device failed to start up, probably due > to > > > delays in the backend. I don't know why it would shut down itself > > > though. > > > > > > James > [-- Attachment #1.2: Type: text/html, Size: 5820 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-14 2:24 ` MaoXiaoyun 2011-03-14 2:57 ` MaoXiaoyun @ 2011-03-14 3:52 ` James Harper 2011-03-14 5:08 ` James Harper 2 siblings, 0 replies; 27+ messages in thread From: James Harper @ 2011-03-14 3:52 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel > Hi James: > > I am still working on the blue screen issue. > > This time I found 6 more machines to test. Two machines confronts a new > blue screen in > 2 days long test. > > KERNEL_STACK_INPAGE_ERROR > stop:0x00000077(0xc0000185,0xc0000185,0x00000000,0x009d9000) > > > Attached is the log, cp1, 9, 15, 16, 17, 20, are broken, and has the log > like: > ----------------------------- > 12944494073046: XenVbd --> XenVbd_HwScsiResetBus > 12944494073046: XenVbd IRQL = 31 > 12944494073046: XenVbd Completing in-flight srb 892C7058 with status > SRB_STATUS_BUS_RESET > 12944494073046: XenVbd <-- XenVbd_HwScsiResetBus > 12944494073046: XenPCI Grant Entry 16382 for ISCS still in use by ISCS > 12944494073046: > *** Assertion failed: !xpdd->gnttbl_table[ref].flags > *** Source File: e:\download\win-pvdrivers.hg\xenpci\gnttbl.c, line 120 > --------------------------- > That Assertion only happens in dump mode though right? Due to the delays in requests getting completed, dump mode is still seeing request completions from non-dump mode. I should have a fix for that in a minute. Bug check 0x77 means that windows couldn't read the page into memory from the page file. This could still be caused by timeouts. The first and second parameter 0xc0000185 means 'STATUS_IO_DEVICE_ERROR' which I guess would be consistent with windows repeatedly trying to read the pagefile and then giving up after multiple timeout/reset cycles. James ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-14 2:24 ` MaoXiaoyun 2011-03-14 2:57 ` MaoXiaoyun 2011-03-14 3:52 ` James Harper @ 2011-03-14 5:08 ` James Harper 2011-03-14 5:19 ` MaoXiaoyun 2 siblings, 1 reply; 27+ messages in thread From: James Harper @ 2011-03-14 5:08 UTC (permalink / raw) To: MaoXiaoyun; +Cc: xen devel > 12944494073046: XenVbd --> XenVbd_HwScsiResetBus > 12944494073046: XenVbd IRQL = 31 > 12944494073046: XenVbd Completing in-flight srb 892C7058 with status > SRB_STATUS_BUS_RESET > 12944494073046: XenVbd <-- XenVbd_HwScsiResetBus > 12944494073046: XenPCI Grant Entry 16382 for ISCS still in use by ISCS > 12944494073046: > *** Assertion failed: !xpdd->gnttbl_table[ref].flags > *** Source File: e:\download\win-pvdrivers.hg\xenpci\gnttbl.c, line 120 > --------------------------- I've just pushed a fix for that assertion, but can't really test it. It isn't going to fix your original problem, but the dump should now work. James ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: RE: blue screen in windows balloon driver 2011-03-14 5:08 ` James Harper @ 2011-03-14 5:19 ` MaoXiaoyun 0 siblings, 0 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-03-14 5:19 UTC (permalink / raw) To: james.harper; +Cc: xen devel [-- Attachment #1.1: Type: text/plain, Size: 1185 bytes --] Thanks James. I've just noticed that all 3 machine with *blue screen issue* have io scheduler: "CFQ" while other 4 none issue machines have io schedule DEADLINE. I think this might be the difference and cause the problem. I am re-running the test now. > Subject: RE: [Xen-devel] RE: blue screen in windows balloon driver > Date: Mon, 14 Mar 2011 16:08:15 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > CC: xen-devel@lists.xensource.com > > > 12944494073046: XenVbd --> XenVbd_HwScsiResetBus > > 12944494073046: XenVbd IRQL = 31 > > 12944494073046: XenVbd Completing in-flight srb 892C7058 with > status > > SRB_STATUS_BUS_RESET > > 12944494073046: XenVbd <-- XenVbd_HwScsiResetBus > > 12944494073046: XenPCI Grant Entry 16382 for ISCS still in use by > ISCS > > 12944494073046: > > *** Assertion failed: !xpdd->gnttbl_table[ref].flags > > *** Source File: e:\download\win-pvdrivers.hg\xenpci\gnttbl.c, line > 120 > > --------------------------- > > I've just pushed a fix for that assertion, but can't really test it. It > isn't going to fix your original problem, but the dump should now work. > > James [-- Attachment #1.2: Type: text/html, Size: 1607 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-03-01 5:01 ` James Harper 2011-03-01 5:28 ` MaoXiaoyun @ 2011-03-01 7:14 ` MaoXiaoyun 2011-03-01 9:36 ` James Harper [not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55AC5@trantor> 1 sibling, 2 replies; 27+ messages in thread From: MaoXiaoyun @ 2011-03-01 7:14 UTC (permalink / raw) To: xen devel; +Cc: james.harper [-- Attachment #1.1: Type: text/plain, Size: 7201 bytes --] Hi James: Attached are three logs. (I started test PV in debug mode) qemu-dm-w3.MR_cp7.vhd.log.normal: is the VM not crash qemu-dm-w3.MR_cp23.vhd.log.crash: is the vm crashed, but the log show a Assertion failed. *** Assertion failed: srb != NULL *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line 988 Blue screen on "NO_PAGES_AVAILABLE" ***STOP: 0x0000004D (0x0001566c,0x0001566c,0x00000000,0x00000000) qemu-dm-w3.MR_cp6.vhd.log.crash: is the vm crashed, bug no special error in log Blue screen on "NO_PAGES_AVAILABLE" ***STOP: 0x0000004D (0x0001590f,0x0001590f,0x00000000,0x00000000) thanks. > Subject: Re: blue screen in windows balloon driver > From: james.harper@bendigoit.com.au > Date: Tue, 1 Mar 2011 16:01:46 +1100 > To: tinnycloud@hotmail.com > CC: xen-devel@lists.xensource.com > > Please send logs and bug check codes for any future crashes > > Can you also send me your memhog program? > > Sent from my iPhone > > On 01/03/2011, at 13:37, "MaoXiaoyun" <tinnycloud@hotmail.com> wrote: > > > Thanks James. > > > > Well, what if the memory is balloon dow already? > > In my test, the eat memory process(named memhog) is started after the server starts, > > (that is all VMs have already ballooned down to 512M) > > It looks like the "balloon down threads " is not working at that time. > > > > One more question is, if memhog eat process at very fast speed, will it consume the > > NopagePool memory? (I am not whether NopagePool and Page Pool is seperate pool). > > If so, if the memory is exhausted, some other places like"ExAllocatePoolWithTag(NonPagedPool,...)", > > will gets no memory, and could it cause bluescreen? > > > > I will have the latest driver tested, thanks. > > > > > > > Subject: RE: blue screen in windows balloon driver > > > Date: Tue, 1 Mar 2011 10:45:52 +1100 > > > From: james.harper@bendigoit.com.au > > > To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > > > I have just pushed a change to check the > > > "\KernelObjects\LowMemoryCondition" event before allocating memory for > > > ballooning, and waiting if the event is set. This may resolve the > > > problems you are seeing. > > > > > > What I have seen is that initially the event gets set, but then as > > > Windows pages some active memory out the event gets cleared again and > > > further ballooning down is possible. It may prevent you ballooning down > > > quite as low as you could before, but if it stops windows crashing then > > > I think it is good. > > > > > > James > > > > > > > -----Original Message----- > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > Sent: Monday, 28 February 2011 19:30 > > > > To: xen devel > > > > Cc: James Harper > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > Hi James: > > > > > > > > Unfortunately, We still hit the blue screen on the stress test. > > > > (Start total 24 HVMS on a single 16core, 24G host, > > > > each HVM owns 2G Memory, start with memory=512M, > > > > and inside two eating memory processes, each of which will each > > > 1G > > > > memory) > > > > > > > > As I go though the code, I noticed that all memory allocation > > > relates to > > > > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from > > > NonePaged Pool, > > > > As I know, the NonePagePool memory is the memory could not be > > > paged out, > > > > and that is limited, and for the blue screen VMS, I also found > > > the free > > > > memory > > > > is quite low, only about hundreds KB left. > > > > > > > > So, when memory overcommit, some of the VM will not got enough > > > memory, > > > > and if most of its Memory is occupied by eating memory process, then > > > > ExAllocatePoolWithTag > > > > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is this > > > possible? > > > > > > > > Meanwhile, I will have your PVdriver tested to see if blue > > > exists, > > > > thanks. > > > > > > > > > > > > >From: tinnycloud@hotmail.com > > > > >To: tinnycloud@hotmail.com > > > > >Subject: FW: blue screen in windows balloon driver > > > > >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > > > > > > > > > > > > > >Thanks for fixing the POD. It's is better make it earlier to avoid > > > crash. > > > > > > > > > >The meminfo is written every 1 seconds into xenstore dir > > > > /local/domain/did/memory/meminfo. > > > > >And to avoid to many writes, only the memory changes large than 5M, > > > the > > > > thread will do the write. > > > > > > > > > >As for userspace daemon, it is our first choice, but we found it > > > xenstore > > > > daemon in dom0 comsume > > > > >many CPU(we test in linux only), so we decide to move it into driver. > > > > > > > > > >I've done merge my code with latest changeset 866, and do the stree > > > test > > > > later. > > > > > > > > > >many thanks. > > > > > > > > > >> Subject: RE: RE: blue screen in windows balloon driver > > > > >> Date: Sun, 27 Feb 2011 22:25:28 +1100 > > > > >> From: james.harper@bendigoit.com.au > > > > >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > >> CC: george.dunlap@eu.citrix.com > > > > >> > > > > >> > Thanks James. > > > > >> > > > > > >> > I think it is GPLPV. The driver is from > > > > >> http://xenbits.xen.org/ext/win- > > > > >> > pvdrivers.hg > > > > >> > But, I have done some other things > > > > >> > > > > > >> > 1) Add pod support > > > > >> > 2) enable a meminfo thread, periodically write VM meminfo into > > > > >> xenstore > > > > >> > We use info of Current Memory, Free memory, and Committed memory, > > > > >> retrived > > > > >> > through NativeAPI > > > > >> > 3) our code is based from changeset 823, attached is the diff of > > > my > > > > >> current > > > > >> > code with changset of 853. > > > > >> > > > > > >> > Maybe I need add my code to 853, and test again. > > > > >> > Thanks. > > > > >> > > > > > >> > > > > >> As per other post, I have just committed some patches and PoD > > > should now > > > > >> be working properly. I can start a DomU with 4GB of maxmem but only > > > > >> 128MB of populated memory without any problems. This now works > > > because I > > > > >> do the initial balloon down in DriverEntry, way before xenpci does > > > > >> anything else. Before it would blow up in DriverEntry. I think I > > > > >> determine the amount to initially balloon down a little differently > > > from > > > > >> you too. > > > > >> > > > > >> It takes a while to balloon down the memory though... I think > > > Windows > > > > >> tends to delay large allocations or something, because ballooning > > > up > > > > >> again is pretty much instant. > > > > >> > > > > >> How often are you writing meminfo stuff into xenstore? Could you do > > > that > > > > >> in userspace (the interface to xenstore exists and seems to work > > > well > > > > >> although it's a little tedious)? You would then be able to just run > > > it > > > > >> as a service and not need to patch GPLPV. > > > > >> > > > > >> James > > > > > [-- Attachment #1.2: Type: text/html, Size: 10483 bytes --] [-- Attachment #2: qemu-dm-w3.MR_cp23.vhd.log.crash --] [-- Type: application/octet-stream, Size: 22734 bytes --] domid: 9 Watching /local/domain/0/device-model/9/logdirty/cmd Watching /local/domain/0/device-model/9/command char device redirected to /dev/pts/9 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 94ad525f-1275-f022-fcb7-aa92087b17e8 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/9/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/94ad525f-1275-f022-fcb7-aa92087b17e8/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/9/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/9/log-throttling' medium change watch on `/local/domain/9/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.0 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 97b9 XenPCI Calling HYPERVISOR_memory_op - pfn = 97b9 XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 97ba XenPCI Calling HYPERVISOR_memory_op - pfn = 97ba XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 97bb XenPCI Calling HYPERVISOR_memory_op - pfn = 97bb XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 97bc XenPCI Calling HYPERVISOR_memory_op - pfn = 97bc XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 97bd XenPCI Calling HYPERVISOR_memory_op - pfn = 97bd XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 97be XenPCI Calling HYPERVISOR_memory_op - pfn = 97be XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 97bf XenPCI Calling HYPERVISOR_memory_op - pfn = 97bf XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 97c0 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c0 XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 97c1 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c1 XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 97c2 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c2 XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 97c3 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c3 XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 97c4 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c4 XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 97c5 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c5 XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 97c6 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c6 XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 97c7 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c7 XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 97c8 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c8 XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 97c9 XenPCI Calling HYPERVISOR_memory_op - pfn = 97c9 XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 97ca XenPCI Calling HYPERVISOR_memory_op - pfn = 97ca XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 97cb XenPCI Calling HYPERVISOR_memory_op - pfn = 97cb XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 97cc XenPCI Calling HYPERVISOR_memory_op - pfn = 97cc XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 97cd XenPCI Calling HYPERVISOR_memory_op - pfn = 97cd XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 97ce XenPCI Calling HYPERVISOR_memory_op - pfn = 97ce XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 97cf XenPCI Calling HYPERVISOR_memory_op - pfn = 97cf XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 97d0 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d0 XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 97d1 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d1 XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 97d2 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d2 XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 97d3 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d3 XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 97d4 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d4 XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 97d5 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d5 XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 97d6 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d6 XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 97d7 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d7 XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 97d8 XenPCI Calling HYPERVISOR_memory_op - pfn = 97d8 XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI SysRq Value = (null) XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler XenPCI Initial Memory Value = 512 (524288) Error reading shutdown path - ENOENT XenPCI --> XenPci_BalloonThreadProc XenPCI <-- XenPci_ShutdownHandler XenPCI low_mem_event = 89D79D50, state = 0 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_EvtChildListScanForChildren XenPCI --> XenPci_BalloonHandler XenPCI Found path = device/vbd/768 XenPCI target memory value = 512 (524288) XenPCI Found path = device/vif/0 XenPCI <-- XenPci_BalloonHandler XenPCI Got balloon event, current = 512, target = 512 XenPCI No change to memory XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 898EB8C0, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f322 XenPCI New Start = 000000001f322000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 898EB8C0 XenPCI fdo_driver_extension = 89AFC008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 898BD000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI --> XenPci_UpdateBackendState XenPCI --> EvtChn_BindIrq XenPCI <-- EvtChn_BindIrq XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI Backend State Changed to InitWait XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 899B3004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f322000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89819D0C XenVbd XEN_INIT_TYPE_RING - ring-ref = 898BD000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 899B4F78 XenVbd aligned_buffer = 899B5000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd switching to 'other' ring size XenVbd IRQL = 0 XenVbd xvdd = 899B3004 XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenNet --> DriverEntry XenNet DriverObject = 89967CE0, RegistryPath = 8996E000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 8984D3E8 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f2e2 XenPCI New Start = 000000001f2e2000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI --> XenConfig_InitConfigPage XenPCI Backend State Changed to InitWait XenPCI fdo_driver_object = 89967CE0 XenPCI <-- XenPci_UpdateBackendState XenPCI fdo_driver_extension = 00000000 XenPCI fdo_driver_object = 89D68490 XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89818C7C ScatterGather = 1 LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 89A25000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16222 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 89825000 XenPCI <-- XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16189 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- EvtChn_Bind XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89818C7C XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 89A25000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 89825000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:01:b3:c1 XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 89A4F5F4 nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 89A4F618 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 89A4F639 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (89735000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 89735000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 Set Unknown OID 0xfd010103 XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> DriverEntry XenVbd IRQL = 31 XenVbd DriverObject = 00000000, RegistryPath = 00000000 XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 31 XenVbd xvdd = 892E6300 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f322000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 89819D0C XenVbd XEN_INIT_TYPE_RING - ring-ref = 898BD000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd cached_use_other = 1 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 892E8274 XenVbd aligned_buffer = 892E9000 XenVbd ConfigInfo->MaximumTransferLength = 4096 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 31 XenVbd dump_mode = 1 XenVbd <-- XenVbd_HwScsiInitialize XenVbd Command = INQUIRY XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 31 XenVbd <-- XenVbd_HwScsiResetBus XenVbd Command = SCSIOP_START_STOP_UNIT XenVbd Command = READ_CAPACITY XenVbd <-- DriverEntry XenVbd max_dump_mode_blocks = 8 XenVbd max_dump_mode_length = 4096 *** Assertion failed: srb != NULL *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line 988 XenNet --> XenNet_Shutdown XenNet <-- XenNet_Shutdown XenPCI Bug check 0x0000008E (0x80000003, 0x80878113, 0xBACD0DE8, 0x00000000) [-- Attachment #3: qemu-dm-w3.MR_cp6.vhd.log.crash --] [-- Type: application/octet-stream, Size: 22935 bytes --] domid: 19 Watching /local/domain/0/device-model/19/logdirty/cmd Watching /local/domain/0/device-model/19/command char device redirected to /dev/pts/19 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 1e2b63e4-7661-648b-3e09-a4bbd073f417 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/19/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/1e2b63e4-7661-648b-3e09-a4bbd073f417/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/19/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/19/log-throttling' medium change watch on `/local/domain/19/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.0 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 9828 XenPCI Calling HYPERVISOR_memory_op - pfn = 9828 XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 9829 XenPCI Calling HYPERVISOR_memory_op - pfn = 9829 XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 982a XenPCI Calling HYPERVISOR_memory_op - pfn = 982a XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 982b XenPCI Calling HYPERVISOR_memory_op - pfn = 982b XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 982c XenPCI Calling HYPERVISOR_memory_op - pfn = 982c XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 982d XenPCI Calling HYPERVISOR_memory_op - pfn = 982d XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 982e XenPCI Calling HYPERVISOR_memory_op - pfn = 982e XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 982f XenPCI Calling HYPERVISOR_memory_op - pfn = 982f XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 9830 XenPCI Calling HYPERVISOR_memory_op - pfn = 9830 XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 9831 XenPCI Calling HYPERVISOR_memory_op - pfn = 9831 XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 9832 XenPCI Calling HYPERVISOR_memory_op - pfn = 9832 XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 9833 XenPCI Calling HYPERVISOR_memory_op - pfn = 9833 XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 9834 XenPCI Calling HYPERVISOR_memory_op - pfn = 9834 XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 9835 XenPCI Calling HYPERVISOR_memory_op - pfn = 9835 XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 9836 XenPCI Calling HYPERVISOR_memory_op - pfn = 9836 XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 9837 XenPCI Calling HYPERVISOR_memory_op - pfn = 9837 XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 9838 XenPCI Calling HYPERVISOR_memory_op - pfn = 9838 XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 9839 XenPCI Calling HYPERVISOR_memory_op - pfn = 9839 XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 983a XenPCI Calling HYPERVISOR_memory_op - pfn = 983a XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 983b XenPCI Calling HYPERVISOR_memory_op - pfn = 983b XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 983c XenPCI Calling HYPERVISOR_memory_op - pfn = 983c XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 983d XenPCI Calling HYPERVISOR_memory_op - pfn = 983d XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 983e XenPCI Calling HYPERVISOR_memory_op - pfn = 983e XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 983f XenPCI Calling HYPERVISOR_memory_op - pfn = 983f XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 9840 XenPCI Calling HYPERVISOR_memory_op - pfn = 9840 XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 9841 XenPCI Calling HYPERVISOR_memory_op - pfn = 9841 XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 9842 XenPCI Calling HYPERVISOR_memory_op - pfn = 9842 XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 9843 XenPCI Calling HYPERVISOR_memory_op - pfn = 9843 XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 9844 XenPCI Calling HYPERVISOR_memory_op - pfn = 9844 XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 9845 XenPCI Calling HYPERVISOR_memory_op - pfn = 9845 XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 9846 XenPCI Calling HYPERVISOR_memory_op - pfn = 9846 XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 9847 XenPCI Calling HYPERVISOR_memory_op - pfn = 9847 XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI SysRq Value = (null) XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler Error reading shutdown path - ENOENT XenPCI <-- XenPci_ShutdownHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI Initial Memory Value = 512 (524288) XenPCI --> XenPci_BalloonThreadProc XenPCI --> XenPci_BalloonHandler XenPCI low_mem_event = 89D7E030, state = 0 XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_EvtChildListScanForChildren XenPCI target memory value = 512 (524288) XenPCI <-- XenPci_BalloonHandler XenPCI Got balloon event, current = 512, target = 512 XenPCI Found path = device/vbd/768 XenPCI No change to memory XenPCI Found path = device/vif/0 XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 8990AE40, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f366 XenPCI New Start = 000000001f366000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI --> XenConfig_InitConfigPage XenPCI Backend State Changed to InitWait XenPCI fdo_driver_object = 8990AE40 XenPCI <-- XenPci_UpdateBackendState XenPCI fdo_driver_extension = 8990E008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 89B50000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_BindIrq XenPCI <-- EvtChn_BindIrq XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI state unchanged XenPCI --> XenPci_UpdateBackendState XenPCI Still waiting for 4 (currently 2)... XenPCI Backend State Changed to Connected XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 8980C004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f366000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 899073CC XenVbd XEN_INIT_TYPE_RING - ring-ref = 89B50000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 8980DF78 XenVbd aligned_buffer = 8980E000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd switching to 'other' ring size XenVbd IRQL = 0 XenVbd xvdd = 8980C004 XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenNet --> DriverEntry XenNet DriverObject = 89A07CA0, RegistryPath = 8976D000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 89A07BF0 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f326 XenPCI New Start = 000000001f326000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI --> XenPci_UpdateBackendState XenPCI fdo_driver_object = 89A07CA0 XenPCI fdo_driver_extension = 00000000 XenPCI fdo_driver_object = 89D68490 XenPCI Backend State Changed to InitWait XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89906FB4 ScatterGather = 1 LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 89727000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16130 XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 899B5000 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16311 XenPCI <-- XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_DeviceWatchHandler XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 89906FB4 XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 89727000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 899B5000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:37:52:42 XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 8942B43C nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 8942B460 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 8942B481 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (899B6000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 899B6000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 Set Unknown OID 0xfd010103 XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> DriverEntry XenVbd IRQL = 31 XenVbd DriverObject = 00000000, RegistryPath = 00000000 XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 31 XenVbd xvdd = 892ED300 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f366000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 899073CC XenVbd XEN_INIT_TYPE_RING - ring-ref = 89B50000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd cached_use_other = 1 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 892EF274 XenVbd aligned_buffer = 892F0000 XenVbd ConfigInfo->MaximumTransferLength = 4096 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 0 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 31 XenVbd dump_mode = 1 XenVbd <-- XenVbd_HwScsiInitialize XenVbd Command = INQUIRY XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 31 XenVbd <-- XenVbd_HwScsiResetBus XenVbd Command = SCSIOP_START_STOP_UNIT XenVbd Command = READ_CAPACITY XenVbd <-- DriverEntry XenVbd max_dump_mode_blocks = 8 XenVbd max_dump_mode_length = 4096 XenVbd max_dump_mode_blocks = 64 XenVbd max_dump_mode_length = 32768 [-- Attachment #4: qemu-dm-w3.MR_cp7.vhd.log.normal --] [-- Type: application/octet-stream, Size: 21023 bytes --] domid: 22 Watching /local/domain/0/device-model/22/logdirty/cmd Watching /local/domain/0/device-model/22/command char device redirected to /dev/pts/22 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = bb37852d-eeeb-c898-adfc-b2aff2631540 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/22/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/bb37852d-eeeb-c898-adfc-b2aff2631540/vncpasswd. Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/22/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/22/log-throttling' medium change watch on `/local/domain/22/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. XenPCI <-- XenPci_HighSyncCallFunctionN XenPCI <-- XenPci_HighSyncCallFunction0 XenPCI Waiting for highsync_complete_event XenPCI <-- XenPci_HighSync XenPCI --> XenPci_InitialBalloonDown XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89DB5000 XenPCI XENMEM_maximum_reservation = 525312 XenPCI XENMEM_current_reservation = 131288 XenPCI Trying to give 1540 MB to Xen XenPCI <-- XenPci_InitialBalloonDown XenPCI KeInitializeCrashDumpHeader status = 00000000, size = 4096 XenPCI GPLPV 0.10.0.0 XenPCI --> XenPci_FixLoadOrder XenPCI dummy_group_index = 1 XenPCI wdf_load_group_index = 2 XenPCI xenpci_group_index = 3 XenPCI boot_bus_extender_index = 4 XenPCI <-- XenPci_FixLoadOrder XenPCI Version = 1 Unknown PV product 2 loaded in guest PV driver build 1 XenPCI Disabled qemu devices 03 XenPCI <-- DriverEntry XenPCI Xen PCI device found - must be fdo XenPCI --> XenPci_EvtDeviceAdd_XenPci XenPCI <-- XenPci_EvtDeviceAdd_XenPci XenPCI --> XenPci_EvtDevicePrepareHardware XenPCI IoPort Address(c000) Length: 256 XenPCI Private Data: 0x01 0x00 0x00 XenPCI Memory mapped CSR:(f2000000:0) Length:(16777216) XenPCI Memory flags = 0004 XenPCI Private Data: 0x01 0x01 0x00 XenPCI irq_number = 01c XenPCI irq_vector = 1a3 XenPCI irq_level = 009 XenPCI irq_mode = LevelSensitive XenPCI ShareDisposition = CmResourceShareShared XenPCI <-- XenPci_EvtDevicePrepareHardware XenPCI --> XenPci_EvtDeviceD0Entry XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_Init XenPCI base = 0x40000000, Xen Signature = XenVMMXenVMM, EAX = 0x40000003 XenPCI Hypercall area at 89B62000 XenPCI shared_info_area_unmapped.QuadPart = f2000000 XenPCI gpfn = f2000 XenPCI hypervisor memory op (XENMAPSPACE_shared_info) ret = 0 XenPCI <-- XenPci_Init XenPCI --> GntTbl_Init XenPCI grant_frames = 32 XenPCI grant_entries = 16384 XenPCI pfn = 99ff XenPCI Calling HYPERVISOR_memory_op - pfn = 99ff XenPCI decreased 1 pages for grant table frame 0 XenPCI pfn = 9a00 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a00 XenPCI decreased 1 pages for grant table frame 1 XenPCI pfn = 9a01 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a01 XenPCI decreased 1 pages for grant table frame 2 XenPCI pfn = 9a02 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a02 XenPCI decreased 1 pages for grant table frame 3 XenPCI pfn = 9a03 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a03 XenPCI decreased 1 pages for grant table frame 4 XenPCI pfn = 9a04 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a04 XenPCI decreased 1 pages for grant table frame 5 XenPCI pfn = 9a05 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a05 XenPCI decreased 1 pages for grant table frame 6 XenPCI pfn = 9a06 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a06 XenPCI decreased 1 pages for grant table frame 7 XenPCI pfn = 9a07 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a07 XenPCI decreased 1 pages for grant table frame 8 XenPCI pfn = 9a08 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a08 XenPCI decreased 1 pages for grant table frame 9 XenPCI pfn = 9a09 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a09 XenPCI decreased 1 pages for grant table frame 10 XenPCI pfn = 9a0a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0a XenPCI decreased 1 pages for grant table frame 11 XenPCI pfn = 9a0b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0b XenPCI decreased 1 pages for grant table frame 12 XenPCI pfn = 9a0c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0c XenPCI decreased 1 pages for grant table frame 13 XenPCI pfn = 9a0d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0d XenPCI decreased 1 pages for grant table frame 14 XenPCI pfn = 9a0e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0e XenPCI decreased 1 pages for grant table frame 15 XenPCI pfn = 9a0f XenPCI Calling HYPERVISOR_memory_op - pfn = 9a0f XenPCI decreased 1 pages for grant table frame 16 XenPCI pfn = 9a10 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a10 XenPCI decreased 1 pages for grant table frame 17 XenPCI pfn = 9a11 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a11 XenPCI decreased 1 pages for grant table frame 18 XenPCI pfn = 9a12 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a12 XenPCI decreased 1 pages for grant table frame 19 XenPCI pfn = 9a13 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a13 XenPCI decreased 1 pages for grant table frame 20 XenPCI pfn = 9a14 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a14 XenPCI decreased 1 pages for grant table frame 21 XenPCI pfn = 9a15 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a15 XenPCI decreased 1 pages for grant table frame 22 XenPCI pfn = 9a16 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a16 XenPCI decreased 1 pages for grant table frame 23 XenPCI pfn = 9a17 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a17 XenPCI decreased 1 pages for grant table frame 24 XenPCI pfn = 9a18 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a18 XenPCI decreased 1 pages for grant table frame 25 XenPCI pfn = 9a19 XenPCI Calling HYPERVISOR_memory_op - pfn = 9a19 XenPCI decreased 1 pages for grant table frame 26 XenPCI pfn = 9a1a XenPCI Calling HYPERVISOR_memory_op - pfn = 9a1a XenPCI decreased 1 pages for grant table frame 27 XenPCI pfn = 9a1b XenPCI Calling HYPERVISOR_memory_op - pfn = 9a1b XenPCI decreased 1 pages for grant table frame 28 XenPCI pfn = 9a1c XenPCI Calling HYPERVISOR_memory_op - pfn = 9a1c XenPCI decreased 1 pages for grant table frame 29 XenPCI pfn = 9a1d XenPCI Calling HYPERVISOR_memory_op - pfn = 9a1d XenPCI decreased 1 pages for grant table frame 30 XenPCI pfn = 9a1e XenPCI Calling HYPERVISOR_memory_op - pfn = 9a1e XenPCI decreased 1 pages for grant table frame 31 XenPCI --> GntTbl_Map XenPCI <-- GntTbl_Map XenPCI <-- GntTbl_Init XenPCI --> EvtChn_Init XenPCI --> _hvm_set_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_set_parameter XenPCI hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, 28) = 0 XenPCI --> EvtChn_AllocIpi XenPCI <-- EvtChn_AllocIpi XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI pdo_event_channel = 5 XenPCI <-- EvtChn_Init XenPCI <-- XenPci_EvtDeviceD0Entry XenPCI --> EvtChn_EvtInterruptEnable XenPCI <-- EvtChn_EvtInterruptEnable XenPCI --> XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenBus_Init XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> _hvm_get_parameter XenPCI HYPERVISOR_hvm_op retval = 0 XenPCI <-- _hvm_get_parameter XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI <-- XenBus_Init XenPCI suspend event channel = 6 XenPCI --> EvtChn_BindDpc XenPCI <-- EvtChn_BindDpc XenPCI --> XenPci_SysrqHandler XenPCI SysRq Value = (null) XenPCI <-- XenPci_SysrqHandler XenPCI --> XenPci_ShutdownHandler Error reading shutdown path - ENOENT XenPCI <-- XenPci_ShutdownHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI Initial Memory Value = 512 (524288) XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_BalloonThreadProc XenPCI low_mem_event = 89D82350, state = 0 XenPCI --> XenPci_BalloonHandler XenPCI <-- XenPci_EvtDeviceD0EntryPostInterruptsEnabled XenPCI --> XenPci_EvtChildListScanForChildren XenPCI target memory value = 512 (524288) XenPCI <-- XenPci_BalloonHandler XenPCI Got balloon event, current = 512, target = 512 XenPCI Found path = device/vbd/768 XenPCI No change to memory XenPCI Found path = device/vif/0 XenPCI <-- XenPci_EvtChildListScanForChildren XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vbd', index = '768', path = 'device/vbd/768' XenPCI <-- XenPci_EvtChildListCreateDevice XenPCI --> XenPci_EvtChildListCreateDevice XenPCI device = 'vif', index = '0', path = 'device/vif/0' XenPCI <-- XenPci_EvtChildListCreateDevice XenVbd --> DriverEntry XenVbd IRQL = 0 XenVbd DriverObject = 898C4DB8, RegistryPath = 80090C00 XenVbd <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vbd/768 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f361 XenPCI New Start = 000000001f361000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vbd/768 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI --> XenPci_UpdateBackendState XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 898C4DB8 XenPCI fdo_driver_extension = 89AD9008 XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - ring-ref = 89A9C000 XenPCI XEN_INIT_TYPE_RING - ring-ref = 16383 XenPCI Backend State Changed to InitWait XenPCI <-- XenPci_UpdateBackendState XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_BindIrq XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- EvtChn_BindIrq XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI state unchanged XenPCI --> XenPci_UpdateBackendState XenPCI Still waiting for 4 (currently 2)... XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenVbd --> XenVbd_HwScsiFindAdapter XenVbd IRQL = 0 XenVbd xvdd = 898B6004 XenVbd BusInterruptLevel = 28 XenVbd BusInterruptVector = 01c XenVbd NumberOfAccessRanges = 1 XenVbd RangeStart = 1f361000, RangeLength = 00001000 XenVbd XEN_INIT_TYPE_VECTORS XenVbd XEN_INIT_TYPE_DEVICE_STATE - 899ECFB4 XenVbd XEN_INIT_TYPE_RING - ring-ref = 89A9C000 XenVbd XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7 XenVbd XEN_INIT_TYPE_READ_STRING - device-type = disk XenVbd device-type = Disk XenVbd XEN_INIT_TYPE_READ_STRING - mode = w XenVbd mode = w XenVbd XEN_INIT_TYPE_READ_STRING - sectors = 104857600 XenVbd XEN_INIT_TYPE_READ_STRING - sector-size = 512 XenVbd XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11 XenVbd qemu_hide_flags_value = 3 XenVbd aligned_buffer_data = 898B7F78 XenVbd aligned_buffer = 898B8000 XenVbd ConfigInfo->MaximumTransferLength = 45056 XenVbd ConfigInfo->NumberOfPhysicalBreaks = 10 XenVbd ConfigInfo->CachesData was initialised to 0 XenVbd Dma64BitAddresses not supported XenVbd <-- XenVbd_HwScsiFindAdapter XenVbd --> XenVbd_HwScsiInitialize XenVbd IRQL = 9 XenVbd dump_mode = 0 XenVbd <-- XenVbd_HwScsiInitialize XenVbd --> XenVbd_HwScsiAdapterControl XenVbd ring_detect_state = 1, index = 0, operation = ff, id = 0, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd ring_detect_state = 2, index = 1, operation = 0, id = ff, status = 0 XenVbd req_prod = 2, rsp_prod = 2, rsp_cons = 0 XenVbd switching to 'other' ring size XenVbd IRQL = 0 XenVbd xvdd = 898B6004 XenVbd ScsiQuerySupportedControlTypes (Max = 5) XenVbd <-- XenVbd_HwScsiAdapterControl XenVbd SRB_FUNCTION_IO_CONTROL XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 28, allocation_length = 192 XenVbd EXECUTE_SCSI Command = 1A returned error 00 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 192 XenVbd SCSIOP_MODE_SENSE llbaa = 0, dbd = 0, page_code = 63, allocation_length = 12 XenNet --> DriverEntry XenNet DriverObject = 8992A278, RegistryPath = 897DB000 XenNet NdisGetVersion = 50001 XenNet ndis_wrapper_handle = 00000000 XenNet ndis_wrapper_handle = 8982F9C8 XenNet NdisMInitializeWrapper succeeded XenNet MajorNdisVersion = 5, MinorNdisVersion = 1 XenNet about to call NdisMRegisterMiniport XenNet called NdisMRegisterMiniport XenNet <-- DriverEntry XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI device/vif/0 XenPCI CmResourceTypeMemory (0) XenPCI Start = f2000000, Length = 0 XenPCI pfn[0] = 0001f321 XenPCI New Start = 000000001f321000, Length = 4096 XenPCI CmResourceTypeMemory (1) XenPCI Start = f2000001, Length = 0 XenPCI <-- XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE XenPCI --> XenPciPdo_EvtDevicePrepareHardware XenPCI <-- XenPciPdo_EvtDevicePrepareHardware XenPCI --> XenPciPdo_EvtDeviceD0Entry XenPCI path = device/vif/0 XenPCI WdfPowerDeviceD3Final XenPCI --> XenPci_GetBackendAndAddWatch XenPCI <-- XenPci_GetBackendAndAddWatch XenPCI --> XenConfig_InitConfigPage XenPCI fdo_driver_object = 8992A278 XenPCI --> XenPci_UpdateBackendState XenPCI fdo_driver_extension = 00000000 XenPCI fdo_driver_object = 89D68490 XenPCI Backend State Changed to InitWait XenPCI fdo_driver_extension = 00000000 XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenConfig_InitConfigPage XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenPCI <-- XenPciPdo_EvtDeviceD0Entry XenNet --> XenNet_Init XenNet IRQL = 0 XenNet nrl_length = 40 XenNet irq_vector = 01c, irq_level = 01c, irq_mode = NdisInterruptLevelSensitive XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 898C6DDC ScatterGather = 1 LargeSendOffload = 61440 ChecksumOffload = 1 ChecksumOffloadRxCheck = 1 MTU = 1500 RxInterruptModeration = 0 Could not read NetworkAddress value (c0000001) or value is invalid XenNet --> XenNet_D0Entry XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 897BE000 XenPCI XEN_INIT_TYPE_RING - tx-ring-ref = 16316 XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 897BD000 XenPCI XEN_INIT_TYPE_RING - rx-ring-ref = 16122 XenPCI --> XenPci_DeviceWatchHandler XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> EvtChn_Bind XenPCI <-- EvtChn_Bind XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendStateMap XenPCI --> XenPci_ChangeFrontendState XenPCI --> XenPci_DeviceWatchHandler XenPCI <-- XenPci_DeviceWatchHandler XenPCI --> XenPci_UpdateBackendState XenPCI Backend State Changed to Connected XenPCI <-- XenPci_UpdateBackendState XenPCI <-- XenPci_ChangeFrontendState XenPCI <-- XenPci_ChangeFrontendStateMap XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers XenNet --> XenNet_ConnectBackend XenNet XEN_INIT_TYPE_13 XenNet XEN_INIT_TYPE_VECTORS XenNet XEN_INIT_TYPE_DEVICE_STATE - 898C6DDC XenNet XEN_INIT_TYPE_RING - tx-ring-ref = 897BE000 XenNet XEN_INIT_TYPE_RING - rx-ring-ref = 897BD000 XenNet XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 8 XenNet XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:26:45:46 XenNet XEN_INIT_TYPE_READ_STRING - feature-sg = 1 XenNet XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1 XenNet XEN_INIT_TYPE_17 XenNet <-- XenNet_ConnectBackend XenNet --> XenNet_RxInit XenNet <-- XenNet_RxInit XenNet <-- XenNet_D0Entry Get Unknown OID 0x10202 XenNet --> XenNet_PnPEventNotify XenNet NdisDevicePnPEventPowerProfileChanged XenNet <-- XenNet_PnPEventNotify Get Unknown OID 0x10201 Get Unknown OID 0xfc010210 Get OID_TCP_TASK_OFFLOAD XenNet (BUFFER_TOO_SHORT 100 > 28) Get OID_TCP_TASK_OFFLOAD config_csum enabled nto = 894258C4 nto->Size = 24 nto->TaskBufferLength = 16 config_gso enabled nto = 894258E8 nto->Size = 24 nto->TaskBufferLength = 16 &(nttls->IpOptions) = 89425909 Set OID_TCP_TASK_OFFLOAD TcpIpChecksumNdisTask V4Transmit.IpOptionsSupported = 0 V4Transmit.TcpOptionsSupported = 1 V4Transmit.TcpChecksum = 1 V4Transmit.UdpChecksum = 0 V4Transmit.IpChecksum = 0 V4Receive.IpOptionsSupported = 0 V4Receive.TcpOptionsSupported = 0 V4Receive.TcpChecksum = 1 V4Receive.UdpChecksum = 0 V4Receive.IpChecksum = 0 V6Transmit.IpOptionsSupported = 0 V6Transmit.TcpOptionsSupported = 0 V6Transmit.TcpChecksum = 0 V6Transmit.UdpChecksum = 0 V6Receive.IpOptionsSupported = 0 V6Receive.TcpOptionsSupported = 0 V6Receive.TcpChecksum = 0 V6Receive.UdpChecksum = 0 TcpLargeSendNdisTask MaxOffLoadSize = 61440 MinSegmentCount = 4 TcpOptions = 0 IpOptions = 0 Get OID_PNP_CAPABILITIES Set Unknown OID 0x10119 Set OID_GEN_CURRENT_LOOKAHEAD 128 (897BF000) Set OID_GEN_CURRENT_PACKET_FILTER (xi = 897BF000) NDIS_PACKET_TYPE_DIRECTED NDIS_PACKET_TYPE_MULTICAST NDIS_PACKET_TYPE_BROADCAST XenNet (BUFFER_TOO_SHORT 152 > 0) Get Unknown OID 0x10117 XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Dump, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenPCI --> XenPci_EvtDeviceUsageNotification XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPci_EvtDeviceUsageNotification XenPCI --> XenPciPdo_EvtDeviceUsageNotification XenPCI path = device/vbd/768 XenPCI notification_type = Paging, flag = 1 XenPCI <-- XenPciPdo_EvtDeviceUsageNotification XenNet (BUFFER_TOO_SHORT 152 > 0) Set OID_802_3_MULTICAST_LIST Length = 6 Entries = 1 Set Unknown OID 0x10118 Set Unknown OID 0xfd010103 Set Unknown OID 0xfd010103 Set OID_802_3_MULTICAST_LIST Length = 12 Entries = 2 Set Unknown OID 0xfd010103 XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus [-- Attachment #5: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-03-01 7:14 ` MaoXiaoyun @ 2011-03-01 9:36 ` James Harper [not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55AC5@trantor> 1 sibling, 0 replies; 27+ messages in thread From: James Harper @ 2011-03-01 9:36 UTC (permalink / raw) To: MaoXiaoyun, xen devel > Attached are three logs. (I started test PV in debug mode) > > qemu-dm-w3.MR_cp7.vhd.log.normal: > is the VM not crash > > > qemu-dm-w3.MR_cp23.vhd.log.crash: > is the vm crashed, but the log show a Assertion failed. > *** Assertion failed: srb != NULL > *** Source File: e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line > 988 > Blue screen on "NO_PAGES_AVAILABLE" > ***STOP: 0x0000004D (0x0001566c,0x0001566c,0x00000000,0x00000000) > > > qemu-dm-w3.MR_cp6.vhd.log.crash: is the vm crashed, bug no special error in > log > Blue screen on "NO_PAGES_AVAILABLE" > ***STOP: 0x0000004D (0x0001590f,0x0001590f,0x00000000,0x00000000) > I have checked both your bug checks. Both of them have some scsi resets just before the crash, eg: XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus XenVbd --> XenVbd_HwScsiResetBus XenVbd IRQL = 9 XenVbd <-- XenVbd_HwScsiResetBus So I'm wondering if xenvbd is stuck. If that happened, Windows would be able to write out to the pagefile, which is more in line with the documentation of Bug Check 0x4D. James ^ permalink raw reply [flat|nested] 27+ messages in thread
[parent not found: <AEC6C66638C05B468B556EA548C1A77D01C55AC5@trantor>]
* RE: blue screen in windows balloon driver [not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55AC5@trantor> @ 2011-03-01 9:51 ` MaoXiaoyun 2011-03-01 9:54 ` James Harper 0 siblings, 1 reply; 27+ messages in thread From: MaoXiaoyun @ 2011-03-01 9:51 UTC (permalink / raw) To: xen devel; +Cc: james.harper [-- Attachment #1.1: Type: text/plain, Size: 9169 bytes --] I am testing windows 2003, and the pvdriver msi is build in XP env. Well, I check all other not crashed VMS, all of them has the XenVbd_HwScsiResetBus. What does this mean? Is it reasonable. I will run the debug mode pv on the other two physical to see if the log exists. (Since not blue srceen ever happen on those two hosts). Also, how to check whether xenvbd is stuck? many thanks. > Subject: RE: blue screen in windows balloon driver > Date: Tue, 1 Mar 2011 20:41:18 +1100 > From: james.harper@bendigoit.com.au > To: tinnycloud@hotmail.com > > Are you testing under Windows 2008? > > When you build the drivers under the windows 2008 build environment, you > should get a storport xenvbd driver, not a scsiport xenvbd driver, but > in your logs I see scsiport. > > This shouldn't affect the crash we are seeing though. > > James > > > -----Original Message----- > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > Sent: Tuesday, 1 March 2011 18:14 > > To: xen devel > > Cc: James Harper > > Subject: RE: blue screen in windows balloon driver > > > > Hi James: > > > > Attached are three logs. (I started test PV in debug mode) > > > > qemu-dm-w3.MR_cp7.vhd.log.normal: > > is the VM not crash > > > > > > qemu-dm-w3.MR_cp23.vhd.log.crash: > > is the vm crashed, but the log show a Assertion failed. > > *** Assertion failed: srb != NULL > > *** Source File: > e:\download\win-pvdrivers.hg\xenvbd\xenvbd_scsiport.c, line > > 988 > > Blue screen on "NO_PAGES_AVAILABLE" > > ***STOP: 0x0000004D (0x0001566c,0x0001566c,0x00000000,0x00000000) > > > > > > qemu-dm-w3.MR_cp6.vhd.log.crash: is the vm crashed, bug no special > error in > > log > > Blue screen on "NO_PAGES_AVAILABLE" > > ***STOP: 0x0000004D (0x0001590f,0x0001590f,0x00000000,0x00000000) > > > > thanks. > > > > > Subject: Re: blue screen in windows balloon driver > > > From: james.harper@bendigoit.com.au > > > Date: Tue, 1 Mar 2011 16:01:46 +1100 > > > To: tinnycloud@hotmail.com > > > CC: xen-devel@lists.xensource.com > > > > > > Please send logs and bug check codes for any future crashes > > > > > > Can you also send me your memhog program? > > > > > > Sent from my iPhone > > > > > > On 01/03/2011, at 13:37, "MaoXiaoyun" <tinnycloud@hotmail.com> > wrote: > > > > > > > Thanks James. > > > > > > > > Well, what if the memory is balloon dow already? > > > > In my test, the eat memory process(named memhog) is started after > the > > server starts, > > > > (that is all VMs have already ballooned down to 512M) > > > > It looks like the "balloon down threads " is not working at that > time. > > > > > > > > One more question is, if memhog eat process at very fast speed, > will it > > consume the > > > > NopagePool memory? (I am not whether NopagePool and Page Pool is > seperate > > pool). > > > > If so, if the memory is exhausted, some other places > > like"ExAllocatePoolWithTag(NonPagedPool,...)", > > > > will gets no memory, and could it cause bluescreen? > > > > > > > > I will have the latest driver tested, thanks. > > > > > > > > > > > > > Subject: RE: blue screen in windows balloon driver > > > > > Date: Tue, 1 Mar 2011 10:45:52 +1100 > > > > > From: james.harper@bendigoit.com.au > > > > > To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > > > > > > > I have just pushed a change to check the > > > > > "\KernelObjects\LowMemoryCondition" event before allocating > memory for > > > > > ballooning, and waiting if the event is set. This may resolve > the > > > > > problems you are seeing. > > > > > > > > > > What I have seen is that initially the event gets set, but then > as > > > > > Windows pages some active memory out the event gets cleared > again and > > > > > further ballooning down is possible. It may prevent you > ballooning down > > > > > quite as low as you could before, but if it stops windows > crashing then > > > > > I think it is good. > > > > > > > > > > James > > > > > > > > > > > -----Original Message----- > > > > > > From: MaoXiaoyun [mailto:tinnycloud@hotmail.com] > > > > > > Sent: Monday, 28 February 2011 19:30 > > > > > > To: xen devel > > > > > > Cc: James Harper > > > > > > Subject: RE: blue screen in windows balloon driver > > > > > > > > > > > > Hi James: > > > > > > > > > > > > Unfortunately, We still hit the blue screen on the stress > test. > > > > > > (Start total 24 HVMS on a single 16core, 24G host, > > > > > > each HVM owns 2G Memory, start with memory=512M, > > > > > > and inside two eating memory processes, each of which will > each > > > > > 1G > > > > > > memory) > > > > > > > > > > > > As I go though the code, I noticed that all memory allocation > > > > > relates to > > > > > > "ExAllocatePoolWithTag(NonPagedPool,...)", which is from > > > > > NonePaged Pool, > > > > > > As I know, the NonePagePool memory is the memory could not be > > > > > paged out, > > > > > > and that is limited, and for the blue screen VMS, I also found > > > > > the free > > > > > > memory > > > > > > is quite low, only about hundreds KB left. > > > > > > > > > > > > So, when memory overcommit, some of the VM will not got enough > > > > > memory, > > > > > > and if most of its Memory is occupied by eating memory > process, then > > > > > > ExAllocatePoolWithTag > > > > > > will fail, thus caused "NO_PAGES_AVALIABLE" blue screen. Is > this > > > > > possible? > > > > > > > > > > > > Meanwhile, I will have your PVdriver tested to see if blue > > > > > exists, > > > > > > thanks. > > > > > > > > > > > > > > > > > > >From: tinnycloud@hotmail.com > > > > > > >To: tinnycloud@hotmail.com > > > > > > >Subject: FW: blue screen in windows balloon driver > > > > > > >Date: Mon, 28 Feb 2011 16:16:59 +0800 > > > > > > > > > > > > > > > > > > > > >Thanks for fixing the POD. It's is better make it earlier to > avoid > > > > > crash. > > > > > > > > > > > > > >The meminfo is written every 1 seconds into xenstore dir > > > > > > /local/domain/did/memory/meminfo. > > > > > > >And to avoid to many writes, only the memory changes large > than 5M, > > > > > the > > > > > > thread will do the write. > > > > > > > > > > > > > >As for userspace daemon, it is our first choice, but we found > it > > > > > xenstore > > > > > > daemon in dom0 comsume > > > > > > >many CPU(we test in linux only), so we decide to move it into > driver. > > > > > > > > > > > > > >I've done merge my code with latest changeset 866, and do the > stree > > > > > test > > > > > > later. > > > > > > > > > > > > > >many thanks. > > > > > > > > > > > > > >> Subject: RE: RE: blue screen in windows balloon driver > > > > > > >> Date: Sun, 27 Feb 2011 22:25:28 +1100 > > > > > > >> From: james.harper@bendigoit.com.au > > > > > > >> To: tinnycloud@hotmail.com; xen-devel@lists.xensource.com > > > > > > >> CC: george.dunlap@eu.citrix.com > > > > > > >> > > > > > > >> > Thanks James. > > > > > > >> > > > > > > > >> > I think it is GPLPV. The driver is from > > > > > > >> http://xenbits.xen.org/ext/win- > > > > > > >> > pvdrivers.hg > > > > > > >> > But, I have done some other things > > > > > > >> > > > > > > > >> > 1) Add pod support > > > > > > >> > 2) enable a meminfo thread, periodically write VM meminfo > into > > > > > > >> xenstore > > > > > > >> > We use info of Current Memory, Free memory, and Committed > memory, > > > > > > >> retrived > > > > > > >> > through NativeAPI > > > > > > >> > 3) our code is based from changeset 823, attached is the > diff of > > > > > my > > > > > > >> current > > > > > > >> > code with changset of 853. > > > > > > >> > > > > > > > >> > Maybe I need add my code to 853, and test again. > > > > > > >> > Thanks. > > > > > > >> > > > > > > > >> > > > > > > >> As per other post, I have just committed some patches and > PoD > > > > > should now > > > > > > >> be working properly. I can start a DomU with 4GB of maxmem > but only > > > > > > >> 128MB of populated memory without any problems. This now > works > > > > > because I > > > > > > >> do the initial balloon down in DriverEntry, way before > xenpci does > > > > > > >> anything else. Before it would blow up in DriverEntry. I > think I > > > > > > >> determine the amount to initially balloon down a little > differently > > > > > from > > > > > > >> you too. > > > > > > >> > > > > > > >> It takes a while to balloon down the memory though... I > think > > > > > Windows > > > > > > >> tends to delay large allocations or something, because > ballooning > > > > > up > > > > > > >> again is pretty much instant. > > > > > > >> > > > > > > >> How often are you writing meminfo stuff into xenstore? > Could you do > > > > > that > > > > > > >> in userspace (the interface to xenstore exists and seems to > work > > > > > well > > > > > > >> although it's a little tedious)? You would then be able to > just run > > > > > it > > > > > > >> as a service and not need to patch GPLPV. > > > > > > >> > > > > > > >> James > > > > > > > > [-- Attachment #1.2: Type: text/html, Size: 17154 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: blue screen in windows balloon driver 2011-03-01 9:51 ` MaoXiaoyun @ 2011-03-01 9:54 ` James Harper 0 siblings, 0 replies; 27+ messages in thread From: James Harper @ 2011-03-01 9:54 UTC (permalink / raw) To: MaoXiaoyun, xen devel > > I am testing windows 2003, and the pvdriver msi is build in XP env. > > Well, I check all other not crashed VMS, all of them has the > XenVbd_HwScsiResetBus. > What does this mean? Is it reasonable. > > I will run the debug mode pv on the other two physical to see if the log > exists. > (Since not blue srceen ever happen on those two hosts). > > Also, how to check whether xenvbd is stuck? > I'm just making some changes now to test this. I will make HwScsiResetBus print out all the outstanding requests. HwScsiResetBus is called when Windows hasn't received a response to a scsi request (eg a read or a write). Either the request is stuck in my driver or it is stuck somewhere else. James ^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2011-03-14 5:19 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 13:01 re:RE: blue screen in windows balloon driver MaoXiaoyun
2011-02-27 11:25 ` James Harper
2011-02-28 4:33 ` MaoXiaoyun
[not found] ` <BLU157-w3689F78415A43CC5997DD7DADE0@phx.gbl>
2011-02-28 8:29 ` MaoXiaoyun
2011-02-28 11:45 ` James Harper
2011-02-28 23:45 ` James Harper
2011-03-01 2:37 ` MaoXiaoyun
2011-03-01 5:01 ` James Harper
2011-03-01 5:28 ` MaoXiaoyun
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55AC7@trantor>
[not found] ` <BLU157-w655070D9CFE092D78C011DDAC10@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55ACA@trantor>
2011-03-01 12:34 ` MaoXiaoyun
2011-03-01 12:35 ` James Harper
2011-03-01 12:48 ` James Harper
2011-03-02 3:01 ` MaoXiaoyun
2011-03-02 6:07 ` James Harper
2011-03-02 6:44 ` MaoXiaoyun
2011-03-02 6:28 ` James Harper
2011-03-02 9:23 ` MaoXiaoyun
2011-03-02 11:37 ` James Harper
[not found] ` <BLU157-w3311FE380E5D57DD810827DAC00@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55B44@trantor>
[not found] ` <BLU157-w564C179CAAF26EC5D7559DAC00@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C, , , , , , 1A77D01, C, 5, 5, B, 4, 6@trantor>
[not found] ` <BLU157-w446CEE35E592FE12EF0180DAC30@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55B88@trantor>
[not found] ` <BLU157-w5382FC5FCC26C6EE8EC18BDAC30@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55BB3@trantor>
[not found] ` <BLU157-w62FFC7240FD65345A0B3A8DAC30@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55BB7@trantor>
[not found] ` <BLU157-w30368B861A4BFFF8A8DB9DDAC30@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55BBA@trantor>
[not found] ` <BLU157-w28F0FE7DA9D129E9003136DAC30@phx.gbl>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55BBD@trantor>
[not found] ` <BLU157-w826F2EDB9C1A7077BA524DAC30@phx.gbl>
[not found] ` <019001cbdd41$1ccfbc20$566f3460$@harper@bendigoit.com.au>
2011-03-14 2:24 ` MaoXiaoyun
2011-03-14 2:57 ` MaoXiaoyun
2011-03-14 3:52 ` James Harper
2011-03-14 5:08 ` James Harper
2011-03-14 5:19 ` MaoXiaoyun
2011-03-01 7:14 ` MaoXiaoyun
2011-03-01 9:36 ` James Harper
[not found] ` <AEC6C66638C05B468B556EA548C1A77D01C55AC5@trantor>
2011-03-01 9:51 ` MaoXiaoyun
2011-03-01 9:54 ` James Harper
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).