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 4th May 2016
AgustinSainato AgustinSainato is offline
New User
 
Join Date: May 2016
Posts: 5
Default Xen3_DOM0 winxp dom not running

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

WARNING: you seem to be using "kernel" directive to override HVM guest firmware. Ignore that. Use "firmware_override" instead if you really want a non-default firmware
[1] Bad System Call (core dumped) xl create /usr/pkg/etc/xen/win01

I don't know why does the Bad system call happen, and how should i properly create the domain.

My config file is:

Kernel = "usr/pkg/libexec/xen/boot/hvmloader"
Builder='hvm'
Memory = 1024
Shadow_memory = 8
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
Sdl=0
Vncconsole=1

Acpi=1
Apic=1
Device_model_version = 'qemu-xen-traditional'
Stdvga=0
Serial='pty'
Usbdevice='tablet'

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 4th May 2016
bashrules bashrules is offline
Fdisk Soldier
 
Join Date: Mar 2010
Location: Here
Posts: 48
Default

Quote:
Originally Posted by AgustinSainato View Post
Kernel = "usr/pkg/libexec/xen/boot/hvmloader"
A blind shot: add a trailing slash, e.g. /usr/... and doublecheck the path.
Reply With Quote
  #3   (View Single Post)  
Old 4th May 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 31
Default

Your configuration file looks like it is for Xen 3, and it sounds like you're using Xen 4 (using XL). Which version of Xen are you using?

If Xen 3, you need a "device-model" entry pointing at qemu-dm. (I've run Windows XP as an HVM on Xen 3.)

If Xen 4, the example HVM configuration provided doesn't specify a "kernel" entry, just a "builder" entry. (note, I haven't run any Microsoft OS on Xen 4.x -- that I can find evidence of.)
Reply With Quote
  #4   (View Single Post)  
Old 5th May 2016
AgustinSainato AgustinSainato is offline
New User
 
Join Date: May 2016
Posts: 5
Default

Quote:
Originally Posted by bashrules View Post
A blind shot: add a trailing slash, e.g. /usr/... and doublecheck the path.
Hi, that was a typing mistake, the config file has the /usr/. Thank you for your response.
Reply With Quote
  #5   (View Single Post)  
Old 5th May 2016
AgustinSainato AgustinSainato is offline
New User
 
Join Date: May 2016
Posts: 5
Default

Quote:
Originally Posted by schnoebe View Post
Your configuration file looks like it is for Xen 3, and it sounds like you're using Xen 4 (using XL). Which version of Xen are you using?

If Xen 3, you need a "device-model" entry pointing at qemu-dm. (I've run Windows XP as an HVM on Xen 3.)

If Xen 4, the example HVM configuration provided doesn't specify a "kernel" entry, just a "builder" entry. (note, I haven't run any Microsoft OS on Xen 4.x -- that I can find evidence of.)
Hi, I'm using Xen 4.5 (xl), could you please tell me what should I modify in the file in order to make it work for this Xen correctly? Thank you for your help.

By the way, after the I type "xl create win01.cfg" , besides of showing the "core dumped" error, the domain is created, but with a P (pause) state.
Reply With Quote
Reply

Tags
dom0, domu, help request, netbsd, 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
issue XEN3_DOM0 philo_neo71 NetBSD Package System (pkgsrc) 2 12th October 2015 08:19 PM
Running as a WPA-RADIUS AP? Sunnz OpenBSD Security 7 23rd September 2009 02:09 AM
qemu + guest os winxp - very slow.. DNAeon FreeBSD Ports and Packages 19 21st November 2008 10:00 AM
Print on remote WinXP from web host drhowarddrfine General software and network 5 13th October 2008 05:41 PM
Dual-booting WinXP, FreeBSD; unlikely disk geometry ronaldmcdonald9 FreeBSD Installation and Upgrading 6 11th July 2008 06:10 PM


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


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