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-users

Re: [Xen-users] Compiling Xen-3.2.0

To: weiming <zephyr.zhao@xxxxxxxxx>
Subject: Re: [Xen-users] Compiling Xen-3.2.0
From: "Edoardo Ceccarelli" <eddy@xxxxxx>
Date: Tue, 11 Mar 2008 00:07:35 +0100
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:08:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=E3tzEHtYJzvz5vPlAnryqHAG7egTKqwziougJpN5zBs=; b=eixtlsxBzlEC0s+xIeYGhxrkyMI6OcClGnPDVfMvEZtcdG0Lk11YlbXJzgdJRWUuRhNxKXLl+LGRcvGjnerQRpqzQUZ6NjMdZJr1oF5AMlD8jdMo9ha2GFLmXzx6ynBGZt9CVh6P9thdjjjhsqFCPm6VI5iThJJZDBw+2L5Ohrg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=dPpcV7vqHzmQxzQn8EoZMEmaySMqGWXrzG4c70AdgjbN6ZpmJxY8TaWgWIrgyr63e0VGlA2k8CHk9NW5hxXj//o0xJxor796fujMLlMSjbKX0XnHwFYdhjsaEj2HwGD+GODF/YaPO+1veTsTFYXPsFsNQFwaehpIQ2CRz9+/JF0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <add59a3f0803101556p1bbd01e5vdd5404982c28068e@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1241F505DD3E2145B9BE36BDC4342CFE02405C@xxxxxxxxxxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60A51189A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1241F505DD3E2145B9BE36BDC4342CFE02405F@xxxxxxxxxxxxxxxxxxxxxx> <20080129142856.GN8109@xxxxxxxxxxxxxxxxxxxxxxxx> <2c5b22d10803101130o681a2d6fr1afca374c805a24@xxxxxxxxxxxxxx> <add59a3f0803101138n43a95856ta652f57fc4d5470f@xxxxxxxxxxxxxx> <2c5b22d10803101440t27a5768bpaeb4242906fb8e8d@xxxxxxxxxxxxxx> <add59a3f0803101448n3beab893i3f3c47d293d7d217@xxxxxxxxxxxxxx> <2c5b22d10803101544r4dcc471aq4a163ad8e14afcc7@xxxxxxxxxxxxxx> <add59a3f0803101556p1bbd01e5vdd5404982c28068e@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>