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-ia64-devel

Re: [Xen-ia64-devel] [ANNOUNCE] Kexec for Xen on IA64 (Take III)

On Thu, Feb 15, 2007 at 05:32:46PM -0700, Alex Williamson wrote:
> On Wed, 2007-02-14 at 19:09 +0900, Horms wrote:
> > 
> > I'm happy to announce the third alpha release of this code.
> > It is just a minor up-port to xen-ia64-unstable version 13903.
> > The Linux and kexec-tools portions are unchanged.
> 
> Hi Simon,
> 
>    Thanks for your work on this.  I tried to give it a whirl on an HP
> zx2000 system (UP, zx1, Madison).  Probably user error, but I can't get
> kexec to accept the --append option when built as described in your
> instructions.  It gives me this error:

There is an rx2620 in our lab, which is currently being used
for other development work. How close is that to the machine you have?
I could probably steal some cycles on it if need be.

If so, is there any chance that you could send me your dom0 kernel
config, just so that we are on the same page.

> # kexec -l --append "dom0_mem=1G -- root=/dev/hda2" --vmm "/boot/xen.gz" 
> "/boot/vmlinux.gz"
> Cannot open `dom0_mem=1G -- root=/dev/hda2': stream error

That is quite odd. I take it that you built kexec-tools by
patching kexec-tools-testing 20061214 as outlined in the BUILD
document. I'm pretty sure I tested this with --append "X -- Y", but
I will recheck this.

> So I went ahead and tried it w/o an append option... it nearly works!
> The log is below.  Xen kexec'd, but dom0 panic'd.  I wasn't able to boot
> my system with the phys_efi option, it hangs right after the vhpt_init
> line.  I'll see if I can figure out what's going on there.  Thanks,

Does phys_efi work on linux (w/o xen) for you? I sent patches
to ia64-linux recently, I can send them your way if you like.
I ask because I am intrigued to know if phys_efi (as currently
implemented) works on your platform at all.

>       Alex
> 
> PS - I'm using your patches based on current xen-ia64-unstable.hg tip,
> which changed a little bit since yesterday.  That might have something
> to do w/ it.

Perhaps. I'll test it out. But its much more likely to be bugs in my code :-(

Thanks a lot for testing this out. I do really appreciate it.

> 
> -- 
> Alex Williamson                             HP Open Source & Linux Org.
> 
> 
> # kexec -l --vmm "/boot/xen.gz" "/boot/vmlinux.gz"
> # kexec -e
> ACPI: PCI interrupt for device 0000:a0:03.0 disabled
> GSI 42 (level, low) -> CPU 0 (0x0000) vector 50 unregistered
> Starting new kernel
>  __  __            _____  ___                     _        _     _      
>  \ \/ /___ _ __   |___ / / _ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
>   \  // _ \ '_ \    |_ \| | | |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
>   /  \  __/ | | |  ___) | |_| |__| |_| | | | \__ \ || (_| | |_) | |  __/
>  /_/\_\___|_| |_| |____(_)___/    \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
>                                                                         
>  http://www.cl.cam.ac.uk/netos/xen
>  University of Cambridge Computer Laboratory
> 
>  Xen version 3.0-unstable (root@home) (gcc version 4.1.2 20061115 
> (prerelease) (Debian 4.1.1-21)) Thu Feb 15 16:22:53 MST 2007
>  Latest ChangeSet: Thu Feb 15 16:21:52 2007 -0700 13977:37f404ca595b
> 
> (XEN) Xen command line: 
> (XEN) xen image pstart: 0x4000000, xenheap pend: 0x8000000
> (XEN) Xen patching physical address access by offset: 0x0
> (XEN) find_memory: efi_memmap_walk returns max_page=102fff2
> (XEN) Before xen_heap_start: f0000000041b0880
> (XEN) After xen_heap_start: f0000000043bc000
> (XEN) warning: skipping physical page 0
> (XEN) Init boot pages: 0x4000 -> 0x4000000.
> (XEN) Init boot pages: 0x9000000 -> 0x1eca0000.
> (XEN) Init boot pages: 0x1ee19dc0 -> 0x1ee20000.
> (XEN) Init boot pages: 0x1ee20720 -> 0x1ee28000.
> (XEN) Init boot pages: 0x1ee28060 -> 0x3f5e4000.
> (XEN) Init boot pages: 0x3fb00000 -> 0x3fb2c000.
> (XEN) Init boot pages: 0x4040000000 -> 0x40bfd68000.
> (XEN) Init boot pages: 0x40bfda4000 -> 0x40bfe10000.
> (XEN) Init boot pages: 0x40bfe80000 -> 0x40bffc8000.
> (XEN) System RAM: 3045MB (3118256kB)
> (XEN) size of virtual frame_table: 7696kB
> (XEN) virtual machine to physical table: f3fffffff7e80070 size: 1584kB
> (XEN) max_page: 0x102fff2
> (XEN) Domain heap initialised: DMA width 30 bits
> (XEN) Xen heap: 60MB (61712kB)
> (XEN) avail:0x1180c60000000000, 
> status:0x60000000000,control:0x1180c00000000000, vm?0x0
> (XEN) No VT feature supported.
> (XEN) cpu_init: current=f000000004110000
> (XEN) vhpt_init: vhpt paddr=0x40bfdb0000, end=0x40bfdbffff
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Time init:
> (XEN) .... System Time: 1518546ns
> (XEN) .... scale:               AAAAAAAA
> (XEN) Unexpected irq vector 0x30 on CPU 0!
> (XEN) num_online_cpus=1, max_cpus=64
> (XEN) Brought up 1 CPUs
> (XEN) xenoprof: using perfmon.
> (XEN) perfmon: version 2.0 IRQ 238
> (XEN) perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
> (XEN) Maximum number of domains: 63; 18 RID bits per domain
> (XEN) domain.c:523: arch_domain_create:523 domain 0 pervcpu_vhpt 1
> (XEN) tlb_track_allocate_entries:69 allocated 256 num_entries 256 num_free 256
> (XEN) tlb_track_create:115 hash 0xf0000040bfda4000 hash_size 512 
> (XEN) ### domain f000000007b90080: rid=40000-80000 mp_rid=1000
> (XEN) arch_domain_create: domain=f000000007b90080
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN)  Dom0 kernel: 64-bit, lsb, paddr 0x4000000 -> 0x41b0880
> (XEN) METAPHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Kernel image:  4000000->41b0880
> (XEN)  Entry address: 4019b20
> (XEN)  Init. ramdisk: 0 len 0
> (XEN)  Start info.:   41b4000->41b8000
> (XEN) Dom0 max_vcpus=1
> (XEN) Dom0: 0xf000000007b90080
> (XEN) enable lsapic entry: 0xf00000003fb37660
> (XEN) Domain0 EFI passthrough: ACPI 2.0=0x3fb2e000 SMBIOS=0x3fb3a000
> (XEN) dom mem: type=13, attr=0x8000000000000008, 
> range=[0x0000000000000000-0x0000000000001000) (4KB)
> (XEN) dom mem: type=10, attr=0x8000000000000008, 
> range=[0x0000000000001000-0x0000000000002000) (4KB)
> (XEN) dom mem: type= 6, attr=0x8000000000000008, 
> range=[0x0000000000002000-0x0000000000003000) (4KB)
> (XEN) dom mem: type= 7, attr=0x0000000000000008, 
> range=[0x0000000000003000-0x0000000004000000) (63MB)
> (XEN) dom mem: type= 7, attr=0x0000000000000008, 
> range=[0x0000000004000000-0x0000000008080000) (64MB)
> (XEN) dom mem: type= 7, attr=0x0000000000000008, 
> range=[0x0000000004130000-0x0000000004140000) (64KB)
> (XEN) dom mem: type= 7, attr=0x0000000000000008, 
> range=[0x0000000008080000-0x00000000081b1000) (1MB)
> (XEN) dom mem: type= 7, attr=0x0000000000000008, 
> range=[0x00000000081b1000-0x000000001fe4f000) (380MB)
> (XEN) dom mem: type= 5, attr=0x8000000000000008, 
> range=[0x000000003f5e4000-0x000000003fac0000) (4MB)
> (XEN) dom mem: type= 8, attr=0x0000000000000008, 
> range=[0x000000003fac0000-0x000000003fb00000) (256KB)
> (XEN) dom mem: type= 9, attr=0x0000000000000008, 
> range=[0x000000003fb2c000-0x000000003fb38000) (48KB)
> (XEN) dom mem: type= 6, attr=0x8000000000000008, 
> range=[0x000000003fb38000-0x0000000040000000) (4MB)
> (XEN) dom mem: type=11, attr=0x0000000000000001, 
> range=[0x0000000080000000-0x00000000fe000000) (2016MB)
> (XEN) dom mem: type=11, attr=0x8000000000000001, 
> range=[0x00000000fed00000-0x0000000100000000) (19MB)
> (XEN) dom mem: type= 5, attr=0x8000000000000008, 
> range=[0x00000040bfd68000-0x00000040bfda4000) (240KB)
> (XEN) dom mem: type= 5, attr=0x8000000000000008, 
> range=[0x00000040bfe10000-0x00000040bfe7e000) (440KB)
> (XEN) dom mem: type= 6, attr=0x8000000000000008, 
> range=[0x00000040bffca000-0x00000040c0000000) (216KB)
> (XEN) dom mem: type=11, attr=0x0000000000000001, 
> range=[0x0000080000000000-0x0000100000000000) (8388608MB)
> (XEN) dom mem: type=12, attr=0x8000000000000001, 
> range=[0x0003fffffc000000-0x0004000000000000) (64MB)
> (XEN) Scrubbing Free RAM: ..........................done.
> (XEN) Xen trace buffers: disabled
> (XEN) Std. Loglevel: Errors and warnings
> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
> Xen).
> (XEN) $$$$$ PANIC in domain 0 (k6=0xf000000007b68000): psr.ic off, delivering 
> fault=c00,ipsr=1012080a6000,iip=5200,ifa=f000000004019d70,isr=100000000,PSCB.iip=f000000004019d70
> (XEN) d 0xf000000007b90080 domid 0
> (XEN) vcpu 0xf000000007b68000 vcpu 0
> (XEN) 
> (XEN) CPU 0
> (XEN) psr : 00001012080a6000 ifs : 8000000000000000 ip  : [<0000000000005200>]
> (XEN) ip is at ???
> (XEN) unat: 0000000000000000 pfs : 0000000000000000 rsc : 0000000000000008
> (XEN) rnat: 0000000000000000 bsps: 0000000000000000 pr  : 0000000000000001
> (XEN) ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c0270033f
> (XEN) csd : 0000000000000000 ssd : 0000000000000000
> (XEN) b0  : 0000000000000000 b6  : 0000000000000000 b7  : 0000000000000000
> (XEN) f6  : 000000000000000000000 f7  : 000000000000000000000
> (XEN) f8  : 000000000000000000000 f9  : 000000000000000000000
> (XEN) f10 : 000000000000000000000 f11 : 000000000000000000000
> (XEN) r1  : 0000000000000000 r2  : 0000000004000000 r3  : 0000000004019ce0
> (XEN) r8  : 0000000000000000 r9  : 0000000000000000 r10 : 0000000000000000
> (XEN) r11 : 0000000000000000 r12 : 0000000000000000 r13 : 0000000000000000
> (XEN) r14 : 0000000000000000 r15 : 0000000000000000 r16 : 0000000000000000
> (XEN) r17 : 0000000000000000 r18 : 0000000000000000 r19 : 0000000000000000
> (XEN) r20 : 0000000000000000 r21 : 0000000000000000 r22 : 0000000000000000
> (XEN) r23 : 0000000000000000 r24 : 0000000000000000 r25 : 0000000000000000
> (XEN) r26 : 0000000000000000 r27 : 0000000000000000 r28 : 0000000000000000
> (XEN) r29 : 0000000000000000 r30 : 0000000000000000 r31 : 0000000000000000
> (XEN) 
> (XEN) Call Trace:
> (XEN)  [<f0000000040b77f0>] show_stack+0x80/0xa0
> (XEN)                                 sp=f000000007b6fab0 bsp=f000000007b692d0
> (XEN)  [<f00000000408bde0>] panic_domain+0x120/0x170
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b69268
> (XEN)  [<f00000000407e6a0>] check_bad_nested_interruption+0x120/0x130
> (XEN)                                 sp=f000000007b6fdc0 bsp=f000000007b69238
> (XEN)  [<f000000004080190>] ia64_do_page_fault+0x440/0x650
> (XEN)                                 sp=f000000007b6fdc0 bsp=f000000007b691a0
> (XEN)  [<f0000000040b03a0>] ia64_leave_kernel+0x0/0x300
> (XEN)                                 sp=f000000007b6fe00 bsp=f000000007b691a0
> (XEN) domain_crash_sync called from xenmisc.c:175
> (XEN) Domain 0 (vcpu#0) crashed on cpu#0:
> (XEN) d 0xf000000007b90080 domid 0
> (XEN) vcpu 0xf000000007b68000 vcpu 0
> (XEN) 
> (XEN) CPU 0
> (XEN) psr : 00001012080a6000 ifs : 8000000000000000 ip  : [<0000000000005200>]
> (XEN) ip is at ???
> (XEN) unat: 0000000000000000 pfs : 0000000000000000 rsc : 0000000000000008
> (XEN) rnat: 0000000000000000 bsps: 0000000000000000 pr  : 0000000000000001
> (XEN) ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c0270033f
> (XEN) csd : 0000000000000000 ssd : 0000000000000000
> (XEN) b0  : 0000000000000000 b6  : 0000000000000000 b7  : 0000000000000000
> (XEN) f6  : 000000000000000000000 f7  : 000000000000000000000
> (XEN) f8  : 000000000000000000000 f9  : 000000000000000000000
> (XEN) f10 : 000000000000000000000 f11 : 000000000000000000000
> (XEN) r1  : 0000000000000000 r2  : 0000000004000000 r3  : 0000000004019ce0
> (XEN) r8  : 0000000000000000 r9  : 0000000000000000 r10 : 0000000000000000
> (XEN) r11 : 0000000000000000 r12 : 0000000000000000 r13 : 0000000000000000
> (XEN) r14 : 0000000000000000 r15 : 0000000000000000 r16 : 0000000000000000
> (XEN) r17 : 0000000000000000 r18 : 0000000000000000 r19 : 0000000000000000
> (XEN) r20 : 0000000000000000 r21 : 0000000000000000 r22 : 0000000000000000
> (XEN) r23 : 0000000000000000 r24 : 0000000000000000 r25 : 0000000000000000
> (XEN) r26 : 0000000000000000 r27 : 0000000000000000 r28 : 0000000000000000
> (XEN) r29 : 0000000000000000 r30 : 0000000000000000 r31 : 0000000000000000
> (XEN) 
> (XEN) Call Trace:
> (XEN)  [<f0000000040b77f0>] show_stack+0x80/0xa0
> (XEN)                                 sp=f000000007b6fab0 bsp=f000000007b69320
> (XEN)  [<f00000000401f470>] __domain_crash+0xf0/0x130
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b692f8
> (XEN)  [<f00000000401f4f0>] __domain_crash_synchronous+0x40/0xf0
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b692d0
> (XEN)  [<f00000000408be20>] panic_domain+0x160/0x170
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b69268
> (XEN)  [<f00000000407e6a0>] check_bad_nested_interruption+0x120/0x130
> (XEN)                                 sp=f000000007b6fdc0 bsp=f000000007b69238
> (XEN)  [<f000000004080190>] ia64_do_page_fault+0x440/0x650
> (XEN)                                 sp=f000000007b6fdc0 bsp=f000000007b691a0
> (XEN)  [<f0000000040b03a0>] ia64_leave_kernel+0x0/0x300
> (XEN)                                 sp=f000000007b6fe00 bsp=f000000007b691a0
> (XEN) 
> (XEN) Call Trace:
> (XEN)  [<f0000000040b77f0>] show_stack+0x80/0xa0
> (XEN)                                 sp=f000000007b6fab0 bsp=f000000007b69320
> (XEN)  [<f00000000401f480>] __domain_crash+0x100/0x130
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b692f8
> (XEN)  [<f00000000401f4f0>] __domain_crash_synchronous+0x40/0xf0
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b692d0
> (XEN)  [<f00000000408be20>] panic_domain+0x160/0x170
> (XEN)                                 sp=f000000007b6fc80 bsp=f000000007b69268
> (XEN)  [<f00000000407e6a0>] check_bad_nested_interruption+0x120/0x130
> (XEN)                                 sp=f000000007b6fdc0 bsp=f000000007b69238
> (XEN)  [<f000000004080190>] ia64_do_page_fault+0x440/0x650
> (XEN)                                 sp=f000000007b6fdc0 bsp=f000000007b691a0
> (XEN)  [<f0000000040b03a0>] ia64_leave_kernel+0x0/0x300
> (XEN)                                 sp=f000000007b6fe00 bsp=f000000007b691a0
> (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
> 
> 

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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