[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 17:56:51 -0500
  • 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:57:37 -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=mPKUstwtM0UmuDCGxtfUDRZWs7eegLOkX+heB7OeN7QjPolI+of3lA9dJ7V6aHJRAg0xx0MttMeCZYi1IpZVHtYvamOPOBU7vxUq7zIvUGx/Hed55zB0GYb6eh2jcYJqUXL2zujUCwMafMWQnQI8g+j/g1gsaBiG1WAH9Lp9TXw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

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