From owner-freebsd-xen@FreeBSD.ORG Sat Jul 30 11:19:44 2011 Return-Path: Delivered-To: xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC401065670 for ; Sat, 30 Jul 2011 11:19:44 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id EFD548FC0C for ; Sat, 30 Jul 2011 11:19:43 +0000 (UTC) Received: by fxe4 with SMTP id 4so4216889fxe.13 for ; Sat, 30 Jul 2011 04:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=HEp6HvS4u9dTIeQc8+W/5aoWfz+K9aSxFF5y95ekpLA=; b=TD+IYytzQ+/h6rlPNq9dG0BVoxKf+g/IeXiw3UocBZiPxphN3WOtiX2B4WmsSLcuzM MORpTuTlZu2otzFztj6OkfR+4jaE8Hnr0sj42EmyJoGkbu9nF6wjI3Hv3HW3L9vY/eiL 57H5lBk159TIF4X/jwVcAtIT5RvAqXKl7j+Y0= Received: by 10.223.99.149 with SMTP id u21mr3269340fan.121.1312022983730; Sat, 30 Jul 2011 03:49:43 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id j18sm793515faa.22.2011.07.30.03.49.41 (version=SSLv3 cipher=OTHER); Sat, 30 Jul 2011 03:49:42 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E33E1AD.6030404@FreeBSD.org> Date: Sat, 30 Jul 2011 13:49:17 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Sean Bruno References: <1311985465.2531.12.camel@hitfishpass-lx.corp.yahoo.com> In-Reply-To: <1311985465.2531.12.camel@hitfishpass-lx.corp.yahoo.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: xen@freebsd.org Subject: Re: HVM boot fail, BETA-1 and current 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, 30 Jul 2011 11:19:44 -0000 Hi. Sean Bruno wrote: > Tried to boot up an BETA-1 XENHVM kernel today, apparently CAMATA > doesn't work in this environment. Let me know if you want access to this > VM as its in the cluster and I can trivially get you on the machine. Disks in XENHVM are usually not related to CAM. Once hypervisor detects use of PV drivers, it blocks disks detection via ATA emulation and exposes them as PV block devices. > xbd0: 607MB at device/vbd/5632 on xenbusb_front0 > xbd0: attaching as ad2 > xbd1: 10240MB at device/vbd/768 on xenbusb_front0 > xbd1: attaching as ad0 ... > GEOM: new disk ad2 > GEOM: new disk ad0 ... > Trying to mount root from ufs:/dev/ada0p2 [rw]... > mountroot: waiting for device /dev/ada0p2 ... > Mounting from ufs:/dev/ada0p2 failed with error 19. The only problem here is that xbd driver still tries to mimic old ATA device naming. Probably it should be fixed, but I don't see how to do it correctly. Its behavior with old ATA was closer, but IMHO was also not exactly correct. It could cause unit numbers collision if somebody decided to pass some PCI ATA controller inside the virtual machine. -- Alexander Motin