NetBSD Problem Report #42467

From www@NetBSD.org  Thu Dec 17 16:17:38 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7AB7463C37E
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Dec 2009 16:17:38 +0000 (UTC)
Message-Id: <20091217161738.4D5D863B844@www.NetBSD.org>
Date: Thu, 17 Dec 2009 16:17:38 +0000 (UTC)
From: petea_garstea@fincombank.com
Reply-To: petea_garstea@fincombank.com
To: gnats-bugs@NetBSD.org
Subject: opensolaris DOMU
X-Send-Pr-Version: www-1.0

>Number:         42467
>Category:       port-xen
>Synopsis:       opensolaris DOMU
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 17 16:20:00 +0000 2009
>Closed-Date:    Tue Jun 19 21:32:37 +0000 2018
>Last-Modified:  Tue Jun 19 21:32:37 +0000 2018
>Originator:     fincombank
>Release:        netbsd 5 stable, updated
>Organization:
fincombank
>Environment:
NetBSD NetBSD 5.0.1 NetBSD 5.0.1 (XEN3_DOM0) #0: Wed Dec 16 12:28:10 EET 2009  peter@NetBSD:/usr/src/sys/arch/i386/compile/XEN3_DOM0 i386

the kernel compiled without PAE.
>Description:
hello

xen version:
xentools3-3.1.4nb4  Userland Tools for Xen
xenkernel3-3.1.4nb3 Xen3 Kernel

im using x86 arch. and here is my config file of opensolaris domu:

kernel = "/home/peter/xm/Solaris/unix"
ramdisk = '/home/peter/xm/Solaris/x86.microroot'
# for a 64-bit guest
#extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
# for a 32-bit guest
extra = "/platform/i86xpv/kernel/unix - nowin -B install_media=cdrom"
memory = 1024
name = "SOLARIS"
cpu = "3"
vcpus = 1
cpu_cap = 100
disk = [ 'file:/home/peter/xm/Solaris/solaris.iso,6:cdrom,r' ]
disk = [ 'file:/mnt/solaris/solaris.img,0,w' ]
vif = [ 'bridge=bridge0' ]

when im running the domain it stopes on the following message:

[18:13][xen]#xm create SOLARIS -c
Using config file "./SOLARIS".
Started domain SOLARIS
                      v3.1.4 chgset 'unavailable'
SunOS Release 5.11 Version snv_86 32-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: opensolaris
Remounting root read/write
Probing for device nodes ...
Preparing live image for use



------------------
thank you, good bye.


>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Tobias Nygren <tnn@NetBSD.org>
To: petea_garstea@fincombank.com
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-xen/42467: opensolaris DOMU
Date: Fri, 18 Dec 2009 11:28:11 +0100

 I've had the same problem. I don't know the cause but I know a
 workaround. If you wrap the installation iso and guest filesystem
 images in vnd(4) devices the process continues. e.g.:

 disk += [ 'phy:/dev/vnd0a,6:cdrom,w' ]

 > disk = [ 'file:/home/peter/xm/Solaris/solaris.iso,6:cdrom,r' ]
 > disk = [ 'file:/mnt/solaris/solaris.img,0,w' ]

 Watch out with those assignments, you need to append the disk
 configuration with +=

From: petea_garstea <petea_garstea@fincombank.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/42467: opensolaris DOMU
Date: Fri, 18 Dec 2009 13:14:19 +0200

 Tobias Nygren пишет:
 > The following reply was made to PR port-xen/42467; it has been noted by GNATS.
 >
 > From: Tobias Nygren <tnn@NetBSD.org>
 > To: petea_garstea@fincombank.com
 > Cc: gnats-bugs@NetBSD.org
 > Subject: Re: port-xen/42467: opensolaris DOMU
 > Date: Fri, 18 Dec 2009 11:28:11 +0100
 >
 >  I've had the same problem. I don't know the cause but I know a
 >  workaround. If you wrap the installation iso and guest filesystem
 >  images in vnd(4) devices the process continues. e.g.:
 >  
 >  disk += [ 'phy:/dev/vnd0a,6:cdrom,w' ]
 >  
 >  > disk = [ 'file:/home/peter/xm/Solaris/solaris.iso,6:cdrom,r' ]
 >  > disk = [ 'file:/mnt/solaris/solaris.img,0,w' ]
 >  
 >  Watch out with those assignments, you need to append the disk
 >  configuration with +=
 >  
 >   
 i did:
 vnconfig -v -c vnd0 /home/peter/xm/Solaris/solaris.iso
 and the same problem + NOTICE message:

 SunOS Release 5.11 Version snv_86 32-bit
 Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.
 Hostname: opensolaris
 Remounting root read/write
 Probing for device nodes ...
 NOTICE: xdf@6: failed to read feature-barrier
 Preparing live image for use

 [13:10][xen]#cat SOLARIS
 kernel = "/home/peter/xm/Solaris/unix"
 ramdisk = '/home/peter/xm/Solaris/x86.microroot'
 # for a 64-bit guest
 #extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
 # for a 32-bit guest
 extra = "/platform/i86xpv/kernel/unix - nowin -B install_media=cdrom"
 memory = 1024
 name = "SOLARIS"
 cpu = "3"
 vcpus = 1
 cpu_cap = 100
 disk = [ 'file:/mnt/solaris/solaris.img,0,w' ]
 disk += [ 'phy:/dev/vnd0a,6:cdrom,w' ]
 #disk = [ 'file:/home/peter/xm/Solaris/solaris.iso,6:cdrom,r' ]
 #disk = [ 'file:/mnt/solaris/solaris.img,0,w' ]
 vif = [ 'bridge=bridge0' ]

 i also tried with:
 disk += [ 'phy:/dev/vnd0d,6:cdrom,w' ]
 and nothing

 may be, should i label the disk = [ 'file:/mnt/solaris/solaris.img,0,w' 
 ], cause it is raw.?

 -- 
 Приятного дня,
 с уважением,
 Гарштя Петр,
 отдел SAR.
 GSM: (+373) 68065001
 Tel: (+373) 269854

State-Changed-From-To: open->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Tue, 19 Jun 2018 21:32:37 +0000
State-Changed-Why:
Xen 3.1 was EOLed by upstream.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.