[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] win-pv assertion failed while migrating



On Sat, Feb 12, 2011 at 05:09:04PM +0800, alice wan wrote:
>    hi all
> 
>    i migrated a guest os with win-pv driver (changset 820) , xc_save process
>    hung like that
> 
>    (gdb) bt
>    #0  0x0000003482ec5f3b in read () from /lib64/libc.so.6
>    #1  0x00007f53b42754cf in read_exact () from /usr/lib64/libxenctrl.so.4.0
>    #2  0x00007f53b427b283 in xc_evtchn_pending () from
>    /usr/lib64/libxenctrl.so.4.0
>    #3  0x00007f53b404b5e7 in xc_await_suspend () from
>    /usr/lib64/libxenguest.so.4.0
>    #4  0x0000000000401305 in suspend ()
>    #5  0x00007f53b404f684 in suspend_and_state () from
>    /usr/lib64/libxenguest.so.4.0
>    #6  0x00007f53b4051d4f in xc_domain_save () from
>    /usr/lib64/libxenguest.so.4.0
>    #7  0x0000000000401539 in main ()
> 
>    the pv debug info in qemu log is as following:
> 
>    XenPCI <-- XenPci_DeviceWatchHandler
>    XenNet --> XenNet_Resume
>    XenPCI --> XenPci_DeviceWatchHandler
>    XenNet --> XenNet_TxResumeStart
>    XenPCI <-- XenPci_DeviceWatchHandler
>    XenNet <-- XenNet_TxResumeStart
>    XenPCI --> XenPci_UpdateBackendState
>    XenNet --> XenNet_RxResumeStart
>    XenNet <-- XenNet_RxResumeStart
>    XenPCI     state unchanged
>    XenNet --> XenNet_ConnectBackend
>    XenPCI --> XenPci_DeviceWatchHandler
>    XenNet     XEN_INIT_TYPE_13
>    XenPCI <-- XenPci_DeviceWatchHandler
>    XenNet     XEN_INIT_TYPE_VECTORS
>    XenNet     XEN_INIT_TYPE_DEVICE_STATE - 81F40FB4
>    XenNet     XEN_INIT_TYPE_RING - tx-ring-ref = FFB1F000
>    XenNet     XEN_INIT_TYPE_RING - rx-ring-ref = FFB1E000
>    XenNet     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7
>    XenNet     XEN_INIT_TYPE_READ_STRING - mac = 00:16:3e:e0:00:13
>    XenNet     XEN_INIT_TYPE_READ_STRING - feature-sg = 1
>    XenNet     XEN_INIT_TYPE_READ_STRING - feature-gso-tcpv4 = 1
>    XenNet     XEN_INIT_TYPE_17
>    XenNet <-- XenNet_ConnectBackend
>    XenNet --> XenNet_RxResumeEnd
>    XenNet <-- XenNet_RxResumeEnd
>    XenNet --> XenNet_TxResumeEnd
>    XenNet <-- XenNet_TxResumeEnd
>    XenNet     *Setting suspend_resume_state_fdo = 2
>    XenNet --> XenNet_SuspendResume
>    XenNet     New state SR_STATE_RESUMING
>    XenNet <-- XenNet_SuspendResume
>    XenNet --> XenNet_Resume
>    XenNet     *Notifying event channel 5
>    XenNet --> XenNet_TxResumeStart
>    XenNet <-- XenNet_Resume
>    XenPCI     EVT_ACTION_TYPE_SUSPEND
>    XenPCI --> EvtChn_PdoEventChannelDpc
>    XenPCI <-- EvtChn_PdoEventChannelDpc
>    XenPCI     fdo state set to 2
>    XenNet <-- XenNet_TxResumeStart
>    XenPCI <-- XenPci_Pdo_ChangeSuspendState
>    XenNet --> XenNet_RxResumeStart
>    XenPCI --> XenPci_Pdo_ChangeSuspendState
>    XenNet <-- XenNet_RxResumeStart
>    XenPCI     setting pdo state to 0
>    XenNet --> XenNet_ConnectBackend
>    XenPCI     Notifying event channel 5
>    XenNet     XEN_INIT_TYPE_13
>    XenPCI     EVT_ACTION_TYPE_SUSPEND
>    XenNet     XEN_INIT_TYPE_VECTORS
>    XenNet --> XenNet_SuspendResume
>    XenNet     XEN_INIT_TYPE_DEVICE_STATE - 81F40FB4
>    XenNet     New state 2
>    XenNet     Notifying event channel 5
>    XenNet     XEN_INIT_TYPE_RING - tx-ring-ref = FFB1F000
>    XenNet <-- XenNet_SuspendResume
>    XenPCI     EVT_ACTION_TYPE_SUSPEND
> 
>    *** Assertion failed: xi->rx_ring_pbs[id] != (USHORT)0xFFFF
>    ***   Source File: c:\projects\win-pvdrivers.hg\xennet\xennet_rx.c, line
>    639
> 
>    XenNet     XEN_INIT_TYPE_RING - rx-ring-ref = FFB1E000
>    XenVbd --> DriverEntry
>    XenVbd     IRQL = 31
>    XenVbd     DriverObject = 00000000, RegistryPath = 00000000
>    XenVbd --> XenVbd_HwScsiFindAdapter
>    XenVbd     IRQL = 31
>    XenVbd     xvdd = 819F5300
>    XenVbd     BusInterruptLevel = 28
>    XenVbd     BusInterruptVector = 01c
>    XenVbd     NumberOfAccessRanges = 1
>    XenVbd     RangeStart = 1f98a000, RangeLength = 00001000
>    XenVbd     XEN_INIT_TYPE_VECTORS
>    XenVbd     XEN_INIT_TYPE_DEVICE_STATE - 81F96AB4
>    XenVbd     XEN_INIT_TYPE_RING - ring-ref = 81F3C000
>    XenVbd     XEN_INIT_TYPE_EVENT_CHANNEL - event-channel = 7
>    XenVbd     cached_use_other = 1
>    XenVbd     XEN_INIT_TYPE_READ_STRING - device-type = disk
>    XenVbd     device-type = Disk
>    XenVbd     XEN_INIT_TYPE_READ_STRING - mode = w
>    XenVbd     mode = w
>    XenVbd     XEN_INIT_TYPE_READ_STRING - sectors = 104857600
>    XenVbd     XEN_INIT_TYPE_READ_STRING - sector-size = 512
>    XenVbd     XEN_INIT_TYPE_GRANT_ENTRIES - entries = 11
>    XenVbd     qemu_hide_flags_value = 3
>    XenVbd     aligned_buffer_data = 819F7274
>    XenVbd     aligned_buffer = 819F8000
>    XenVbd     ConfigInfo->MaximumTransferLength = 4096
>    XenVbd     ConfigInfo->NumberOfPhysicalBreaks = 0
>    XenVbd     Dma64BitAddresses not supported
>    XenVbd <-- XenVbd_HwScsiFindAdapter
>    XenVbd --> XenVbd_HwScsiInitialize
>    XenVbd     IRQL = 31
>    XenVbd     dump_mode = 1
>    XenVbd <-- XenVbd_HwScsiInitialize
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    Log-dirty command enable
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd --> HwScsiStartIo (Suspending/Resuming)
>    XenVbd <-- HwScsiStartIo (Suspending/Resuming)
>    XenVbd ScsiPortInitialize failed with status 0xc0000001
>    XenVbd <-- DriverEntry
>    XenNet --> XenNet_Shutdown
>    XenNet <-- XenNet_Shutdown
>    XenPCI     Bug check 0x0000008E (0x80000003, 0x80878113, 0xF885AAF4,
>    0x00000000)
>    reset requested in cpu_handle_ioreq.
>    Issued domain 473 reboot
> 
>    environment: xen 4.0.0 +2.6.31.13, windows2003+win-pv(changeset 820)
> 

Not sure if it'll make a difference, but you should at least
upgrade to Xen 4.0.1 and dom0 kernel from xen/stable-2.6.32.x branch.

2.6.31 dom0 kernel is not supported or maintained anymore,
and it's known to have bugs/issues.

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.