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

[Xen-users] Compiling linux-2.6.18.8-xen with personal modifications


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Silas Silva <silasdb@xxxxxxxxx>
  • Date: Mon, 21 Jan 2008 09:18:17 -0200
  • Delivery-date: Mon, 21 Jan 2008 03:22:26 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.