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 linux-2.6.18.8-xen with personal modifications

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Compiling linux-2.6.18.8-xen with personal modifications
From: Silas Silva <silasdb@xxxxxxxxx>
Date: Mon, 21 Jan 2008 09:18:17 -0200
Delivery-date: Mon, 21 Jan 2008 03:22:26 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; bh=kqETzySlVtUV2FjGsRWoS+WozQVB1wcy+yyvYKblMDo=; b=o9m0l2yf+O5gMbytMHaOTl9s1uDJrZtiJlIk+sRnN6Yu/vXtqCqU22Bv4kYgdyr2gzlejh/wkYOpnk7V2wI/aUUTxnrKe0yrv0xdOt7FiCNMPKB9bdLScBvgQL1Lvwt4beyNorDlRfrmGigCYZzYcPMry4BEpnHKi3lDmtYcw98=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=AoRRTqN+4DuuyQ7E8OK43GsKi55y03Wpxzp2ufHBxS6n9gdbiSDhkQbSUQfmkTonx1oVKOzM+193BZzw5dG+lpLZ/SCLdyMJ5uCsCuCfOTXA8Qhw+Sj9jBotCWnI43Oj6m1QrGGC1tmsr0obQ3kHR0NPZ7ws/O+dagT8GOSLc2E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Mutt/1.4.2.3i
Hello all.

I'm trying to make xen running under Slackware 12. I downloaded xen 3.2
source and I cloned the linux-2.6.18-xen repository. When compiling xen, it
compiled the linux kernel for me.

I put the correct configurations in my menu.lst file:

default=0
timeout=10

title Xen 3.2 - Slackware Linux 12 dom0 (kernel 2.6.18.8)
  kernel /boot/xen.gz dom0_mem=65536
  module /boot/vmlinuz-2.6.18.8-xen root=/dev/sda1 ro console=tty0

title Slackware Linux 12 (kernel 2.6.21.5)
  kernel /boot/vmlinuz root=/dev/sda1 ro

But it panics to the following message: 'VFS: Cannot open root device "sda1"
or unknown-block'. I'm using a new SAS controller that makes RAID, so I
imagined it could be that the kernel wouldn't have the driver enabled.
Strangely, I didn't find linux-2.6.18.8-xen/.config file (though, I'm not from
the Linux world and I don't know exactly how Linux kernel configuration work),
but I found buildconfigs/linux-defconfig_xen0_x86_32 and
buildconfigs/linux-defconfig_xen_x86_32. I copied the first one to ../.config,
changed configuration with make menuconfig (only added the four options
related to the Fusion MPT support: Device Drivers -> Fusion MPT device
support) and called `make` manually. It generated a vmlinux kernel, but I
can't use it neither with xen nor directly.

I don't see where initrd is necessary if my kernel has the right drivers
compiled in.

Questions are:

1) How is the right way to configure and compile the linux-2.6.18-xen kernel?
2) What is the differences between linux-defconfig_xen_x86_32 and
linux-defconfig_xen0_x86_32?

Thanks in advance.

-- 
Silas Silva - http://www.purl.org/NET/silas/site

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Compiling linux-2.6.18.8-xen with personal modifications, Silas Silva <=