xen & debian stretch & windows

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

xen & debian stretch & windows

Mickael Choisnard
Hi

I used xen with debian 7 wheezy. all worked fine.

I made a new installation with debian 9 stretch.

I kept my virtuals machines.

I have a windows 7 virtual machine but i cannot start it.

I changed my /etc/xen/sqlserveur.cfg

When i launch "xl create sqlserveur.cfg" i obtain :

Parsing config from sqlserveur.cfg

and nothing else

So i decided to create a new windows machine (sqlserver.sql)
unsuccessfully whith the same message

There is nothing in logs.

xl list shows :

sqlserveur     7    16192    2    -b---- 141,5

then i use "xl destroy sqlserveur".

Thanks for your help



***************************************************

sqlserveur.cfg

builder = 'hvm'
vcpus = 2
memory = 16192
shadow_memory = 8
acpi = 1
apic = 1
viridian = '1'
##### Disks
disk = [ 'file:/virtualm/domains/sqlserveur/xenwin7.img,hda,w' ]

##### Hostname
name = "sqlserveur"

##### Networking
vif = ['ip=192.168.1.6, bridge=xenbr1']

##### Behavior
on_poweroff="destroy"
on_reboot="restart"
on_crash = "restart"

##### Monitoring
#vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=' ]
##### Boot

boot='c'
serial='pty'

*******************************************************

sqlsever.cfg


builder='hvm'
memory = 8768
vcpus=2
name = "sqlserver"
acpi = 1
apic = 1
shadow_memory = 8
##### Disks
disk = ['phy:/virtualm/domains/sqlserver/xenwin10.img,hda,w',
'file:/root/windows7.iso,hdc:cdrom,r']
##### Networking
vif = ['type=ioemu, ip=192.168.1.8, bridge=xenbr1']
boot='dc'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd='12345'
serial='pty'
usbdevice = 'tablet'
xen_platform_pci=1
viridian = 1
monitor=1
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

***********************************************************

xl info


My xen server info :

host                   : virtuel
release                : 4.9.0-3-amd64
version                : #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
machine                : x86_64
nr_cpus                : 40
max_cpu_id             : 79
nr_nodes               : 2
cores_per_socket       : 10
threads_per_core       : 2
cpu_mhz                : 1995
hw_caps                :
b7ebfbff:02bee3ff:2c100800:00000001:00000000:00000000:00000000:00000100
virt_caps              : hvm hvm_directio
total_memory           : 262130
free_memory            : 254693
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 8
xen_extra              : .1
xen_version            : 4.8.1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : placeholder dom0_mem=4096M dom0_max_vcpus=2
dom0vcpuspin
cc_compiler            : gcc (Debian 6.3.0-16) 6.3.0 20170425
cc_compile_by          : ian.jackson
cc_compile_domain      : eu.citrix.com
cc_compile_date        : Tue May  2 14:06:04 UTC 2017
build_id               : 0b619fa14fca0e6ca76f2a8b52eba64d60aa37de
xend_config_format     : 4





_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: xen & debian stretch & windows

Mark Pryor
Hello,

If you have updated Stretch to 9.1, then it appears that the latest qemu-system-* is binary incompatible with the distro Xen-4.8. That Xen has not been updated since May 2017.

Solution is to grab the Sources and build it in an up-to-date chroot with correct build-requires.
If you want the Debian-delta (with most of the current patches) for this I've got it here


navigate to the source/.

PryMar56
##xen-packaging on Freenode

On Thursday, August 17, 2017 6:25 AM, Mickael Choisnard <[hidden email]> wrote:


Hi

I used xen with debian 7 wheezy. all worked fine.

I made a new installation with debian 9 stretch.

I kept my virtuals machines.

I have a windows 7 virtual machine but i cannot start it.

I changed my /etc/xen/sqlserveur.cfg

When i launch "xl create sqlserveur.cfg" i obtain :

Parsing config from sqlserveur.cfg

and nothing else

So i decided to create a new windows machine (sqlserver.sql)
unsuccessfully whith the same message

There is nothing in logs.

xl list shows :

sqlserveur    7    16192    2    -b---- 141,5

then i use "xl destroy sqlserveur".

Thanks for your help



***************************************************

sqlserveur.cfg

builder = 'hvm'
vcpus = 2
memory = 16192
shadow_memory = 8
acpi = 1
apic = 1
viridian = '1'
##### Disks
disk = [ 'file:/virtualm/domains/sqlserveur/xenwin7.img,hda,w' ]

##### Hostname
name = "sqlserveur"

##### Networking
vif = ['ip=192.168.1.6, bridge=xenbr1']

##### Behavior
on_poweroff="destroy"
on_reboot="restart"
on_crash = "restart"

##### Monitoring
#vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=' ]
##### Boot

boot='c'
serial='pty'

*******************************************************

sqlsever.cfg


builder='hvm'
memory = 8768
vcpus=2
name = "sqlserver"
acpi = 1
apic = 1
shadow_memory = 8
##### Disks
disk = ['phy:/virtualm/domains/sqlserver/xenwin10.img,hda,w',
'file:/root/windows7.iso,hdc:cdrom,r']
##### Networking
vif = ['type=ioemu, ip=192.168.1.8, bridge=xenbr1']
boot='dc'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd='12345'
serial='pty'
usbdevice = 'tablet'
xen_platform_pci=1
viridian = 1
monitor=1
on_poweroff = 'destroy'
on_reboot  = 'restart'
on_crash    = 'restart'

***********************************************************

xl info


My xen server info :

host                  : virtuel
release                : 4.9.0-3-amd64
version                : #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
machine                : x86_64
nr_cpus                : 40
max_cpu_id            : 79
nr_nodes              : 2
cores_per_socket      : 10
threads_per_core      : 2
cpu_mhz                : 1995
hw_caps                :
b7ebfbff:02bee3ff:2c100800:00000001:00000000:00000000:00000000:00000100
virt_caps              : hvm hvm_directio
total_memory          : 262130
free_memory            : 254693
sharing_freed_memory  : 0
sharing_used_memory    : 0
outstanding_claims    : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 8
xen_extra              : .1
xen_version            : 4.8.1
xen_caps              : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize          : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : placeholder dom0_mem=4096M dom0_max_vcpus=2
dom0vcpuspin
cc_compiler            : gcc (Debian 6.3.0-16) 6.3.0 20170425
cc_compile_by          : ian.jackson
cc_compile_domain      : eu.citrix.com
cc_compile_date        : Tue May  2 14:06:04 UTC 2017
build_id              : 0b619fa14fca0e6ca76f2a8b52eba64d60aa37de
xend_config_format    : 4





_______________________________________________
Xen-users mailing list



_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: xen & debian stretch & windows

Mickael Choisnard
In reply to this post by Mickael Choisnard
Hi,

Thanks for your help Mark.

I only downloaded your deb files an installed it with dpkg.

I had a warning with xen-hypervisor : bad syntax whith version
"/boot/xen.gz " the number version don't begin with a number

There is nothing different.

xl create sqlserver.cfg
Parsing config from sqlserveur.cfg

vnc don't find the machine.

Thanks



Le 17/08/2017 à 15:21, Mickael Choisnard a écrit :

> Hi
>
> I used xen with debian 7 wheezy. all worked fine.
>
> I made a new installation with debian 9 stretch.
>
> I kept my virtuals machines.
>
> I have a windows 7 virtual machine but i cannot start it.
>
> I changed my /etc/xen/sqlserveur.cfg
>
> When i launch "xl create sqlserveur.cfg" i obtain :
>
> Parsing config from sqlserveur.cfg
>
> and nothing else
>
> So i decided to create a new windows machine (sqlserver.sql)
> unsuccessfully whith the same message
>
> There is nothing in logs.
>
> xl list shows :
>
> sqlserveur     7    16192    2    -b---- 141,5
>
> then i use "xl destroy sqlserveur".
>
> Thanks for your help
>
>
>
> ***************************************************
>
> sqlserveur.cfg
>
> builder = 'hvm'
> vcpus = 2
> memory = 16192
> shadow_memory = 8
> acpi = 1
> apic = 1
> viridian = '1'
> ##### Disks
> disk = [ 'file:/virtualm/domains/sqlserveur/xenwin7.img,hda,w' ]
>
> ##### Hostname
> name = "sqlserveur"
>
> ##### Networking
> vif = ['ip=192.168.1.6, bridge=xenbr1']
>
> ##### Behavior
> on_poweroff="destroy"
> on_reboot="restart"
> on_crash = "restart"
>
> ##### Monitoring
> #vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=' ]
> ##### Boot
>
> boot='c'
> serial='pty'
>
> *******************************************************
>
> sqlsever.cfg
>
>
> builder='hvm'
> memory = 8768
> vcpus=2
> name = "sqlserver"
> acpi = 1
> apic = 1
> shadow_memory = 8
> ##### Disks
> disk = ['phy:/virtualm/domains/sqlserver/xenwin10.img,hda,w',
> 'file:/root/windows7.iso,hdc:cdrom,r']
> ##### Networking
> vif = ['type=ioemu, ip=192.168.1.8, bridge=xenbr1']
> boot='dc'
> sdl=0
> vnc=1
> vnclisten="0.0.0.0"
> vncconsole=1
> vncpasswd='12345'
> serial='pty'
> usbdevice = 'tablet'
> xen_platform_pci=1
> viridian = 1
> monitor=1
> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'restart'
>
> ***********************************************************
>
> xl info
>
>
> My xen server info :
>
> host                   : virtuel
> release                : 4.9.0-3-amd64
> version                : #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
> machine                : x86_64
> nr_cpus                : 40
> max_cpu_id             : 79
> nr_nodes               : 2
> cores_per_socket       : 10
> threads_per_core       : 2
> cpu_mhz                : 1995
> hw_caps                :
> b7ebfbff:02bee3ff:2c100800:00000001:00000000:00000000:00000000:00000100
> virt_caps              : hvm hvm_directio
> total_memory           : 262130
> free_memory            : 254693
> sharing_freed_memory   : 0
> sharing_used_memory    : 0
> outstanding_claims     : 0
> free_cpus              : 0
> xen_major              : 4
> xen_minor              : 8
> xen_extra              : .1
> xen_version            : 4.8.1
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_scheduler          : credit
> xen_pagesize           : 4096
> platform_params        : virt_start=0xffff800000000000
> xen_changeset          :
> xen_commandline        : placeholder dom0_mem=4096M dom0_max_vcpus=2
> dom0vcpuspin
> cc_compiler            : gcc (Debian 6.3.0-16) 6.3.0 20170425
> cc_compile_by          : ian.jackson
> cc_compile_domain      : eu.citrix.com
> cc_compile_date        : Tue May  2 14:06:04 UTC 2017
> build_id               : 0b619fa14fca0e6ca76f2a8b52eba64d60aa37de
> xend_config_format     : 4
>
>
>
>

--
Université de Bourgogne
UFR Sciences et Techniques
Département IEM
Mickael Choisnard
Bureau 112A, Bat. Mirande aile de Maths
9 avenue Alain Savary
BP 47870
21078 Dijon cedex
Tél : (+33) 3 80 39 68 25
Fax : 03 80 39 58 66



_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: xen & debian stretch & windows

Mickael Choisnard
Hi,

If there is a lot of problem with stretch and xen, does it exist less
problems with jessie ?

Thanks


Le 21/08/2017 à 16:46, Mickael Choisnard a écrit :

> Hi,
>
> Thanks for your help Mark.
>
> I only downloaded your deb files an installed it with dpkg.
>
> I had a warning with xen-hypervisor : bad syntax whith version
> "/boot/xen.gz " the number version don't begin with a number
>
> There is nothing different.
>
> xl create sqlserver.cfg
> Parsing config from sqlserveur.cfg
>
> vnc don't find the machine.
>
> Thanks
>
>
>
> Le 17/08/2017 à 15:21, Mickael Choisnard a écrit :
>> Hi
>>
>> I used xen with debian 7 wheezy. all worked fine.
>>
>> I made a new installation with debian 9 stretch.
>>
>> I kept my virtuals machines.
>>
>> I have a windows 7 virtual machine but i cannot start it.
>>
>> I changed my /etc/xen/sqlserveur.cfg
>>
>> When i launch "xl create sqlserveur.cfg" i obtain :
>>
>> Parsing config from sqlserveur.cfg
>>
>> and nothing else
>>
>> So i decided to create a new windows machine (sqlserver.sql)
>> unsuccessfully whith the same message
>>
>> There is nothing in logs.
>>
>> xl list shows :
>>
>> sqlserveur     7    16192    2    -b---- 141,5
>>
>> then i use "xl destroy sqlserveur".
>>
>> Thanks for your help
>>
>>
>>
>> ***************************************************
>>
>> sqlserveur.cfg
>>
>> builder = 'hvm'
>> vcpus = 2
>> memory = 16192
>> shadow_memory = 8
>> acpi = 1
>> apic = 1
>> viridian = '1'
>> ##### Disks
>> disk = [ 'file:/virtualm/domains/sqlserveur/xenwin7.img,hda,w' ]
>>
>> ##### Hostname
>> name = "sqlserveur"
>>
>> ##### Networking
>> vif = ['ip=192.168.1.6, bridge=xenbr1']
>>
>> ##### Behavior
>> on_poweroff="destroy"
>> on_reboot="restart"
>> on_crash = "restart"
>>
>> ##### Monitoring
>> #vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=' ]
>> ##### Boot
>>
>> boot='c'
>> serial='pty'
>>
>> *******************************************************
>>
>> sqlsever.cfg
>>
>>
>> builder='hvm'
>> memory = 8768
>> vcpus=2
>> name = "sqlserver"
>> acpi = 1
>> apic = 1
>> shadow_memory = 8
>> ##### Disks
>> disk = ['phy:/virtualm/domains/sqlserver/xenwin10.img,hda,w',
>> 'file:/root/windows7.iso,hdc:cdrom,r']
>> ##### Networking
>> vif = ['type=ioemu, ip=192.168.1.8, bridge=xenbr1']
>> boot='dc'
>> sdl=0
>> vnc=1
>> vnclisten="0.0.0.0"
>> vncconsole=1
>> vncpasswd='12345'
>> serial='pty'
>> usbdevice = 'tablet'
>> xen_platform_pci=1
>> viridian = 1
>> monitor=1
>> on_poweroff = 'destroy'
>> on_reboot   = 'restart'
>> on_crash    = 'restart'
>>
>> ***********************************************************
>>
>> xl info
>>
>>
>> My xen server info :
>>
>> host                   : virtuel
>> release                : 4.9.0-3-amd64
>> version                : #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
>> machine                : x86_64
>> nr_cpus                : 40
>> max_cpu_id             : 79
>> nr_nodes               : 2
>> cores_per_socket       : 10
>> threads_per_core       : 2
>> cpu_mhz                : 1995
>> hw_caps                :
>> b7ebfbff:02bee3ff:2c100800:00000001:00000000:00000000:00000000:00000100
>> virt_caps              : hvm hvm_directio
>> total_memory           : 262130
>> free_memory            : 254693
>> sharing_freed_memory   : 0
>> sharing_used_memory    : 0
>> outstanding_claims     : 0
>> free_cpus              : 0
>> xen_major              : 4
>> xen_minor              : 8
>> xen_extra              : .1
>> xen_version            : 4.8.1
>> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
>> hvm-3.0-x86_32p hvm-3.0-x86_64
>> xen_scheduler          : credit
>> xen_pagesize           : 4096
>> platform_params        : virt_start=0xffff800000000000
>> xen_changeset          :
>> xen_commandline        : placeholder dom0_mem=4096M dom0_max_vcpus=2
>> dom0vcpuspin
>> cc_compiler            : gcc (Debian 6.3.0-16) 6.3.0 20170425
>> cc_compile_by          : ian.jackson
>> cc_compile_domain      : eu.citrix.com
>> cc_compile_date        : Tue May  2 14:06:04 UTC 2017
>> build_id               : 0b619fa14fca0e6ca76f2a8b52eba64d60aa37de
>> xend_config_format     : 4
>>
>>
>>
>>



_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: xen & debian stretch & windows

Mickael Choisnard
Hi

I made a new installation of debian 9.1 with xen mark's debian packages.

When i launch "xl list", i have no answer.

dmesg :

INFO : task xl:1232 blocked for more than 120 seconds

Not tainted 4.9.0-3-amd64 #1 Debian 4.9.30-2+deb9u3

I'm going to test jessie...


Le 21/08/2017 à 17:08, Mickael Choisnard a écrit :

> Hi,
>
> If there is a lot of problem with stretch and xen, does it exist less
> problems with jessie ?
>
> Thanks
>
>
> Le 21/08/2017 à 16:46, Mickael Choisnard a écrit :
>> Hi,
>>
>> Thanks for your help Mark.
>>
>> I only downloaded your deb files an installed it with dpkg.
>>
>> I had a warning with xen-hypervisor : bad syntax whith version
>> "/boot/xen.gz " the number version don't begin with a number
>>
>> There is nothing different.
>>
>> xl create sqlserver.cfg
>> Parsing config from sqlserveur.cfg
>>
>> vnc don't find the machine.
>>
>> Thanks
>>
>>
>>
>> Le 17/08/2017 à 15:21, Mickael Choisnard a écrit :
>>> Hi
>>>
>>> I used xen with debian 7 wheezy. all worked fine.
>>>
>>> I made a new installation with debian 9 stretch.
>>>
>>> I kept my virtuals machines.
>>>
>>> I have a windows 7 virtual machine but i cannot start it.
>>>
>>> I changed my /etc/xen/sqlserveur.cfg
>>>
>>> When i launch "xl create sqlserveur.cfg" i obtain :
>>>
>>> Parsing config from sqlserveur.cfg
>>>
>>> and nothing else
>>>
>>> So i decided to create a new windows machine (sqlserver.sql)
>>> unsuccessfully whith the same message
>>>
>>> There is nothing in logs.
>>>
>>> xl list shows :
>>>
>>> sqlserveur     7    16192    2    -b---- 141,5
>>>
>>> then i use "xl destroy sqlserveur".
>>>
>>> Thanks for your help
>>>
>>>
>>>
>>> ***************************************************
>>>
>>> sqlserveur.cfg
>>>
>>> builder = 'hvm'
>>> vcpus = 2
>>> memory = 16192
>>> shadow_memory = 8
>>> acpi = 1
>>> apic = 1
>>> viridian = '1'
>>> ##### Disks
>>> disk = [ 'file:/virtualm/domains/sqlserveur/xenwin7.img,hda,w' ]
>>>
>>> ##### Hostname
>>> name = "sqlserveur"
>>>
>>> ##### Networking
>>> vif = ['ip=192.168.1.6, bridge=xenbr1']
>>>
>>> ##### Behavior
>>> on_poweroff="destroy"
>>> on_reboot="restart"
>>> on_crash = "restart"
>>>
>>> ##### Monitoring
>>> #vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=' ]
>>> ##### Boot
>>>
>>> boot='c'
>>> serial='pty'
>>>
>>> *******************************************************
>>>
>>> sqlsever.cfg
>>>
>>>
>>> builder='hvm'
>>> memory = 8768
>>> vcpus=2
>>> name = "sqlserver"
>>> acpi = 1
>>> apic = 1
>>> shadow_memory = 8
>>> ##### Disks
>>> disk = ['phy:/virtualm/domains/sqlserver/xenwin10.img,hda,w',
>>> 'file:/root/windows7.iso,hdc:cdrom,r']
>>> ##### Networking
>>> vif = ['type=ioemu, ip=192.168.1.8, bridge=xenbr1']
>>> boot='dc'
>>> sdl=0
>>> vnc=1
>>> vnclisten="0.0.0.0"
>>> vncconsole=1
>>> vncpasswd='12345'
>>> serial='pty'
>>> usbdevice = 'tablet'
>>> xen_platform_pci=1
>>> viridian = 1
>>> monitor=1
>>> on_poweroff = 'destroy'
>>> on_reboot   = 'restart'
>>> on_crash    = 'restart'
>>>
>>> ***********************************************************
>>>
>>> xl info
>>>
>>>
>>> My xen server info :
>>>
>>> host                   : virtuel
>>> release                : 4.9.0-3-amd64
>>> version                : #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
>>> machine                : x86_64
>>> nr_cpus                : 40
>>> max_cpu_id             : 79
>>> nr_nodes               : 2
>>> cores_per_socket       : 10
>>> threads_per_core       : 2
>>> cpu_mhz                : 1995
>>> hw_caps                :
>>> b7ebfbff:02bee3ff:2c100800:00000001:00000000:00000000:00000000:00000100
>>> virt_caps              : hvm hvm_directio
>>> total_memory           : 262130
>>> free_memory            : 254693
>>> sharing_freed_memory   : 0
>>> sharing_used_memory    : 0
>>> outstanding_claims     : 0
>>> free_cpus              : 0
>>> xen_major              : 4
>>> xen_minor              : 8
>>> xen_extra              : .1
>>> xen_version            : 4.8.1
>>> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
>>> hvm-3.0-x86_32p hvm-3.0-x86_64
>>> xen_scheduler          : credit
>>> xen_pagesize           : 4096
>>> platform_params        : virt_start=0xffff800000000000
>>> xen_changeset          :
>>> xen_commandline        : placeholder dom0_mem=4096M dom0_max_vcpus=2
>>> dom0vcpuspin
>>> cc_compiler            : gcc (Debian 6.3.0-16) 6.3.0 20170425
>>> cc_compile_by          : ian.jackson
>>> cc_compile_domain      : eu.citrix.com
>>> cc_compile_date        : Tue May  2 14:06:04 UTC 2017
>>> build_id               : 0b619fa14fca0e6ca76f2a8b52eba64d60aa37de
>>> xend_config_format     : 4
>>>
>>>
>>>
>>>
>



_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users