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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Compiling Custom Xen kernel in Ubuntu--Try #2
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= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Compiling Custom Xen kernel in Ubuntu--Try #2, Steven Anderson <=