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

Re: [XenPPC] Re: Howto build the xen blob and zImage with init rd

Well it works only in the sense that make completes with no errors producing a rather large xen file :). However, the file does not boot on hardware nor does it boot on the simulator (mambo). I suspect a file format error

On the simulator:

WARNING: 26: Read_Memory_Reg: Unknown address: 0x00000075FEAF72E8, length=4
WARNING: 26: [0]: Invalid/unsupported instr 0x00000000 PC(EA): 0x0000000000000200 PC(RA):0x0000000000000200 MSR: 0x9000000000000000 LR: 0x0000000002000138
numInstructions = 27
WARNING: 26: [0]: Invalid/unsupported instr 0x00000000 PC(EA): 0x0000000000000700 PC(RA):0x0000000000000700 MSR: 0x9000000000000000 LR: 0x0000000002000138
numInstructions = 28
26: ** Execution stopped: Continuous Interrupt, Instruction caused exception, **
26: ** finished running 29 instructions **



On a G5

Alternate yaboot.conf: yaboot.conf.kxs8
Config file read, 234 bytes
Enter 'install' to boot the installer, or 'install-safe' if you have problems booting
Welcome to yaboot version 1.3.13
Enter "help" to get some basic usage information
boot: k42
Please wait, loading kernel...

Can't read Elf e_ident/e_type/e_machine info



There are a few gremlins here, such as where boot: k42 came from and how is exactly yaboot not getting in the way. I should add that a plain xen, i. e., one without vmlinux, get further in the startup sequence than this one. It stops only when it cannot find a dom0 image, as it should.

Alternate yaboot.conf: yaboot.conf.kxs8
Config file read, 234 bytes
Enter 'install' to boot the installer, or 'install-safe' if you have problems booting
Welcome to yaboot version 1.3.13
Enter "help" to get some basic usage information
boot: k42
Please wait, loading kernel...
  Elf32 kernel loaded...
---------------------------------------------------
OF: Xen/PPC version 3.0-unstable (butrico@localdomain) (gcc version 3.4.4) Mon Mar 13 15:12:23 EST 2006
boot args: 0x2000000 0x0 0xff846d38 0x0 0x0
boot msr: 0x1000000000003030
boot_of_probemem: memory 0x0[0x40000000]
bootargs =  nohv
DOM0 bootargs = dom0
boot_of_module: mod[0] @ 0x206b000[0x206b000]
creating oftree
no root package

HANG



Jimi Xenidis wrote:
On Mar 13, 2006, at 3:50 PM, Maria Butrico wrote:
What command do you use to build the xen blob (xen with vmlinux in it)?


To build a dom0 blob into xen (on PPC) simply add
  DOM0_IMAGE=<path to image>
to your make line.
This _should_ work.. please post if it does not.


What about building a linux image with initrd?

  $ make -C linux zImage.initrd

When it fails it will tell you where you need to put your initrd :)

There is also a way to do it with a cpio archive but not sure how to do that.

Where to get an initrd is an exercise for the reader :)
-JX



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



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

<Prev in Thread] Current Thread [Next in Thread>