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] kernel compilation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] kernel compilation
From: "Mathias Diehl" <md@xxxxxxxxxxxxx>
Date: Tue, 10 Jan 2006 18:35:44 +0000
Delivery-date: Tue, 10 Jan 2006 16:36:15 +0000
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
Hi List,

as I still can't call me a kernel hacker please help me understanding some 
details regarding a custom kernel.

I followed the manual and was able to get a working kernel. (Actually without 
any changes to the defconfig).

# cd linux-2.6.12-xen0
# make ARCH=xen xconfig
# cd ..
# make

followed by 

# make install
and ./install.sh

I have some questions now: 

- the proceedure as above worked fine with a RAID. On another machine (Debian 
Sarge with LVM on RAID1) I was not able to boot. I learned to create a initrd - 
but don't know how. What tool do I have to use and how? (mkinitrd / yaird / 
initramfs-tools???)

- I would like to have another dom0 kenel supporting ISDN. I tried to adapt the 
following:

cp -al linux-2.6.11.12 linux-2.6.11.12-xenA
cd xen-2.0/linux-2.6.11-xen-sparse/
./mkbuildtree ../../linux-2.6.11.12-xenA/
cd ../..
echo "-xenA" > linux-2.6.11.12-xen0/localversion-xen
diff -Naur linux-2.6.11.12 linux-2.6.11.12-xenA > 
archive/linux-2.6.11.12-xenA.patch

cd linux-2.6.11.12
patch -p1 < ../archive/linux-2.6.11.12-xenA.patch
cd ../
mkdir install
cd linux-2.6.11.12-xenA
cp arch/xen/configs/xen0_defconfig .config
ARCH=xen; INSTALL_PATH=../install; INSTALL_MOD_PATH=../install
export ARCH INSTALL_PATH INSTALL_MOD_PATH
make menuconfig
make modules
make modules_install
make install

but failed (lot's of links seem missing). Can someone please let me know (like 
above) how to generate another dom0 kernel to host my Asterisk.

- as I run XEN on Debian Sarge I downloaded a FedoraCore3 image from xen-get. 
I'm trying to get things working properly so I would like to make a Fedora 
Kernel for this domU according to my system. Please - how to do that?

cheers,

Mat

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] kernel compilation, Mathias Diehl <=