It ins't working too. Below, I'm reproducing informations about my test system:
My xen version:
# xm info | grep -E 'major|minor'
xen_major : 3
xen_minor : 3
# virtual machine dmesg
| Registering block device major 202
| xvda: xvda1 xvda2 xvda3
| Registering block device major 22
| hdc: unknown partition table
In vm configuration, the variable 'disk' is set like below:
| disk = [ 'phy:/dev/empirevg/centos,xvda,w',
'file:/home/iso/centos-xen-image/CentOS-5.2-x86_64-bin-1of7.iso,hdc:cdrom,r'
]
In log has only these entries about the vbd:
# /var/log/xen/qemu-dm-pvcentos.log
| medium change watch on `hdc' (index: 1):
/home/iso/centos-xen-image/CentOS-5.2-x86_64-bin-1of7.iso
# /var/log/xen/xend.log
| [2008-09-26 13:55:00 3997] TRACE (XendDomainInfo:2860)
XendDomainInfo.update done on domain 152: {'vcpus_params': {'cap': 0,
'weight': 256}, 'PV_args': '', '_temp_kernel':
'/var/run/xend/boot/boot_kernel.aKv9gR', 'features': '', '_temp_args':
'ro root=LABEL=/ rhgb quiet', 'cpus': [[], []], 'paused': 1,
'shutdown_reason': 0, 'actions_after_reboot': 'restart', 'vcpu_avail':
3, 'VCPUs_live': 1, 'PV_bootloader': '', 'actions_after_crash':
'restart', 'vbd_refs': ['96741415-cc7f-888f-bb22-d9536e4a2667',
'c4cb92df-3d4e-a8b1-429d-e291aed95248'], 'PV_ramdisk': '',
'memory_dynamic_min': 268435456, '_temp_ramdisk':
'/var/run/xend/boot/boot_ramdisk.2Dkcev', 'name_label': 'pvcentos',
'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform':
{'device_model': '/usr/lib64/xen/bin/qemu-dm'}, 'PV_kernel': '',
'console_refs': ['f44f980b-2fee-d156-8e1a-2dcdd56c0d1a',
'c8a40489-9b26-94e2-2590-507038155e2e'], 'shutdown': 0, 'dying': 0,
'_temp_using_bootloader': '1', 'blocked': 0, 'on_xend_stop': 'ignore',
'memory_static_min': 0, 'HVM_boot_policy': '', 'domid': 152,
'VCPUs_max': 2, 'start_time': 1222448100.201066, 'online_vcpus': 1,
'memory_static_max': 268435456, 'actions_after_shutdown': 'destroy',
'on_xend_start': 'ignore', 'crashed': 0, 'memory_dynamic_max':
268435456, 'actions_after_suspend': '', 'is_a_template': False,
'is_control_domain': False, 'uuid':
'b7f2a041-0369-a085-c4de-49073e338742', 'cpu_time': 0.0,
'shadow_memory': 0, 'target': 0, 'PV_bootloader_args': '', 'notes':
{'FEATURES':
writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel',
'VIRT_BASE': 18446744071562067968L, 'GUEST_VERSION': '2.6',
'PADDR_OFFSET': 18446744071562067968L, 'GUEST_OS': 'linux',
'HYPERCALL_PAGE': 18446744071564189696L, 'LOADER': 'generic', 'ENTRY':
18446744071564165120L, 'XEN_VERSION': 'xen-3.0'}, 'other_config': {},
'running': 0, 'devices': {'96741415-cc7f-888f-bb22-d9536e4a2667':
('vbd', {'uuid': '96741415-cc7f-888f-bb22-d9536e4a2667', 'bootable':
1, 'devid': 51712, 'driver': 'paravirtualised', 'dev': 'xvda',
'uname': 'phy:/dev/empirevg/centos', 'mode': 'w'}),
'a5ecf6ea-a8b1-67d1-6308-068cebf5ab80': ('vkbd', {'devid': 0, 'uuid':
'a5ecf6ea-a8b1-67d1-6308-068cebf5ab80'}),
'f44f980b-2fee-d156-8e1a-2dcdd56c0d1a': ('vfb', {'other_config':
{'type': 'vnc', 'xauthority': '/root/.Xauthority'}, 'xauthority':
'/root/.Xauthority', 'devid': 0, 'location': 'localhost:5901', 'type':
'vnc', 'uuid': 'f44f980b-2fee-d156-8e1a-2dcdd56c0d1a'}),
'c8a40489-9b26-94e2-2590-507038155e2e': ('console', {'other_config':
{}, 'protocol': 'vt100', 'uuid':
'c8a40489-9b26-94e2-2590-507038155e2e', 'location': '2'}),
'c4cb92df-3d4e-a8b1-429d-e291aed95248': ('vbd', {'uuid':
'c4cb92df-3d4e-a8b1-429d-e291aed95248', 'bootable': 0, 'devid': 5632,
'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'uname':
'file:/home/iso/centos-xen-image/CentOS-5.2-x86_64-bin-1of7.iso',
'mode': 'r'}), '256dc778-ec84-f42b-f31b-229fc88544d6': ('vif',
{'bridge': 'eth0', 'mac': '00:16:3e:3f:d6:38', 'devid': 0, 'uuid':
'256dc778-ec84-f42b-f31b-229fc88544d6'})}, 'vif_refs':
['256dc778-ec84-f42b-f31b-229fc88544d6'], 'vtpm_refs': []}
Perhaps, only HVM supports cdrom media type. PVM has no this feature
or I can be wrong.
Cheers,
On Fri, Sep 26, 2008 at 5:05 AM, Samuel Thibault
<samuel.thibault@xxxxxxxxxxxx> wrote:
> Hello,
>
> Marco Sinhoreli, le Thu 25 Sep 2008 18:06:40 -0300, a écrit :
>> The pv-grub can read the cdrom but the OS installer can't identify the
>> vbd as cdrom driver.
>
> At that point PV-Grub doesn't exist any more, so the problem is
> somewhere.
>
>> Do you know how can I fix it? There is this feature in Xen for
>> paravirt domains?
>
> Yes there is, but you need to explicitely tell it, for instance:
>
> disk = ['file:/foo/bar/something.img,hdc:cdrom,r']
>
> Samuel
>
--
Marco Sinhoreli
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|