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

[Xen-users] Compiling Custom Xen kernel in Ubuntu--Try #2


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Steven Anderson <hikenboot@xxxxxxxxx>
  • Date: Tue, 7 Mar 2006 06:09:25 -0800 (PST)
  • Delivery-date: Tue, 07 Mar 2006 14:10:29 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=27HYEvlKwgGvXFfgFXCIMDSjq6QvuNlUsVa+BfWBXiNMFJkuQxBmZVrkLb1ZMXeGrvTC/nqpTYfeAH2l+yBuPGLNNVDa8IDx2Xrx/jza11RUnLeCeLFQb3Ygp5khCzZ3fllMBotMVfaG+C/hrSXO25BW4zD9FTmcsmaw2QifQgU= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I want to copy my config from my exisiting kernel to xen I have a procedure but i believe it to be imperfect..can anyone help with this?

my existing kernel is 2.6.12-10-386

I copied config-2.6.12-10-386 from /boot to ~/xen/xen-unstable.hg/linux-2.6.16-rc5-xen0/.config

sudo make oldconfig ARCH=xen CC=gcc-3.3 HOSTCC=gcc-3.3

I do a    sudo make menuconfig ARCH=xen CC=gcc-3.3 HOSTCC=gcc-3.3           in the ~/xen/xen-unstable.hg/linux-2.6.16-rc5-xen0 directory

Options for Dom0 kernel to make sure are selected

Privileged Guest (domain 0) (XEN_PRIVILEGED_GUEST) [N/y/?] (NEW) y
Physical device access (XEN_PHYSDEV_ACCESS) [Y/?] (NEW) y
  Block-device backend driver (XEN_BLKDEV_BACKEND) [Y/n/?] (NEW)
  Network-device backend driver (XEN_NETDEV_BACKEND) [Y/n/?] (NEW)
Block-device frontend driver (XEN_BLKDEV_FRONTEND) [Y/n/?] (NEW)
Network-device frontend driver (XEN_NETDEV_FRONTEND) [Y/n/?] (NEW)
  Pipelined transmitter (DANGEROUS) (XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER) [N/y/?] (NEW)
Scrub memory before freeing it to Xen (XEN_SCRUB_PAGES) [Y/n/?] (NEW)

CONFIG_BLK_DEV_IDEDISK y
CONFIG_BLK_DEV_IDEGENERIC y
CONFIG_PARTITION_ADVANCED y

Also DMA access by hard drives should be enabled...
____________________________________________________________________________________________________
what comes here?

sudo make ARCH=xen CC=gcc-3.3 HOSTCC=gcc-3.3 ??? If so is this done in the /linux-2.6.16-rc5-xen0 directory or in the root directory xen-unstable.hg?????

-----------------------------------------------------------------------------------------------------

sudo hdparm -i /dev/hda
sudo hdparm -v /dev/hda
sudo hdparm  -d1 -c1 -u1 /dev/hda <-------if this gives an error then ide_dma is not enabled in kernel config

sudo mkinitrd -o /boot/initrd-2.6.16-rc5-xen0.img 2.6.16-rc5-xen0

 cd /lib/modules
 sudo depmod 2.6.16-rc6-xen0


Yahoo! Mail
Use Photomail to share photos without annoying attachments.
_______________________________________________
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®.