Skip to contentSkip to conversation

Problems with GPLPV 0.9.10 on XP Pro, STOP 0x0000007B

DISCUSSION James Harper 3 participants 38 messages Jun 23, 2008 – Jul 7, 2008 7 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): AEC6C66638C05B468B556EA548C1A77D0148FABB@trantor

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): AEC6C66638C05B468B556EA548C1A77D0148FAEE@trantor

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

I've just put up some instructions on running the windows debugger in Xen to be able to get some output from the GPLPV drivers if they won't boot.

Have a look at http://wiki.xensource.com/xenwiki/XenWindowsGplPv

If it doesn't make sense or if I've made a mistake then let me know, or go ahead and correct it yourself.

James

Quoted 7 lines

-----Original Message-----
From: Mark Bryars [mailto:[email protected]]
Sent: Monday, 23 June 2008 19:53
To: James Harper
Subject: Re: Problems with GPLPV 0.9.10 on XP Pro, STOP 0x0000007B

Quoted 5 lines

Ok, so, I removed the drivers and downloaded the 0.9.11-pre4 release, booted with gplpv switch, ran debugview and installed the drivers

During the installation process windows picked up a D: drive and

started

Quoted 4 lines

autorun scanning it. It had initialised the device successfully, UGH!

Managed to recover the log file created by mounting the image, because windows wont boot anymore, still with the 7B error with GPLPV switch,

and

Quoted 7 lines

because of some corrupt files otherwise, tho because it starts up I doubt it will be of much use :(

Regards,
Mark Bryars

#6 lore raw

GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Hello James,

thanks for the new instructions on operating the debugger.

I tested the latest version of the PV driver on a Ubuntu server (dom0) with kernel:
-----------------------------------
Linux version 2.6.24-16-xen (buildd@yellow) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 14:35:03 UTC 2008 (Ubuntu 2.6.24-4.6-generic)
-----------------------------------

and hypervisor:
-----------------------------------
(XEN) Xen version 3.2.1-rc1-pre (buildd@buildd) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) Fri Apr 11 01:13:51 UTC 2008
-----------------------------------

the machine is an AMD Dual-Core AMD Opteron Processor 1220 stepping 03

The DomU is a fresh install of Windows XP Professional (English), SP2, with the .net 2.0 framework and 0.9.11-pre4 drivers installed.

Graphically, the DomU hangs during the booting process (the progress bar is running forever).

Under WinDbg, the latest messages printed every 5 seconds are:
-----------------------------------

XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 0, aligned bytes   = 0
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1
XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 1, aligned bytes   = 512
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1

-----------------------------------

Full debug log messages attached.

Machine configuration is:
http://www.sigala.it/gplpv/WINXPPRO_ENG2.cfg
dmesg output from dom0:
http://www.sigala.it/gplpv/dmesg.txt
xm dmesg output from dom0:
http://www.sigala.it/gplpv/xm-dmesg.txt

Best Regards,
Sandro

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Hello James,

was the information I sent one week ago enough to spot the problem?

Thanks,
Sandro

Quoted 24 lines · Sandro Sigala

Graphically, the DomU hangs during the booting process (the progress bar is running forever).

Under WinDbg, the latest messages printed every 5 seconds are:
-----------------------------------

XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 0, aligned bytes   = 0
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1
XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 1, aligned bytes   = 512
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1

-----------------------------------

Full debug log messages attached.

Machine configuration is:
http://www.sigala.it/gplpv/WINXPPRO_ENG2.cfg
dmesg output from dom0:
http://www.sigala.it/gplpv/dmesg.txt
xm dmesg output from dom0:
http://www.sigala.it/gplpv/xm-dmesg.txt

#8 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

I've only just gotten back to it - I tried upgrading my test machine to 3.3-unstable (Debian package) and it was breaking badly.

Two things I noticed:

1. you are using tap:aio - as a test, can you try using file: instead? I have never gotten tap:aio working. If you've already tried this and mentioned it to me then I apologise in advance :)

2. I'm wondering if there might be a race in the code that figures out if the backend is 32 or 64 bits... I'll do some testing on that.

James

Quoted 45 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Sandro Sigala
Sent: Thursday, 3 July 2008 17:03
To: [email protected]
Subject: Re: [Xen-devel] GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Hello James,

was the information I sent one week ago enough to spot the problem?

Thanks,
Sandro

Quoted 15 lines · Sandro Sigala

Graphically, the DomU hangs during the booting process (the progress bar is running forever).

Under WinDbg, the latest messages printed every 5 seconds are:
-----------------------------------

XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 0, aligned bytes   = 0
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1
XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 1, aligned bytes   = 512
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1

-----------------------------------

Quoted 9 lines

Full debug log messages attached.

Machine configuration is:
http://www.sigala.it/gplpv/WINXPPRO_ENG2.cfg
dmesg output from dom0:
http://www.sigala.it/gplpv/dmesg.txt
xm dmesg output from dom0:
http://www.sigala.it/gplpv/xm-dmesg.txt

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

In reply to Sandro Sigala

Could you please try 0.9.11-pre5?

That would be 0.9.11 proper except that suddenly 'restore' isn't working anymore, but if you could tell me if you problem is fixed or not then that would be great!

James

Quoted 45 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Sandro Sigala
Sent: Thursday, 3 July 2008 17:03
To: [email protected]
Subject: Re: [Xen-devel] GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Hello James,

was the information I sent one week ago enough to spot the problem?

Thanks,
Sandro

Quoted 15 lines · Sandro Sigala

Graphically, the DomU hangs during the booting process (the progress bar is running forever).

Under WinDbg, the latest messages printed every 5 seconds are:
-----------------------------------

XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 0, aligned bytes   = 0
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1
XenVbd     no_free_grant_requests = 0
XenVbd     aligned requests   = 1, aligned bytes   = 512
XenVbd     unaligned requests = 0, unaligned bytes = 0
XenVbd     interrupts = 1

-----------------------------------

Quoted 9 lines

Full debug log messages attached.

Machine configuration is:
http://www.sigala.it/gplpv/WINXPPRO_ENG2.cfg
dmesg output from dom0:
http://www.sigala.it/gplpv/dmesg.txt
xm dmesg output from dom0:
http://www.sigala.it/gplpv/xm-dmesg.txt

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Hello,

Quoted 8 lines · James Harper

I've only just gotten back to it - I tried upgrading my test machine to 3.3-unstable (Debian package) and it was breaking badly.

Two things I noticed:

1. you are using tap:aio - as a test, can you try using file: instead? I have never gotten tap:aio working. If you've already tried this and mentioned it to me then I apologise in advance :)

Unfortunately I can't make a test: the "file:" access is broken in Ubuntu Hardy, while it was working IIRC in Ubuntu Gutsy. On the other hand, the "tap:aio" access is working perfectly in Hardy while was broken in Gutsy :)

Quoted 6 lines

Could you please try 0.9.11-pre5?

That would be 0.9.11 proper except that suddenly 'restore' isn't working anymore, but if you could tell me if you problem is fixed or not then that would be great!

I tried on the same hardware/software configuration with a new fresh install of WinXPPro (to be sure that no older PV driver was present).

Unfortunately seems like to loop forever on a different part of the code:
---------------------------------------------------------------------------
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI IRP_MN_QUERY_PNP_DEVICE_STATE (status = 00000000)
XenVbd --- HwScsiStartIo (Still figuring out ring)
XenVbd ring_detect_state = 0, operation = ff, id = 0, status = 0
XenVbd ring_detect_state = 1, operation = 0, id = ff, status = 0
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 0, Page Code = 00)
XenVbd     (Length = 36)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 00)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 80)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS (status = 00000000)

XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus
---------------------------------------------------------------------------

After the last message no more messages are printed on the windbg console while the progress bar is still running (so it's not a hang).

Please find attached the full debug log.

Thanks,
Sandro

Microsoft (R) Windows Debugger Version 6.9.0003.113 X86 Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\com8
Waiting to reconnect...
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Kernel Debugger connection established.
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *

*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *

* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntoskrnl.exe - Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055ab20
System Uptime: not available
XenHide --> DriverEntry
XenHide gplpv = 1
XenHide <-- DriverEntry
XenHide --> XenHide_AddDevice
XenHide Installing Filter for PCI bus
XenHide <-- XenHide_AddDevice

XenHide     IRP_MN_START_DEVICE
XenHide     hide_type != XENHIDE_TYPE_DEVICE
XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations

XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82441FX Pentium(R) Pro Processor to PCI bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82371SB PCI to ISA bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for ISAPNP Read Data Port)
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Intel(R) 82371SB PCI Bus Master IDE Controller
XenHide <-- XenHide_AddDevice

XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
XenHide     Hiding 817E8A90
XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
XenHide     Hiding 817E8A90

XenPCI --> DriverEntry
XenPCI <-- DriverEntry
XenPCI --> XenPci_AddDevice
XenPCI IoRegisterDeviceInterface succeeded - \??\PCI#VEN_5853&DEV_0001&SUBSYS_00015853&REV_01#2&ebb567f&0&18#{5c568ac5-9ddf-4fa5-a94a-39d67077819c}
XenPCI <-- XenPci_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen PCI Device Driver)
XenPCI IRP_MN_FILTER_RESOURCE_REQUIREMENTS
XenPCI --> XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_Pnp_FilterResourceRequirementsCallback (status = 00000000) XenPCI <-- XenPci_Pnp_FilterResourceRequirementsCallback
XenPCI IRP_MN_START_DEVICE
XenPCI --> XenPci_Pnp_StartDevice
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp

XenPCI     irq_number = 005
XenPCI     Private Data: 0x01 0x00 0x00
XenPCI     Memory mapped CSR:(f3000000:0) Length:(16777216)
XenPCI     Memory flags = 0004
XenPCI     Private Data: 0x01 0x01 0x00
XenPCI     irq_vector = 035
XenPCI     irq_level = 016

XenPCI <-- XenPci_Pnp_StartDevice
XenPCI --> XenPci_Init
XenPCI Xen Signature = XenVMMXenVMM, EAX = 0x40000002 XenPCI Hypercall area at 817AE000
XenPCI pfn = 1BAE
XenPCI shared_info_area_unmapped.QuadPart = f3000000 XenPCI gpfn = 995328
XenPCI hypervisor memory op ret = 0
XenPCI <-- XenPci_Init
XenPCI --> EvtChn_Connect
XenPCI --> hvm_set_parameter
XenPCI HYPERVISOR_hvm_op retval = 0
XenPCI <-- hvm_set_parameter
XenPCI <-- EvtChn_Connect
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 sysrqwatch response = '(null)'
XenPCI --> XenPci_SysrqHandler

XenPCI     shutdown watch response = '(null)'
XenPCI     device watch response = '(null)'
XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback

XenPCI     SysRq Value = (null)
XenPCI     New device device/vfb/0
XenPCI     New device device/vbd/768
     Unhandled sysrq letter XenPCI     New device device/vif/0
XenPCI     New device device/console/0
XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vfb device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vbd device #768
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     768
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vif device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen console device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)

XenPCI <-- XenPci_SysrqHandler
XenVbd --> DriverEntry
XenVbd IRQL = 0
XenVbd --> XenVbd_FillInitCallbacks
XenVbd IRQL = 0
XenVbd <-- XenVbd_FillInitCallbacks
XenVbd <-- DriverEntry
XenConfig --> DriverEntry
XenConfig <-- DriverEntry
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen Block Device Driver) XenConfig --> XenConfig_Pnp_StartDevice

XenConfig     config key name = 'device-type'
XenConfig     config key name = 'event-channel'
XenConfig     config key name = 'grants'
XenConfig     config key name = 'ring-ref'
XenConfig     config key name = 'sector-size'
XenConfig     config key name = 'sectors'
XenConfig     config key name = 'vectors'
XenConfig     PFN[0] = 00002600
XenConfig     Start = 00000000:02600000, Length = 4096

XenPCI IRP_MN_START_DEVICE (status = c00000bb)
XenPCI --> XenPci_Pnp_StartDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_ShutdownHandler

XenPCI     CmResourceTypeInterrupt
XenPCI     irq_vector = 035
XenPCI     irq_level = 22
XenPCI     CmResourceTypeMemory
XenPCI     Start = 02600000, Length = 4096

XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers
XenPCI XEN_INIT_TYPE_WRITE_STRING - (null) = (null)
XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
XenPCI --> EvtChn_BindIrq
XenPCI <-- EvtChn_BindIrq
XenPCI XEN_INIT_TYPE_RING - ring-ref = 817AA000
Error reading shutdown path - ENOENT

XenPCI     Backend State Changed to InitWait
XenPCI     Backend State Changed to Connected
XenPCI     XEN_INIT_TYPE_READ_STRING - device-type = disk
XenPCI     XEN_INIT_TYPE_GRANT_ENTRIES - 144
XenPCI     XEN_INIT_TYPE_READ_STRING - sector-size = 512
XenPCI     XEN_INIT_TYPE_READ_STRING - sectors = 8192000

XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers (00000000 XenPCI <-- XenPci_Pnp_StartDevice
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenVbd --> XenVbd_HwScsiFindAdapter

XenVbd     IRQL = 0
XenVbd     BusInterruptLevel = 5
XenVbd     BusInterruptVector = 005
XenVbd     RangeStart = 02600000, RangeLength = 00001000
XenVbd     XEN_INIT_TYPE_VECTORS
XenVbd     XEN_INIT_TYPE_DEVICE_STATE - 817AC2DC
XenVbd     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
XenVbd     XEN_INIT_TYPE_RING - ring-ref = 817AA000
XenVbd     XEN_INIT_TYPE_READ_STRING - device-type = disk
XenVbd     device-type = Disk
XenVbd     XEN_INIT_TYPE_GRANT_ENTRIES - 144
XenVbd     XEN_INIT_TYPE_READ_STRING - sector-size = 512
XenVbd     XEN_INIT_TYPE_READ_STRING - sectors = 8192000
XenVbd     Dma64BitAddresses not supported

XenVbd <-- XenVbd_HwScsiFindAdapter
XenVbd --> XenVbd_HwScsiInitialize
XenVbd IRQL = 22
XenVbd <-- XenVbd_HwScsiInitialize
XenVbd --> HwScsiAdapterControl
XenVbd IRQL = 0
XenVbd ScsiQuerySupportedControlTypes (Max = 5)
XenVbd <-- HwScsiAdapterControl
XenConfig <-- XenConfig_Pnp_StartDevice XenConfig --> XenConfig_Pnp_StartDeviceCallback XenConfig <-- XenConfig_Pnp_StartDeviceCallback
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI IRP_MN_QUERY_PNP_DEVICE_STATE (status = 00000000)
XenVbd --- HwScsiStartIo (Still figuring out ring)
XenVbd ring_detect_state = 0, operation = ff, id = 0, status = 0
XenVbd ring_detect_state = 1, operation = 0, id = ff, status = 0
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 0, Page Code = 00)
XenVbd     (Length = 36)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 00)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 80)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS (status = 00000000)

XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 4 lines

Hello,

Quoted 1 line · James Harper

I've only just gotten back to it - I tried upgrading my test

machine to

Quoted 5 lines
Quoted 5 lines

3.3-unstable (Debian package) and it was breaking badly.

Two things I noticed:

1. you are using tap:aio - as a test, can you try using file:

instead?

Quoted 5 lines

I

Quoted 2 lines

have never gotten tap:aio working. If you've already tried this and mentioned it to me then I apologise in advance :)

Unfortunately I can't make a test: the "file:" access is broken in

Ubuntu

Quoted 1 line

Hardy, while it was working IIRC in Ubuntu Gutsy. On the other hand,

the

Quoted 1 line

"tap:aio" access is working perfectly in Hardy while was broken in

Gutsy

Quoted 1 line

:)

Hmmm... well according to the logs the fact that it is tap:aio doesn't seem to be a problem - it's past where it crashes on my system when I try with tap:aio.

I have uploaded a version of xenvbd.sys with a whole load of debug statements in it which should give me more of an idea about what is going on.

I have uploaded xenvbd-xp-debug.zip to
http://www.meadowcourt.org/downloads, please put the xenvbd.sys file in c:\windows\system32\drivers and reboot and send me the debug output from that.

Thanks

James

Quoted 4 lines
Quoted 4 lines

Could you please try 0.9.11-pre5?

That would be 0.9.11 proper except that suddenly 'restore' isn't

working

Quoted 1 line
Quoted 1 line

anymore, but if you could tell me if you problem is fixed or not

then

Quoted 8 lines
Quoted 2 lines

that would be great!

I tried on the same hardware/software configuration with a new fresh install
of WinXPPro (to be sure that no older PV driver was present).

Unfortunately seems like to loop forever on a different part of the

code:

Quoted 1 line

------------------------------------------------------------------------
--

Quoted 22 lines

-
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI IRP_MN_QUERY_PNP_DEVICE_STATE (status = 00000000)
XenVbd --- HwScsiStartIo (Still figuring out ring)
XenVbd ring_detect_state = 0, operation = ff, id = 0, status = 0
XenVbd ring_detect_state = 1, operation = 0, id = ff, status = 0
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 0, Page Code = 00)
XenVbd     (Length = 36)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 00)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 80)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS (status = 00000000)
Quoted 4 lines

XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

------------------------------------------------------------------------
--

Quoted 3 lines

-

After the last message no more messages are printed on the windbg

console

Quoted 6 lines

while the progress bar is still running (so it's not a hang).

Please find attached the full debug log.

Thanks,
Sandro

#12 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Hi,

I did like you suggested but the debug output in not changing much, apart of a few lines different... unless I made a mistake but it's unlikely, I just replaced the xenvbd.sys file as you suggested after installing the drivers and before rebooting.

Interesting enough, without the /GPLPV parameter Windoze is hanging at a certain point. I noticed this behavior also in the previous -pre4 version of the drivers. I attached a debug log also in that situation.

Thanks,
Sandro

Quoted 8 lines · James Harper

I have uploaded a version of xenvbd.sys with a whole load of debug statements in it which should give me more of an idea about what is going on.

I have uploaded xenvbd-xp-debug.zip to
http://www.meadowcourt.org/downloads, please put the xenvbd.sys file in c:\windows\system32\drivers and reboot and send me the debug output from that.

Microsoft (R) Windows Debugger Version 6.9.0003.113 X86 Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\com8
Waiting to reconnect...
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Kernel Debugger connection established.
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *

*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *

* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntoskrnl.exe - Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055ab20
System Uptime: not available
XenHide --> DriverEntry
XenHide gplpv = 1
XenHide <-- DriverEntry
XenHide --> XenHide_AddDevice
XenHide Installing Filter for PCI bus
XenHide <-- XenHide_AddDevice

XenHide     IRP_MN_START_DEVICE
XenHide     hide_type != XENHIDE_TYPE_DEVICE
XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations

XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82441FX Pentium(R) Pro Processor to PCI bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82371SB PCI to ISA bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for ISAPNP Read Data Port)
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Intel(R) 82371SB PCI Bus Master IDE Controller
XenHide <-- XenHide_AddDevice

XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
XenHide     Hiding 817E8A90
XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
XenHide     Hiding 817E8A90

XenPCI --> DriverEntry
XenPCI <-- DriverEntry
XenPCI --> XenPci_AddDevice
XenPCI IoRegisterDeviceInterface succeeded - \??\PCI#VEN_5853&DEV_0001&SUBSYS_00015853&REV_01#2&ebb567f&0&18#{5c568ac5-9ddf-4fa5-a94a-39d67077819c}
XenPCI <-- XenPci_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen PCI Device Driver)
XenPCI IRP_MN_FILTER_RESOURCE_REQUIREMENTS
XenPCI --> XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_Pnp_FilterResourceRequirementsCallback (status = 00000000) XenPCI <-- XenPci_Pnp_FilterResourceRequirementsCallback
XenPCI IRP_MN_START_DEVICE
XenPCI --> XenPci_Pnp_StartDevice
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp

XenPCI     irq_number = 005
XenPCI     Private Data: 0x01 0x00 0x00
XenPCI     Memory mapped CSR:(f3000000:0) Length:(16777216)
XenPCI     Memory flags = 0004
XenPCI     Private Data: 0x01 0x01 0x00
XenPCI     irq_vector = 035
XenPCI     irq_level = 016

XenPCI <-- XenPci_Pnp_StartDevice
XenPCI --> XenPci_Init
XenPCI Xen Signature = XenVMMXenVMM, EAX = 0x40000002 XenPCI Hypercall area at 817AE000
XenPCI pfn = 1BAE
XenPCI shared_info_area_unmapped.QuadPart = f3000000 XenPCI gpfn = 995328
XenPCI hypervisor memory op ret = 0
XenPCI <-- XenPci_Init
XenPCI --> EvtChn_Connect
XenPCI --> hvm_set_parameter
XenPCI HYPERVISOR_hvm_op retval = 0
XenPCI <-- hvm_set_parameter
XenPCI <-- EvtChn_Connect
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 sysrqwatch response = '(null)'
XenPCI --> XenPci_SysrqHandler

XenPCI     shutdown watch response = '(null)'
XenPCI     device watch response = '(null)'
XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback

XenPCI     SysRq Value = (null)
XenPCI     New device device/vfb/0
XenPCI     New device device/console/0

Unhandled sysrq letter XenPCI New device device/vbd/768
XenPCI <-- XenPci_SysrqHandler
XenPCI New device device/vif/0
XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback

XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vfb device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen console device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vbd device #768
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     768
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vif device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)

XenPCI --> XenPci_ShutdownHandler
XenVbd --> DriverEntry
XenVbd IRQL = 0
XenVbd --> XenVbd_FillInitCallbacks
XenVbd IRQL = 0
XenVbd <-- XenVbd_FillInitCallbacks
XenVbd <-- DriverEntry
XenConfig --> DriverEntry
XenConfig <-- DriverEntry
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen Block Device Driver) XenConfig --> XenConfig_Pnp_StartDevice

XenConfig     config key name = 'device-type'
XenConfig     config key name = 'event-channel'
XenConfig     config key name = 'grants'
XenConfig     config key name = 'ring-ref'
XenConfig     config key name = 'sector-size'
XenConfig     config key name = 'sectors'
XenConfig     config key name = 'vectors'
XenConfig     PFN[0] = 000026E0
XenConfig     Start = 00000000:026e0000, Length = 4096

XenPCI IRP_MN_START_DEVICE (status = c00000bb)
XenPCI --> XenPci_Pnp_StartDevice
XenPCI pnp_state = NotStarted
Error reading shutdown path - ENOENT

XenPCI     CmResourceTypeInterrupt
XenPCI     irq_vector = 035
XenPCI     irq_level = 22
XenPCI     CmResourceTypeMemory
XenPCI     Start = 026e0000, Length = 4096

XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers
XenPCI XEN_INIT_TYPE_WRITE_STRING - (null) = (null)
XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
XenPCI --> EvtChn_BindIrq
XenPCI <-- EvtChn_BindIrq

XenPCI     XEN_INIT_TYPE_RING - ring-ref = 817AA000
XenPCI     Backend State Changed to InitWait
XenPCI     Backend State Changed to Connected
XenPCI     XEN_INIT_TYPE_READ_STRING - device-type = disk
XenPCI     XEN_INIT_TYPE_GRANT_ENTRIES - 144
XenPCI     XEN_INIT_TYPE_READ_STRING - sector-size = 512
XenPCI     XEN_INIT_TYPE_READ_STRING - sectors = 8192000

XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers (00000000 XenPCI <-- XenPci_Pnp_StartDevice
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenVbd --> XenVbd_HwScsiFindAdapter

XenVbd     IRQL = 0
XenVbd     BusInterruptLevel = 5
XenVbd     BusInterruptVector = 005
XenVbd     RangeStart = 026e0000, RangeLength = 00001000
XenVbd     XEN_INIT_TYPE_VECTORS
XenVbd     XEN_INIT_TYPE_DEVICE_STATE - 817ACFC4
XenVbd     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
XenVbd     XEN_INIT_TYPE_RING - ring-ref = 817AA000
XenVbd     XEN_INIT_TYPE_READ_STRING - device-type = disk
XenVbd     device-type = Disk
XenVbd     XEN_INIT_TYPE_GRANT_ENTRIES - 144
XenVbd     XEN_INIT_TYPE_READ_STRING - sector-size = 512
XenVbd     XEN_INIT_TYPE_READ_STRING - sectors = 8192000
XenVbd     Dma64BitAddresses not supported

XenVbd <-- XenVbd_HwScsiFindAdapter
XenVbd --> XenVbd_HwScsiInitialize
XenVbd IRQL = 22
XenVbd <-- XenVbd_HwScsiInitialize
XenVbd --> HwScsiAdapterControl
XenVbd IRQL = 0
XenVbd ScsiQuerySupportedControlTypes (Max = 5)
XenVbd <-- HwScsiAdapterControl
XenConfig <-- XenConfig_Pnp_StartDevice XenConfig --> XenConfig_Pnp_StartDeviceCallback XenConfig <-- XenConfig_Pnp_StartDeviceCallback
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI IRP_MN_QUERY_PNP_DEVICE_STATE (status = 00000000)
XenVbd --- HwScsiStartIo (Still figuring out ring)
XenVbd ring_detect_state = 0, operation = ff, id = 0, status = 0
XenVbd ring_detect_state = 1, operation = 0, id = ff, status = 0
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 0, Page Code = 00)
XenVbd     (Length = 36)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 00)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 80)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS (status = 00000000)

XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

Microsoft (R) Windows Debugger Version 6.9.0003.113 X86 Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\com8
Waiting to reconnect...
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Kernel Debugger connection established.
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *

*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *

* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntoskrnl.exe - Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055ab20
System Uptime: not available
XenHide --> DriverEntry
XenHide gplpv = 0
XenHide <-- DriverEntry
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for PCI bus)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82441FX Pentium(R) Pro Processor to PCI bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82371SB PCI to ISA bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for ISAPNP Read Data Port)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel(R) 82371SB PCI Bus Master IDE Controller) XenPCI --> DriverEntry
XenPCI <-- DriverEntry
XenPCI --> XenPci_AddDevice
XenPCI IoRegisterDeviceInterface succeeded - \??\PCI#VEN_5853&DEV_0001&SUBSYS_00015853&REV_01#2&ebb567f&0&18#{5c568ac5-9ddf-4fa5-a94a-39d67077819c}
XenPCI <-- XenPci_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen PCI Device Driver)
XenPCI IRP_MN_FILTER_RESOURCE_REQUIREMENTS
XenPCI --> XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_Pnp_FilterResourceRequirementsCallback (status = 00000000)
XenPCI <-- XenPci_Pnp_FilterResourceRequirementsCallback
XenPCI IRP_MN_START_DEVICE
XenPCI --> XenPci_Pnp_StartDevice
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp

XenPCI     irq_number = 005
XenPCI     Private Data: 0x01 0x00 0x00
XenPCI     Memory mapped CSR:(f3000000:0) Length:(16777216)
XenPCI     Memory flags = 0004
XenPCI     Private Data: 0x01 0x01 0x00
XenPCI     irq_vector = 035
XenPCI     irq_level = 016

XenPCI <-- XenPci_Pnp_StartDevice
XenPCI --> XenPci_Init
XenPCI Xen Signature = XenVMMXenVMM, EAX = 0x40000002 XenPCI Hypercall area at 817AE000
XenPCI pfn = 1BAE
XenPCI shared_info_area_unmapped.QuadPart = f3000000 XenPCI gpfn = 995328
XenPCI hypervisor memory op ret = 0
XenPCI <-- XenPci_Init
XenPCI --> EvtChn_Connect
XenPCI --> hvm_set_parameter
XenPCI HYPERVISOR_hvm_op retval = 0
XenPCI <-- hvm_set_parameter
XenPCI <-- EvtChn_Connect
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 sysrqwatch response = '(null)'
XenPCI --> XenPci_SysrqHandler

XenPCI     shutdown watch response = '(null)'
XenPCI     device watch response = '(null)'
XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback

XenPCI     SysRq Value = (null)
XenPCI     New device device/vfb/0
XenPCI     New device device/vbd/768
     Unhandled sysrq letter XenPCI     New device device/vif/0
XenPCI     New device device/console/0
XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vfb device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vbd device #768
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     768
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vif device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen console device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)

XenPCI <-- XenPci_SysrqHandler
XenVbd --> DriverEntry
XenVbd IRQL = 0
XenVbd --> XenVbd_FillInitCallbacks
XenVbd IRQL = 0
XenVbd <-- XenVbd_FillInitCallbacks
XenVbd <-- DriverEntry
XenConfig --> DriverEntry
XenConfig <-- DriverEntry
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Block Device Driver
XenHide <-- XenHide_AddDevice
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI --> XenPci_ShutdownHandler
XenPCI IRP_MN_REMOVE_DEVICE (status = c00000bb)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)

XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback
Error reading shutdown path - ENOENT

XenPCI     Existing device device/vfb/0
XenPCI     Existing device device/vbd/768
XenPCI     Existing device device/vif/0
XenPCI     Existing device device/console/0

XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Primary IDE Channel)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Secondary IDE Channel) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (L2TP))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (IP))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (PPPOE))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (PPTP))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Packet Scheduler Miniport) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Packet Scheduler Miniport) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Packet Scheduler Miniport) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Direct Parallel)
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Stub Device Driver (Virtual Frame Buffer)
XenHide <-- XenHide_AddDevice
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Net Device Driver
XenHide <-- XenHide_AddDevice
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Stub Device Driver (Console)
XenHide <-- XenHide_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Realtek RTL8139 Family PCI Fast Ethernet NIC) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Terminal Server Device Redirector) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Terminal Server Keyboard Driver) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Terminal Server Mouse Driver) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Plug and Play Software Device Enumerator) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Microcode Update Device) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Microsoft System Management BIOS Driver)
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = 00000000)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)
XenPCI IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = 00000000)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)
XenPCI IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = 00000000)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)
XenPCI IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Printer Port Logical Interface)
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice
XenPCI IRP_MN_CANCEL_STOP_DEVICE
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice

XenPCI     IRP_MN_CANCEL_STOP_DEVICE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback

XenPCI     Existing device device/vfb/0
XenPCI     Existing device device/vbd/768
XenPCI     Existing device device/vif/0
XenPCI     Existing device device/console/0

XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice
XenPCI IRP_MN_CANCEL_STOP_DEVICE
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice
XenPCI IRP_MN_CANCEL_STOP_DEVICE

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#13 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Hi James,

I meet this problem before but not in the same scenario.
I use WinPv driver WDF version and attach a lot of vbd and vif device, such as 4 disks and 8 NICs. After WinPv driver install correctly, reboot the vm. Vm cannot reboot correctly every times. And the debug log is very similar as Sandro provided. I change the backend bit width detect code as follow. In my test box, WinPv driver works ok till now. Please have a try if you are interested in it.

+XenVbd_TestBitWidth(PXENVBD_DEVICE_DATA DeviceData, PXENVBD_TARGET_DATA TargetData) +{

+  blkif_request_t *req;
+  ULONG i;
+  int notify;  +  +  KdPrint((__DRIVER_NAME " --> XenVbd_TestBitWidth\n"));
+    req = RING_GET_REQUEST(&TargetData->Ring, TargetData->Ring.req_prod_pvt);
+	req->id = 0;
+	KdPrint((__DRIVER_NAME "    req id : %d\n",req->id));
+    req->operation = 0xff;
+    req->nr_segments = 0;
+    for (i = 0; i < req->nr_segments; i++)
+    {
+      req->seg[i].gref = 0xffffffff;
+      req->seg[i].first_sect = 0xff;
+      req->seg[i].last_sect = 0xff;
+    }
+    TargetData->Ring.req_prod_pvt++;
+
+    RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&TargetData->Ring, notify);
+    KdPrint((__DRIVER_NAME "     1st notify: %d\n", notify));
+    if (notify)

+ DeviceData->XenDeviceData->XenInterface.EvtChn_Notify(
+ DeviceData->XenDeviceData->XenInterface.InterfaceHeader.Context,
+ TargetData->EventChannel);
+ KeMemoryBarrier();
+ + req = RING_GET_REQUEST(&TargetData->Ring, TargetData->Ring.req_prod_pvt);
+ req->id = 1;
+ KdPrint((__DRIVER_NAME " req id : %d\n",req->id));

+    req->operation = 0xff;
+    req->nr_segments = 0;
+    for (i = 0; i < req->nr_segments; i++)
+    {
+      req->seg[i].gref = 0xffffffff;
+      req->seg[i].first_sect = 0xff;
+      req->seg[i].last_sect = 0xff;
+    }
+    TargetData->Ring.req_prod_pvt++;
+
+    RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&TargetData->Ring, notify);
+    KdPrint((__DRIVER_NAME "     2nd notify: %d\n", notify));
+    if (notify)

+ DeviceData->XenDeviceData->XenInterface.EvtChn_Notify(
+ DeviceData->XenDeviceData->XenInterface.InterfaceHeader.Context,
+ TargetData->EventChannel);
+ KeMemoryBarrier();
+ KdPrint((__DRIVER_NAME " <-- XenVbd_TestBitWidth\n"));
+ return;
+}

#14 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Wayne Gong wrote:
I change the backend bit width detect

Quoted 2 lines

code as follow. In my test box, WinPv driver works ok till now. Please have a try if you are interested in it.

Thank you very much! If James will not able to reproduce the very same situation, I will try to install the DDK toolkit and compile myself the drivers and do some experiments.

Regards,
Sandro

#15 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

In reply to Wayne Gong
Quoted 5 lines

Hi James,

I meet this problem before but not in the same scenario.
I use WinPv driver WDF version and attach a lot of vbd and vif device, such as 4 disks and 8 NICs. After WinPv driver install correctly,

reboot

Quoted 4 lines

the vm. Vm cannot reboot correctly every times. And the debug log is very similar as Sandro provided. I change the backend bit width detect code as follow. In my test box, WinPv driver works ok till now. Please have a try if you are interested in it.

That patch appears to be to your wdf version of the code... can you give me a summary of what the change you made is?

At a guess, the difference to the original code is that you are doing two separate notify's, and a KeMemoryBarrier after each. Can you tell my why the barrier is required?

I just noticed that the for() loop will never actually do anything as req->nr_segments is initialised to zero... that's the same in my current code too! I wonder how long that has been a problem for? I'll change my code to initialise nr_segments to the maximum.

James

Quoted 3 lines

+XenVbd_TestBitWidth(PXENVBD_DEVICE_DATA DeviceData,

PXENVBD_TARGET_DATA

Quoted 16 lines

TargetData)

(quoted diff) +7 -0
+{
+  blkif_request_t *req;
+  ULONG i;
+  int notify;
+
+  KdPrint((__DRIVER_NAME " --> XenVbd_TestBitWidth\n"));
+    req = RING_GET_REQUEST(&TargetData->Ring, TargetData-
Quoted 1 line

Ring.req_prod_pvt);

(quoted diff) +7 -0
+	req->id = 0;
+	KdPrint((__DRIVER_NAME "    req id : %d\n",req->id));
+    req->operation = 0xff;
+    req->nr_segments = 0;
+    for (i = 0; i < req->nr_segments; i++)
+    {
+      req->seg[i].gref = 0xffffffff;

Review

Quoted 10 lines
(quoted diff) +10 -0
+      req->seg[i].first_sect = 0xff;
+      req->seg[i].last_sect = 0xff;
+    }
+    TargetData->Ring.req_prod_pvt++;
+
+    RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&TargetData->Ring, notify);
+    KdPrint((__DRIVER_NAME "     1st notify: %d\n", notify));
+    if (notify)
+      DeviceData->XenDeviceData->XenInterface.EvtChn_Notify(
+

DeviceData->XenDeviceData->XenInterface.InterfaceHeader.Context,

Quoted 12 lines
(quoted diff) +4 -0
+        TargetData->EventChannel);
+    KeMemoryBarrier();
+
+    req = RING_GET_REQUEST(&TargetData->Ring, TargetData-
Quoted 1 line

Ring.req_prod_pvt);

(quoted diff) +7 -0
+	req->id = 1;
+	KdPrint((__DRIVER_NAME "     req id : %d\n",req->id));
+    req->operation = 0xff;
+    req->nr_segments = 0;
+    for (i = 0; i < req->nr_segments; i++)
+    {
+      req->seg[i].gref = 0xffffffff;

Review

Quoted 10 lines
(quoted diff) +10 -0
+      req->seg[i].first_sect = 0xff;
+      req->seg[i].last_sect = 0xff;
+    }
+    TargetData->Ring.req_prod_pvt++;
+
+    RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&TargetData->Ring, notify);
+    KdPrint((__DRIVER_NAME "     2nd notify: %d\n", notify));
+    if (notify)
+      DeviceData->XenDeviceData->XenInterface.EvtChn_Notify(
+

DeviceData->XenDeviceData->XenInterface.InterfaceHeader.Context,

Quoted 6 lines
(quoted diff) +5 -0
+        TargetData->EventChannel);
+    KeMemoryBarrier();
+  KdPrint((__DRIVER_NAME " <-- XenVbd_TestBitWidth\n"));
+    return;
+}
#16 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 8 lines

That patch appears to be to your wdf version of the code... can you give me a summary of what the change you made is?

At a guess, the difference to the original code is that you are doing two separate notify's, and a KeMemoryBarrier after each. Can you tell my why the barrier is required?

Quoted 8 lines

I just noticed that the for() loop will never actually do anything as req->nr_segments is initialised to zero... that's the same in my current code too! I wonder how long that has been a problem for? I'll change my code to initialise nr_segments to the maximum.

James

Yes, as you mentioned, there are only two difference. When I meet the bug, I have no idea to deal with it. So I try several method and times to fix it. After I changed the code up to the patch as I send to you, it works fine. And till now I am not very such whether this bug has been fixed. So I this patch just a try and I cannot explain it exactly even today.

Best regards -- Wayne

#17 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

In reply to Sandro Sigala
Quoted 11 lines

Hi,

I did like you suggested but the debug output in not changing much, apart of a few lines different... unless I made a mistake but it's unlikely, I just replaced the xenvbd.sys file as you suggested after installing the drivers and before rebooting.

Interesting enough, without the /GPLPV parameter Windoze is hanging at a certain point. I noticed this behavior also in the previous -pre4 version of the drivers. I attached a debug log also in that situation.

My bad... I just looked at the winxp\i386 directory and the xenvbd.sys in there is too old... I probably recompiled it for 2k3 by mistake.

I have just recompiled and uploaded the correct version. Sorry for giving you the run around. Hopefully we'll get to the bottom of this yet!

James

#18 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 3 lines · James Harper

I have just recompiled and uploaded the correct version. Sorry for giving you the run around. Hopefully we'll get to the bottom of this yet!

Happens! :-)

Attached there are the new logs with /GPLPV and without.

Regards,
Sandro

Microsoft (R) Windows Debugger Version 6.9.0003.113 X86 Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\com8
Waiting to reconnect...
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Kernel Debugger connection established.
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *

*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *

* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntoskrnl.exe - Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055ab20
System Uptime: not available
XenHide --> DriverEntry
XenHide gplpv = 1
XenHide <-- DriverEntry
XenHide --> XenHide_AddDevice
XenHide Installing Filter for PCI bus
XenHide <-- XenHide_AddDevice

XenHide     IRP_MN_START_DEVICE
XenHide     hide_type != XENHIDE_TYPE_DEVICE
XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations

XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82441FX Pentium(R) Pro Processor to PCI bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82371SB PCI to ISA bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for ISAPNP Read Data Port)
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Intel(R) 82371SB PCI Bus Master IDE Controller
XenHide <-- XenHide_AddDevice

XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
XenHide     Hiding 817E8A90
XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
XenHide     Hiding 817E8A90

XenPCI --> DriverEntry
XenPCI <-- DriverEntry
XenPCI --> XenPci_AddDevice
XenPCI IoRegisterDeviceInterface succeeded - \??\PCI#VEN_5853&DEV_0001&SUBSYS_00015853&REV_01#2&ebb567f&0&18#{5c568ac5-9ddf-4fa5-a94a-39d67077819c}
XenPCI <-- XenPci_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen PCI Device Driver)
XenPCI IRP_MN_FILTER_RESOURCE_REQUIREMENTS
XenPCI --> XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_Pnp_FilterResourceRequirementsCallback (status = 00000000) XenPCI <-- XenPci_Pnp_FilterResourceRequirementsCallback
XenPCI IRP_MN_START_DEVICE
XenPCI --> XenPci_Pnp_StartDevice
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp

XenPCI     irq_number = 005
XenPCI     Private Data: 0x01 0x00 0x00
XenPCI     Memory mapped CSR:(f3000000:0) Length:(16777216)
XenPCI     Memory flags = 0004
XenPCI     Private Data: 0x01 0x01 0x00
XenPCI     irq_vector = 035
XenPCI     irq_level = 016

XenPCI <-- XenPci_Pnp_StartDevice
XenPCI --> XenPci_Init
XenPCI Xen Signature = XenVMMXenVMM, EAX = 0x40000002 XenPCI Hypercall area at 817AE000
XenPCI pfn = 1BAE
XenPCI shared_info_area_unmapped.QuadPart = f3000000 XenPCI gpfn = 995328
XenPCI hypervisor memory op ret = 0
XenPCI <-- XenPci_Init
XenPCI --> EvtChn_Connect
XenPCI --> hvm_set_parameter
XenPCI HYPERVISOR_hvm_op retval = 0
XenPCI <-- hvm_set_parameter
XenPCI <-- EvtChn_Connect
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 sysrqwatch response = '(null)'
XenPCI --> XenPci_SysrqHandler

XenPCI     shutdown watch response = '(null)'
XenPCI     device watch response = '(null)'
XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback
XenPCI SysRq Value = (null)
XenPCI New device device/vfb/0
Unhandled sysrq letter XenPCI New device device/console/0
XenPCI New device device/vbd/768
XenPCI <-- XenPci_SysrqHandler
XenPCI New device device/vif/0
XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback

XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vfb device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen console device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vbd device #768
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     768
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vif device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)

XenPCI --> XenPci_ShutdownHandler
XenVbd --> DriverEntry
XenVbd IRQL = 0
XenVbd --> XenVbd_FillInitCallbacks
XenVbd IRQL = 0
XenVbd <-- XenVbd_FillInitCallbacks
XenVbd <-- DriverEntry
XenConfig --> DriverEntry
XenConfig <-- DriverEntry
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen Block Device Driver) XenConfig --> XenConfig_Pnp_StartDevice

XenConfig     config key name = 'device-type'
XenConfig     config key name = 'event-channel'
XenConfig     config key name = 'grants'
XenConfig     config key name = 'ring-ref'
XenConfig     config key name = 'sector-size'
XenConfig     config key name = 'sectors'
XenConfig     config key name = 'vectors'
XenConfig     PFN[0] = 000026E0
XenConfig     Start = 00000000:026e0000, Length = 4096

XenPCI IRP_MN_START_DEVICE (status = c00000bb)
XenPCI --> XenPci_Pnp_StartDevice
XenPCI pnp_state = NotStarted
Error reading shutdown path - ENOENT

XenPCI     CmResourceTypeInterrupt
XenPCI     irq_vector = 035
XenPCI     irq_level = 22
XenPCI     CmResourceTypeMemory
XenPCI     Start = 026e0000, Length = 4096

XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers
XenPCI XEN_INIT_TYPE_WRITE_STRING - (null) = (null)
XenPCI XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
XenPCI --> EvtChn_BindIrq
XenPCI <-- EvtChn_BindIrq

XenPCI     XEN_INIT_TYPE_RING - ring-ref = 817AA000
XenPCI     Backend State Changed to InitWait
XenPCI     Backend State Changed to Connected
XenPCI     XEN_INIT_TYPE_READ_STRING - device-type = disk
XenPCI     XEN_INIT_TYPE_GRANT_ENTRIES - 144
XenPCI     XEN_INIT_TYPE_READ_STRING - sector-size = 512
XenPCI     XEN_INIT_TYPE_READ_STRING - sectors = 8192000

XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers (00000000 XenPCI <-- XenPci_Pnp_StartDevice
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenVbd --> XenVbd_HwScsiFindAdapter

XenVbd     IRQL = 0
XenVbd     BusInterruptLevel = 5
XenVbd     BusInterruptVector = 005
XenVbd     RangeStart = 026e0000, RangeLength = 00001000
XenVbd     XEN_INIT_TYPE_VECTORS
XenVbd     XEN_INIT_TYPE_DEVICE_STATE - 817ACFC4
XenVbd     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
XenVbd     XEN_INIT_TYPE_RING - ring-ref = 817AA000
XenVbd     XEN_INIT_TYPE_READ_STRING - device-type = disk
XenVbd     device-type = Disk
XenVbd     XEN_INIT_TYPE_GRANT_ENTRIES - 144
XenVbd     XEN_INIT_TYPE_READ_STRING - sector-size = 512
XenVbd     XEN_INIT_TYPE_READ_STRING - sectors = 8192000
XenVbd     Dma64BitAddresses not supported

XenVbd <-- XenVbd_HwScsiFindAdapter
XenVbd --> XenVbd_HwScsiInitialize
XenVbd IRQL = 22
XenVbd <-- XenVbd_HwScsiInitialize
XenVbd --> HwScsiAdapterControl
XenVbd IRQL = 0
XenVbd ScsiQuerySupportedControlTypes (Max = 5)
XenVbd <-- HwScsiAdapterControl
XenConfig <-- XenConfig_Pnp_StartDevice
XenConfig --> XenConfig_Pnp_StartDeviceCallback XenConfig <-- XenConfig_Pnp_StartDeviceCallback
XenPCI IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI IRP_MN_QUERY_PNP_DEVICE_STATE (status = 00000000)
XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0 XenVbd --- HwScsiStartIo (Still figuring out ring)
XenVbd ring_detect_state = 0, operation = ff, id = 0, status = 0
XenVbd ring_detect_state = 1, operation = 0, id = ff, status = 0
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus
XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0

XenVbd     SRB_FUNCTION_EXECUTE_SCSI
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 0, Page Code = 00)
XenVbd     (Length = 36)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
XenVbd     SRB_FUNCTION_EXECUTE_SCSI
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 00)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
XenVbd     SRB_FUNCTION_EXECUTE_SCSI
XenVbd     Command = INQUIRY
XenVbd     (LUN = 0, EVPD = 1, Page Code = 80)
XenVbd     (Length = 255)
XenVbd     (Srb->Databuffer = 817abbc8)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS (status = 00000000)

XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
XenVbd SRB_FUNCTION_EXECUTE_SCSI
XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
XenVbd SRB_FUNCTION_EXECUTE_SCSI
XenVbd Command = READ/WRITE
XenVbd --> XenVbd_PutSrbOnRing
XenVbd <-- XenVbd_PutSrbOnRing
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus

Microsoft (R) Windows Debugger Version 6.9.0003.113 X86 Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\com8
Waiting to reconnect...
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Kernel Debugger connection established.
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *

*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *

* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntoskrnl.exe - Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055ab20
System Uptime: not available
XenHide --> DriverEntry
XenHide gplpv = 0
XenHide <-- DriverEntry
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for PCI bus)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82441FX Pentium(R) Pro Processor to PCI bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel 82371SB PCI to ISA bridge) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for ISAPNP Read Data Port)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Intel(R) 82371SB PCI Bus Master IDE Controller) XenPCI --> DriverEntry
XenPCI <-- DriverEntry
XenPCI --> XenPci_AddDevice
XenPCI IoRegisterDeviceInterface succeeded - \??\PCI#VEN_5853&DEV_0001&SUBSYS_00015853&REV_01#2&ebb567f&0&18#{5c568ac5-9ddf-4fa5-a94a-39d67077819c}
XenPCI <-- XenPci_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Xen PCI Device Driver)
XenPCI IRP_MN_FILTER_RESOURCE_REQUIREMENTS
XenPCI --> XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_FilterResourceRequirements
XenPCI --> XenPci_Pnp_FilterResourceRequirementsCallback (status = 00000000)
XenPCI <-- XenPci_Pnp_FilterResourceRequirementsCallback
XenPCI IRP_MN_START_DEVICE
XenPCI --> XenPci_Pnp_StartDevice
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp

XenPCI     irq_number = 005
XenPCI     Private Data: 0x01 0x00 0x00
XenPCI     Memory mapped CSR:(f3000000:0) Length:(16777216)
XenPCI     Memory flags = 0004
XenPCI     Private Data: 0x01 0x01 0x00
XenPCI     irq_vector = 035
XenPCI     irq_level = 016

XenPCI <-- XenPci_Pnp_StartDevice
XenPCI --> XenPci_Init
XenPCI Xen Signature = XenVMMXenVMM, EAX = 0x40000002 XenPCI Hypercall area at 817AE000
XenPCI pfn = 1BAE
XenPCI shared_info_area_unmapped.QuadPart = f3000000 XenPCI gpfn = 995328
XenPCI hypervisor memory op ret = 0
XenPCI <-- XenPci_Init
XenPCI --> EvtChn_Connect
XenPCI --> hvm_set_parameter
XenPCI HYPERVISOR_hvm_op retval = 0
XenPCI <-- hvm_set_parameter
XenPCI <-- EvtChn_Connect
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 sysrqwatch response = '(null)'
XenPCI --> XenPci_SysrqHandler

XenPCI     shutdown watch response = '(null)'
XenPCI     device watch response = '(null)'
XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback
XenPCI SysRq Value = (null)
XenPCI New device device/vfb/0
Unhandled sysrq letter XenPCI New device device/vbd/768
XenPCI New device device/vif/0
XenPCI <-- XenPci_SysrqHandler
XenPCI New device device/console/0
XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback

XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vfb device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vfb
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vbd device #768
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     768
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vbd
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen vif device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\vif
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryDeviceID
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextDescription
XenPCI     Xen console device #0
XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
XenPCI     DeviceTextLocationInformation
XenPCI     Xen Bus
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryInstanceID
XenPCI     00
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryHardwareIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
XenPCI     BusQueryCompatibleIDs
XenPCI     Xen\console
XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)

XenPCI --> XenPci_ShutdownHandler
XenVbd --> DriverEntry
XenVbd IRQL = 0
XenVbd --> XenVbd_FillInitCallbacks
XenVbd IRQL = 0
XenVbd <-- XenVbd_FillInitCallbacks
XenVbd <-- DriverEntry
XenConfig --> DriverEntry
XenConfig <-- DriverEntry
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Block Device Driver
XenHide <-- XenHide_AddDevice
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = c00000bb)
Error reading shutdown path - ENOENT
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)

XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback

XenPCI     Existing device device/vfb/0
XenPCI     Existing device device/vbd/768
XenPCI     Existing device device/vif/0
XenPCI     Existing device device/console/0

XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Primary IDE Channel)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Secondary IDE Channel) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (L2TP))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (IP))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (PPPOE))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for WAN Miniport (PPTP))
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Packet Scheduler Miniport) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Packet Scheduler Miniport) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Packet Scheduler Miniport) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Direct Parallel)
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Stub Device Driver (Virtual Frame Buffer)
XenHide <-- XenHide_AddDevice
XenConfig --> XenConfig_AddDevice
XenConfig <-- XenConfig_AddDevice
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Net Device Driver
XenHide <-- XenHide_AddDevice
XenHide --> XenHide_AddDevice
XenHide Installing Filter for Xen Stub Device Driver (Console)
XenHide <-- XenHide_AddDevice
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Realtek RTL8139 Family PCI Fast Ethernet NIC) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Terminal Server Device Redirector) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Terminal Server Keyboard Driver) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Terminal Server Mouse Driver) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Plug and Play Software Device Enumerator) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Microcode Update Device) XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Microsoft System Management BIOS Driver)
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = 00000000)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)
XenPCI IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = 00000000)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)
XenPCI IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenHide IRP_MN_START_DEVICE
XenHide hide_type == XENHIDE_TYPE_DEVICE
XenPCI IRP_MN_REMOVE_DEVICE (status = 00000000)
XenPCI --> XenPci_Pnp_RemoveDevice
XenPCI pnp_state = NotStarted
XenPCI --> XenPci_XenShutdownDevice
XenPCI <-- XenPci_XenShutdownDevice
XenPCI Watch not set - can't remove
XenPCI <-- XenPci_Pnp_RemoveDevice (status = 00000000)
XenPCI IRP_MN_QUERY_RESOURCES (status = c00000bb)
XenHide --> XenHide_AddDevice
XenHide <-- XenHide_AddDevice (filter not required for Printer Port Logical Interface)
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice
XenPCI IRP_MN_CANCEL_STOP_DEVICE
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice

XenPCI     IRP_MN_CANCEL_STOP_DEVICE
XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
XenPCI     BusRelations

XenPCI --> XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_SendAndWaitForIrp
XenPCI --> XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_Pnp_IoCompletion
XenPCI <-- XenPci_SendAndWaitForIrp
XenPCI <-- XenPci_Pnp_QueryBusRelations
XenPCI --> XenPci_Pnp_QueryBusRelationsCallback

XenPCI     Existing device device/vfb/0
XenPCI     Existing device device/vbd/768
XenPCI     Existing device device/vif/0
XenPCI     Existing device device/console/0

XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice
XenPCI IRP_MN_CANCEL_STOP_DEVICE
XenPCI IRP_MN_QUERY_STOP_DEVICE
XenPCI --> XenPci_Pnp_QueryStopRemoveDevice
XenPCI <-- XenPci_Pnp_QueryStopRemoveDevice
XenPCI IRP_MN_CANCEL_STOP_DEVICE

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#19 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 8 lines
Quoted 3 lines · James Harper

I have just recompiled and uploaded the correct version. Sorry for giving you the run around. Hopefully we'll get to the bottom of this yet!

Happens! :-)

Attached there are the new logs with /GPLPV and without.

Do you have any timestamps to go with your logs? Don't worry about resubmitting these ones but on any future ones it would be useful.

It looks like requests being put on the ring are not being actioned... maybe we are corrupting something somewhere.

Looking at this bit of the logs:

"
XenVbd --- HwScsiStartIo (Still figuring out ring) "

That 'Still figuring out ring' bit means that we got a request before we had detected whether we were talking to a 32 or 64 bit ring, so we told windows to give us the request back again later when we were ready. I haven't seen that before in my logs, so something about your system means that windows is giving you a request at an earlier point than my test systems...

Then we see this:

"
XenVbd ring_detect_state = 0, operation = ff, id = 0, status = 0
XenVbd ring_detect_state = 1, operation = 0, id = ff, status = 0
"

Which means that the first response we got back had operation ff which is what we expect, but the second one had operaton = 0 and id = ff which means that the ring is out of alignment and we must be using the opposite ring size (64 bits in this case).

Originally I thought that maybe Windows wasn't re-issuing the original request, but obviously it is:

"
XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
XenVbd SRB_FUNCTION_EXECUTE_SCSI
XenVbd Command = READ/WRITE
XenVbd --> XenVbd_PutSrbOnRing
XenVbd <-- XenVbd_PutSrbOnRing
"

But then it is never getting a response so it resets the bus:

"
XenVbd --> HwScsiResetBus
XenVbd IRQL = 22
XenVbd <-- HwScsiResetBus
"

I wonder if it is a problem under XP... I'll see what I can do about setting up a new XP test environment (my old one broke :)

Otherwise, I'm out of ideas for the moment.

James

#20 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

In reply to Sandro Sigala

I've re-installed XP on my test machine and it works fine, so it's obviously related more to your server than XP.

Did you get the DDK downloaded? I'd just enabled a heap of the debug statements in there and add more and see what you can come up with.

James

#21 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 3 lines · James Harper

I've re-installed XP on my test machine and it works fine, so it's obviously related more to your server than XP.

[sarcasm]I love these situations[/sarcasm] :)

Quoted 2 lines

Did you get the DDK downloaded? I'd just enabled a heap of the debug statements in there and add more and see what you can come up with.

I will do it ASAP, just 2 questions:

1) I will try to recompile the code using also the patch suggested by Wayne. What is the HG revision of the code that matches with the 0.9.11-pre5 release? Are there any tags? (I'm used to SVN but not to the HG VCS, so maybe I overlooked something...)

2) I tried in the past to put under stress the VMs with some benchmarks, but unfortunately most of them are more Graphics-focused than disk, net, cpu, memory focused. Do you have suggestions for some other software?

Thanks,
Sandro

#22 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 9 lines
Quoted 2 lines

Did you get the DDK downloaded? I'd just enabled a heap of the debug statements in there and add more and see what you can come up with.

I will do it ASAP, just 2 questions:

1) I will try to recompile the code using also the patch suggested by Wayne.
What is the HG revision of the code that matches with the 0.9.11-pre5 release? Are there any tags? (I'm used to SVN but not to the HG VCS,

so

Quoted 2 lines

maybe
I overlooked something...)

Quite a while back I moved from using the newer WDF to using WDM. The reasons for this were:
. I wanted to be able to use the drivers in textmode setup (eg 'Press F6 to load OEM drivers')
. Andy Grover wanted to be able to use mingw32 to compile rather than the DDK compiler, which would mean building under Linux would be a possibility.
. Nobody was really sure about the compatibility of GPL and WDF.

Wayne's patch relates to the WDF stream, but if you look in scsiport.c you should recognise the part where the patch would apply, his changes are fairly small.

Quoted 1 line

2) I tried in the past to put under stress the VMs with some

benchmarks,

Quoted 2 lines

but unfortunately most of them are more Graphics-focused than disk, net, cpu, memory focused. Do you have suggestions for some

other

Quoted 2 lines

software?

Someone has reported crashes under (I think) one of the network benchmark tools, but I've not been able to reproduce it.

Have a look through the mailing list at what others are using for benchmarking... I've suddenly got a mental blank trying to remember what they are called!

James

#23 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

In reply to Sandro Sigala

I just had a thought... do you have any physical block devices you could use, eg an lvm partition?

That way we can remove any doubt about it being the tap:aio thing.

If you don't have a physical device, then please try using losetup to create a block device from your file and then use that as the phy:
device.

Thanks

James

#24 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Hi,

I'm downloading the WDK monster + XPSP2 symbols and is taking ages :-(

Quoted 3 lines · James Harper

If you don't have a physical device, then please try using losetup to create a block device from your file and then use that as the phy:
device.

I had the same idea yesterday and I tried "just in case", unfortunately the behavior is the same...

Sandro

#25 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 5 lines

Hi,

I'm downloading the WDK monster + XPSP2 symbols and is taking ages :-(

I'll build another xenvbd.sys with some more debug stuff in it.

James

#26 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot -WindowsXP Pro SP2

Quoted 4 lines
Quoted 4 lines

Hi,

I'm downloading the WDK monster + XPSP2 symbols and is taking ages

:-(

Quoted 4 lines
Quoted 1 line

I'll build another xenvbd.sys with some more debug stuff in it.

Okay, as before, please try the xenvbd-xp-debug.zip from the download site.

That one should give some more output about the responses that have been received from dom0.

Thanks

James

#27 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot -Windows XP Pro SP2

Quoted 6 lines · James Harper

Okay, as before, please try the xenvbd-xp-debug.zip from the download site.

That one should give some more output about the responses that have been received from dom0.

Thanks, new log attached.

Quoted 6 lines
Quoted 2 lines

Probably a stupid question, but how do you enable the timestamps in windbg?

In the 'View' menu there is an item 'Event Timestamps' which is ticked on mine, but I don't recall ever having to tick it... My version of WinDbg is 6.8.0004.0 if that makes any difference.

I was blind... :-(

Sandro

Microsoft (R) Windows Debugger Version 6.9.0003.113 X86 Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\com8
Waiting to reconnect...
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE Kernel Debugger connection established.
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *

*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *

* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntoskrnl.exe - Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055ab20
System Uptime: not available

Sat Jul  5 12:21:46.601 2008 (GMT+2): XenHide --> DriverEntry
Sat Jul  5 12:21:46.601 2008 (GMT+2): 
Sat Jul  5 12:21:46.801 2008 (GMT+2): XenHide     gplpv = 1
Sat Jul  5 12:21:46.801 2008 (GMT+2): 
Sat Jul  5 12:21:47.001 2008 (GMT+2): XenHide <-- DriverEntry
Sat Jul  5 12:21:47.001 2008 (GMT+2): 
Sat Jul  5 12:21:47.201 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:21:47.201 2008 (GMT+2): 
Sat Jul  5 12:21:47.402 2008 (GMT+2): XenHide     Installing Filter for PCI bus
Sat Jul  5 12:21:47.402 2008 (GMT+2): 
Sat Jul  5 12:21:47.602 2008 (GMT+2): XenHide <-- XenHide_AddDevice
Sat Jul  5 12:21:47.602 2008 (GMT+2): 
Sat Jul  5 12:21:47.802 2008 (GMT+2): XenHide     IRP_MN_START_DEVICE
Sat Jul  5 12:21:47.802 2008 (GMT+2): 
Sat Jul  5 12:21:48.033 2008 (GMT+2): XenHide     hide_type != XENHIDE_TYPE_DEVICE
Sat Jul  5 12:21:48.033 2008 (GMT+2): 
Sat Jul  5 12:21:48.263 2008 (GMT+2): XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
Sat Jul  5 12:21:48.263 2008 (GMT+2): 
Sat Jul  5 12:21:48.503 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:21:48.503 2008 (GMT+2): 
Sat Jul  5 12:21:48.964 2008 (GMT+2): XenHide <-- XenHide_AddDevice (filter not required for Intel 82441FX Pentium(R) Pro Processor to PCI bridge)
Sat Jul  5 12:21:48.964 2008 (GMT+2): 
Sat Jul  5 12:21:49.194 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:21:49.194 2008 (GMT+2): 
Sat Jul  5 12:21:49.425 2008 (GMT+2): XenHide <-- XenHide_AddDevice (filter not required for Intel 82371SB PCI to ISA bridge)
Sat Jul  5 12:21:49.425 2008 (GMT+2): 
Sat Jul  5 12:21:49.595 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:21:49.595 2008 (GMT+2): 
Sat Jul  5 12:21:49.795 2008 (GMT+2): XenHide <-- XenHide_AddDevice (filter not required for ISAPNP Read Data Port)
Sat Jul  5 12:21:49.795 2008 (GMT+2): 
Sat Jul  5 12:21:50.196 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:21:50.196 2008 (GMT+2): 
Sat Jul  5 12:21:50.396 2008 (GMT+2): XenHide     Installing Filter for Intel(R) 82371SB PCI Bus Master IDE Controller
Sat Jul  5 12:21:50.396 2008 (GMT+2): 
Sat Jul  5 12:21:50.706 2008 (GMT+2): XenHide <-- XenHide_AddDevice
Sat Jul  5 12:21:50.706 2008 (GMT+2): 
Sat Jul  5 12:21:50.907 2008 (GMT+2): XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
Sat Jul  5 12:21:50.907 2008 (GMT+2): 
Sat Jul  5 12:21:51.127 2008 (GMT+2): XenHide     Hiding 817E8A90
Sat Jul  5 12:21:51.127 2008 (GMT+2): 
Sat Jul  5 12:21:51.327 2008 (GMT+2): XenHide     IRP_MN_QUERY_DEVICE_RELATIONS - BusRelations
Sat Jul  5 12:21:51.327 2008 (GMT+2): 
Sat Jul  5 12:21:51.528 2008 (GMT+2): XenHide     Hiding 817E8A90
Sat Jul  5 12:21:51.528 2008 (GMT+2): 
Sat Jul  5 12:21:51.828 2008 (GMT+2): XenPCI --> DriverEntry
Sat Jul  5 12:21:51.828 2008 (GMT+2): 
Sat Jul  5 12:21:52.028 2008 (GMT+2): XenPCI <-- DriverEntry
Sat Jul  5 12:21:52.028 2008 (GMT+2): 
Sat Jul  5 12:21:52.329 2008 (GMT+2): XenPCI --> XenPci_AddDevice
Sat Jul  5 12:21:52.329 2008 (GMT+2): 
Sat Jul  5 12:21:52.529 2008 (GMT+2): XenPCI     IoRegisterDeviceInterface succeeded - \??\PCI#VEN_5853&DEV_0001&SUBSYS_00015853&REV_01#2&ebb567f&0&18#{5c568ac5-9ddf-4fa5-a94a-39d67077819c}
Sat Jul  5 12:21:52.529 2008 (GMT+2): 
Sat Jul  5 12:21:52.910 2008 (GMT+2): XenPCI <-- XenPci_AddDevice
Sat Jul  5 12:21:52.910 2008 (GMT+2): 
Sat Jul  5 12:21:53.230 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:21:53.230 2008 (GMT+2): 
Sat Jul  5 12:21:53.430 2008 (GMT+2): XenHide <-- XenHide_AddDevice (filter not required for Xen PCI Device Driver)
Sat Jul  5 12:21:53.430 2008 (GMT+2): 
Sat Jul  5 12:21:53.731 2008 (GMT+2): XenPCI     IRP_MN_FILTER_RESOURCE_REQUIREMENTS
Sat Jul  5 12:21:53.731 2008 (GMT+2): 
Sat Jul  5 12:21:53.931 2008 (GMT+2): XenPCI --> XenPci_Pnp_FilterResourceRequirements
Sat Jul  5 12:21:53.931 2008 (GMT+2): 
Sat Jul  5 12:21:54.131 2008 (GMT+2): XenPCI --> XenPci_SendAndWaitForIrp
Sat Jul  5 12:21:54.131 2008 (GMT+2): 
Sat Jul  5 12:21:54.332 2008 (GMT+2): XenPCI --> XenPci_Pnp_IoCompletion
Sat Jul  5 12:21:54.332 2008 (GMT+2): 
Sat Jul  5 12:21:54.532 2008 (GMT+2): XenPCI <-- XenPci_Pnp_IoCompletion
Sat Jul  5 12:21:54.532 2008 (GMT+2): 
Sat Jul  5 12:21:54.732 2008 (GMT+2): XenPCI <-- XenPci_SendAndWaitForIrp
Sat Jul  5 12:21:54.732 2008 (GMT+2): 
Sat Jul  5 12:21:55.043 2008 (GMT+2): XenPCI <-- XenPci_Pnp_FilterResourceRequirements
Sat Jul  5 12:21:55.043 2008 (GMT+2): 
Sat Jul  5 12:21:55.443 2008 (GMT+2): XenPCI --> XenPci_Pnp_FilterResourceRequirementsCallback (status = 00000000)
Sat Jul  5 12:21:55.443 2008 (GMT+2): 
Sat Jul  5 12:21:55.644 2008 (GMT+2): XenPCI <-- XenPci_Pnp_FilterResourceRequirementsCallback
Sat Jul  5 12:21:55.644 2008 (GMT+2): 
Sat Jul  5 12:21:55.844 2008 (GMT+2): XenPCI     IRP_MN_START_DEVICE
Sat Jul  5 12:21:55.844 2008 (GMT+2): 
Sat Jul  5 12:21:56.044 2008 (GMT+2): XenPCI --> XenPci_Pnp_StartDevice
Sat Jul  5 12:21:56.044 2008 (GMT+2): 
Sat Jul  5 12:21:56.345 2008 (GMT+2): XenPCI --> XenPci_SendAndWaitForIrp
Sat Jul  5 12:21:56.345 2008 (GMT+2): 
Sat Jul  5 12:21:56.545 2008 (GMT+2): XenPCI --> XenPci_Pnp_IoCompletion
Sat Jul  5 12:21:56.545 2008 (GMT+2): 
Sat Jul  5 12:21:56.775 2008 (GMT+2): XenPCI <-- XenPci_Pnp_IoCompletion
Sat Jul  5 12:21:56.775 2008 (GMT+2): 
Sat Jul  5 12:21:56.945 2008 (GMT+2): XenPCI <-- XenPci_SendAndWaitForIrp
Sat Jul  5 12:21:56.945 2008 (GMT+2): 
Sat Jul  5 12:21:57.286 2008 (GMT+2): XenPCI     irq_number = 005
Sat Jul  5 12:21:57.286 2008 (GMT+2): 
Sat Jul  5 12:21:57.446 2008 (GMT+2): XenPCI     Private Data: 0x01 0x00 0x00
Sat Jul  5 12:21:57.446 2008 (GMT+2): 
Sat Jul  5 12:21:57.646 2008 (GMT+2): XenPCI     Memory mapped CSR:(f3000000:0) Length:(16777216)
Sat Jul  5 12:21:57.646 2008 (GMT+2): 
Sat Jul  5 12:21:57.847 2008 (GMT+2): XenPCI     Memory flags = 0004
Sat Jul  5 12:21:57.847 2008 (GMT+2): 
Sat Jul  5 12:21:58.047 2008 (GMT+2): XenPCI     Private Data: 0x01 0x01 0x00
Sat Jul  5 12:21:58.047 2008 (GMT+2): 
Sat Jul  5 12:21:58.247 2008 (GMT+2): XenPCI     irq_vector = 035
Sat Jul  5 12:21:58.247 2008 (GMT+2): 
Sat Jul  5 12:21:58.448 2008 (GMT+2): XenPCI     irq_level = 016
Sat Jul  5 12:21:58.448 2008 (GMT+2): 
Sat Jul  5 12:21:58.648 2008 (GMT+2): XenPCI <-- XenPci_Pnp_StartDevice
Sat Jul  5 12:21:58.648 2008 (GMT+2): 
Sat Jul  5 12:21:58.848 2008 (GMT+2): XenPCI --> XenPci_Init
Sat Jul  5 12:21:58.848 2008 (GMT+2): 
Sat Jul  5 12:21:59.048 2008 (GMT+2): XenPCI Xen Signature = XenVMMXenVMM, EAX = 0x40000002
Sat Jul  5 12:21:59.048 2008 (GMT+2): 
Sat Jul  5 12:21:59.249 2008 (GMT+2): XenPCI Hypercall area at 817AE000
Sat Jul  5 12:21:59.249 2008 (GMT+2): 
Sat Jul  5 12:21:59.449 2008 (GMT+2): XenPCI pfn =             1BAE
Sat Jul  5 12:21:59.449 2008 (GMT+2): 
Sat Jul  5 12:21:59.649 2008 (GMT+2): XenPCI shared_info_area_unmapped.QuadPart = f3000000
Sat Jul  5 12:21:59.649 2008 (GMT+2): 
Sat Jul  5 12:21:59.850 2008 (GMT+2): XenPCI gpfn = 995328
Sat Jul  5 12:21:59.850 2008 (GMT+2): 
Sat Jul  5 12:22:00.080 2008 (GMT+2): XenPCI hypervisor memory op ret = 0
Sat Jul  5 12:22:00.080 2008 (GMT+2): 
Sat Jul  5 12:22:00.250 2008 (GMT+2): XenPCI <-- XenPci_Init
Sat Jul  5 12:22:00.250 2008 (GMT+2): 
Sat Jul  5 12:22:00.450 2008 (GMT+2): XenPCI --> EvtChn_Connect
Sat Jul  5 12:22:00.450 2008 (GMT+2): 
Sat Jul  5 12:22:00.651 2008 (GMT+2): XenPCI --> hvm_set_parameter
Sat Jul  5 12:22:00.651 2008 (GMT+2): 
Sat Jul  5 12:22:00.851 2008 (GMT+2): XenPCI HYPERVISOR_hvm_op retval = 0
Sat Jul  5 12:22:00.851 2008 (GMT+2): 
Sat Jul  5 12:22:01.071 2008 (GMT+2): XenPCI <-- hvm_set_parameter
Sat Jul  5 12:22:01.071 2008 (GMT+2): 
Sat Jul  5 12:22:01.272 2008 (GMT+2): XenPCI <-- EvtChn_Connect
Sat Jul  5 12:22:01.272 2008 (GMT+2): 
Sat Jul  5 12:22:01.472 2008 (GMT+2): XenPCI --> hvm_get_parameter
Sat Jul  5 12:22:01.472 2008 (GMT+2): 
Sat Jul  5 12:22:01.672 2008 (GMT+2): XenPCI HYPERVISOR_hvm_op retval = 0
Sat Jul  5 12:22:01.672 2008 (GMT+2): 
Sat Jul  5 12:22:01.973 2008 (GMT+2): XenPCI <-- hvm_get_parameter
Sat Jul  5 12:22:01.973 2008 (GMT+2): 
Sat Jul  5 12:22:02.173 2008 (GMT+2): XenPCI --> hvm_get_parameter
Sat Jul  5 12:22:02.173 2008 (GMT+2): 
Sat Jul  5 12:22:02.383 2008 (GMT+2): XenPCI HYPERVISOR_hvm_op retval = 0
Sat Jul  5 12:22:02.383 2008 (GMT+2): 
Sat Jul  5 12:22:02.714 2008 (GMT+2): XenPCI <-- hvm_get_parameter
Sat Jul  5 12:22:02.714 2008 (GMT+2): 
Sat Jul  5 12:22:02.884 2008 (GMT+2): XenPCI --> EvtChn_BindDpc
Sat Jul  5 12:22:02.884 2008 (GMT+2): 
Sat Jul  5 12:22:03.084 2008 (GMT+2): XenPCI <-- EvtChn_BindDpc
Sat Jul  5 12:22:03.084 2008 (GMT+2): 
Sat Jul  5 12:22:03.285 2008 (GMT+2): XenPCI     sysrqwatch response = '(null)'
Sat Jul  5 12:22:03.285 2008 (GMT+2): 
Sat Jul  5 12:22:03.485 2008 (GMT+2): XenPCI --> XenPci_SysrqHandler
Sat Jul  5 12:22:03.485 2008 (GMT+2): 
Sat Jul  5 12:22:03.685 2008 (GMT+2): XenPCI     shutdown watch response = '(null)'
Sat Jul  5 12:22:03.685 2008 (GMT+2): 
Sat Jul  5 12:22:03.885 2008 (GMT+2): XenPCI     device watch response = '(null)'
Sat Jul  5 12:22:03.885 2008 (GMT+2): 
Sat Jul  5 12:22:04.086 2008 (GMT+2): XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE
Sat Jul  5 12:22:04.086 2008 (GMT+2): 
Sat Jul  5 12:22:04.286 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS
Sat Jul  5 12:22:04.286 2008 (GMT+2): 
Sat Jul  5 12:22:04.516 2008 (GMT+2): XenPCI     BusRelations
Sat Jul  5 12:22:04.516 2008 (GMT+2): 
Sat Jul  5 12:22:04.797 2008 (GMT+2): XenPCI --> XenPci_Pnp_QueryBusRelations
Sat Jul  5 12:22:04.797 2008 (GMT+2): 
Sat Jul  5 12:22:04.997 2008 (GMT+2): XenPCI --> XenPci_SendAndWaitForIrp
Sat Jul  5 12:22:04.997 2008 (GMT+2): 
Sat Jul  5 12:22:05.197 2008 (GMT+2): XenPCI --> XenPci_Pnp_IoCompletion
Sat Jul  5 12:22:05.197 2008 (GMT+2): 
Sat Jul  5 12:22:05.398 2008 (GMT+2): XenPCI <-- XenPci_Pnp_IoCompletion
Sat Jul  5 12:22:05.398 2008 (GMT+2): 
Sat Jul  5 12:22:05.598 2008 (GMT+2): XenPCI <-- XenPci_SendAndWaitForIrp
Sat Jul  5 12:22:05.598 2008 (GMT+2): 
Sat Jul  5 12:22:05.798 2008 (GMT+2): XenPCI <-- XenPci_Pnp_QueryBusRelations
Sat Jul  5 12:22:05.798 2008 (GMT+2): 
Sat Jul  5 12:22:05.998 2008 (GMT+2): XenPCI --> XenPci_Pnp_QueryBusRelationsCallback
Sat Jul  5 12:22:05.998 2008 (GMT+2): 
Sat Jul  5 12:22:06.199 2008 (GMT+2): XenPCI     SysRq Value = (null)
Sat Jul  5 12:22:06.199 2008 (GMT+2): 
Sat Jul  5 12:22:06.399 2008 (GMT+2): XenPCI     New device device/vfb/0
Sat Jul  5 12:22:06.399 2008 (GMT+2): 
Sat Jul  5 12:22:06.599 2008 (GMT+2): XenPCI     New device device/console/0
Sat Jul  5 12:22:06.599 2008 (GMT+2): 
Sat Jul  5 12:22:06.800 2008 (GMT+2):      Unhandled sysrq letter 
Sat Jul  5 12:22:06.800 2008 (GMT+2): 
Sat Jul  5 12:22:07.010 2008 (GMT+2): XenPCI     New device device/vbd/768
Sat Jul  5 12:22:07.010 2008 (GMT+2): 
Sat Jul  5 12:22:07.210 2008 (GMT+2): XenPCI     New device device/vif/0
Sat Jul  5 12:22:07.210 2008 (GMT+2): 
Sat Jul  5 12:22:07.410 2008 (GMT+2): XenPCI <-- XenPci_Pnp_QueryBusRelationsCallback
Sat Jul  5 12:22:07.410 2008 (GMT+2): 
Sat Jul  5 12:22:07.611 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:07.611 2008 (GMT+2): 
Sat Jul  5 12:22:07.811 2008 (GMT+2): XenPCI     BusQueryDeviceID
Sat Jul  5 12:22:07.811 2008 (GMT+2): 
Sat Jul  5 12:22:08.111 2008 (GMT+2): XenPCI     Xen\vfb
Sat Jul  5 12:22:08.111 2008 (GMT+2): 
Sat Jul  5 12:22:08.312 2008 (GMT+2): XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
Sat Jul  5 12:22:08.312 2008 (GMT+2): 
Sat Jul  5 12:22:08.512 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:08.512 2008 (GMT+2): 
Sat Jul  5 12:22:08.712 2008 (GMT+2): XenPCI     DeviceTextDescription
Sat Jul  5 12:22:08.712 2008 (GMT+2): 
Sat Jul  5 12:22:08.913 2008 (GMT+2): XenPCI     Xen vfb device #0
Sat Jul  5 12:22:08.913 2008 (GMT+2): 
Sat Jul  5 12:22:09.113 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:09.113 2008 (GMT+2): 
Sat Jul  5 12:22:09.313 2008 (GMT+2): XenPCI     DeviceTextLocationInformation
Sat Jul  5 12:22:09.313 2008 (GMT+2): 
Sat Jul  5 12:22:09.514 2008 (GMT+2): XenPCI     Xen Bus
Sat Jul  5 12:22:09.514 2008 (GMT+2): 
Sat Jul  5 12:22:09.714 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:09.714 2008 (GMT+2): 
Sat Jul  5 12:22:09.914 2008 (GMT+2): XenPCI     BusQueryInstanceID
Sat Jul  5 12:22:09.914 2008 (GMT+2): 
Sat Jul  5 12:22:10.114 2008 (GMT+2): XenPCI     00
Sat Jul  5 12:22:10.114 2008 (GMT+2): 
Sat Jul  5 12:22:10.315 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:10.315 2008 (GMT+2): 
Sat Jul  5 12:22:10.515 2008 (GMT+2): XenPCI     BusQueryHardwareIDs
Sat Jul  5 12:22:10.515 2008 (GMT+2): 
Sat Jul  5 12:22:10.715 2008 (GMT+2): XenPCI     Xen\vfb
Sat Jul  5 12:22:10.715 2008 (GMT+2): 
Sat Jul  5 12:22:10.916 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:10.916 2008 (GMT+2): 
Sat Jul  5 12:22:11.116 2008 (GMT+2): XenPCI     BusQueryCompatibleIDs
Sat Jul  5 12:22:11.116 2008 (GMT+2): 
Sat Jul  5 12:22:11.316 2008 (GMT+2): XenPCI     Xen\vfb
Sat Jul  5 12:22:11.316 2008 (GMT+2): 
Sat Jul  5 12:22:11.516 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
Sat Jul  5 12:22:11.516 2008 (GMT+2): 
Sat Jul  5 12:22:11.717 2008 (GMT+2): XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
Sat Jul  5 12:22:11.717 2008 (GMT+2): 
Sat Jul  5 12:22:11.917 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
Sat Jul  5 12:22:11.917 2008 (GMT+2): 
Sat Jul  5 12:22:12.147 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:12.147 2008 (GMT+2): 
Sat Jul  5 12:22:12.448 2008 (GMT+2): XenPCI     BusQueryDeviceID
Sat Jul  5 12:22:12.448 2008 (GMT+2): 
Sat Jul  5 12:22:12.618 2008 (GMT+2): XenPCI     Xen\console
Sat Jul  5 12:22:12.618 2008 (GMT+2): 
Sat Jul  5 12:22:12.818 2008 (GMT+2): XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
Sat Jul  5 12:22:12.818 2008 (GMT+2): 
Sat Jul  5 12:22:13.019 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:13.019 2008 (GMT+2): 
Sat Jul  5 12:22:13.219 2008 (GMT+2): XenPCI     DeviceTextDescription
Sat Jul  5 12:22:13.219 2008 (GMT+2): 
Sat Jul  5 12:22:13.419 2008 (GMT+2): XenPCI     Xen console device #0
Sat Jul  5 12:22:13.419 2008 (GMT+2): 
Sat Jul  5 12:22:13.619 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:13.619 2008 (GMT+2): 
Sat Jul  5 12:22:13.820 2008 (GMT+2): XenPCI     DeviceTextLocationInformation
Sat Jul  5 12:22:13.820 2008 (GMT+2): 
Sat Jul  5 12:22:14.020 2008 (GMT+2): XenPCI     Xen Bus
Sat Jul  5 12:22:14.020 2008 (GMT+2): 
Sat Jul  5 12:22:14.220 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:14.220 2008 (GMT+2): 
Sat Jul  5 12:22:14.421 2008 (GMT+2): XenPCI     BusQueryInstanceID
Sat Jul  5 12:22:14.421 2008 (GMT+2): 
Sat Jul  5 12:22:14.621 2008 (GMT+2): XenPCI     00
Sat Jul  5 12:22:14.621 2008 (GMT+2): 
Sat Jul  5 12:22:14.821 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:14.821 2008 (GMT+2): 
Sat Jul  5 12:22:15.021 2008 (GMT+2): XenPCI     BusQueryHardwareIDs
Sat Jul  5 12:22:15.021 2008 (GMT+2): 
Sat Jul  5 12:22:15.222 2008 (GMT+2): XenPCI     Xen\console
Sat Jul  5 12:22:15.222 2008 (GMT+2): 
Sat Jul  5 12:22:15.422 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:15.422 2008 (GMT+2): 
Sat Jul  5 12:22:15.652 2008 (GMT+2): XenPCI     BusQueryCompatibleIDs
Sat Jul  5 12:22:15.652 2008 (GMT+2): 
Sat Jul  5 12:22:15.823 2008 (GMT+2): XenPCI     Xen\console
Sat Jul  5 12:22:15.823 2008 (GMT+2): 
Sat Jul  5 12:22:16.023 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
Sat Jul  5 12:22:16.023 2008 (GMT+2): 
Sat Jul  5 12:22:16.223 2008 (GMT+2): XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
Sat Jul  5 12:22:16.223 2008 (GMT+2): 
Sat Jul  5 12:22:16.423 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
Sat Jul  5 12:22:16.423 2008 (GMT+2): 
Sat Jul  5 12:22:16.624 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:16.624 2008 (GMT+2): 
Sat Jul  5 12:22:16.824 2008 (GMT+2): XenPCI     BusQueryDeviceID
Sat Jul  5 12:22:16.824 2008 (GMT+2): 
Sat Jul  5 12:22:17.054 2008 (GMT+2): XenPCI     Xen\vbd
Sat Jul  5 12:22:17.054 2008 (GMT+2): 
Sat Jul  5 12:22:17.325 2008 (GMT+2): XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
Sat Jul  5 12:22:17.325 2008 (GMT+2): 
Sat Jul  5 12:22:17.525 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:17.525 2008 (GMT+2): 
Sat Jul  5 12:22:17.725 2008 (GMT+2): XenPCI     DeviceTextDescription
Sat Jul  5 12:22:17.725 2008 (GMT+2): 
Sat Jul  5 12:22:17.926 2008 (GMT+2): XenPCI     Xen vbd device #768
Sat Jul  5 12:22:17.926 2008 (GMT+2): 
Sat Jul  5 12:22:18.126 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:18.126 2008 (GMT+2): 
Sat Jul  5 12:22:18.326 2008 (GMT+2): XenPCI     DeviceTextLocationInformation
Sat Jul  5 12:22:18.326 2008 (GMT+2): 
Sat Jul  5 12:22:18.526 2008 (GMT+2): XenPCI     Xen Bus
Sat Jul  5 12:22:18.526 2008 (GMT+2): 
Sat Jul  5 12:22:18.727 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:18.727 2008 (GMT+2): 
Sat Jul  5 12:22:18.927 2008 (GMT+2): XenPCI     BusQueryInstanceID
Sat Jul  5 12:22:18.927 2008 (GMT+2): 
Sat Jul  5 12:22:19.127 2008 (GMT+2): XenPCI     768
Sat Jul  5 12:22:19.127 2008 (GMT+2): 
Sat Jul  5 12:22:19.328 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:19.328 2008 (GMT+2): 
Sat Jul  5 12:22:19.528 2008 (GMT+2): XenPCI     BusQueryHardwareIDs
Sat Jul  5 12:22:19.528 2008 (GMT+2): 
Sat Jul  5 12:22:19.738 2008 (GMT+2): XenPCI     Xen\vbd
Sat Jul  5 12:22:19.738 2008 (GMT+2): 
Sat Jul  5 12:22:19.939 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:19.939 2008 (GMT+2): 
Sat Jul  5 12:22:20.139 2008 (GMT+2): XenPCI     BusQueryCompatibleIDs
Sat Jul  5 12:22:20.139 2008 (GMT+2): 
Sat Jul  5 12:22:20.339 2008 (GMT+2): XenPCI     Xen\vbd
Sat Jul  5 12:22:20.339 2008 (GMT+2): 
Sat Jul  5 12:22:20.539 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
Sat Jul  5 12:22:20.539 2008 (GMT+2): 
Sat Jul  5 12:22:20.740 2008 (GMT+2): XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
Sat Jul  5 12:22:20.740 2008 (GMT+2): 
Sat Jul  5 12:22:20.940 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
Sat Jul  5 12:22:20.940 2008 (GMT+2): 
Sat Jul  5 12:22:21.140 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:21.140 2008 (GMT+2): 
Sat Jul  5 12:22:21.341 2008 (GMT+2): XenPCI     BusQueryDeviceID
Sat Jul  5 12:22:21.341 2008 (GMT+2): 
Sat Jul  5 12:22:21.541 2008 (GMT+2): XenPCI     Xen\vif
Sat Jul  5 12:22:21.541 2008 (GMT+2): 
Sat Jul  5 12:22:21.741 2008 (GMT+2): XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
Sat Jul  5 12:22:21.741 2008 (GMT+2): 
Sat Jul  5 12:22:21.941 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:21.941 2008 (GMT+2): 
Sat Jul  5 12:22:22.142 2008 (GMT+2): XenPCI     DeviceTextDescription
Sat Jul  5 12:22:22.142 2008 (GMT+2): 
Sat Jul  5 12:22:22.342 2008 (GMT+2): XenPCI     Xen vif device #0
Sat Jul  5 12:22:22.342 2008 (GMT+2): 
Sat Jul  5 12:22:22.542 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_TEXT (status = c00000bb)
Sat Jul  5 12:22:22.542 2008 (GMT+2): 
Sat Jul  5 12:22:22.743 2008 (GMT+2): XenPCI     DeviceTextLocationInformation
Sat Jul  5 12:22:22.743 2008 (GMT+2): 
Sat Jul  5 12:22:22.943 2008 (GMT+2): XenPCI     Xen Bus
Sat Jul  5 12:22:22.943 2008 (GMT+2): 
Sat Jul  5 12:22:23.143 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:23.143 2008 (GMT+2): 
Sat Jul  5 12:22:23.343 2008 (GMT+2): XenPCI     BusQueryInstanceID
Sat Jul  5 12:22:23.343 2008 (GMT+2): 
Sat Jul  5 12:22:23.544 2008 (GMT+2): XenPCI     00
Sat Jul  5 12:22:23.544 2008 (GMT+2): 
Sat Jul  5 12:22:23.744 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:23.744 2008 (GMT+2): 
Sat Jul  5 12:22:23.944 2008 (GMT+2): XenPCI     BusQueryHardwareIDs
Sat Jul  5 12:22:23.944 2008 (GMT+2): 
Sat Jul  5 12:22:24.145 2008 (GMT+2): XenPCI     Xen\vif
Sat Jul  5 12:22:24.145 2008 (GMT+2): 
Sat Jul  5 12:22:24.345 2008 (GMT+2): XenPCI     IRP_MN_QUERY_ID (status = c00000bb)
Sat Jul  5 12:22:24.345 2008 (GMT+2): 
Sat Jul  5 12:22:24.545 2008 (GMT+2): XenPCI     BusQueryCompatibleIDs
Sat Jul  5 12:22:24.545 2008 (GMT+2): 
Sat Jul  5 12:22:24.805 2008 (GMT+2): XenPCI     Xen\vif
Sat Jul  5 12:22:24.805 2008 (GMT+2): 
Sat Jul  5 12:22:24.946 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCE_REQUIREMENTS (status = c00000bb)
Sat Jul  5 12:22:24.946 2008 (GMT+2): 
Sat Jul  5 12:22:25.146 2008 (GMT+2): XenPCI     IRP_MN_QUERY_BUS_INFORMATION (status = c00000bb)
Sat Jul  5 12:22:25.146 2008 (GMT+2): 
Sat Jul  5 12:22:25.346 2008 (GMT+2): XenPCI     IRP_MN_QUERY_RESOURCES (status = c00000bb)
Sat Jul  5 12:22:25.346 2008 (GMT+2): 
Sat Jul  5 12:22:25.547 2008 (GMT+2): XenPCI <-- XenPci_SysrqHandler
Sat Jul  5 12:22:25.547 2008 (GMT+2): 
Sat Jul  5 12:22:25.777 2008 (GMT+2): XenVbd --> DriverEntry
Sat Jul  5 12:22:25.777 2008 (GMT+2): 
Sat Jul  5 12:22:25.967 2008 (GMT+2): XenVbd     IRQL = 0
Sat Jul  5 12:22:25.967 2008 (GMT+2): 
Sat Jul  5 12:22:26.167 2008 (GMT+2): XenVbd --> XenVbd_FillInitCallbacks
Sat Jul  5 12:22:26.167 2008 (GMT+2): 
Sat Jul  5 12:22:26.368 2008 (GMT+2): XenVbd     IRQL = 0
Sat Jul  5 12:22:26.368 2008 (GMT+2): 
Sat Jul  5 12:22:26.568 2008 (GMT+2): XenVbd <-- XenVbd_FillInitCallbacks
Sat Jul  5 12:22:26.568 2008 (GMT+2): 
Sat Jul  5 12:22:26.768 2008 (GMT+2): XenVbd <-- DriverEntry
Sat Jul  5 12:22:26.768 2008 (GMT+2): 
Sat Jul  5 12:22:26.969 2008 (GMT+2): XenConfig --> DriverEntry
Sat Jul  5 12:22:26.969 2008 (GMT+2): 
Sat Jul  5 12:22:27.169 2008 (GMT+2): XenConfig <-- DriverEntry
Sat Jul  5 12:22:27.169 2008 (GMT+2): 
Sat Jul  5 12:22:27.369 2008 (GMT+2): XenConfig --> XenConfig_AddDevice
Sat Jul  5 12:22:27.369 2008 (GMT+2): 
Sat Jul  5 12:22:27.670 2008 (GMT+2): XenConfig <-- XenConfig_AddDevice
Sat Jul  5 12:22:27.670 2008 (GMT+2): 
Sat Jul  5 12:22:27.870 2008 (GMT+2): XenHide --> XenHide_AddDevice
Sat Jul  5 12:22:27.870 2008 (GMT+2): 
Sat Jul  5 12:22:28.070 2008 (GMT+2): XenHide <-- XenHide_AddDevice (filter not required for Xen Block Device Driver)
Sat Jul  5 12:22:28.070 2008 (GMT+2): 
Sat Jul  5 12:22:28.270 2008 (GMT+2): XenConfig --> XenConfig_Pnp_StartDevice
Sat Jul  5 12:22:28.270 2008 (GMT+2): 
Sat Jul  5 12:22:28.471 2008 (GMT+2): XenConfig     config key name = 'device-type'
Sat Jul  5 12:22:28.471 2008 (GMT+2): 
Sat Jul  5 12:22:28.671 2008 (GMT+2): XenConfig     config key name = 'event-channel'
Sat Jul  5 12:22:28.671 2008 (GMT+2): 
Sat Jul  5 12:22:28.871 2008 (GMT+2): XenConfig     config key name = 'grants'
Sat Jul  5 12:22:28.871 2008 (GMT+2): 
Sat Jul  5 12:22:29.072 2008 (GMT+2): XenConfig     config key name = 'ring-ref'
Sat Jul  5 12:22:29.072 2008 (GMT+2): 
Sat Jul  5 12:22:29.272 2008 (GMT+2): XenConfig     config key name = 'sector-size'
Sat Jul  5 12:22:29.272 2008 (GMT+2): 
Sat Jul  5 12:22:29.472 2008 (GMT+2): XenConfig     config key name = 'sectors'
Sat Jul  5 12:22:29.472 2008 (GMT+2): 
Sat Jul  5 12:22:29.672 2008 (GMT+2): XenConfig     config key name = 'vectors'
Sat Jul  5 12:22:29.672 2008 (GMT+2): 
Sat Jul  5 12:22:29.873 2008 (GMT+2): XenConfig     PFN[0] = 000026E0
Sat Jul  5 12:22:29.873 2008 (GMT+2): 
Sat Jul  5 12:22:30.073 2008 (GMT+2): XenConfig     Start = 00000000:026e0000, Length = 4096
Sat Jul  5 12:22:30.073 2008 (GMT+2): 
Sat Jul  5 12:22:30.273 2008 (GMT+2): XenPCI     IRP_MN_START_DEVICE (status = c00000bb)
Sat Jul  5 12:22:30.273 2008 (GMT+2): 
Sat Jul  5 12:22:30.504 2008 (GMT+2): XenPCI --> XenPci_Pnp_StartDevice
Sat Jul  5 12:22:30.504 2008 (GMT+2): 
Sat Jul  5 12:22:30.704 2008 (GMT+2): XenPCI     pnp_state = NotStarted
Sat Jul  5 12:22:30.704 2008 (GMT+2): 
Sat Jul  5 12:22:30.874 2008 (GMT+2): XenPCI --> XenPci_ShutdownHandler
Sat Jul  5 12:22:30.874 2008 (GMT+2): 
Sat Jul  5 12:22:31.075 2008 (GMT+2): XenPCI     CmResourceTypeInterrupt
Sat Jul  5 12:22:31.075 2008 (GMT+2): 
Sat Jul  5 12:22:31.275 2008 (GMT+2): XenPCI     irq_vector = 035
Sat Jul  5 12:22:31.275 2008 (GMT+2): 
Sat Jul  5 12:22:31.475 2008 (GMT+2): XenPCI     irq_level = 22
Sat Jul  5 12:22:31.475 2008 (GMT+2): 
Sat Jul  5 12:22:31.675 2008 (GMT+2): XenPCI     CmResourceTypeMemory
Sat Jul  5 12:22:31.675 2008 (GMT+2): 
Sat Jul  5 12:22:31.876 2008 (GMT+2): XenPCI     Start = 026e0000, Length = 4096
Sat Jul  5 12:22:31.876 2008 (GMT+2): 
Sat Jul  5 12:22:32.076 2008 (GMT+2): XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers
Sat Jul  5 12:22:32.076 2008 (GMT+2): 
Sat Jul  5 12:22:32.276 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_WRITE_STRING - (null) = (null)
Sat Jul  5 12:22:32.276 2008 (GMT+2): 
Sat Jul  5 12:22:32.477 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
Sat Jul  5 12:22:32.477 2008 (GMT+2): 
Sat Jul  5 12:22:32.677 2008 (GMT+2): XenPCI --> EvtChn_BindIrq
Sat Jul  5 12:22:32.677 2008 (GMT+2): 
Sat Jul  5 12:22:32.877 2008 (GMT+2): XenPCI <-- EvtChn_BindIrq
Sat Jul  5 12:22:32.877 2008 (GMT+2): 
Sat Jul  5 12:22:33.077 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_RING - ring-ref = 817AA000
Sat Jul  5 12:22:33.077 2008 (GMT+2): 
Sat Jul  5 12:22:33.278 2008 (GMT+2): Error reading shutdown path - ENOENT
Sat Jul  5 12:22:33.278 2008 (GMT+2): 
Sat Jul  5 12:22:33.478 2008 (GMT+2): XenPCI     Backend State Changed to InitWait
Sat Jul  5 12:22:33.478 2008 (GMT+2): 
Sat Jul  5 12:22:33.678 2008 (GMT+2): XenPCI     Backend State Changed to Connected
Sat Jul  5 12:22:33.678 2008 (GMT+2): 
Sat Jul  5 12:22:33.879 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_READ_STRING - device-type = disk
Sat Jul  5 12:22:33.879 2008 (GMT+2): 
Sat Jul  5 12:22:34.079 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_GRANT_ENTRIES - 144
Sat Jul  5 12:22:34.079 2008 (GMT+2): 
Sat Jul  5 12:22:34.279 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_READ_STRING - sector-size = 512
Sat Jul  5 12:22:34.279 2008 (GMT+2): 
Sat Jul  5 12:22:34.479 2008 (GMT+2): XenPCI     XEN_INIT_TYPE_READ_STRING - sectors = 8192000
Sat Jul  5 12:22:34.479 2008 (GMT+2): 
Sat Jul  5 12:22:34.680 2008 (GMT+2): XenPCI <-- XenPci_XenConfigDeviceSpecifyBuffers (00000000
Sat Jul  5 12:22:34.680 2008 (GMT+2): 
Sat Jul  5 12:22:34.910 2008 (GMT+2): XenPCI <-- XenPci_Pnp_StartDevice
Sat Jul  5 12:22:34.910 2008 (GMT+2): 
Sat Jul  5 12:22:35.080 2008 (GMT+2): XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
Sat Jul  5 12:22:35.080 2008 (GMT+2): 
Sat Jul  5 12:22:35.281 2008 (GMT+2): XenVbd --> XenVbd_HwScsiFindAdapter
Sat Jul  5 12:22:35.281 2008 (GMT+2): 
Sat Jul  5 12:22:35.481 2008 (GMT+2): XenVbd     IRQL = 0
Sat Jul  5 12:22:35.481 2008 (GMT+2): 
Sat Jul  5 12:22:35.681 2008 (GMT+2): XenVbd     BusInterruptLevel = 5
Sat Jul  5 12:22:35.681 2008 (GMT+2): 
Sat Jul  5 12:22:35.881 2008 (GMT+2): XenVbd     BusInterruptVector = 005
Sat Jul  5 12:22:35.881 2008 (GMT+2): 
Sat Jul  5 12:22:36.082 2008 (GMT+2): XenVbd     RangeStart = 026e0000, RangeLength = 00001000
Sat Jul  5 12:22:36.082 2008 (GMT+2): 
Sat Jul  5 12:22:36.392 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_VECTORS
Sat Jul  5 12:22:36.392 2008 (GMT+2): 
Sat Jul  5 12:22:36.693 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_DEVICE_STATE - 817ACFC4
Sat Jul  5 12:22:36.693 2008 (GMT+2): 
Sat Jul  5 12:22:36.893 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 4
Sat Jul  5 12:22:36.893 2008 (GMT+2): 
Sat Jul  5 12:22:37.093 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_RING - ring-ref = 817AA000
Sat Jul  5 12:22:37.093 2008 (GMT+2): 
Sat Jul  5 12:22:37.293 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_READ_STRING - device-type = disk
Sat Jul  5 12:22:37.293 2008 (GMT+2): 
Sat Jul  5 12:22:37.494 2008 (GMT+2): XenVbd     device-type = Disk
Sat Jul  5 12:22:37.494 2008 (GMT+2): 
Sat Jul  5 12:22:37.834 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_GRANT_ENTRIES - 144
Sat Jul  5 12:22:37.834 2008 (GMT+2): 
Sat Jul  5 12:22:38.004 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_READ_STRING - sector-size = 512
Sat Jul  5 12:22:38.004 2008 (GMT+2): 
Sat Jul  5 12:22:38.205 2008 (GMT+2): XenVbd     XEN_INIT_TYPE_READ_STRING - sectors = 8192000
Sat Jul  5 12:22:38.205 2008 (GMT+2): 
Sat Jul  5 12:22:38.405 2008 (GMT+2): XenVbd     Dma64BitAddresses not supported
Sat Jul  5 12:22:38.405 2008 (GMT+2): 
Sat Jul  5 12:22:38.605 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiFindAdapter
Sat Jul  5 12:22:38.605 2008 (GMT+2): 
Sat Jul  5 12:22:38.806 2008 (GMT+2): XenVbd --> XenVbd_HwScsiInitialize
Sat Jul  5 12:22:38.806 2008 (GMT+2): 
Sat Jul  5 12:22:39.006 2008 (GMT+2): XenVbd     IRQL = 22
Sat Jul  5 12:22:39.006 2008 (GMT+2): 
Sat Jul  5 12:22:39.206 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiInitialize
Sat Jul  5 12:22:39.206 2008 (GMT+2): 
Sat Jul  5 12:22:39.406 2008 (GMT+2): XenVbd --> HwScsiAdapterControl
Sat Jul  5 12:22:39.406 2008 (GMT+2): 
Sat Jul  5 12:22:39.607 2008 (GMT+2): XenVbd     IRQL = 0
Sat Jul  5 12:22:39.607 2008 (GMT+2): 
Sat Jul  5 12:22:39.807 2008 (GMT+2): XenVbd     ScsiQuerySupportedControlTypes (Max = 5)
Sat Jul  5 12:22:39.807 2008 (GMT+2): 
Sat Jul  5 12:22:40.037 2008 (GMT+2): XenVbd <-- HwScsiAdapterControl
Sat Jul  5 12:22:40.037 2008 (GMT+2): 
Sat Jul  5 12:22:40.208 2008 (GMT+2): XenConfig <-- XenConfig_Pnp_StartDevice
Sat Jul  5 12:22:40.208 2008 (GMT+2): 
Sat Jul  5 12:22:40.408 2008 (GMT+2): XenConfig --> XenConfig_Pnp_StartDeviceCallback
Sat Jul  5 12:22:40.408 2008 (GMT+2): 
Sat Jul  5 12:22:40.608 2008 (GMT+2): XenConfig <-- XenConfig_Pnp_StartDeviceCallback
Sat Jul  5 12:22:40.608 2008 (GMT+2): 
Sat Jul  5 12:22:40.809 2008 (GMT+2): XenPCI     IRP_MN_QUERY_CAPABILITIES (status = c00000bb)
Sat Jul  5 12:22:40.809 2008 (GMT+2): 
Sat Jul  5 12:22:41.009 2008 (GMT+2): XenPCI     IRP_MN_QUERY_PNP_DEVICE_STATE (status = 00000000)
Sat Jul  5 12:22:41.009 2008 (GMT+2): 
Sat Jul  5 12:22:41.239 2008 (GMT+2): XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
Sat Jul  5 12:22:41.239 2008 (GMT+2): 
Sat Jul  5 12:22:41.409 2008 (GMT+2): XenVbd --- HwScsiStartIo (Still figuring out ring)
Sat Jul  5 12:22:41.409 2008 (GMT+2): 
Sat Jul  5 12:22:44.614 2008 (GMT+2): XenVbd --> XenVbd_HwScsiInterrupt
Sat Jul  5 12:22:44.614 2008 (GMT+2): 
Sat Jul  5 12:22:44.914 2008 (GMT+2): XenVbd     ring_detect_state = 0, operation = ff, id = 0, status = 0
Sat Jul  5 12:22:44.914 2008 (GMT+2): 
Sat Jul  5 12:22:45.115 2008 (GMT+2): XenVbd     ring_detect_state = 1, operation = 0, id = ff, status = 0
Sat Jul  5 12:22:45.115 2008 (GMT+2): 
Sat Jul  5 12:22:45.315 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiInterrupt
Sat Jul  5 12:22:45.315 2008 (GMT+2): 
Sat Jul  5 12:22:45.515 2008 (GMT+2): XenVbd --> HwScsiResetBus
Sat Jul  5 12:22:45.515 2008 (GMT+2): 
Sat Jul  5 12:22:45.716 2008 (GMT+2): XenVbd     IRQL = 22
Sat Jul  5 12:22:45.716 2008 (GMT+2): 
Sat Jul  5 12:22:45.916 2008 (GMT+2): XenVbd <-- HwScsiResetBus
Sat Jul  5 12:22:45.916 2008 (GMT+2): 
Sat Jul  5 12:22:49.120 2008 (GMT+2): XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
Sat Jul  5 12:22:49.120 2008 (GMT+2): 
Sat Jul  5 12:22:49.321 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiStartIo
Sat Jul  5 12:22:49.321 2008 (GMT+2): 
Sat Jul  5 12:22:49.521 2008 (GMT+2): XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
Sat Jul  5 12:22:49.521 2008 (GMT+2): 
Sat Jul  5 12:22:49.721 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiStartIo
Sat Jul  5 12:22:49.721 2008 (GMT+2): 
Sat Jul  5 12:22:49.922 2008 (GMT+2): XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
Sat Jul  5 12:22:49.922 2008 (GMT+2): 
Sat Jul  5 12:22:50.222 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiStartIo
Sat Jul  5 12:22:50.222 2008 (GMT+2): 
Sat Jul  5 12:22:50.422 2008 (GMT+2): XenPCI     IRP_MN_QUERY_DEVICE_RELATIONS (status = 00000000)
Sat Jul  5 12:22:50.422 2008 (GMT+2): 
Sat Jul  5 12:22:50.623 2008 (GMT+2): XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
Sat Jul  5 12:22:50.623 2008 (GMT+2): 
Sat Jul  5 12:22:50.823 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiStartIo
Sat Jul  5 12:22:50.823 2008 (GMT+2): 
Sat Jul  5 12:22:51.023 2008 (GMT+2): XenVbd --> HwScsiStartIo PathId = 0, TargetId = 0, Lun = 0
Sat Jul  5 12:22:51.023 2008 (GMT+2): 
Sat Jul  5 12:22:51.223 2008 (GMT+2): XenVbd --> XenVbd_PutSrbOnRing
Sat Jul  5 12:22:51.223 2008 (GMT+2): 
Sat Jul  5 12:22:51.424 2008 (GMT+2): XenVbd <-- XenVbd_PutSrbOnRing
Sat Jul  5 12:22:51.424 2008 (GMT+2): 
Sat Jul  5 12:22:51.624 2008 (GMT+2): XenVbd <-- XenVbd_HwScsiStartIo
Sat Jul  5 12:22:51.624 2008 (GMT+2): 
Sat Jul  5 12:23:01.939 2008 (GMT+2): XenVbd --> HwScsiResetBus
Sat Jul  5 12:23:01.939 2008 (GMT+2): 
Sat Jul  5 12:23:02.139 2008 (GMT+2): XenVbd     IRQL = 22
Sat Jul  5 12:23:02.139 2008 (GMT+2): 
Sat Jul  5 12:23:02.339 2008 (GMT+2): XenVbd <-- HwScsiResetBus

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#28 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot -Windows XP Pro SP2

Quoted 2 lines
Quoted 1 line · James Harper

Okay, as before, please try the xenvbd-xp-debug.zip from the

download

Quoted 3 lines
Quoted 3 lines

site.

That one should give some more output about the responses that have

been

Quoted 5 lines
Quoted 2 lines

received from dom0.

Thanks, new log attached.

Okay... well I can see that there are definitely no interrupts occurring after the call to 'PutSrbOnRing'.

I've just made another change, this time the ring state will be forced to 64 bit without doing the detection side of things. Please download and try again. That will tell us if the ring detection code is crashing the backend in some way.

I'll wait up a bit for your response, but it's 22:37 over here, so if you don't hear from me after this then I've gone to bed :)

James

#29 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 7 lines · James Harper

Okay... well I can see that there are definitely no interrupts occurring after the call to 'PutSrbOnRing'.

I've just made another change, this time the ring state will be forced to 64 bit without doing the detection side of things. Please download and try again. That will tell us if the ring detection code is crashing the backend in some way.

Ok, done!

Quoted 2 lines

I'll wait up a bit for your response, but it's 22:37 over here, so if you don't hear from me after this then I've gone to bed :)

Well, have a nice rest then ;-)

Thanks,
Sandro

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#30 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 2 lines
Quoted 1 line · James Harper

Okay... well I can see that there are definitely no interrupts

occurring

Quoted 3 lines
Quoted 3 lines

after the call to 'PutSrbOnRing'.

I've just made another change, this time the ring state will be

forced

Quoted 1 line
Quoted 1 line

to 64 bit without doing the detection side of things. Please

download

Quoted 1 line
Quoted 1 line

and try again. That will tell us if the ring detection code is

crashing

Quoted 4 lines
Quoted 1 line

the backend in some way.

Ok, done!

Well... that's just strange. The two dummy requests get processed just fine, but the real ones don't, even when I remove the dummy requests completely... At least that tells me where not to look :)

I'll look at it further tomorrow.

Thanks

James

#31 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

In reply to Sandro Sigala
Quoted 1 line
Quoted 1 line

I've just made another change, this time the ring state will be

forced

Quoted 1 line
Quoted 1 line

to 64 bit without doing the detection side of things. Please

download

Quoted 1 line
Quoted 1 line

and try again. That will tell us if the ring detection code is

crashing

Quoted 4 lines
Quoted 1 line

the backend in some way.

Ok, done!

I've just put another one up to try. Give it a go when you can and send me the results. I'm running out of ideas though...

James

#32 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 2 lines · James Harper

I've just put another one up to try. Give it a go when you can and send me the results. I'm running out of ideas though...

Thanks. Log attached as usual.

Later (tomorrow for you I guess) I will install the DDK stuff, do some experiments and post the results.

Regards,
Sandro

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#33 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Are you getting anywhere with this, or may latest xenvbd.sys?

I'd like to do another release soon, but would really like to find out what is causing the hang you are seeing as you aren't the only one who has reported it.

Thanks

James

Quoted 20 lines

-----Original Message-----
From: Sandro Sigala [mailto:[email protected]]
Sent: Sunday, 6 July 2008 22:04
To: James Harper
Cc: [email protected]
Subject: Re: [Xen-devel] GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 1 line · James Harper

I've just put another one up to try. Give it a go when you can and

send

Quoted 1 line

me the results. I'm running out of ideas though...

Thanks. Log attached as usual.

Later (tomorrow for you I guess) I will install the DDK stuff, do some experiments and post the results.

Regards,
Sandro

#34 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 6 lines · James Harper

Are you getting anywhere with this, or may latest xenvbd.sys?

I'd like to do another release soon, but would really like to find out what is causing the hang you are seeing as you aren't the only one who has reported it.

Sorry, I had to do some other unexpected work, and I moved forward the DDK experimentation.

Please find attached the new log.

Thanks,
Sandro

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#35 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 4 lines
Quoted 3 lines · James Harper

Are you getting anywhere with this, or may latest xenvbd.sys?

I'd like to do another release soon, but would really like to find

out

Quoted 1 line
Quoted 1 line

what is causing the hang you are seeing as you aren't the only one

who

Quoted 4 lines
Quoted 2 lines

has reported it.

Sorry, I had to do some other unexpected work, and I moved forward the

DDK

Quoted 4 lines

experimentation.

Please find attached the new log.

Everything seems okay in that one too.

If you can spare the time, please now try replacing your xenpci.sys with the file in xenpci-xp-debug.zip, and try it again. This will tell me if dom0 is sending the request at all and we are dropping it for some reason.

Thanks

James

#36 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 6 lines · James Harper

Everything seems okay in that one too.

If you can spare the time, please now try replacing your xenpci.sys with the file in xenpci-xp-debug.zip, and try it again. This will tell me if dom0 is sending the request at all and we are dropping it for some reason.

Done. Thanks for the "off-line" debugging.

Regards,
Sandro

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#37 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 5 lines
Quoted 3 lines · James Harper

Everything seems okay in that one too.

If you can spare the time, please now try replacing your xenpci.sys

with

Quoted 1 line
Quoted 1 line

the file in xenpci-xp-debug.zip, and try it again. This will tell me

if

Quoted 5 lines
Quoted 2 lines

dom0 is sending the request at all and we are dropping it for some reason.

Done. Thanks for the "off-line" debugging.

Hmmm... I think I can see the problem - XenPCI is getting IRQ 5, and IRQ 5 is being assigned to all the subsequent devices that XenPCI enumerates, and due to the slightly dodgy way I dish out interrupts to other devices this maybe isn't working. I should probably have spotted that earlier but I wasn't looking for it!

I'll see if I can come up with a fix of some sort, hopefully I'll have something in a few minutes.

Btw, on my test machines, XenPCI always seems to get IRQ 28 and the other devices all get IRQ 11. Any idea why yours would all be getting IRQ 5? My guess would be that you don't have APIC enabled, or that you didn't have it enabled when you first installed. Either way, it's a bug for the GPLPV drivers to behave this way so I'll fix it. I just hope there are enough interrupts to go around!

Thanks

James

#38 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2

Quoted 5 lines · James Harper

Hmmm... I think I can see the problem - XenPCI is getting IRQ 5, and IRQ 5 is being assigned to all the subsequent devices that XenPCI enumerates, and due to the slightly dodgy way I dish out interrupts to other devices this maybe isn't working. I should probably have spotted that earlier but I wasn't looking for it!

Great!

Quoted 5 lines

Btw, on my test machines, XenPCI always seems to get IRQ 28 and the other devices all get IRQ 11. Any idea why yours would all be getting IRQ 5? My guess would be that you don't have APIC enabled, or that you didn't have it enabled when you first installed.

Confirmed, I have APIC disabled in the VM (also while installing), because in the past this caused strange problems with the older Xen versions. Since then I always left it disabled for safety, but I guess it's now safe...

Thanks,
Sandro

#39 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

In reply to James Harper
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines · James Harper

Everything seems okay in that one too.

If you can spare the time, please now try replacing your

xenpci.sys

Quoted 2 lines

with

Quoted 1 line
Quoted 1 line

the file in xenpci-xp-debug.zip, and try it again. This will tell

me

Quoted 8 lines

if

Quoted 5 lines
Quoted 2 lines

dom0 is sending the request at all and we are dropping it for some reason.

Done. Thanks for the "off-line" debugging.

Hmmm... I think I can see the problem - XenPCI is getting IRQ 5, and

IRQ

Quoted 8 lines

5 is being assigned to all the subsequent devices that XenPCI enumerates, and due to the slightly dodgy way I dish out interrupts to other devices this maybe isn't working. I should probably have spotted that earlier but I wasn't looking for it!

I'll see if I can come up with a fix of some sort, hopefully I'll have something in a few minutes.

Okay I've changed xenpci to not assign out the same irq to it's devices as it gets from pci. Please get the xenpci-xp-debug.zip and give it another go. I've given it a quick test and it doesn't seem to break anything...

James

#40 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 6 lines · James Harper

Okay I've changed xenpci to not assign out the same irq to it's devices as it gets from pci. Please get the xenpci-xp-debug.zip and give it another go. I've given it a quick test and it doesn't seem to break anything...

James

Congratulations, it works! ;-) (Both with apic=0 and apic=1).

I'm logging all the messages but it's quite slow, a lot of:
---

Mon Jul  7 12:29:51.305 2008 (GMT+2):
Mon Jul  7 12:29:51.505 2008 (GMT+2): XenPCI <-- EvtChn_Interrupt
Mon Jul  7 12:29:51.505 2008 (GMT+2):
Mon Jul  7 12:29:51.806 2008 (GMT+2): XenPCI --> EvtChn_DpcBounce
Mon Jul  7 12:29:51.806 2008 (GMT+2):
Mon Jul  7 12:29:52.036 2008 (GMT+2): XenPCI     Calling interrupt vector 33
Mon Jul  7 12:29:52.036 2008 (GMT+2):
Mon Jul  7 12:29:52.236 2008 (GMT+2): XenPCI <-- EvtChn_DpcBounce

---

I will send it when the debugging output is completed.

Sandro

#41 lore raw

RE: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 3 lines
Quoted 1 line · James Harper

Okay I've changed xenpci to not assign out the same irq to it's

devices

Quoted 8 lines
Quoted 5 lines

as it gets from pci. Please get the xenpci-xp-debug.zip and give it another go. I've given it a quick test and it doesn't seem to break anything...

James

Congratulations, it works! ;-) (Both with apic=0 and apic=1).

Quoted 8 lines

I'm logging all the messages but it's quite slow, a lot of:
---

Mon Jul  7 12:29:51.305 2008 (GMT+2):
Mon Jul  7 12:29:51.505 2008 (GMT+2): XenPCI <-- EvtChn_Interrupt
Mon Jul  7 12:29:51.505 2008 (GMT+2):
Mon Jul  7 12:29:51.806 2008 (GMT+2): XenPCI --> EvtChn_DpcBounce
Mon Jul  7 12:29:51.806 2008 (GMT+2):
Mon Jul  7 12:29:52.036 2008 (GMT+2): XenPCI     Calling interrupt

vector

Quoted 7 lines

33
Mon Jul 7 12:29:52.036 2008 (GMT+2):
Mon Jul 7 12:29:52.236 2008 (GMT+2): XenPCI <-- EvtChn_DpcBounce
---

I will send it when the debugging output is completed.

No need, if it's working then that's fine, the debug output will just tell me what I already know.

I'll do another pre-release, probably tomorrow.

Thanks for your patience!

James

#42 lore raw

Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2

Quoted 2 lines · James Harper

No need, if it's working then that's fine, the debug output will just tell me what I already know.

Ok.

Quoted 3 lines

I'll do another pre-release, probably tomorrow.

Thanks for your patience!

Well, thanks for YOUR patience ;-)

Thanks,
Sandro