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: Mon, 10 Mar 2008 23:44:04 +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 15:44:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=qHPJx88QKjFPcpPHadPKDcyJTZ7JANho5tm6AHdrIT4=; b=fLT3tR6uNhLM3/hdJ2kh11Hyyk7ntJqXQi0+nR7t1Rxwfg3Qa14L8yp/Bib93NxaQkgpAaNT7bIVgTXM3bLPaejdJcPn5HIy0bIOiAsJPXwMVIicq6ooodhh44fRUS/BBl8fPt9zieBeJUO+wgP1CmgWom8jyKPY1b+zcDK+3m8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=GI9tIVLHnbXRjv9wTvX8PjrQSWC+oESWHsOP13mWUbFkRpGqLE0/o/kdpObA3Als0dgxX59uyGkI5SWCVyWocYPYLM3mmizlDTyolTUwuAj0caW6i/D5zPIp1l1J2e2Nb+htPwn4zcwbIIkHYZLTPkYnOVc8JLRhvbj2BQTwEZU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <add59a3f0803101448n3beab893i3f3c47d293d7d217@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>