Re: Issue getting my first Xen domU up

2019-02-05 Thread Marcin Cieslak
On Tue, 5 Feb 2019, Eric Bautsch wrote:

> And yes, the qemu-dm-titania.log would have been the place to look. I feel
> pretty stupid. It says:

Don't feel stupid. I am using Xen with Dom0 on FreeBSD for months now
and I didn't know where the qemu logs go - I was able to figure out
the problem by staring at the configuration file for a long time.

Therefore your question was very helpful also for me - thanks!

Marcin

smime.p7s
Description: S/MIME Cryptographic Signature


Re: Issue getting my first Xen domU up

2019-02-05 Thread Eric Bautsch

Hi Roger.


Thanks for that.

Yes, tap not being there was the issue.


And yes, the qemu-dm-titania.log would have been the place to look. I feel 
pretty stupid. It says:


qemu-system-i386: -netdev 
type=tap,id=net0,ifname=xnb3.0-emu,script=no,downscript=no: could not open 
/dev/tap: No such file or directory



Got it running now.


Very much appreciated.

Eric




On 05/02/2019 14:09, Roger Pau Monné wrote:

On Tue, Feb 05, 2019 at 07:17:55AM +, Eric Bautsch wrote:

Hi.


I'm trying to get a Xen domU up and running.

I'm running FreeBSD 12.0. System is a new install.


I'm following the instructions here:

https://www.freebsd.org/doc/handbook/virtualization-host-xen.html


My config file looks thus:

builder = "hvm"
name = "titania"
memory = 8192
vcpus = 2
vif = [ 'mac=00:16:3E:11:11:21,bridge=bridge0' ]
disk = [ '/dev/zvol/zroot/titania0,raw,hda,rw' ]
vnc = 1
vnclisten = "0.0.0.0"
serial = "pty"

That seems like a valid configuration.


Upon trying to create the domU, I think it's trying to tell me that it's got
issues with the storage, but that may be a red herring as the qemu command
seems to include the storage. Nevertheless, I have also tried with sda and
messed around with qcow2 (that one didn't work, but probably due to my wrong
incantation). Anyway here's the output from the above config file.

It's indeed QEMU failing the start the problem here. Do you have the
if_tap module loaded (`kldload if_tap`)?

Can you provide the QEMU log, it should be in
/var/log/xen/qemu-dm-titania.log.

Thanks, Roger.



--
 
  

 /  .   Eric A. Bautsch
/--   __   _____
   / //   /  /
  (_/(___(__/   email: eric.baut...@pobox.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Issue getting my first Xen domU up

2019-02-05 Thread Roger Pau Monné
On Tue, Feb 05, 2019 at 07:17:55AM +, Eric Bautsch wrote:
> Hi.
> 
> 
> I'm trying to get a Xen domU up and running.
> 
> I'm running FreeBSD 12.0. System is a new install.
> 
> 
> I'm following the instructions here:
> 
> https://www.freebsd.org/doc/handbook/virtualization-host-xen.html
> 
> 
> My config file looks thus:
> 
> builder = "hvm"
> name = "titania"
> memory = 8192
> vcpus = 2
> vif = [ 'mac=00:16:3E:11:11:21,bridge=bridge0' ]
> disk = [ '/dev/zvol/zroot/titania0,raw,hda,rw' ]
> vnc = 1
> vnclisten = "0.0.0.0"
> serial = "pty"

That seems like a valid configuration.

> Upon trying to create the domU, I think it's trying to tell me that it's got
> issues with the storage, but that may be a red herring as the qemu command
> seems to include the storage. Nevertheless, I have also tried with sda and
> messed around with qcow2 (that one didn't work, but probably due to my wrong
> incantation). Anyway here's the output from the above config file.

It's indeed QEMU failing the start the problem here. Do you have the
if_tap module loaded (`kldload if_tap`)?

Can you provide the QEMU log, it should be in
/var/log/xen/qemu-dm-titania.log.

Thanks, Roger.
___
freebsd-xen@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"