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

[Xen-users] NetBSD domU on Debian dom0

To: Xen-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] NetBSD domU on Debian dom0
From: Daniel Bareiro <daniel-listas@xxxxxxx>
Date: Tue, 13 Feb 2007 10:59:01 -0300
Delivery-date: Tue, 13 Feb 2007 10:26:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Reply-to: dbareiro@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Hi all!

I'm trying to install a NetBSD domU because I want learn to use BSD
systems and I think that it could be a interesting alternative. Dom0 is
Xen 3.0.3-1 installed from Debian packages. But I've problems in access
to ISO image.

DomU config file:

sirius:~# cat /etc/xen/netbsd
kernel = "/boot/netbsd-INSTALL_XEN3_DOMU"
memory = 128
name = "netbsd3.1"
#disk = [ 'phy:vm/netbsd-3.1,0x3,w' ]
disk = [ 'file:tmp/i386cd-3.1.iso,0x04,r', 'phy:vm/netbsd-3.1,0x03,w' ]
root = "0x04"

# Replace with your IP info
ip = "192.168.1.10"
netmask = "255.255.255.0"
gateway = "192.168.1.2"


Out of "xm create -c netbsd":

Using config file "netbsd".
Started domain netbsd3.1
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.1 (INSTALL_XEN3_DOMU) #0: Tue Oct 31 05:09:39 UTC 2006
        
builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/INSTALL_XEN3_DOMU
total memory = 121 MB
avail memory = 118 MB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Unknown K7 (Athlon) (686-class), 2200.07 MHz,
id 0x20ff2
cpu0: features 78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 78bfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMX>
cpu0: features 78bfbff<FXSR,SSE,SSE2>
hypervisor0 at mainbus0
debug virtual interrupt using event channel 3
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xenbus0: using event channel 1
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
Xen clock: using event channel 4
raidattach: Asked for 8 units
Kernelized RAIDframe activated
md0: internal 5000 KB image area
xbd0 at xenbus0 id 4: Xen Virtual Block Device Interface
xbd0: using event channel 5
xbd1 at xenbus0 id 3: Xen Virtual Block Device Interface
xbd1: using event channel 6
xbd0: 207 MB, 512 bytes/sect x 425184 sectors
xbd1: 4096 MB, 512 bytes/sect x 8388608 sectors
Searching for RAID components...
backend_changed backend
boot device: xbd0
root on md0a dumps on md0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
warning: no /dev/console
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
init: Creating mfs /dev (413 blocks, 1024 inodes)
erase ^?, werase ^W, kill ^U, intr ^C

According to I can see:

xbd0: 207 MB, 512 bytes/sect x 425184 sectors   ---> ISO image
xbd1: 4096 MB, 512 bytes/sect x 8388608 sectors ---> LVM device

The problem is the selection of the medium/filesystem, I think. Could
someone help me? I test "unmounted fs" with:

device:         xbd0
file system:    cd9660
base directory: mnt2
set directory:  i386/binary/sets

But I get:

Status: Command failed
Command: /sbin/mount -rt cd9660 /dev/xbd0 /mnt2


Thanks in advance.

Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

Attachment: signature.asc
Description: Digital signature

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