From owner-freebsd-xen@FreeBSD.ORG Sat Nov 22 16:08:40 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 277631065673 for ; Sat, 22 Nov 2008 16:08:40 +0000 (UTC) (envelope-from bunkertor@tiscali.it) Received: from jack.mail.tiscali.it (jack.mail.tiscali.it [213.205.33.53]) by mx1.freebsd.org (Postfix) with ESMTP id 98F8C8FC17 for ; Sat, 22 Nov 2008 16:08:39 +0000 (UTC) (envelope-from bunkertor@tiscali.it) Received: from [10.0.0.200] (84.221.117.30) by jack.mail.tiscali.it (8.0.022) (authenticated as bunkertor@tiscali.it) id 48F7481001C5ED7E for freebsd-xen@freebsd.org; Sat, 22 Nov 2008 16:56:59 +0100 Message-ID: <49282BC0.1070705@tiscali.it> Date: Sat, 22 Nov 2008 16:56:48 +0100 From: Bunkertor User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Sat, 22 Nov 2008 16:08:40 -0000 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 Using config file "./freebsd-63.py". Started domain freebsd-63 WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE #0: Thu Nov 20 12:01:20 CET 2008 root@freebsd:/usr/obj/usr/obj/release_6_3_xen/sys/freebsd-6.3-domU Xen reported: 3014.484 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3014.48-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d Logical CPUs per core: 2 real memory = 134217728 (128 MB) avail memory = 123518976 (117 MB) Security auditing service present BSM auditing present cpu=0 irq=128 vector=0 cpu=0 irq=129 vector=1 kbd0 at kbdmux0 xc0: on motherboard cpu0 on motherboard Timecounters tick every 1.000 msec [XEN] Initialising virtual ethernet driver. xs_single device xs_talkv read_reply event=1 itype=1 htype=1 len=12 xs_single device/vbd xs_talkv read_reply event=1 itype=1 htype=1 len=4 gather xs_read xs_single device/vbd/768/state xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 1 gather xs_read xs_single device/vbd/768/backend-id xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 0 xs_read xs_single device/vbd/768/backend xs_talkv read_reply event=2 itype=2 htype=2 len=NULL /local/domain/0/backend/vbd/34/768 xs_single /local/domain/0/backend/vbd/34/768 xs_talkv read_reply event=1 itype=1 htype=1 len=105 xs_read xs_single device/vbd/768/virtual-device xs_talkv read_reply event=2 itype=2 htype=2 len=NULL xs_single xs_talkv read_reply event=6 itype=6 htype=6 len=NULL xenbus_write dir=device/vbd/768 val=8 xs_talkv read_reply event=11 itype=11 htype=11 len=NULL xenbus_write dir=device/vbd/768 val=6 xs_talkv read_reply event=11 itype=11 htype=11 len=NULL xenbus_transaction_end xs_single T xs_talkv read_reply event=7 itype=7 htype=7 len=NULL xs_read xs_single device/vbd/768/state xs_talkv read_reply event=2 itype=2 htype=2 len=NULL xenbus_write dir=device/vbd/768 val=3 xs_talkv read_reply event=11 itype=11 htype=11 len=NULL xs_talkv read_reply event=4 itype=4 htype=4 len=NULL xs_single device/console xs_talkv read_reply event=1 itype=1 htype=1 len=2 handling 0xc0216c38 ...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 4 gather xs_read xs_single /local/domain/0/backend/vbd/34/768/sectors xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 68372640 xs_read xs_single /local/domain/0/backend/vbd/34/768/info xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 0 xs_read xs_single /local/domain/0/backend/vbd/34/768/sector-size xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 512 gather xs_read xs_single /local/domain/0/backend/vbd/34/768/feature-barrier xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 1 xs_read xs_single device/vbd/768/state xs_talkv read_reply event=2 itype=2 htype=2 len=NULL xenbus_write dir=device/vbd/768 val=4 xs_talkv read_reply event=11 itype=11 htype=11 len=NULL ... 0xc0216c38 done gather xs_read xs_single device/console/0/state xs_talkv read_reply event=2 itype=2 htype=2 len=NULL 1 xs_talkv read_reply event=4 itype=4 htype=4 len=NULL xs_single backend xs_talkv read_reply event=16 itype=1 htype=16 len=7 xs_talkv read_reply event=4 itype=4 htype=4 len=NULL handling 0xc02172c0 ...... 0xc02172c0 done xs_talkv read_reply event=4 itype=4 htype=4 len=NULL handling 0xc0217700 ...... 0xc0217700 done gather xs_read xs_single /local/domain/0/backend/vbd/34/768/state xs_talkv read_reply event=2 xs_single xs_talkv itype=2 htype=2 len=NULL 4 read_reply gather xs_read xs_single /local/domain/0/backend/vbd/34/768/state xs_talkv event=6 itype=6 htype=6 len=NULL xs_read xs_single control/shutdown xs_talkv read_reply event=16 itype=2 htype=16 len=NULL xenbus_transaction_end xs_single F xs_talkv read_reply event=7 itype=7 htype=7 len=NULL read_reply event=2 itype=2 htype=2 len=NULL 4 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 4 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 4 Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> panic: Root mount failed, startup aborted. cpuid = 0 KDB: enter: panic [thread pid 1 tid 100006 ] Stopped at kdb_enter+0x2b: nop db> bt Tracing pid 1 tid 100006 td 0xc1119600 kdb_enter(c026cbd3) at kdb_enter+0x2b panic(c0274e9e,c00b60c8,c1118c90,0,c763fd0c,...) at panic+0x127 vfs_mountroot(c1118c90,c1119600,0,c763fcf8,c023672a,...) at vfs_mountroot+0x140 mi_startup(0,c763fd38,0,c00b60c8,0,...) at mi_startup+0x5a3 fork_exit(c00b60c8,0,c763fd38) at fork_exit+0xa0 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xc763fd6c, ebp = 0 --- db> continue Uptime: 20s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. Rebooting... ================================================================================================= it fails to mount root partition. this is my configuration file: ================================================ 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/xbd1s1a,hint.apic.0.disabled=1' extra += ',vfs.root.mountfrom=ufs:/dev/xbd1s1a' extra += ',xencons=tty' ================================================ partition /dev/sdb1 exists on dom0 and it is unmounted, and kernel file in configuration is the xen-ified freebsd-6.3 kernel (KERNCONF=XEN). kernel verison on dom0 is Linux 2.6.21.7-5.fc8xen and xen is xen-3.1.2-5.fc8. if anyone can halp me, it will be really appreciated! thanks in advance. bye.