WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP P

Hello,

James Harper wrote:
> 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 :)

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel