DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th May 2016
AgustinSainato AgustinSainato is offline
New User
 
Join Date: May 2016
Posts: 5
Default Xen 3.3 Winxp Domu doesn't work

Hi, I'm trying to make Xen 3.3 work in NetBSD 6.1.4 (Xen3_DOM0) in order to virtualize Windows XP for a school project. I have the config file created and the Dom0 configured, however, when I do 'xm create /usr/pkg/etc/xen/win01' the output is:

May 10 18:14:56 xenbackendd[938]: failed to read /local/domain/0/backend/vfb/8/0/script (no such file or directory)

vnd0: unable to open device, error = 16
xbd backend: attach device vnd0d (size 8388608) for domain 8
vnd1: unable to open device, error = 16
xbd backend: attach device vnd1d (size 1414700) for domain 8
May 10 18:14:56 xenbackendd[938] Failed to read /local/domain/0/device-model/8/script (no such file or directory)

Started domain win01

# tap0: detached
May 10 18:14:56 xenbackendd[938] Failed to read /local/domain/0/backend/console/8/0/script (no such file or directory)
May 10 18:14:56 xenbackendd[938] Failed to read /local/domain/0/backend/vfb/8/0/script (no such file or directory)

xbd backend: detach device vnd0d for domain 8
xbd backend: detach device vnd1d for domain 8

After this, I do 'xm list' and there is only the Dom0, so the Dom1 is not created. Does anybody know what should I change in order to avoid the domain crash?

My config file is:

Kernel = "usr/pkg/lib/xen/boot/hvmloader"
Builder='hvm'
Memory = 1024
Name = "win01"
Vif = [ 'type=ioemu, bridge=bridge0' ]
Disk['file:/home/xen/winxp.img,ioemu:hda,w','file:/home/xen/winxp.iso,ioemu:hdb:cdrom,r', ]
Vnc=1
Vncconsole=1
boot='c'
vncdisplay=0
vncunused=0
vncpasswd='password'
Device_model= '/usr/pkg/libexec/qemu-dm'
Usbdevice='tablet'
usb=1

The /etc/rc.conf file has:
XEND=YES
XENBACKENDD=YES

I have already downloaded a Windows Xp iso and saved it into /home/xen

I dont have much knowledge on how to use NetBSD and Xen so any kind of help will be appreciated.

Best regards,
Agustin
Reply With Quote
  #2   (View Single Post)  
Old 11th May 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

Is the configuration file you provided a copy/paste or a transcription?

If it's a copy/paste, you have a number of errors, including capitalization of many/most of the variable names. You also lack a equals sign between in the 'disk' definition.

Are the variables in /etc/rc.conf in lowercase or uppercase? They should be lowercase (but your error messages suggest xenbackendd is running...)
Reply With Quote
  #3   (View Single Post)  
Old 11th May 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

The attached file, 'feaux.conf' is a working Windows XP configuration, with the disk image in a file.

I just started it on my Xen 3.3 instance to verify that it still works.
Attached Files
File Type: conf feaux.conf (3.0 KB, 81 views)
Reply With Quote
  #4   (View Single Post)  
Old 12th May 2016
AgustinSainato AgustinSainato is offline
New User
 
Join Date: May 2016
Posts: 5
Default

Quote:
Originally Posted by schnoebe View Post
The attached file, 'feaux.conf' is a working Windows XP configuration, with the disk image in a file.

I just started it on my Xen 3.3 instance to verify that it still works.
I tried with your config file and it worked perfectly, thank you very much!
Reply With Quote
Reply

Tags
help request, netbsd, windows, xen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fluxbox-generate_menu doesn't work nihonto NetBSD Package System (pkgsrc) 4 5th April 2022 03:03 PM
n00b question: why doesn't this mount work? raindog308 OpenBSD General 1 13th November 2014 04:20 PM
Help: NAT doesn't work on OpenBSD 4.9 lcxpics OpenBSD General 1 18th May 2011 09:46 AM
ln -f at boot doesn't work lordyan OpenBSD General 3 19th February 2009 03:50 PM
KDE (X-Server) in FreeBSD 7.0 doesn't work correctly louie FreeBSD General 6 7th May 2008 11:53 PM


All times are GMT. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick