On Fri, 22 Feb 2008 18:15:45 +0100, Serge Dewailly wrote:
> Bonjour,
>
> As tu besoin du pae ? (pour rappel n'est utile que sur des machines
> possédant plus de 4Go de RAM)
Non, je n'en ai pas besoin: je fais mumuse avec un laptop de 512Mo de RAM
pour mes tests. Mais Debian ne semble pas proposer de noyau linux
binaire patché Xen sans PAE. (linux-image-2.6.18-6-xen-686 est construit
avec le support PAE).
> Sinon effectivement, un hyperviseur PAE et un noyau non PAE ce n'est pas
> possible...
Ce que je cherche à obtenir c'est:
hyperviseur Xen non-PAE
Dom0 (hôte) noyau Debian Linux Etch non-PAE (non disponible en binaire)
DomU (invité) noyau NetBSD 4.0 non-PAE
Ce que j'ai testé c'est:
1)
hyperviseur Xen PAE
Dom0 (hôte) noyau Debian Linux Etch PAE
DomU (invité) noyau NetBSD 4.0 non-PAE
==> erreur 22 lors du xm create du DomU NetBSD
2)
hyperviseur Xen non-PAE
Dom0 (hôte) noyau Debian Linux Etch PAE
DomU (invité) noyau NetBSD 4.0 non-PAE
==> plantage au boot du PC (donc hyperviseur Xen / Dom0) dû à
incompatibilité entre hyperviseur non-PAE et noyau Dom0 PAE
> Il n'y a pas non plus d'option possible à passer au
> démarrage du noyau du fait que c'est une option en "dure" dans la config
> de ce dernier...
Oui, je pensais que ça pouvait être compilé en module mais effectivement
tous les options kernel CONFIG_HIGHMEM* sont en y ou n mais pas m.
Je n'ai pas trouvé non plus d'option de boot du noyau linux qui puisse
désactiver le PAE (sauf si "mem=" avec une valeur faible permet de le
faire: pas testé)
> Je ne comprends pas pourquoi tu obtiens un problème avec une machine
> virtuelle... Le fait que ton hyperviseur soit PAE n'affecte en rien la
> machine virtuelle (à part si tu alloue +de 4Go de ram à la machine
> virtuelle...).
>
> Pourrais tu donner un peu plus d'informations sur le message d'erreur
> rencontré ? (que donne un xm dmesg ?)
extrait de /var/log/xend.log:
-----------------------------
ERROR: Non PAE-kernel on PAE host.
ERROR: Error constructing guest OS
extrait de /var/log/xend.log:
-----------------------------
[2008-02-21 12:27:36 xend 3503] INFO (__init__:1072) Xend Daemon started
[2008-02-21 12:27:36 xend 3503] INFO (__init__:1072) Xend changeset: Tue Oct 17
22:09:52 2006 +0100 .
[2008-02-21 12:27:36 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.recreate({'paused': 0, 'cpu_time': 15485637510L, 'ssidref': 0,
'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason':
0, 'dying': 0, 'dom': 0, 'mem_kb': 467396, 'maxmem_kb': -4, 'max_vcpu_id': 0,
'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0})
[2008-02-21 12:27:36 xend.XendDomainInfo 3503] INFO (__init__:1072) Recreating
domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2008-02-21 12:27:36 xend.XendDomainInfo 3503] WARNING (__init__:1072) No vm
path in store for existing domain 0
[2008-02-21 12:27:36 xend.XendDomainInfo 3503] DEBUG (__init__:1072) Storing VM
details: {'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000',
'on_reboot': 'restart', 'on_poweroff': 'destroy', 'name': 'Domain-0',
'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '457',
'on_crash': 'restart', 'maxmem': '457'}
[2008-02-21 12:27:36 xend.XendDomainInfo 3503] DEBUG (__init__:1072) Storing
domain details: {'cpu/0/availability': 'online', 'memory/target': '467968',
'name': 'Domain-0', 'console/limit': '1048576', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0'}
[2008-02-21 12:27:36 xend 3503] DEBUG (__init__:1072) number of vcpus to use is 0
[2008-02-21 12:27:36 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2008-02-21 12:29:30 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'netbsd4'], ['memory', 128], ['vcpus',
1], ['image', ['linux', ['kernel', '/etc/xen/netbsd-INSTALL_XEN3_DOMU']]],
['device', ['vbd', ['uname', 'file:/var/xen/disks/netbsd4_disk.img'], ['dev',
'wd0'], ['mode', 'w']]], ['device', ['vif']]])
[2008-02-21 12:29:30 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
parseConfig: config is ['vm', ['name', 'netbsd4'], ['memory', 128], ['vcpus',
1], ['image', ['linux', ['kernel', '/etc/xen/netbsd-INSTALL_XEN3_DOMU']]],
['device', ['vbd', ['uname', 'file:/var/xen/disks/netbsd4_disk.img'], ['dev',
'wd0'], ['mode', 'w']]], ['device', ['vif']]]
[2008-02-21 12:29:30 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel',
'/etc/xen/netbsd-INSTALL_XEN3_DOMU']], 'on_poweroff': None, 'bootloader_args':
None, 'cpus': None, 'name': 'netbsd4', 'backend': [], 'vcpus': 1, 'cpu_weight':
None, 'features': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd',
['vbd', ['uname', 'file:/var/xen/disks/netbsd4_disk.img'], ['dev', 'wd0'],
['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem':
None}
[2008-02-21 12:29:30 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.construct: None
[2008-02-21 12:29:30 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.initDomain: 1 1.0
[2008-02-21 12:29:30 xend 3503] DEBUG (__init__:1072) Balloon: 30584 KiB free;
0 to scrub; need 131072; retries: 20.
[2008-02-21 12:29:30 xend 3503] DEBUG (__init__:1072) Balloon: setting dom0
target to 358 MiB.
[2008-02-21 12:29:30 xend.XendDomainInfo 3503] DEBUG (__init__:1072) Setting
memory target of domain Domain-0 (0) to 358 MiB.
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) Balloon: 131960 KiB free;
need 131072; done.
[2008-02-21 12:29:33 xend 3503] INFO (__init__:1072) buildDomain os=linux dom=1
vcpus=1
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) dom = 1
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) image =
/etc/xen/netbsd-INSTALL_XEN3_DOMU
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) store_evtchn = 1
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) console_evtchn = 2
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) cmdline =
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) ramdisk =
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) vcpus = 1
[2008-02-21 12:29:33 xend 3503] DEBUG (__init__:1072) features =
[2008-02-21 12:29:33 xend.XendDomainInfo 3503] ERROR (__init__:1072) Domain
construction failed
Traceback (most recent call last):
File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 195,
in create
vm.initDomain()
File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1363,
in initDomain
raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2008-02-21 12:29:33 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.destroy: domid=1
[2008-02-21 12:29:33 xend.XendDomainInfo 3503] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(1)
[2008-02-21 14:45:32 xend 3502] INFO (__init__:1072) Xend stopped due to signal
15.
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]