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