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

Re: [Xen-users] Compiling Xen-3.2.0


  • To: "Edoardo Ceccarelli" <eddy@xxxxxx>
  • From: weiming <zephyr.zhao@xxxxxxxxx>
  • Date: Mon, 10 Mar 2008 19:17:13 -0400
  • Cc: Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx>, Jeremie Le Hen <jeremie@xxxxxxxxxx>, Ian Tobin <itobin@xxxxxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 10 Mar 2008 16:17:55 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=gQOpQ6rsBf8UAJMDFwyfANlG11GmkrnfV94tEq4CcaLSI3f2yHU5CvDYhJnRybwCuM8e/mcy9shFWHobgKw770NJQTpUcadSWwhIrsOOiF9AyVwBQnosEgcVyl5HBwfWzYw4iR4f3mXtVSvsO5zI2zGcpwz+tgCBtmGfi/3Rj3w=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

if you're not using sata/scsi/raid drives, you can remove the --with options

On Mon, Mar 10, 2008 at 7:07 PM, Edoardo Ceccarelli <eddy@xxxxxx> wrote:
but as I wrote before this is exactly what I am doing:

mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen

without this it doesn't make the initrd..





On Mon, Mar 10, 2008 at 11:56 PM, weiming <zephyr.zhao@xxxxxxxxx> wrote:
to build the image file manually, you can check xen user manual.
Basically, you just manually type the "mkinitrd" command

It will still report the error but anyway it generates the image file

On Mon, Mar 10, 2008 at 5:44 PM, Edoardo Ceccarelli <eddy@xxxxxx> wrote:
I have enabled every possible sata driver, as a module, and I have also tried to enable it as builtin, plus I have tried different ones, cause there is the sata under SCSI - low level drivers and also a module under ATA/ATAPI - PCI IDE - GENERIC PCI - ATI IXP
this module should be the one, it is called BLK_DEV_ATIIXP and it is enabled as a module in my .config
but the error is still there.
I am starting to think that I am editing a .config and make is reading another one...
anyway, how can I build the image manually?


On Mon, Mar 10, 2008 at 10:48 PM, weiming <zephyr.zhao@xxxxxxxxx> wrote:
did you enable the sata driver in the config?
anyway, you can manually build the image file following the xen manual.
then run the install script to copy them to the /boot

finally, try to boot the xen. If it fails, you should enable the sata driver in the menuconfig then rebuild.

weiming



On Mon, Mar 10, 2008 at 4:40 PM, Edoardo Ceccarelli <eddy@xxxxxx> wrote:
yes, this is what I figured, but any attempt I made, always ended up with mkinitrd complaining about missing module pata_atiixp

here is the output..

[root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen
Creating initramfs
Looking for deps of module ehci-hcd: usbcore
Looking for deps of module usbcore
Looking for deps of module ohci-hcd: usbcore
Looking for deps of module uhci-hcd: usbcore
Looking for deps of module ext3: jbd
Looking for deps of module jbd
Found root device sda3 for LABEL=/
Looking for driver for device sda3
Looking for deps of module scsi:t-0x00
Looking for deps of module pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata sata_sil
Looking for deps of module scsi_mod
Looking for deps of module sd_mod: scsi_mod
Looking for deps of module libata: scsi_mod
Looking for deps of module sata_sil: scsi_mod libata
Looking for driver for device LABEL=/
Looking for driver for device LABEL=SWAP-sda2
Looking for deps of module pata_atiixp
No module pata_atiixp found for kernel 2.6.18.8-xen, aborting.





On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@xxxxxxxxx> wrote:
you can do
"make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen's directory
or
cd build-linux-2.6.18-xen_x86_64
make menuconfig

On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@xxxxxx> wrote:
On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@xxxxxxxxxx> wrote:

To make it short: "make prep-kernels" create a build directory for the
kernel ***where you can copy your .config file***.  DO NOT CREATE A
.config FILE IN THE KERNEL SOURCE TREE.

the HOWTO is nice
so I guess if I have to change some kernel settings I shall run "make menuconfig" inside the same

build-linux-2.6.18-xen_x86_64/

folder, after prep-kernels, right?


--
Edoardo Ceccarelli - eddy@xxxxxx

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




--
Edoardo Ceccarelli - eddy@xxxxxx




--
Edoardo Ceccarelli - eddy@xxxxxx




--
Edoardo Ceccarelli - eddy@xxxxxx

_______________________________________________
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®.