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

Re: [Xen-users] trouble starting from nfsroot

To: "Sebastian Reitenbach" <sebastia@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] trouble starting from nfsroot
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Fri, 22 Feb 2008 22:46:47 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Feb 2008 19:47:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=2HGRCn8uo3vRTRh7sWIZZmLECdW76H6AzLi8XSeDRq0=; b=vM3beXBtS2MNDFb7dLmDr0Tqza8XstkxyDzDJH+wLHGpr9+3IvR0yUy2vK2aiPjahTsUR2up/MMK94SwxE61wdpIehi5yXZTkJXZlXzYcTBuqwSTklJl06KNFGs0dDsnpr4jS4OdFgMQdIJcI1pqmULETjz0QPXUX7GsUGxK970=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=tVY7dlHznvanDKnq7+i8NJSj4ohBj/B9aBuVnEjEVZJ28YraDAttcmvyu0QRq/l0h+QVH2NYXqEXd+UPr8sEGC6kPACIVssTP5qn4iRq3FJTQQ8OxOqfzOMdLIEvywSaN6R1bm20+aELSuJan4DTqtaVEICR3FMVdZbZmRmo4d8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080222113549.6024D5D1CD@xxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20080222113549.6024D5D1CD@xxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Fri, Feb 22, 2008 at 6:35 AM, Sebastian Reitenbach <sebastia@xxxxxxxxxxxxxxxxxxxx> wrote:
Sebastian Reitenbach <sebastia@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> I added the ability to boot from NFSroot, into the xen kernel.
>
> xm create VM1
>
> brctl show shows the virtual interface of the VM1 connected to the xenbr0.
>
> xm list
> Name                                      ID   Mem VCPUs      State
> Time(s)
> Domain-0                                   0  3756     2     r-----
106.9
> VM1                                       53   256     1     -b----
0.1
>
> brctl show
> bridge name     bridge id               STP enabled     interfaces
> xenbr0          8000.feffffffffff       no              vif0.0
>                                                         peth0
>                                                         vif53.0
>
>
> creates my PVM, and it tries to boot:
>
> Linux version 2.6.22.5-31-xen (geeko@buildhost) (gcc version 4.2.1 (SUSE
> Linux)) #1 SMP Wed Feb 13 13:09:35 CET 2008
> Command line:
> ip=192.168.102.204:192.168.102.41:192.168.102.1:255.255.254.0::eth0:off
> nfsroot=192.168.102.41:/export/bootimages/xenppmnode
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000010800000 (usable)
> end_pfn_map = 67584
> Zone PFN ranges:
>   DMA             0 ->    67584
>   DMA32       67584 ->    67584
>   Normal      67584 ->    67584
> early_node_map[1] active PFN ranges
>     0:        0 ->    67584
> No mptable found.
> PERCPU: Allocating 24696 bytes of per cpu data
> Built 1 zonelists.  Total pages: 66660
> Kernel command line:
> ip=192.168.102.204:192.168.102.41:192.168.102.1:255.255.254.0::eth0:off
> nfsroot=192.168.102.41:/export/bootimages/xenppmnode
> Initializing CPU#0
> PID hash table entries: 2048 (order: 11, 16384 bytes)
> ...
> and then later
> ...
> md: ... autorun DONE.
> Looking up port of RPC 100003/2 on 192.168.102.41
> rpcbind: server 192.168.102.41 not responding, timed out
> Root-NFS: Unable to get nfsd port number from server, using default
> Looking up port of RPC 100005/1 on 192.168.102.41
> rpcbind: server 192.168.102.41 not responding, timed out
> Root-NFS: Unable to get mountd port number from server, using default
>
>
> when I tcpdump -i vif53.0, then I see the network traffic from the
ordinary
> network is bridged up, e.g. broadcasts, stuff like that, but I do not see
> anything coming from the virtual machine, trying to connect to the NFS
> server. so no firewall is blocking, and forwarding is generally in place.
>
> Shouldn't I see some packets going from 192.168.102.204 to the NFS server?
> Am I missing an important part in my configuration?
>
>
> The dom0 is a opensuse 10.3 x86_64, xen-3.1.0.
>
OK, I figured out that I was missing the drivers for xennet in the kernel of
the domU. Adding these, the kernel was able to mount the NFS root. But short
after that, now it stops with the following:


mice: PS/2 mouse device common for all mice
dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
NET: Registered protocol family 1
xen-vbd: registered block device major 202
blkfront: xvda1: barriers enabled
blkfront: xvda2: barriers enabled
netfront: device eth0 has copying receive path.
XENBUS: Device with no driver: device/console/0
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
IP-Config: Complete:
     device=eth0, addr=192.168.102.204, mask=255.255.254.0,
gw=192.168.102.1,
    host=192.168.102.204, domain=, nis-domain=(none),
    bootserver=192.168.102.41, rootserver=192.168.102.41, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Looking up port of RPC 100003/2 on 192.168.102.41
Looking up port of RPC 100005/1 on 192.168.102.41
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 200k freed


and thats all, it seems to hang there forever. Any idea why it stops here?


Try adding the following line to the guest config file

extra="xencons=tty"


Best Regards,
Todd

 

kind regards
Sebastian


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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>