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

Re: [Xen-ia64-devel] [PATCH 0/7] vti save-restore



Hi Alex.
Thank you for the register dump. Otherwise it had been very hard
to track it down without the info.

The culprit is the patch, 1/7 fix ia64_leave_hypervisor.
Although I haven't figured out why the patch causes hang yet,
just omitting it is okay for now because it isn't directly related
to HVM domain save/restore,

I updated and attached the patches.
I can boot linux with GFW of
  - the precompiled binary added by c/s 35:ad52e9f19cbc
  - c/s 32 with unaligned patch by Kouya.
    (Withouth Kouya's patch, it results in domain panic.)
  - efi-vfirmware-cset28.bin you offered

thanks.

On Tue, Oct 23, 2007 at 09:38:25AM -0600, Alex Williamson wrote:
> 
> On Tue, 2007-10-23 at 09:29 -0600, Alex Williamson wrote:
> > On Tue, 2007-10-23 at 14:29 +0900, Isaku Yamahata wrote:
> > > I haven't found anything wrong with your bundle.
> > > I tested xen-unstable.hg with the bundle.
> > > With the binary GFW in efi-vfirmware.hg which is somewhat old,
> > > I can boot Linux in VTi domain whose memory is more than or equal to 
> > > 256MB.
> > > However with 128MB memory, it reaches to start_kernel(), but it loops
> > > at somewhere. (I haven't tracked it down yet.)
> > > 
> > > Your case seems that the GFW is unable to load kernel image because of
> > > the IdeController driver related issue, right?
> > > So far I've avoided building the GFW, I have to do this time.
> > > I'll continue to look into this issue.
> > 
> >    Right, I never make it to the point of booting the guest OS.  I've
> > placed a efi-vfirmware binary here:
> > 
> > http://free.linux.hp.com/~awilliam/efi-vfirmware-cset28.bin.bz2
> > 
> > I confirmed that the older Intel GFW does work with this patch series,
> > but the open source GFW hangs.  Here's the last output from the console:
> > 
> > InstallProtocolInterface: 18A031AB-B443-4D1A-A5C0-0C09261E9F71 13ECB4830
> > InstallProtocolInterface: 107A772C-D5E1-11D4-9A46-0090273FC14D 13ECB47D0
> > InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 13ED07C40
> > Relocating driver at 0x013EB3A000 
> > /home/awilliam/vefi-build/20071023/edk2-xen/Build/Xen/DEBUG_UNIXGCC/IPF/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus/DEBUG/./IdeBus.dll
> > Loading driver at 0x013EB3A000 EntryPoint=0x013EB5EEA0 
> > /home/awilliam/vefi-build/20071023/edk2-xen/Build/Xen/DEBUG_UNIXGCC/IPF/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus/DEBUG/.efi
> > InstallProtocolInterface: 18A031AB-B443-4D1A-A5C0-0C09261E9F71 13EB5F2D8
> > InstallProtocolInterface: 107A772C-D5E1-11D4-9A46-0090273FC14D 13EB5F230
> > InstallProtocolInterface: 107A772B-D5E1-11D4-9A46-0090273FC14D 13EB5F288
> > InstallProtocolInterface: 0784924F-E296-11D4-9A49-0090273FC14D 13EB5F2C8
> > InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 13ED07A40
> > Relocating driver at 0x013EC3D000 
> > /home/awilliam/vefi-build/20071023/edk2-xen/Build/Xen/DEBUG_UNIXGCC/IPF/EdkQemuPkg/Bus/Pci/IdeController/Dxe/IdeController/DEBUG/./IdeController.dll
> > Loading driver at 0x013EC3D000 EntryPoint=0x013EC47120 
> > /home/awilliam/vefi-build/20071023/edk2-xen/Build/Xen/DEBUG_UNIXGCC/IPF/EdkQemuPkg/Bus/Pci/IdeController/Dxe/IdeController/DEBUG/.efi
> > InstallProtocolInterface: 18A031AB-B443-4D1A-A5C0-0C09261E9F71 13EC473D0
> > InstallProtocolInterface: 107A772C-D5E1-11D4-9A46-0090273FC14D 13EC47410
> > <hang>
> > 
> > The whole machine seems hung at this point.  Thanks,
> 
> Here's the most interesting bit of the INIT dump at this point:
> 
> (XEN) [2007-10-23 15:22:56] NaT bits    0000000000000000
> (XEN) [2007-10-23 15:22:56] pr          000000000002aac3
> (XEN) [2007-10-23 15:22:56] b0          f00000000409c970 
> vmx_rse_clear_invalid+0x40/0x130
> (XEN) [2007-10-23 15:22:56] ar.rsc              0000000000000000
> (XEN) [2007-10-23 15:22:56] cr.iip              f0000000040a0080 
> vmx_panic+0x0/0x10
> (XEN) [2007-10-23 15:22:56] cr.ipsr             0000001008220030
> (XEN) [2007-10-23 15:22:56] cr.ifs              8000000000000000
> (XEN) [2007-10-23 15:22:56] xip         000000013f121b42 ???
> (XEN) [2007-10-23 15:22:56] xpsr                00005410088a6038
> (XEN) [2007-10-23 15:22:56] xfs         8000000000000000
> (XEN) [2007-10-23 15:22:56] b1          00000000fffef540 ???
> (XEN) [2007-10-23 15:22:56] 
> (XEN) [2007-10-23 15:22:56] static registers r0-r15:
> (XEN) [2007-10-23 15:22:56]  r0- 3 0000000000000000 000000013f138800 
> 0000000000000011 0000000000000000
> (XEN) [2007-10-23 15:22:56]  r4- 7 00100000ffff0661 0000000000000000 
> 0000000000000000 0000000000000000
> (XEN) [2007-10-23 15:22:56]  r8-11 0000000000000000 000000000000000e 
> 0000000000000000 0000000000000001
> (XEN) [2007-10-23 15:22:56] r12-15 000000013ff74e50 0000000000000000 
> 0000000000000000 f000000007bb8f71
> (XEN) [2007-10-23 15:22:56] 
> (XEN) [2007-10-23 15:22:56] bank 0:
> (XEN) [2007-10-23 15:22:56] r16-19 f000000007bb8000 0000000000001000 
> 0000008000000030 0000000000000018
> (XEN) [2007-10-23 15:22:56] r20-23 000000013f138800 f000000007bb8000 
> 000000013f121ec0 0000000000029a01
> (XEN) [2007-10-23 15:22:56] r24-27 0000000000000000 0000000000000000 
> 0000000000000710 0000000000000000
> (XEN) [2007-10-23 15:22:56] r28-31 000000000002aa03 00005410088a6038 
> f000000007b8ed50 000000000002aa03
> (XEN) [2007-10-23 15:22:56] 
> (XEN) [2007-10-23 15:22:56] bank 1:
> (XEN) [2007-10-23 15:22:56] r16-19 0000000000000000 0000000000000000 
> 0000000000000000 0000000000000000
> (XEN) [2007-10-23 15:22:56] r20-23 0000000000000000 0000000000000000 
> 0000000000000000 0000000000000000
> (XEN) [2007-10-23 15:22:56] r24-27 0000000000000000 0000000000000000 
> 0000000000000000 0000000000000000
> (XEN) [2007-10-23 15:22:56] r28-31 0000000000000000 0000000000000000 
> 0000000000000000 0000000000000000
> (XEN) [2007-10-23 15:22:56] Backtrace of current vcpu (vcpu_id 0 of domid 2)
> (XEN) [2007-10-23 15:22:56] 
> (XEN) [2007-10-23 15:22:56] Call Trace:
> (XEN) [2007-10-23 15:22:56]  [<000000013f121b42>] ???
> (XEN) [2007-10-23 15:22:56]                                 
> sp=f000000007bb9240 bsp=f000000007bb9240
> 
> -- 
> Alex Williamson                             HP Open Source & Linux Org.
> 
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

-- 
yamahata

Attachment: vti-save-restore.tar.bz2
Description: Binary data

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

 


Rackspace

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