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

Re: [Xen-users] Xen 3.1.0 initrd and kernel building



> built a xen from source (tgz) and make dist ... then made initrd with
> mkinitrd and modules=all in the
> mkinitrd.conf -> initrd.img was 14mb and set it up in the grub with
> module /initrd....
>
> on boot it loads the initrd like:
> Loading ramdisk into ram .... done
>
> but then NO MODULES in the initrd are being loaded by the kernel, though
> initrd support is in the kernel,
> and the kernel states kernel panic (because no sata or raid modules are
> being loaded).

Whoa, that's a big initrd.  Is Linux successfully mounting the initrd itself?  
I remember there being something like a 4Meg limit on initrd size (by 
default).

Why build with modules=all?  Doesn't dep do what you want?

> Second:
> Built a kernel with sata support and everything and make 2.6-xen-build
> and 2.6-xen-install --->
> Dom0 differs from xen on boot ...
> saved a .config from the kernel , make mrproper, make dist, put .config
> in kernel path, make dist again...
> -> xen stated failure in kernel package and asked me to run make
> mrproper...

Sounds like you ended up building a XenLinux that used a different memory mode 
to Xen itself.  Xen builds with PAE enabled so that it can support large 
memory hosts (> 4gig), but you need XenLinux to support PAE too if it's going 
to work.  I'm guessing you created this config from scratch, since the 
default Xen build process will match PAE-ness.

Since your config must have had PAE disabled, copying the .config back to the 
kernel tree will have replicated the same problem :-(  Do make menuconfig / 
xconfig and go to Processor Type and Features.  Then in the "High Memory 
Support" section choose 64GB.  This will enable PAE.  Rebuild the kernel, 
(and modules, and initrd) then try that.  It should boot...

> so is this called stable or what ?

It should run reasonably stably, once you get it running ;-)

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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


 


Rackspace

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