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

RES: [Xen-users] NFS root in domU

To: "'Maxim Rozin'" <maxim@xxxxxxxxxxxxxxxxxx>
Subject: RES: [Xen-users] NFS root in domU
From: "Felipe Franciosi" <ozzy@xxxxxxxxxxxxx>
Date: Wed, 14 Jun 2006 22:42:17 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Jun 2006 18:43:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2F2BA1F22AEB0745B9C71C977AF2BB793BAD21@xxxxxxxxxxxxxxxxx>
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>
Organization: Centro de Pesquisa em Alto Desempenho
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaPtAgVl5bF+0uSRGSdn23kwwUaXQAZtP9A
The last time I did this was with Xen 2, and the default domU kernel didn't
have support for NFS ROOT.

I had to download the source code and recompile the domU kernel enabling it
and a few other options I can't remember. :)

If you fail, let me know and I'll look where did I put the tutorial I once
wrote for this.

Thanks
--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
 Felipe Franciosi                      +55-51-91230557
 CPAD/HP/PUCRS - Centro de Pesquisa em Alto Desempenho
 http://www.cpad.pucrs.br/          ozzy@xxxxxxxxxxxxx
 Porto Alegre, RS - Brazil
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=


-----Mensagem original-----
De: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Em nome de Maxim Rozin
Enviada em: quarta-feira, 14 de junho de 2006 10:11
Para: xen-users@xxxxxxxxxxxxxxxxxxx
Assunto: [Xen-users] NFS root in domU

Hi there,

I'm using xen-3.0.2.2-86.1_rhel4.1 on a Redhat AS 4 update 1 for i386.
When I try to create domU with NFS root, I get the following error:
##BEGINNING##
Red Hat nash version 4.2.1.3 starting
Mounted /proc filesystem
Mounting sysfs
Creating /dev
Starting udev
Loading scsi_mod.ko module
scsi_mod: no version for "struct_module" found: kernel tainted.
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading sata_promise.ko module
Loading dm-mod.ko module
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
Loading jbd.ko module
Loading ext3.ko module
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
##END##

My vm conf file looks like this:
##BEGINNING##
kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_rhel4.1"
ramdisk = "/boot/initrd-2.6.16-xen3_86.1_rhel4.1.img"
builder='linux'
memory = 256
name = "nfsvm"
vcpus = 4
vif = [ 'bridge=xenbr0' ]
dhcp="dhcp"
hostname= "nfsvm"
root = '/dev/nfs'
nfs_server = '192.168.1.123'
nfs_root   = '/diskless/i386/RHEL4-AS/root'
extra = "3"
##END##

Please help,
Maxim.


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

<Prev in Thread] Current Thread [Next in Thread>