From owner-freebsd-xen@FreeBSD.ORG Sun Nov 23 18:20:29 2008 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81C41106564A for ; Sun, 23 Nov 2008 18:20:29 +0000 (UTC) (envelope-from bunkertor@tiscali.it) Received: from joe.mail.tiscali.it (joe.mail.tiscali.it [213.205.33.54]) by mx1.freebsd.org (Postfix) with ESMTP id 106DC8FC19 for ; Sun, 23 Nov 2008 18:20:28 +0000 (UTC) (envelope-from bunkertor@tiscali.it) Received: from [10.0.0.200] (84.221.117.30) by joe.mail.tiscali.it (8.0.022) (authenticated as bunkertor@tiscali.it) id 48F7490701C9707A for freebsd-xen@freebsd.org; Sun, 23 Nov 2008 19:20:27 +0100 Message-ID: <49299EDD.4050308@tiscali.it> Date: Sun, 23 Nov 2008 19:20:13 +0100 From: Bunkertor User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-xen@freebsd.org References: <49282BC0.1070705@tiscali.it> <49287AE2.8040208@thalreit.de> In-Reply-To: <49287AE2.8040208@thalreit.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Root mount failed X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 18:20:29 -0000 Volker Jahns ha scritto: > Bunkertor wrote: >> hi to all. >> i'm trying to install freebsd as domU on linux xen-ified kernel and i >> followed steps suggested in this post >> http://lists.freebsd.org/pipermail/freebsd-xen/2008-October/000009.html. >> kernel customization works with no errors, so i presume i got a valid >> kernel for domU but when i try to start freebsd vm, this is the boot >> output: >> ================================================================================================= >> >> [root@bran xen]# xm create freebsd-63.py -c >> ... >> Trying to mount root from ufs:/dev/xbd1s1a >> >> Manual root filesystem specification: >> : Mount using filesystem >> eg. ufs:da0s1a >> ? List valid disk boot devices >> Abort manual input >> >> mountroot> ? >> >> List of GEOM managed disk devices: >> xbd1 >> >> Manual root filesystem specification: >> : Mount using filesystem >> eg. ufs:da0s1a >> ? List valid disk boot devices >> Abort manual input >> >> mountroot> ufs:xbd1 >> Trying to mount root from ufs:xbd1 >> gather xs_read xs_single /local/domain/0/backend/vbd/34/768/state >> xs_talkv read_reply event=2 itype=2 htype=2 len=NULL >> > You might try to specify this path of root partition > -- > ufs:xbd1s1a > -- > where xbd1s1 stands partition "a" on slice 1 on disk 1. The path to > the root partition however depends on how you created your partitions > at installation. > thanks all for quick answers! if i try to add manually root partition as you suggest, nothing happen, it returns at prompt.. when i list valid boot disk device, at prompt, it shows to me the device reported on log (xbd1), but it seems it doesnt like it (as previous log reports). the kernel i use to boot freebsd vm on dom0 was compiled on another machine (out of the box?), an old hp notebook with freebsd 6.1 and with this fstab: ========================================================== -bash-2.05b$ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 ========================================================== so root partition is on disk 0, slice 1, partition a. one note: whe i compiled this kernel, i've installed it and world not in standard path but in other one, installing with DESTDIR option, becouse i didnt want to override working installation on notebook. i've tried to change xen configuation file of freebsd vm as follows but with same problem: ========================================================== name = 'freebsd-63' memory = '128' disk = [ 'phy:/dev/sdb1,hda,w' ] on_shutdown = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' kernel = '/mnt/exports/kernel' extra = 'boot_verbose' extra += ',boot_single' #extra += ',vfs.root.mountfrom=ufs:/dev/xbd0s1a,hint.apic.0.disabled=1' extra += ',vfs.root.mountfrom=ufs:/dev/xbd0s1a' extra += ',xencons=tty' ========================================================== it doesnt find any root partition to boot the system... =( thanks to all for patience and help, im pretty new with freebsd. bye.