Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'xl create -c foo' fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
304456
n00b
n00b


Joined: 21 Apr 2013
Posts: 4

PostPosted: Mon Jun 03, 2013 9:13 am    Post subject: 'xl create -c foo' fails Reply with quote

here's the rundown...

i'm making an arch linux domu

sudo xl create -c arch1.cfg

Parsing config from arch1.cfg
libxl: error: libxl_device.c:859:device_backend_callback: unable to connect device with path /local/domain/0/backend/vbd/11/2049
libxl: error: libxl_create.c:934:domcreate_launch_dm: unable to add disk devices
libxl: error: libxl_device.c:859:device_backend_callback: unable to disconnect device with path /local/domain/0/backend/vbd/11/2049
libxl: error: libxl.c:1467:devices_destroy_cb: libxl__devices_destroy failed for 11

what is going on here?

here's my arch1.cfg

name = "arch1"
kernel = "/media/disc/arch/boot/x86_64/vmlinuz"
ramdisk = "/media/disc/arch/boot/x86_64/archiso.img"
extra = "archisobasedir=arch archisolabel=ARCH_201306"
memory = 1024
disk = [ "phy:/dev/kimbra/arch1,sda1,w", "file:/mnt/bak/archlinux-2013.06.01-dual.iso,sdb,r" ]
vif = [ 'mac=00:16:3e:3e:3e:3e,bridge=xenbr0' ]


any help, fellow gentoomen? i can't find anything on google other than the possibility it may have something to do with the iso...
Back to top
View user's profile Send private message
304456
n00b
n00b


Joined: 21 Apr 2013
Posts: 4

PostPosted: Mon Jun 03, 2013 3:45 pm    Post subject: Reply with quote

can i have ANY help fixing this? i've spent about 14 hours a day all last week working on setting up xen while every single issue that popped up seemed like a show stopper. it would be terrible to give up now...
Back to top
View user's profile Send private message
PatomaS
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 128

PostPosted: Thu Jun 27, 2013 3:06 am    Post subject: Reply with quote

Hi

Not a solution, but, have you tried the xen-user mailing list, or their irc channel? I think you may have some luck there.

And if you find the solution, you can post it here and help others.

Bye
_________________
¡ hey, hou, hou, hey !
Back to top
View user's profile Send private message
hagar-dunor
n00b
n00b


Joined: 26 Apr 2012
Posts: 36

PostPosted: Mon Jul 15, 2013 4:12 pm    Post subject: Reply with quote

If I had to throw a wild guess, your disk devices seem wrong
you should try "xvda"-ish names for physical PV devices

For example, for a PV Ubuntu VM I use the following config file

Code:
bootloader = 'pygrub'
extra = "console=hvc0"
vcpus = 4
memory = 4096
disk = ['phy:/dev/loop1,xvda,rw']
name = "ubuntu"
vif = [ 'mac=00:16:3E:00:00:01,bridge=br0' ]
xen_platform_pci=1


and for an HVM Ubuntu VM the following one (to install the system), then I switch to the PV config above

Code:
builder = 'hvm'
vcpus = '4'
memory = '4096'
disk = ['phy:/dev/loop1,xvda,rw','file:/xen/iso/ubuntu-13.04-server-amd64.iso,hdc:cdrom,r']
boot = 'dc'
name = 'ubuntu'
vif = ['mac=00:16:3E:00:00:01,bridge=br0']
xen_platform_pci = 1
vnc = 1
vnclisten = '0.0.0.0'
vncpasswd = ''
usb = 1
usbdevice = 'tablet'


HTH
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum